Mercurial > libavcodec.hg
diff ppc/h264_altivec.c @ 9439:ef3a7b711cc0 libavcodec
Rename put_no_rnd_h264_chroma* to reflect its usage in VC1 only
author | conrad |
---|---|
date | Tue, 14 Apr 2009 23:55:39 +0000 |
parents | dd2b5e52336a |
children | fe17033a79ed |
line wrap: on
line diff
--- a/ppc/h264_altivec.c Tue Apr 14 21:03:41 2009 +0000 +++ b/ppc/h264_altivec.c Tue Apr 14 23:55:39 2009 +0000 @@ -180,7 +180,7 @@ }\ /* this code assume that stride % 16 == 0 */ -void put_no_rnd_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, int h, int x, int y) { +void put_no_rnd_vc1_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, int h, int x, int y) { DECLARE_ALIGNED_16(signed int, ABCD[4]) = {((8 - x) * (8 - y)), (( x) * (8 - y)), @@ -1090,8 +1090,8 @@ if (has_altivec()) { c->put_h264_chroma_pixels_tab[0] = put_h264_chroma_mc8_altivec; - c->put_no_rnd_h264_chroma_pixels_tab[0] = put_no_rnd_h264_chroma_mc8_altivec; c->avg_h264_chroma_pixels_tab[0] = avg_h264_chroma_mc8_altivec; + c->put_no_rnd_vc1_chroma_pixels_tab[0] = put_no_rnd_vc1_chroma_mc8_altivec; c->h264_idct_add = ff_h264_idct_add_altivec; c->h264_idct_add8 = ff_h264_idct_add8_altivec; c->h264_idct_add16 = ff_h264_idct_add16_altivec;