Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1689:1a2db2073848 libavcodec
split intra / inter dequantization
author | michael |
---|---|
date | Sun, 14 Dec 2003 02:57:00 +0000 |
parents | cdc3d4106fb6 |
children | f3287b5d8d9f |
comparison
equal
deleted
inserted
replaced
1688:04b759af8bd4 | 1689:1a2db2073848 |
---|---|
643 #define SLICE_OK 0 | 643 #define SLICE_OK 0 |
644 #define SLICE_ERROR -1 | 644 #define SLICE_ERROR -1 |
645 #define SLICE_END -2 ///<end marker found | 645 #define SLICE_END -2 ///<end marker found |
646 #define SLICE_NOEND -3 ///<no end marker or error found but mb count exceeded | 646 #define SLICE_NOEND -3 ///<no end marker or error found but mb count exceeded |
647 | 647 |
648 void (*dct_unquantize_mpeg1)(struct MpegEncContext *s, | 648 void (*dct_unquantize_mpeg1_intra)(struct MpegEncContext *s, |
649 DCTELEM *block/*align 16*/, int n, int qscale); | 649 DCTELEM *block/*align 16*/, int n, int qscale); |
650 void (*dct_unquantize_mpeg2)(struct MpegEncContext *s, | 650 void (*dct_unquantize_mpeg1_inter)(struct MpegEncContext *s, |
651 DCTELEM *block/*align 16*/, int n, int qscale); | 651 DCTELEM *block/*align 16*/, int n, int qscale); |
652 void (*dct_unquantize_h263)(struct MpegEncContext *s, | 652 void (*dct_unquantize_mpeg2_intra)(struct MpegEncContext *s, |
653 DCTELEM *block/*align 16*/, int n, int qscale); | 653 DCTELEM *block/*align 16*/, int n, int qscale); |
654 void (*dct_unquantize)(struct MpegEncContext *s, // unquantizer to use (mpeg4 can use both) | 654 void (*dct_unquantize_mpeg2_inter)(struct MpegEncContext *s, |
655 DCTELEM *block/*align 16*/, int n, int qscale); | |
656 void (*dct_unquantize_h263_intra)(struct MpegEncContext *s, | |
657 DCTELEM *block/*align 16*/, int n, int qscale); | |
658 void (*dct_unquantize_h263_inter)(struct MpegEncContext *s, | |
659 DCTELEM *block/*align 16*/, int n, int qscale); | |
660 void (*dct_unquantize_intra)(struct MpegEncContext *s, // unquantizer to use (mpeg4 can use both) | |
661 DCTELEM *block/*align 16*/, int n, int qscale); | |
662 void (*dct_unquantize_inter)(struct MpegEncContext *s, // unquantizer to use (mpeg4 can use both) | |
655 DCTELEM *block/*align 16*/, int n, int qscale); | 663 DCTELEM *block/*align 16*/, int n, int qscale); |
656 int (*dct_quantize)(struct MpegEncContext *s, DCTELEM *block/*align 16*/, int n, int qscale, int *overflow); | 664 int (*dct_quantize)(struct MpegEncContext *s, DCTELEM *block/*align 16*/, int n, int qscale, int *overflow); |
657 int (*fast_dct_quantize)(struct MpegEncContext *s, DCTELEM *block/*align 16*/, int n, int qscale, int *overflow); | 665 int (*fast_dct_quantize)(struct MpegEncContext *s, DCTELEM *block/*align 16*/, int n, int qscale, int *overflow); |
658 } MpegEncContext; | 666 } MpegEncContext; |
659 | 667 |