diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-09-27 19:47:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-27 19:47:17 +0000 |
commit | 0fa8158d3e70eccda141df1d18cff648530c0cf5 (patch) | |
tree | b25c0e4f68211bdba5ea58f7edc8f2c601fc0b0b /libavcodec/dsputil.h | |
parent | 40028f8f6e214c90a15a10b3b33e83c06c4ac74f (diff) | |
download | ffmpeg-0fa8158d3e70eccda141df1d18cff648530c0cf5.tar.gz |
move h264 idct to its own file and call via function pointer in DspContext
allow h264 idct to be used for lowres=1
Originally committed as revision 3524 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index fd02e4e035..43f113e1a0 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -50,6 +50,10 @@ void ff_fdct_mmx(DCTELEM *block); void ff_fdct_mmx2(DCTELEM *block); void ff_fdct_sse2(DCTELEM *block); +void ff_h264_idct_add_c(uint8_t *dst, DCTELEM *block, int stride); +void ff_h264_lowres_idct_add_c(uint8_t *dst, int stride, DCTELEM *block); +void ff_h264_lowres_idct_put_c(uint8_t *dst, int stride, DCTELEM *block); + /* encoding scans */ extern const uint8_t ff_alternate_horizontal_scan[64]; extern const uint8_t ff_alternate_vertical_scan[64]; @@ -330,7 +334,8 @@ typedef struct DSPContext { */ void (*vp3_idct)(int16_t *input_data, int16_t *dequant_matrix, int coeff_count, DCTELEM *output_samples); - + + void (*h264_idct_add)(uint8_t *dst, DCTELEM *block, int stride); } DSPContext; void dsputil_static_init(void); |