Commit 5ae82f9f authored by lu_zero's avatar lu_zero

Cosmetics: reindent and whitespaces

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12565 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4a427632
......@@ -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
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment