Mercurial > libavcodec.hg
diff mpegvideo.h @ 625:bb6a69f9d409 libavcodec
slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG)
per context DCT selection
| author | michaelni |
|---|---|
| date | Thu, 29 Aug 2002 23:55:32 +0000 |
| parents | 4f3d4a07d374 |
| children | f596db4aa871 |
line wrap: on
line diff
--- a/mpegvideo.h Wed Aug 28 21:47:28 2002 +0000 +++ b/mpegvideo.h Thu Aug 29 23:55:32 2002 +0000 @@ -465,6 +465,8 @@ DCTELEM *block, int n, int qscale); void (*dct_unquantize)(struct MpegEncContext *s, // unquantizer to use (mpeg4 can use both) DCTELEM *block, int n, int qscale); + int (*dct_quantize)(struct MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow); + void (*fdct)(DCTELEM *block); } MpegEncContext; int MPV_common_init(MpegEncContext *s); @@ -478,7 +480,6 @@ #ifdef ARCH_ALPHA void MPV_common_init_axp(MpegEncContext *s); #endif -extern int (*dct_quantize)(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow); extern void (*draw_edges)(UINT8 *buf, int wrap, int width, int height, int w); void ff_conceal_past_errors(MpegEncContext *s, int conceal_all); void ff_copy_bits(PutBitContext *pb, UINT8 *src, int length);
