comparison dsputil.h @ 2755:975074f04b95 libavcodec

decode H.264 with 8x8 transform. deblocking is still incorrect with 8x8+cavlc
author lorenm
date Thu, 02 Jun 2005 21:15:20 +0000
parents 0131b4ae1fb0
children 01ed2c3b8f08
comparison
equal deleted inserted replaced
2754:a49f140179e9 2755:975074f04b95
48 48
49 void ff_fdct_mmx(DCTELEM *block); 49 void ff_fdct_mmx(DCTELEM *block);
50 void ff_fdct_mmx2(DCTELEM *block); 50 void ff_fdct_mmx2(DCTELEM *block);
51 void ff_fdct_sse2(DCTELEM *block); 51 void ff_fdct_sse2(DCTELEM *block);
52 52
53 void ff_h264_idct8_add_c(uint8_t *dst, DCTELEM *block, int stride);
53 void ff_h264_idct_add_c(uint8_t *dst, DCTELEM *block, int stride); 54 void ff_h264_idct_add_c(uint8_t *dst, DCTELEM *block, int stride);
54 void ff_h264_lowres_idct_add_c(uint8_t *dst, int stride, DCTELEM *block); 55 void ff_h264_lowres_idct_add_c(uint8_t *dst, int stride, DCTELEM *block);
55 void ff_h264_lowres_idct_put_c(uint8_t *dst, int stride, DCTELEM *block); 56 void ff_h264_lowres_idct_put_c(uint8_t *dst, int stride, DCTELEM *block);
56 57
57 /* encoding scans */ 58 /* encoding scans */
323 void (*add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale); 324 void (*add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale);
324 #define BASIS_SHIFT 16 325 #define BASIS_SHIFT 16
325 #define RECON_SHIFT 6 326 #define RECON_SHIFT 6
326 327
327 void (*h264_idct_add)(uint8_t *dst, DCTELEM *block, int stride); 328 void (*h264_idct_add)(uint8_t *dst, DCTELEM *block, int stride);
329 void (*h264_idct8_add)(uint8_t *dst, DCTELEM *block, int stride);
328 } DSPContext; 330 } DSPContext;
329 331
330 void dsputil_static_init(void); 332 void dsputil_static_init(void);
331 void dsputil_init(DSPContext* p, AVCodecContext *avctx); 333 void dsputil_init(DSPContext* p, AVCodecContext *avctx);
332 334