mirror of https://git.ffmpeg.org/ffmpeg.git
Cosmetics: reindent and whitespaces
Originally committed as revision 12565 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c599e297e7
commit
838cc9c80a
|
@ -103,7 +103,6 @@ static inline int vertClassify_altivec(uint8_t src[], int stride, PPContext *c)
|
|||
|
||||
src2 += stride * 4;
|
||||
|
||||
|
||||
#define LOAD_LINE(i) \
|
||||
{ \
|
||||
vector unsigned char perm##i = vec_lvsl(j##i, src2); \
|
||||
|
@ -158,7 +157,7 @@ static inline int vertClassify_altivec(uint8_t src[], int stride, PPContext *c)
|
|||
v_dcThreshold); \
|
||||
const vector signed short v_part##i = vec_and(mask, v_comp##i);
|
||||
|
||||
{
|
||||
{
|
||||
ITER(0, 1)
|
||||
ITER(1, 2)
|
||||
ITER(2, 3)
|
||||
|
@ -174,7 +173,7 @@ static inline int vertClassify_altivec(uint8_t src[], int stride, PPContext *c)
|
|||
v_numEq = vec_sum4s(v_part4, v_numEq);
|
||||
v_numEq = vec_sum4s(v_part5, v_numEq);
|
||||
v_numEq = vec_sum4s(v_part6, v_numEq);
|
||||
}
|
||||
}
|
||||
|
||||
#undef ITER
|
||||
|
||||
|
@ -289,7 +288,7 @@ static inline void doVertLowPass_altivec(uint8_t *src, int stride, PPContext *c)
|
|||
}
|
||||
#undef LOAD_LINE
|
||||
#undef LOAD_LINE_ALIGNED
|
||||
{
|
||||
{
|
||||
const vector unsigned short v_2 = vec_splat_u16(2);
|
||||
const vector unsigned short v_4 = vec_splat_u16(4);
|
||||
|
||||
|
@ -334,7 +333,7 @@ static inline void doVertLowPass_altivec(uint8_t *src, int stride, PPContext *c)
|
|||
const vector signed short temp91 = vec_sub(v_sumsB8, vb5);
|
||||
const vector signed short v_sumsB9 = vec_add(temp91, v_last);
|
||||
|
||||
#define COMPUTE_VR(i, j, k) \
|
||||
#define COMPUTE_VR(i, j, k) \
|
||||
const vector signed short temps1##i = \
|
||||
vec_add(v_sumsB##i, v_sumsB##k); \
|
||||
const vector signed short temps2##i = \
|
||||
|
@ -401,9 +400,9 @@ static inline void doVertLowPass_altivec(uint8_t *src, int stride, PPContext *c)
|
|||
PACK_AND_STORE(7)
|
||||
PACK_AND_STORE(8)
|
||||
}
|
||||
#undef PACK_AND_STORE
|
||||
#undef PACK_AND_STORE_ALIGNED
|
||||
}
|
||||
#undef PACK_AND_STORE
|
||||
#undef PACK_AND_STORE_ALIGNED
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue