diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2009-06-16 09:00:55 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2009-06-16 09:00:55 +0000 |
commit | 4f717c69ed25a701f8b6613ca00e5e632a6382a6 (patch) | |
tree | 0c82c716bd1f4f88d7645499692f3e213f4ffe68 /libavcodec/dsputil.h | |
parent | 41faa87886e6fc54f159da6940b9edbfcd194714 (diff) | |
download | ffmpeg-4f717c69ed25a701f8b6613ca00e5e632a6382a6.tar.gz |
idct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.
Includes mmx2 asm for the various functions.
Note that the actual idct still does not have an x86 SIMD implemtation.
For wmv3 files using regular idct, the decoder just falls back to simple_idct,
since simple_idct_dc doesn't exist (yet).
Originally committed as revision 19204 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index f54d74d285..2d15bd3538 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -486,6 +486,10 @@ typedef struct DSPContext { void (*vc1_inv_trans_8x4)(uint8_t *dest, int line_size, DCTELEM *block); void (*vc1_inv_trans_4x8)(uint8_t *dest, int line_size, DCTELEM *block); void (*vc1_inv_trans_4x4)(uint8_t *dest, int line_size, DCTELEM *block); + void (*vc1_inv_trans_8x8_dc)(uint8_t *dest, int line_size, DCTELEM *block); + void (*vc1_inv_trans_8x4_dc)(uint8_t *dest, int line_size, DCTELEM *block); + void (*vc1_inv_trans_4x8_dc)(uint8_t *dest, int line_size, DCTELEM *block); + void (*vc1_inv_trans_4x4_dc)(uint8_t *dest, int line_size, DCTELEM *block); void (*vc1_v_overlap)(uint8_t* src, int stride); void (*vc1_h_overlap)(uint8_t* src, int stride); void (*vc1_v_loop_filter4)(uint8_t *src, int stride, int pq); |