aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorWolfgang Hesseler <qv@multimediaware.com>2003-12-30 02:12:12 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-30 02:12:12 +0000
commit0c9bbaec6021ff2ab6017e8b99354a26c2394b47 (patch)
tree15d2921727398fc827965d1f90214c3f3f100590 /libavcodec/avcodec.h
parent890972be037a2deab8a39680087bf0c9ad533e90 (diff)
downloadffmpeg-0c9bbaec6021ff2ab6017e8b99354a26c2394b47.tar.gz
motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
Originally committed as revision 2636 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 39a71662fb..ef9950bf43 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1133,7 +1133,7 @@ typedef struct AVCodecContext {
#define FF_DEBUG_MB_TYPE 8
#define FF_DEBUG_QP 16
#define FF_DEBUG_MV 32
-#define FF_DEBUG_VIS_MV 0x00000040
+//#define FF_DEBUG_VIS_MV 0x00000040
#define FF_DEBUG_SKIP 0x00000080
#define FF_DEBUG_STARTCODE 0x00000100
#define FF_DEBUG_PTS 0x00000200
@@ -1144,6 +1144,16 @@ typedef struct AVCodecContext {
#define FF_DEBUG_VIS_MB_TYPE 0x00004000
/**
+ * debug.
+ * - encoding: set by user.
+ * - decoding: set by user.
+ */
+ int debug_mv;
+#define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames
+#define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames
+#define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames
+
+ /**
* error.
* - encoding: set by lavc if flags&CODEC_FLAG_PSNR
* - decoding: unused