Index: avfilter.h =================================================================== --- avfilter.h (revision 22749) +++ avfilter.h (working copy) @@ -62,6 +62,14 @@ /* TODO: look for other flags which may be useful in this structure (interlace * flags, etc) */ + +#define AV_PIX_IMGFIELD_ORDERED 0x01 +#define AV_PIX_IMGFIELD_TOP_FIRST 0x02 +#define AV_PIX_IMGFIELD_REPEAT_FIRST 0x04 +#define AV_PIX_IMGFIELD_TOP 0x08 +#define AV_PIX_IMGFIELD_BOTTOM 0x10 +#define AV_PIX_IMGFIELD_INTERLACED 0x20 + /** * A reference-counted picture data type used by the filter system. Filters * should not store pointers to this structure directly, but instead use the @@ -86,6 +94,7 @@ void (*free)(struct AVFilterPic *pic); int w, h; ///< width and height of the allocated buffer + int fields; ///< field ordering } AVFilterPic; /** @@ -103,6 +112,7 @@ int linesize[4]; ///< number of bytes per line int w; ///< image width int h; ///< image height + int fields; ///< field ordering int64_t pts; ///< presentation timestamp in units of 1/AV_TIME_BASE int64_t pos; ///< byte position in stream, -1 if unknown