Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
624:35353e4520d8 | 625:bb6a69f9d409 |
---|---|
463 DCTELEM *block, int n, int qscale); | 463 DCTELEM *block, int n, int qscale); |
464 void (*dct_unquantize_h263)(struct MpegEncContext *s, | 464 void (*dct_unquantize_h263)(struct MpegEncContext *s, |
465 DCTELEM *block, int n, int qscale); | 465 DCTELEM *block, int n, int qscale); |
466 void (*dct_unquantize)(struct MpegEncContext *s, // unquantizer to use (mpeg4 can use both) | 466 void (*dct_unquantize)(struct MpegEncContext *s, // unquantizer to use (mpeg4 can use both) |
467 DCTELEM *block, int n, int qscale); | 467 DCTELEM *block, int n, int qscale); |
468 int (*dct_quantize)(struct MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow); | |
469 void (*fdct)(DCTELEM *block); | |
468 } MpegEncContext; | 470 } MpegEncContext; |
469 | 471 |
470 int MPV_common_init(MpegEncContext *s); | 472 int MPV_common_init(MpegEncContext *s); |
471 void MPV_common_end(MpegEncContext *s); | 473 void MPV_common_end(MpegEncContext *s); |
472 void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); | 474 void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); |
476 void MPV_common_init_mmx(MpegEncContext *s); | 478 void MPV_common_init_mmx(MpegEncContext *s); |
477 #endif | 479 #endif |
478 #ifdef ARCH_ALPHA | 480 #ifdef ARCH_ALPHA |
479 void MPV_common_init_axp(MpegEncContext *s); | 481 void MPV_common_init_axp(MpegEncContext *s); |
480 #endif | 482 #endif |
481 extern int (*dct_quantize)(MpegEncContext *s, DCTELEM *block, int n, int qscale, int *overflow); | |
482 extern void (*draw_edges)(UINT8 *buf, int wrap, int width, int height, int w); | 483 extern void (*draw_edges)(UINT8 *buf, int wrap, int width, int height, int w); |
483 void ff_conceal_past_errors(MpegEncContext *s, int conceal_all); | 484 void ff_conceal_past_errors(MpegEncContext *s, int conceal_all); |
484 void ff_copy_bits(PutBitContext *pb, UINT8 *src, int length); | 485 void ff_copy_bits(PutBitContext *pb, UINT8 *src, int length); |
485 void ff_clean_intra_table_entries(MpegEncContext *s); | 486 void ff_clean_intra_table_entries(MpegEncContext *s); |
486 | 487 |