diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-06-29 01:41:59 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-06-29 01:41:59 +0000 |
commit | 004cda8e79d839209e636fd97bec1090d53936b5 (patch) | |
tree | cfa8430fddd8f66dccbd35f1566a43fac8d4e9b4 /libavcodec/x86/vp8dsp-init.c | |
parent | 37355fe823170537d97d9858877a928c645984f4 (diff) | |
download | ffmpeg-004cda8e79d839209e636fd97bec1090d53936b5.tar.gz |
Add mmxext version of VP8 DC Hadamard transform
Originally committed as revision 23878 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/vp8dsp-init.c')
-rw-r--r-- | libavcodec/x86/vp8dsp-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/vp8dsp-init.c b/libavcodec/x86/vp8dsp-init.c index 7bb97ae3f8..9eec10a0a7 100644 --- a/libavcodec/x86/vp8dsp-init.c +++ b/libavcodec/x86/vp8dsp-init.c @@ -195,6 +195,7 @@ HVBILIN(ssse3, 8, 16, 16) 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]); #endif #define VP8_LUMA_MC_FUNC(IDX, SIZE, OPT) \ @@ -237,6 +238,7 @@ av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c) /* note that 4-tap width=16 functions are missing because w=16 * is only used for luma, and luma is always a copy or sixtap. */ if (mm_flags & FF_MM_MMX2) { + c->vp8_luma_dc_wht = ff_vp8_luma_dc_wht_mmxext; VP8_LUMA_MC_FUNC(0, 16, mmxext); VP8_MC_FUNC(1, 8, mmxext); VP8_MC_FUNC(1, 4, mmxext); |