aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-04 12:09:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-04 12:09:27 +0000
commitc8c437bc236ac66756541b5e6a070fb83f309864 (patch)
tree8696c47e29b76e91e97e300bd9d70a054f249acd /libavcodec/avcodec.h
parentce3bcaeda1dec8bdc25d4daf5a8358feafe5d124 (diff)
downloadffmpeg-c8c437bc236ac66756541b5e6a070fb83f309864.tar.gz
specific debug output support
Originally committed as revision 1305 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e6c14afa0e..287b17c09e 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -5,8 +5,8 @@
#define LIBAVCODEC_VERSION_INT 0x000406
#define LIBAVCODEC_VERSION "0.4.6"
-#define LIBAVCODEC_BUILD 4641
-#define LIBAVCODEC_BUILD_STR "4641"
+#define LIBAVCODEC_BUILD 4642
+#define LIBAVCODEC_BUILD_STR "4642"
enum CodecID {
CODEC_ID_NONE,
@@ -812,6 +812,20 @@ typedef struct AVCodecContext {
* decoding: set by lavc
*/
AVVideoFrame *coded_picture;
+
+ /**
+ * debug
+ * encoding: set by user.
+ * decoding: set by user.
+ */
+ int debug;
+#define FF_DEBUG_PICT_INFO 1
+#define FF_DEBUG_RC 2
+#define FF_DEBUG_BITSTREAM 4
+#define FF_DEBUG_MB_TYPE 8
+#define FF_DEBUG_QP 16
+#define FF_DEBUG_MV 32
+#define FF_DEBUG_VIS_MV 64
} AVCodecContext;
typedef struct AVCodec {