[x264-devel] x86: Add missing initializations for high bit-depth sad_aligned
Henrik Gramner
git at videolan.org
Mon May 20 23:06:47 CEST 2013
x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Fri May 3 20:18:03 2013 +0200| [99f553ec300d928d23522304ebf4818574b85ed3] | committer: Jason Garrett-Glaser
x86: Add missing initializations for high bit-depth sad_aligned
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=99f553ec300d928d23522304ebf4818574b85ed3
---
common/pixel.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/common/pixel.c b/common/pixel.c
index a6f4ebc..145fac7 100644
--- a/common/pixel.c
+++ b/common/pixel.c
@@ -845,6 +845,7 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
if( cpu&X264_CPU_MMX2 )
{
INIT7( sad, _mmx2 );
+ INIT7_NAME( sad_aligned, sad, _mmx2 );
INIT7( sad_x3, _mmx2 );
INIT7( sad_x4, _mmx2 );
INIT8( satd, _mmx2 );
@@ -923,6 +924,8 @@ void x264_pixel_init( int cpu, x264_pixel_function_t *pixf )
if( cpu&X264_CPU_SSSE3 )
{
INIT4_NAME( sad_aligned, sad, _ssse3_aligned );
+ pixf->sad_aligned[PIXEL_4x4] = x264_pixel_sad_4x4_ssse3;
+ pixf->sad_aligned[PIXEL_4x8] = x264_pixel_sad_4x8_ssse3;
INIT7( sad, _ssse3 );
INIT7( sad_x3, _ssse3 );
INIT7( sad_x4, _ssse3 );
More information about the x264-devel
mailing list