[FFmpeg-cvslog] r24294 - trunk/libavfilter/avfilter.h
stefano
subversion
Sat Jul 17 20:55:56 CEST 2010
Author: stefano
Date: Sat Jul 17 20:55:56 2010
New Revision: 24294
Log:
Move the AV_PERM_* flags definition outside the AVFilterPicRef
definition.
This way it is easier to reference them in other structures, for
example in the pending AVFilterSamplesRef struct.
Patch by S.N. Hemanth Meenakshisundaram smeenaks AT ucsd DOT edu.
Modified:
trunk/libavfilter/avfilter.h
Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h Sat Jul 17 20:27:11 2010 (r24293)
+++ trunk/libavfilter/avfilter.h Sat Jul 17 20:55:56 2010 (r24294)
@@ -83,6 +83,12 @@ typedef struct AVFilterBuffer
void (*free)(struct AVFilterBuffer *buf);
} AVFilterBuffer;
+#define AV_PERM_READ 0x01 ///< can read from the buffer
+#define AV_PERM_WRITE 0x02 ///< can write to the buffer
+#define AV_PERM_PRESERVE 0x04 ///< nobody else can overwrite the buffer
+#define AV_PERM_REUSE 0x08 ///< can output the buffer multiple times, with the same contents each time
+#define AV_PERM_REUSE2 0x10 ///< can output the buffer multiple times, modified each time
+
/**
* A reference to an AVFilterBuffer. Since filters can manipulate the origin of
* a picture to, for example, crop image without any memcpy, the picture origin
@@ -104,12 +110,7 @@ typedef struct AVFilterPicRef
AVRational pixel_aspect; ///< pixel aspect ratio
- int perms; ///< permissions
-#define AV_PERM_READ 0x01 ///< can read from the buffer
-#define AV_PERM_WRITE 0x02 ///< can write to the buffer
-#define AV_PERM_PRESERVE 0x04 ///< nobody else can overwrite the buffer
-#define AV_PERM_REUSE 0x08 ///< can output the buffer multiple times, with the same contents each time
-#define AV_PERM_REUSE2 0x10 ///< can output the buffer multiple times, modified each time
+ int perms; ///< permissions, see the AV_PERM_* flags
int interlaced; ///< is frame interlaced
int top_field_first;
More information about the ffmpeg-cvslog
mailing list