Trait gstreamer_video::prelude::VideoEncoderExt

source ·
pub trait VideoEncoderExt: IsA<VideoEncoder> + Sealed + 'static {
Show 14 methods // Provided methods fn allocate_output_buffer(&self, size: usize) -> Buffer { ... } fn finish_frame( &self, frame: VideoCodecFrame<'_> ) -> Result<FlowSuccess, FlowError> { ... } fn max_encode_time(&self, frame: &VideoCodecFrame<'_>) -> ClockTimeDiff { ... } fn min_force_key_unit_interval(&self) -> Option<ClockTime> { ... } fn is_qos_enabled(&self) -> bool { ... } fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode) { ... } fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps { ... } fn set_min_force_key_unit_interval( &self, interval: impl Into<Option<ClockTime>> ) { ... } fn set_min_pts(&self, min_pts: impl Into<Option<ClockTime>>) { ... } fn set_qos_enabled(&self, enabled: bool) { ... } fn is_qos(&self) -> bool { ... } fn set_qos(&self, qos: bool) { ... } fn connect_min_force_key_unit_interval_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_qos_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn allocate_output_buffer(&self, size: usize) -> Buffer

source

fn finish_frame( &self, frame: VideoCodecFrame<'_> ) -> Result<FlowSuccess, FlowError>

source

fn max_encode_time(&self, frame: &VideoCodecFrame<'_>) -> ClockTimeDiff

source

fn min_force_key_unit_interval(&self) -> Option<ClockTime>

Available on crate feature v1_18 only.
source

fn is_qos_enabled(&self) -> bool

source

fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode)

source

fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps

source

fn set_min_force_key_unit_interval( &self, interval: impl Into<Option<ClockTime>> )

Available on crate feature v1_18 only.
source

fn set_min_pts(&self, min_pts: impl Into<Option<ClockTime>>)

source

fn set_qos_enabled(&self, enabled: bool)

source

fn is_qos(&self) -> bool

source

fn set_qos(&self, qos: bool)

source

fn connect_min_force_key_unit_interval_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Available on crate feature v1_18 only.
source

fn connect_qos_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§