Trait gstreamer_video::prelude::VideoDecoderExt

source ·
pub trait VideoDecoderExt: IsA<VideoDecoder> + Sealed + 'static {
Show 45 methods // Provided methods fn add_to_frame(&self, n_bytes: i32) { ... } fn allocate_output_buffer(&self) -> Result<Buffer, BoolError> { ... } fn drop_frame( &self, frame: VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError> { ... } fn drop_subframe( &self, frame: VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError> { ... } fn finish_frame( &self, frame: VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError> { ... } fn finish_subframe( &self, frame: VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError> { ... } fn buffer_pool(&self) -> Option<BufferPool> { ... } fn estimate_rate(&self) -> i32 { ... } fn max_decode_time(&self, frame: &VideoCodecFrame<'_>) -> ClockTimeDiff { ... } fn max_errors(&self) -> i32 { ... } fn needs_format(&self) -> bool { ... } fn needs_sync_point(&self) -> bool { ... } fn is_packetized(&self) -> bool { ... } fn pending_frame_size(&self) -> usize { ... } fn qos_proportion(&self) -> f64 { ... } fn is_subframe_mode(&self) -> bool { ... } fn have_frame(&self) -> Result<FlowSuccess, FlowError> { ... } fn have_last_subframe( &self, frame: &VideoCodecFrame<'_>, ) -> Result<FlowSuccess, FlowError> { ... } fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode) { ... } fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps { ... } fn release_frame(&self, frame: VideoCodecFrame<'_>) { ... } fn request_sync_point( &self, frame: &VideoCodecFrame<'_>, flags: VideoDecoderRequestSyncPointFlags, ) { ... } fn set_estimate_rate(&self, enabled: bool) { ... } fn set_max_errors(&self, num: i32) { ... } fn set_needs_format(&self, enabled: bool) { ... } fn set_needs_sync_point(&self, enabled: bool) { ... } fn set_packetized(&self, packetized: bool) { ... } fn set_subframe_mode(&self, subframe_mode: bool) { ... } fn set_use_default_pad_acceptcaps(&self, use_: bool) { ... } fn automatic_request_sync_point_flags( &self, ) -> VideoDecoderRequestSyncPointFlags { ... } fn set_automatic_request_sync_point_flags( &self, automatic_request_sync_point_flags: VideoDecoderRequestSyncPointFlags, ) { ... } fn is_automatic_request_sync_points(&self) -> bool { ... } fn set_automatic_request_sync_points( &self, automatic_request_sync_points: bool, ) { ... } fn is_discard_corrupted_frames(&self) -> bool { ... } fn set_discard_corrupted_frames(&self, discard_corrupted_frames: bool) { ... } fn min_force_key_unit_interval(&self) -> u64 { ... } fn set_min_force_key_unit_interval(&self, min_force_key_unit_interval: u64) { ... } fn is_qos(&self) -> bool { ... } fn set_qos(&self, qos: bool) { ... } fn connect_automatic_request_sync_point_flags_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_automatic_request_sync_points_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_discard_corrupted_frames_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_max_errors_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } 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 add_to_frame(&self, n_bytes: i32)

source

fn allocate_output_buffer(&self) -> Result<Buffer, BoolError>

source

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

source

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

Available on crate feature v1_20 only.
source

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

source

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

Available on crate feature v1_20 only.
source

fn buffer_pool(&self) -> Option<BufferPool>

source

fn estimate_rate(&self) -> i32

source

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

source

fn max_errors(&self) -> i32

source

fn needs_format(&self) -> bool

source

fn needs_sync_point(&self) -> bool

Available on crate feature v1_20 only.
source

fn is_packetized(&self) -> bool

source

fn pending_frame_size(&self) -> usize

source

fn qos_proportion(&self) -> f64

source

fn is_subframe_mode(&self) -> bool

Available on crate feature v1_20 only.
source

fn have_frame(&self) -> Result<FlowSuccess, FlowError>

source

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

Available on crate feature v1_20 only.
source

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

source

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

source

fn release_frame(&self, frame: VideoCodecFrame<'_>)

source

fn request_sync_point( &self, frame: &VideoCodecFrame<'_>, flags: VideoDecoderRequestSyncPointFlags, )

Available on crate feature v1_20 only.
source

fn set_estimate_rate(&self, enabled: bool)

source

fn set_max_errors(&self, num: i32)

source

fn set_needs_format(&self, enabled: bool)

source

fn set_needs_sync_point(&self, enabled: bool)

Available on crate feature v1_20 only.
source

fn set_packetized(&self, packetized: bool)

source

fn set_subframe_mode(&self, subframe_mode: bool)

Available on crate feature v1_20 only.
source

fn set_use_default_pad_acceptcaps(&self, use_: bool)

source

fn automatic_request_sync_point_flags( &self, ) -> VideoDecoderRequestSyncPointFlags

Available on crate feature v1_20 only.
source

fn set_automatic_request_sync_point_flags( &self, automatic_request_sync_point_flags: VideoDecoderRequestSyncPointFlags, )

Available on crate feature v1_20 only.
source

fn is_automatic_request_sync_points(&self) -> bool

Available on crate feature v1_20 only.
source

fn set_automatic_request_sync_points(&self, automatic_request_sync_points: bool)

Available on crate feature v1_20 only.
source

fn is_discard_corrupted_frames(&self) -> bool

Available on crate feature v1_20 only.
source

fn set_discard_corrupted_frames(&self, discard_corrupted_frames: bool)

Available on crate feature v1_20 only.
source

fn min_force_key_unit_interval(&self) -> u64

Available on crate feature v1_20 only.
source

fn set_min_force_key_unit_interval(&self, min_force_key_unit_interval: u64)

Available on crate feature v1_20 only.
source

fn is_qos(&self) -> bool

Available on crate feature v1_18 only.
source

fn set_qos(&self, qos: bool)

Available on crate feature v1_18 only.
source

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

Available on crate feature v1_20 only.
source

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

Available on crate feature v1_20 only.
source

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

Available on crate feature v1_20 only.
source

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

Available on crate feature v1_18 only.
source

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

Available on crate feature v1_20 only.
source

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

Available on crate feature v1_18 only.

Object Safety§

This trait is not object safe.

Implementors§