Trait gstreamer_video::prelude::VideoDecoderExt [−][src]
pub trait VideoDecoderExt: 'static {}Show methods
fn add_to_frame(&self, n_bytes: i32); fn allocate_output_buffer(&self) -> Result<Buffer, BoolError>; 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 have_frame(&self) -> FlowReturn; fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode); fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps; 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_use_default_pad_acceptcaps(&self, use_: 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_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;
Required methods
fn add_to_frame(&self, n_bytes: i32)
fn allocate_output_buffer(&self) -> Result<Buffer, BoolError>
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 needs_sync_point(&self) -> bool
This is supported on crate feature
v1_20
only.fn is_packetized(&self) -> bool
fn pending_frame_size(&self) -> usize
fn qos_proportion(&self) -> f64
fn have_frame(&self) -> FlowReturn
fn request_sync_point(
&self,
frame: &VideoCodecFrame<'_>,
flags: VideoDecoderRequestSyncPointFlags
)
fn request_sync_point(
&self,
frame: &VideoCodecFrame<'_>,
flags: VideoDecoderRequestSyncPointFlags
)
This is supported on crate feature
v1_20
only.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_needs_sync_point(&self, enabled: bool)
This is supported on crate feature
v1_20
only.fn set_packetized(&self, packetized: bool)
fn set_use_default_pad_acceptcaps(&self, use_: bool)
fn is_discard_corrupted_frames(&self) -> bool
fn is_discard_corrupted_frames(&self) -> bool
This is supported on crate feature
v1_20
only.fn set_discard_corrupted_frames(&self, discard_corrupted_frames: bool)
fn set_discard_corrupted_frames(&self, discard_corrupted_frames: bool)
This is supported on crate feature
v1_20
only.fn min_force_key_unit_interval(&self) -> u64
fn min_force_key_unit_interval(&self) -> u64
This is supported on crate feature
v1_20
only.fn set_min_force_key_unit_interval(&self, min_force_key_unit_interval: u64)
fn set_min_force_key_unit_interval(&self, min_force_key_unit_interval: u64)
This is supported on crate feature
v1_20
only.fn connect_discard_corrupted_frames_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
This is supported on crate feature
v1_20
only.fn connect_max_errors_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
This is supported on crate feature
v1_18
only.fn connect_min_force_key_unit_interval_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
This is supported on crate feature
v1_20
only.fn connect_qos_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
This is supported on crate feature
v1_18
only.