Enum gstreamer_video::VideoInterlaceMode [−][src]
#[non_exhaustive]
pub enum VideoInterlaceMode {
Progressive,
Interleaved,
Mixed,
Fields,
Alternate,
// some variants omitted
}Expand description
The possible values of the VideoInterlaceMode describing the interlace
mode of the stream.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
all frames are progressive
2 fields are interleaved in one video frame. Extra buffer flags describe the field order.
frames contains both interlaced and progressive video, the buffer flags describe the frame and fields.
2 fields are stored in one buffer, use the frame ID to get access to the required field. For multiview (the ‘views’ property > 1) the fields of view N can be found at frame ID (N * 2) and (N * 2) + 1. Each field has only half the amount of lines as noted in the height property. This mode requires multiple GstVideoMeta metadata to describe the fields.
v1_16 only.1 field is stored in one buffer,
GST_VIDEO_BUFFER_FLAG_TF or GST_VIDEO_BUFFER_FLAG_BF indicates if
the buffer is carrying the top or bottom field, respectively. The top and
bottom buffers must alternate in the pipeline, with this mode
(Since: 1.16).
Implementations
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>Value type checker.
Get the contained value from a Value. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Returns the type identifier of Self.
Auto Trait Implementations
impl RefUnwindSafe for VideoInterlaceModeimpl Send for VideoInterlaceModeimpl Sync for VideoInterlaceModeimpl Unpin for VideoInterlaceModeimpl UnwindSafe for VideoInterlaceModeBlanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue clone of self.