Crate gstreamer_video[][src]

Re-exports

pub use ffi;
pub use glib;
pub use gst;
pub use gst_base;
pub use crate::video_frame::VideoFrame;
pub use crate::video_frame::VideoFrameRef;
pub use crate::video_event::DownstreamForceKeyUnitEvent;
pub use crate::video_event::ForceKeyUnitEvent;
pub use crate::video_event::StillFrameEvent;
pub use crate::video_event::UpstreamForceKeyUnitEvent;
pub use crate::video_meta::VideoCaptionMeta;v1_16
pub use crate::video_meta::VideoAFDMeta;v1_18
pub use crate::video_meta::VideoBarMeta;v1_18
pub use crate::video_meta::VideoAffineTransformationMeta;
pub use crate::video_meta::VideoCropMeta;
pub use crate::video_meta::VideoMeta;
pub use crate::video_meta::VideoOverlayCompositionMeta;
pub use crate::video_meta::VideoRegionOfInterestMeta;
pub use crate::video_converter::VideoConverter;
pub use crate::video_converter::VideoConverterConfig;
pub use crate::video_codec_state::VideoCodecState;
pub use crate::video_codec_state::VideoCodecStateContext;

Modules

prelude
subclass
video_codec_state
video_converter
video_event
video_frame
video_meta

Macros

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

VideoChromaSite

Various Chroma sitings.

VideoCodecFrame

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

VideoCodecFrameFlags

Flags for crate::VideoCodecFrame

VideoColorimetry

Structure describing the color info.

VideoDecoder

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

VideoEncoder

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

VideoFilter

Provides useful functions and a base class for video filters.

VideoFlags

Extra video flags

VideoFormatFlags

The different video flags that a format info can have.

VideoFormatInfo

Information for a video format.

VideoFormatIterator
VideoFrameFlags

Extra video frame flags

VideoInfo

Information describing image properties. This information can be filled in from GstCaps with Self::from_caps(). The information is also used to store the specific video info when mapping a video frame with [crate::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 crate::VideoMultiviewMode.

VideoOrientation

The interface allows unified access to control flipping and autocenter operation of video-sources or operators.

VideoOverlay

The crate::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.

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 crate::VideoTimeCode instances. Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)

VideoTimeCodeMeta

Enums

VideoAFDSpecv1_18

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

VideoAFDValuev1_18

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

VideoAlphaMode

Different alpha modes.

VideoCaptionTypev1_16

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
VideoFieldOrderv1_12

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 crate::VideoInterlaceMode describing the interlace mode of the stream.

VideoMatrixMode

Different color matrix conversion modes

VideoMultiviewFramePacking

crate::VideoMultiviewFramePacking represents the subset of crate::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 crate::VideoMultiviewFlags, describes how multiview content is being transported in the stream.

VideoOrientationMethodv1_10

The different video orientation methods.

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_ORIENTATION
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_INTERLACEDv1_16
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_INTERLACEDv1_16
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
VideoFormatIteratorExt
VideoFormatIteratorExtRef

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