mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
video-format: add interlace flag
Add an interlaced flag that can be used to control the unpack/pack functions.
This commit is contained in:
parent
d094ac49cc
commit
e303b0ad33
1 changed files with 5 additions and 1 deletions
|
@ -229,13 +229,17 @@ typedef enum
|
||||||
* to 0. This is likely sightly faster but less accurate. When this flag
|
* 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
|
* is not specified, the most significant bits of the source are duplicated
|
||||||
* in the least significant bits of the destination.
|
* 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.
|
* The different flags that can be used when packing and unpacking.
|
||||||
*/
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GST_VIDEO_PACK_FLAG_NONE = 0,
|
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;
|
} GstVideoPackFlags;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue