[−][src]Trait gstreamer_video::prelude::VideoDecoderExtManual
Required methods
fn allocate_output_frame(
&self,
frame: &mut VideoCodecFrame,
params: Option<&BufferPoolAcquireParams>
) -> Result<FlowSuccess, FlowError>
&self,
frame: &mut VideoCodecFrame,
params: Option<&BufferPoolAcquireParams>
) -> Result<FlowSuccess, FlowError>
fn get_frame(&self, frame_number: i32) -> Option<VideoCodecFrame>
fn get_frames(&self) -> Vec<VideoCodecFrame>
fn get_oldest_frame(&self) -> Option<VideoCodecFrame>
fn get_allocator(&self) -> (Allocator, AllocationParams)
fn have_frame(&self) -> Result<FlowSuccess, FlowError>
fn finish_frame(&self, frame: VideoCodecFrame) -> Result<FlowSuccess, FlowError>
fn release_frame(&self, frame: VideoCodecFrame)
fn drop_frame(&self, frame: VideoCodecFrame) -> Result<FlowSuccess, FlowError>
fn get_latency(&self) -> (ClockTime, ClockTime)
fn set_latency(&self, min_latency: ClockTime, max_latency: ClockTime)
fn get_output_state(&self) -> Option<VideoCodecState<'static, Readable>>
fn set_output_state(
&self,
fmt: VideoFormat,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
&self,
fmt: VideoFormat,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
fn set_interlaced_output_state(
&self,
fmt: VideoFormat,
mode: VideoInterlaceMode,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
&self,
fmt: VideoFormat,
mode: VideoInterlaceMode,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
fn negotiate<'a>(
&'a self,
output_state: VideoCodecState<'a, InNegotiation<'a>>
) -> Result<(), FlowError>
&'a self,
output_state: VideoCodecState<'a, InNegotiation<'a>>
) -> Result<(), FlowError>
fn error<T: MessageErrorDomain>(
&self,
weight: i32,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
) -> Result<FlowSuccess, FlowError>
&self,
weight: i32,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
) -> Result<FlowSuccess, FlowError>
Implementors
impl<O: IsA<VideoDecoder>> VideoDecoderExtManual for O
[src]
fn allocate_output_frame(
&self,
frame: &mut VideoCodecFrame,
params: Option<&BufferPoolAcquireParams>
) -> Result<FlowSuccess, FlowError>
[src]
&self,
frame: &mut VideoCodecFrame,
params: Option<&BufferPoolAcquireParams>
) -> Result<FlowSuccess, FlowError>
fn get_allocator(&self) -> (Allocator, AllocationParams)
[src]
fn have_frame(&self) -> Result<FlowSuccess, FlowError>
[src]
fn finish_frame(&self, frame: VideoCodecFrame) -> Result<FlowSuccess, FlowError>
[src]
fn release_frame(&self, frame: VideoCodecFrame)
[src]
fn drop_frame(&self, frame: VideoCodecFrame) -> Result<FlowSuccess, FlowError>
[src]
fn get_latency(&self) -> (ClockTime, ClockTime)
[src]
fn set_latency(&self, min_latency: ClockTime, max_latency: ClockTime)
[src]
fn get_frame(&self, frame_number: i32) -> Option<VideoCodecFrame>
[src]
fn get_frames(&self) -> Vec<VideoCodecFrame>
[src]
fn get_oldest_frame(&self) -> Option<VideoCodecFrame>
[src]
fn get_output_state(&self) -> Option<VideoCodecState<'static, Readable>>
[src]
fn set_output_state(
&self,
fmt: VideoFormat,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
[src]
&self,
fmt: VideoFormat,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
fn set_interlaced_output_state(
&self,
fmt: VideoFormat,
mode: VideoInterlaceMode,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
[src]
&self,
fmt: VideoFormat,
mode: VideoInterlaceMode,
width: u32,
height: u32,
reference: Option<&VideoCodecState<Readable>>
) -> Result<VideoCodecState<InNegotiation>, FlowError>
fn negotiate<'a>(
&'a self,
output_state: VideoCodecState<'a, InNegotiation<'a>>
) -> Result<(), FlowError>
[src]
&'a self,
output_state: VideoCodecState<'a, InNegotiation<'a>>
) -> Result<(), FlowError>
fn error<T: MessageErrorDomain>(
&self,
weight: i32,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
) -> Result<FlowSuccess, FlowError>
[src]
&self,
weight: i32,
code: T,
message: Option<&str>,
debug: Option<&str>,
file: &str,
function: &str,
line: u32
) -> Result<FlowSuccess, FlowError>