Mercurial > libavcodec.hg
diff dsputil.h @ 2272:cd43603c46f9 libavcodec
move h264 idct to its own file and call via function pointer in DspContext
allow h264 idct to be used for lowres=1
author | michael |
---|---|
date | Mon, 27 Sep 2004 19:47:17 +0000 |
parents | 12e75af1d44c |
children | ba91c976c7aa |
line wrap: on
line diff
--- a/dsputil.h Mon Sep 27 17:46:07 2004 +0000 +++ b/dsputil.h Mon Sep 27 19:47:17 2004 +0000 @@ -50,6 +50,10 @@ 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 @@ */ 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);