diff x86/vp8dsp-init.c @ 12013:2ae70e2c31a4 libavcodec

MMX idct_add for VP8.
author rbultje
date Tue, 29 Jun 2010 14:43:11 +0000
parents d584c7373a64
children dc4feabd4dab
line wrap: on
line diff
--- a/x86/vp8dsp-init.c	Tue Jun 29 12:28:06 2010 +0000
+++ b/x86/vp8dsp-init.c	Tue Jun 29 14:43:11 2010 +0000
@@ -196,6 +196,7 @@
 extern void ff_vp8_idct_dc_add_mmx(uint8_t *dst, DCTELEM block[16], int stride);
 extern void ff_vp8_idct_dc_add_sse4(uint8_t *dst, DCTELEM block[16], int stride);
 extern void ff_vp8_luma_dc_wht_mmxext(DCTELEM block[4][4][16], DCTELEM dc[16]);
+extern void ff_vp8_idct_add_mmx(uint8_t *dst, DCTELEM block[16], int stride);
 #endif
 
 #define VP8_LUMA_MC_FUNC(IDX, SIZE, OPT) \
@@ -229,6 +230,7 @@
 #if HAVE_YASM
     if (mm_flags & FF_MM_MMX) {
         c->vp8_idct_dc_add                  = ff_vp8_idct_dc_add_mmx;
+        c->vp8_idct_add                     = ff_vp8_idct_add_mmx;
         c->put_vp8_epel_pixels_tab[0][0][0]     =
         c->put_vp8_bilinear_pixels_tab[0][0][0] = ff_put_vp8_pixels16_mmx;
         c->put_vp8_epel_pixels_tab[1][0][0]     =