summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_altivec_template.c
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-01-17 11:07:27 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-01-17 11:07:27 +0000
commit8916b4b55b16fe44795aba66ca843c2b5b758fc4 (patch)
tree6d7a3b8cdb04693eb9ffc9cbef4e8a091010445c /libswscale/swscale_altivec_template.c
parent30c48a0af446a6c2b51d2c7ecfcfef0600a95f54 (diff)
downloadffmpeg-streaming-8916b4b55b16fe44795aba66ca843c2b5b758fc4.zip
ffmpeg-streaming-8916b4b55b16fe44795aba66ca843c2b5b758fc4.tar.gz
Remove some useless parentheses.
Originally committed as revision 25779 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_altivec_template.c')
-rw-r--r--libswscale/swscale_altivec_template.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/swscale_altivec_template.c b/libswscale/swscale_altivec_template.c
index b8043b7..5a4a245 100644
--- a/libswscale/swscale_altivec_template.c
+++ b/libswscale/swscale_altivec_template.c
@@ -354,7 +354,7 @@ static inline void hScale_altivec_real(int16_t *dst, int dstW, uint8_t *src, int
src_v0 = src_v1;
}
- if (j < (filterSize-7)) {
+ if (j < filterSize-7) {
// loading src_v0 is useless, it's already done above
//vector unsigned char src_v0 = vec_ld(srcPos + j, src);
vector unsigned char src_v1, src_vF;
@@ -450,7 +450,7 @@ static inline int yv12toyuy2_unscaled_altivec(SwsContext *c, uint8_t* src[], int
vec_st(v_yuy2_0, (i << 1), dst);
vec_st(v_yuy2_1, (i << 1) + 16, dst);
}
- if ((y&(vertLumPerChroma-1))==(vertLumPerChroma-1)) {
+ if ((y&(vertLumPerChroma-1)) == vertLumPerChroma-1) {
usrc += chromStride;
vsrc += chromStride;
}
@@ -527,7 +527,7 @@ static inline int yv12touyvy_unscaled_altivec(SwsContext *c, uint8_t* src[], int
vec_st(v_uyvy_0, (i << 1), dst);
vec_st(v_uyvy_1, (i << 1) + 16, dst);
}
- if ((y&(vertLumPerChroma-1))==(vertLumPerChroma-1)) {
+ if ((y&(vertLumPerChroma-1)) == vertLumPerChroma-1) {
usrc += chromStride;
vsrc += chromStride;
}
OpenPOWER on IntegriCloud