comparison avcodec.h @ 906:bbe0c99231a7 libavcodec

specific debug output support
author michaelni
date Wed, 04 Dec 2002 12:09:27 +0000
parents 2b93dc762f9a
children 8ae1e4c24e91
comparison
equal deleted inserted replaced
905:2b93dc762f9a 906:bbe0c99231a7
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 4641 8 #define LIBAVCODEC_BUILD 4642
9 #define LIBAVCODEC_BUILD_STR "4641" 9 #define LIBAVCODEC_BUILD_STR "4642"
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,
810 * the picture in the bitstream 810 * the picture in the bitstream
811 * encoding: set by lavc 811 * encoding: set by lavc
812 * decoding: set by lavc 812 * decoding: set by lavc
813 */ 813 */
814 AVVideoFrame *coded_picture; 814 AVVideoFrame *coded_picture;
815
816 /**
817 * debug
818 * encoding: set by user.
819 * decoding: set by user.
820 */
821 int debug;
822 #define FF_DEBUG_PICT_INFO 1
823 #define FF_DEBUG_RC 2
824 #define FF_DEBUG_BITSTREAM 4
825 #define FF_DEBUG_MB_TYPE 8
826 #define FF_DEBUG_QP 16
827 #define FF_DEBUG_MV 32
828 #define FF_DEBUG_VIS_MV 64
815 } AVCodecContext; 829 } AVCodecContext;
816 830
817 typedef struct AVCodec { 831 typedef struct AVCodec {
818 const char *name; 832 const char *name;
819 int type; 833 int type;