summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-16 20:22:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-16 20:22:22 +0000
commitb536d0aad2750d3a5f24520fccf1e48a46cad53b (patch)
treeef8d69520065d3c1009481e77b0ff8fd64b58959 /libavcodec/avcodec.h
parent1c6dcb0f420c747b263d5c17641ae9c216c2e9de (diff)
field pic decoding cleanup
Originally committed as revision 1686 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 47fc5efa15..42d69c9912 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -187,6 +187,12 @@ static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG,
#define CODEC_CAP_TRUNCATED 0x0008
#define FF_COMMON_FRAME \
+ /**\
+ * pointer to the picture planes.\
+ * this might be different from the first allocated byte\
+ * - encoding: \
+ * - decoding: \
+ */\
uint8_t *data[4];\
int linesize[4];\
/**\
@@ -306,8 +312,8 @@ static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG,
#define FF_BUFFER_TYPE_INTERNAL 1
-#define FF_BUFFER_TYPE_USER 2 // Direct rendering buffers
-#define FF_BUFFER_TYPE_SHARED 4 // input frame for encoding(wont be dealloced)
+#define FF_BUFFER_TYPE_USER 2 ///< Direct rendering buffers
+#define FF_BUFFER_TYPE_SHARED 4 ///< buffer from somewher else, dont dealloc
#define FF_I_TYPE 1 // Intra