diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-07-23 06:02:52 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-07-23 06:02:52 +0000 |
commit | 3ae079a3c8be54cc3c9c7e68c8b2324f3a4e4253 (patch) | |
tree | 40ed03ae012a9e053643a2b1da000be0e1a32aa6 /libavcodec/vp8dsp.h | |
parent | 3df56f411810c665704518e0e9e083b02eaca573 (diff) | |
download | ffmpeg-3ae079a3c8be54cc3c9c7e68c8b2324f3a4e4253.tar.gz |
VP8: optimize DC-only chroma case in the same way as luma.
Add MMX idct_dc_add4uv function for this case.
~40% faster chroma idct.
Originally committed as revision 24455 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp8dsp.h')
-rw-r--r-- | libavcodec/vp8dsp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vp8dsp.h b/libavcodec/vp8dsp.h index 82ea684eab..47b1a90777 100644 --- a/libavcodec/vp8dsp.h +++ b/libavcodec/vp8dsp.h @@ -33,7 +33,8 @@ typedef struct VP8DSPContext { void (*vp8_luma_dc_wht)(DCTELEM block[4][4][16], DCTELEM dc[16]); void (*vp8_idct_add)(uint8_t *dst, DCTELEM block[16], int stride); void (*vp8_idct_dc_add)(uint8_t *dst, DCTELEM block[16], int stride); - void (*vp8_idct_dc_add4)(uint8_t *dst, DCTELEM block[4][16], int stride); + void (*vp8_idct_dc_add4y)(uint8_t *dst, DCTELEM block[4][16], int stride); + void (*vp8_idct_dc_add4uv)(uint8_t *dst, DCTELEM block[4][16], int stride); // loop filter applied to edges between macroblocks void (*vp8_v_loop_filter16y)(uint8_t *dst, int stride, |