[][src]Crate gstreamer_video

Re-exports

pub use video_frame::VideoBufferExt;
pub use video_frame::VideoFrame;
pub use video_frame::VideoFrameRef;
pub use video_event::DownstreamForceKeyUnitEvent;
pub use video_event::ForceKeyUnitEvent;
pub use video_event::StillFrameEvent;
pub use video_event::UpstreamForceKeyUnitEvent;
pub use video_meta::VideoCaptionMeta;
pub use video_meta::VideoAFDMeta;
pub use video_meta::VideoBarMeta;
pub use video_meta::VideoAffineTransformationMeta;
pub use video_meta::VideoCropMeta;
pub use video_meta::VideoMeta;
pub use video_meta::VideoOverlayCompositionMeta;
pub use video_meta::VideoRegionOfInterestMeta;
pub use video_converter::VideoConverter;
pub use video_converter::VideoConverterConfig;
pub use video_codec_state::VideoCodecState;
pub use video_codec_state::VideoCodecStateContext;

Modules

prelude
subclass
video_codec_state
video_converter
video_event
video_frame
video_meta

Macros

gst_video_decoder_error

Structs

ValidVideoTimeCode
VideoAlignment
VideoBufferFlags

Additional video buffer flags. These flags can potentially be used on any buffers carrying closed caption data, or video data - even encoded data.

VideoBufferPool

Implements

VideoBufferPoolClass
VideoChromaSite

Various Chroma sitings.

VideoCodecFrame

A VideoCodecFrame represents a video frame both in raw and encoded form.

VideoCodecFrameFlags

Flags for VideoCodecFrame

VideoColorimetry
VideoDecoder

This base class is for video decoders turning encoded data into raw video frames.

VideoDecoderClass
VideoEncoder

This base class is for video encoders turning raw video into encoded video data.

VideoEncoderClass
VideoFilter

Provides useful functions and a base class for video filters.

VideoFilterClass
VideoFlags

Extra video flags

VideoFormatFlags

The different video flags that a format info can have.

VideoFormatInfo
VideoFormatIterator
VideoFrameFlags

Extra video frame flags

VideoInfo

Information describing image properties. This information can be filled in from GstCaps with VideoInfo::from_caps. The information is also used to store the specific video info when mapping a video frame with VideoFrame::map.

VideoInfoBuilder
VideoMultiviewFlags

GstVideoMultiviewFlags are used to indicate extra properties of a stereo/multiview stream beyond the frame layout and buffer mapping that is conveyed in the VideoMultiviewMode.

VideoOverlay

The VideoOverlay interface is used for 2 main purposes :

VideoOverlayComposition
VideoOverlayCompositionRef
VideoOverlayFormatFlags

Overlay format flags.

VideoOverlayRectangle
VideoOverlayRectangleRef
VideoPackFlags

The different flags that can be used when packing and unpacking.

VideoRectangle
VideoSink

Provides useful functions and a base class for video sinks.

VideoSinkClass
VideoTimeCode

field_count must be 0 for progressive video and 1 or 2 for interlaced.

VideoTimeCodeFlags

Flags related to the time code information. For drop frame, only 30000/1001 and 60000/1001 frame rates are supported.

VideoTimeCodeInterval

A representation of a difference between two VideoTimeCode instances. Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)

VideoTimeCodeMeta

Enums

VideoAFDSpec

Enumeration of the different standards that may apply to AFD data:

VideoAFDValue

Enumeration of the various values for Active Format Description (AFD)

VideoAlphaMode

Different alpha modes.

VideoCaptionType

The various known types of Closed Caption (CC).

VideoChromaMode

Different chroma downsampling and upsampling modes

VideoColorMatrix

The color matrix is used to convert between Y'PbPr and non-linear RGB (R'G'B')

VideoColorPrimaries

The color primaries define the how to transform linear RGB values to and from the CIE XYZ colorspace.

VideoColorRange

Possible color range values. These constants are defined for 8 bit color values and can be scaled for other bit depths.

VideoDitherMethod

Different dithering methods to use.

VideoEndianness
VideoFieldOrder

Field order of interlaced content. This is only valid for interlace-mode=interleaved and not interlace-mode=mixed. In the case of mixed or GST_VIDEO_FIELD_ORDER_UNKOWN, the field order is signalled via buffer flags.

VideoFormat

Enum value describing the most common video formats.

VideoGammaMode
VideoInterlaceMode

The possible values of the VideoInterlaceMode describing the interlace mode of the stream.

VideoMatrixMode

Different color matrix conversion modes

VideoMultiviewFramePacking

VideoMultiviewFramePacking represents the subset of VideoMultiviewMode values that can be applied to any video frame without needing extra metadata. It can be used by elements that provide a property to override the multiview interpretation of a video stream when the video doesn't contain any markers.

VideoMultiviewMode

All possible stereoscopic 3D and multiview representations. In conjunction with VideoMultiviewFlags, describes how multiview content is being transported in the stream.

VideoPrimariesMode

Different primaries conversion modes

VideoResamplerMethod

Different subsampling and upsampling methods

VideoTileMode

Enum value describing the available tiling modes.

VideoTransferFunction

The video transfer function defines the formula for converting between non-linear RGB (R'G'B') and linear RGB

Constants

NONE_VIDEO_BUFFER_POOL
NONE_VIDEO_DECODER
NONE_VIDEO_ENCODER
NONE_VIDEO_FILTER
NONE_VIDEO_OVERLAY
NONE_VIDEO_SINK
VIDEO_DECODER_FLOW_NEED_DATA
VIDEO_ENCODER_FLOW_NEED_DATA
VIDEO_MAX_PLANES

Statics

BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META
BUFFER_POOL_OPTION_VIDEO_ALIGNMENT
BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META
BUFFER_POOL_OPTION_VIDEO_META
CAPS_FEATURES_FORMAT_INTERLACED
CAPS_FEATURES_META_GST_VIDEO_AFFINE_TRANSFORMATION_META
CAPS_FEATURES_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META
CAPS_FEATURES_META_GST_VIDEO_META
CAPS_FEATURES_META_GST_VIDEO_OVERLAY_COMPOSITION
CAPS_FEATURE_FORMAT_INTERLACED
CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META
CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META
CAPS_FEATURE_META_GST_VIDEO_META
CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION
VIDEO_FORMATS_ALL

Traits

VideoBufferPoolConfig
VideoDecoderExt

Trait containing all VideoDecoder methods.

VideoDecoderExtManual
VideoEncoderExt

Trait containing all VideoEncoder methods.

VideoEncoderExtManual
VideoFormatIteratorExt
VideoFormatIteratorExtRef
VideoOverlayExt

Trait containing all VideoOverlay methods.

VideoOverlayExtManual
VideoSinkExt

Trait containing all VideoSink methods.

Functions

calculate_display_ratio
center_video_rectangle
convert_sample
convert_sample_async
convert_sample_async_local
convert_sample_future
guess_framerate
is_video_overlay_prepare_window_handle_message
video_make_raw_caps