changeset 3153:7aa01243b4d3 libavcodec

use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)
author aurel
date Tue, 28 Feb 2006 21:55:18 +0000
parents 28a087ad41d1
children 00b2754a9bb2
files ppc/dsputil_h264_template_altivec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/dsputil_h264_template_altivec.c	Tue Feb 28 02:54:48 2006 +0000
+++ b/ppc/dsputil_h264_template_altivec.c	Tue Feb 28 21:55:18 2006 +0000
@@ -426,7 +426,7 @@
   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);