Trait gstreamer_video::auto::video_decoder::VideoDecoderExt
source · pub trait VideoDecoderExt:
IsA<VideoDecoder>
+ Sealed
+ 'static {
Show 21 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 finish_frame(
&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 is_packetized(&self) -> bool { ... }
fn pending_frame_size(&self) -> usize { ... }
fn qos_proportion(&self) -> f64 { ... }
fn have_frame(&self) -> 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 set_estimate_rate(&self, enabled: bool) { ... }
fn set_max_errors(&self, num: i32) { ... }
fn set_needs_format(&self, enabled: bool) { ... }
fn set_packetized(&self, packetized: bool) { ... }
fn set_use_default_pad_acceptcaps(&self, use_: bool) { ... }
}
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 finish_frame( &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 is_packetized(&self) -> bool
fn pending_frame_size(&self) -> usize
fn qos_proportion(&self) -> f64
fn have_frame(&self) -> Result<FlowSuccess, FlowError>
fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps
fn release_frame(&self, frame: VideoCodecFrame<'_>)
fn set_estimate_rate(&self, enabled: bool)
fn set_max_errors(&self, num: i32)
fn set_needs_format(&self, enabled: bool)
fn set_packetized(&self, packetized: bool)
fn set_use_default_pad_acceptcaps(&self, use_: bool)
Object Safety§
This trait is not object safe.