Mercurial > libavcodec.hg
comparison avcodec.h @ 932:176fd8c8e8a8 libavcodec
mb qp limits
author | michaelni |
---|---|
date | Wed, 18 Dec 2002 10:09:43 +0000 |
parents | 7fccaa0d699d |
children | caa77cd960c0 |
comparison
equal
deleted
inserted
replaced
931:5bc072934017 | 932:176fd8c8e8a8 |
---|---|
3 | 3 |
4 #include "common.h" | 4 #include "common.h" |
5 | 5 |
6 #define LIBAVCODEC_VERSION_INT 0x000406 | 6 #define LIBAVCODEC_VERSION_INT 0x000406 |
7 #define LIBAVCODEC_VERSION "0.4.6" | 7 #define LIBAVCODEC_VERSION "0.4.6" |
8 #define LIBAVCODEC_BUILD 4645 | 8 #define LIBAVCODEC_BUILD 4646 |
9 #define LIBAVCODEC_BUILD_STR "4645" | 9 #define LIBAVCODEC_BUILD_STR "4646" |
10 | 10 |
11 enum CodecID { | 11 enum CodecID { |
12 CODEC_ID_NONE, | 12 CODEC_ID_NONE, |
13 CODEC_ID_MPEG1VIDEO, | 13 CODEC_ID_MPEG1VIDEO, |
14 CODEC_ID_H263, | 14 CODEC_ID_H263, |
826 #define FF_DEBUG_BITSTREAM 4 | 826 #define FF_DEBUG_BITSTREAM 4 |
827 #define FF_DEBUG_MB_TYPE 8 | 827 #define FF_DEBUG_MB_TYPE 8 |
828 #define FF_DEBUG_QP 16 | 828 #define FF_DEBUG_QP 16 |
829 #define FF_DEBUG_MV 32 | 829 #define FF_DEBUG_MV 32 |
830 #define FF_DEBUG_VIS_MV 64 | 830 #define FF_DEBUG_VIS_MV 64 |
831 #define FF_DEBUG_SKIP 128 | |
831 | 832 |
832 /** | 833 /** |
833 * error | 834 * error |
834 * encoding: set by lavc if flags&CODEC_FLAG_PSNR | 835 * encoding: set by lavc if flags&CODEC_FLAG_PSNR |
835 * decoding: unused | 836 * decoding: unused |
836 */ | 837 */ |
837 uint64_t error[4]; | 838 uint64_t error[4]; |
839 | |
840 /** | |
841 * minimum MB quantizer | |
842 * encoding: set by user. | |
843 * decoding: unused | |
844 */ | |
845 int mb_qmin; | |
846 | |
847 /** | |
848 * maximum MB quantizer | |
849 * encoding: set by user. | |
850 * decoding: unused | |
851 */ | |
852 int mb_qmax; | |
838 } AVCodecContext; | 853 } AVCodecContext; |
839 | 854 |
840 typedef struct AVCodec { | 855 typedef struct AVCodec { |
841 const char *name; | 856 const char *name; |
842 int type; | 857 int type; |