diff options
author | Likai Liu <liulk@cs.bu.edu> | 2006-02-28 21:55:18 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-02-28 21:55:18 +0000 |
commit | 11c19637d23c3456555aa29b99dca079261b5705 (patch) | |
tree | 536b11198a0a052dcc0fceeb90de60a3d4145aa0 | |
parent | 6310461b7f616edb5b2e256cd18fb03d76f76f48 (diff) | |
download | ffmpeg-11c19637d23c3456555aa29b99dca079261b5705.tar.gz |
use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)
Originally committed as revision 5079 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ppc/dsputil_h264_template_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/dsputil_h264_template_altivec.c b/libavcodec/ppc/dsputil_h264_template_altivec.c index 6add3806f6..da213a012e 100644 --- a/libavcodec/ppc/dsputil_h264_template_altivec.c +++ b/libavcodec/ppc/dsputil_h264_template_altivec.c @@ -426,7 +426,7 @@ static void PREFIX_h264_qpel16_hv_lowpass_altivec(uint8_t * dst, int16_t * tmp, const vector signed short v5ss = vec_splat_s16(5); const vector signed short v1ss = vec_splat_s16(1); const vector signed int v512si = vec_sl(vec_splat_s32(1),vec_splat_u32(9)); - const vector unsigned int v16ui = vec_sl(vec_splat_u16(1),vec_splat_u16(4)); + const vector unsigned int v16ui = vec_sl(vec_splat_u32(1),vec_splat_u32(4)); register int align = ((((unsigned long)src) - 2) % 16); |