Originally committed as revision 11299 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Luca Barbato 17 years ago
parent 9fa3572903
commit 907fc60f31
  1. 6
      libavcodec/ppc/h264_template_altivec.c

@ -30,9 +30,9 @@ void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, in
POWERPC_PERF_DECLARE(PREFIX_h264_chroma_mc8_num, 1); POWERPC_PERF_DECLARE(PREFIX_h264_chroma_mc8_num, 1);
DECLARE_ALIGNED_16(signed int, ABCD[4]) = DECLARE_ALIGNED_16(signed int, ABCD[4]) =
{((8 - x) * (8 - y)), {((8 - x) * (8 - y)),
((x) * (8 - y)), (( x) * (8 - y)),
((8 - x) * (y)), ((8 - x) * ( y)),
((x) * (y))}; (( x) * ( y))};
register int i; register int i;
vec_u8_t fperm; vec_u8_t fperm;
const vec_s32_t vABCD = vec_ld(0, ABCD); const vec_s32_t vABCD = vec_ld(0, ABCD);

Loading…
Cancel
Save