From: Wim Taymans Date: Fri, 1 Feb 2013 10:42:58 +0000 (+0100) Subject: video-format: add interlace flag X-Git-Tag: 1.19.3~511^2~5635 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e303b0ad3301c2a6d194de22e0837cee597a5bf1;p=platform%2Fupstream%2Fgstreamer.git video-format: add interlace flag Add an interlaced flag that can be used to control the unpack/pack functions. --- diff --git a/gst-libs/gst/video/video-format.h b/gst-libs/gst/video/video-format.h index e070bc8..fd22afd 100644 --- a/gst-libs/gst/video/video-format.h +++ b/gst-libs/gst/video/video-format.h @@ -229,13 +229,17 @@ typedef enum * to 0. This is likely sightly faster but less accurate. When this flag * is not specified, the most significant bits of the source are duplicated * in the least significant bits of the destination. + * @GST_VIDEO_PACK_FLAG_INTERLACED: The source is interlaced. The unpacked + * format will be interlaced as well with each line containing + * information from alternating fields. * * The different flags that can be used when packing and unpacking. */ typedef enum { GST_VIDEO_PACK_FLAG_NONE = 0, - GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE = 1 + GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE = (1 << 0), + GST_VIDEO_PACK_FLAG_INTERLACED = (1 << 1) } GstVideoPackFlags; /**