[−][src]Trait gstreamer_video::VideoEncoderExtManual
Required methods
fn allocate_output_frame(
&self,
frame: &mut VideoCodecFrame<'_>,
size: usize
) -> Result<FlowSuccess, FlowError>
&self,
frame: &mut VideoCodecFrame<'_>,
size: usize
) -> 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) -> (Option<Allocator>, AllocationParams)
fn finish_frame(
&self,
frame: Option<VideoCodecFrame<'_>>
) -> Result<FlowSuccess, FlowError>
&self,
frame: Option<VideoCodecFrame<'_>>
) -> Result<FlowSuccess, FlowError>
fn finish_subframe(
&self,
frame: &VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>
&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,
caps: Caps,
reference: Option<&VideoCodecState<'_, Readable>>
) -> Result<VideoCodecState<'_, InNegotiation<'_>>, FlowError>
&self,
caps: Caps,
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>
Implementors
impl<O: IsA<VideoEncoder>> VideoEncoderExtManual for O
[src]
fn allocate_output_frame(
&self,
frame: &mut VideoCodecFrame<'_>,
size: usize
) -> Result<FlowSuccess, FlowError>
[src]
&self,
frame: &mut VideoCodecFrame<'_>,
size: usize
) -> Result<FlowSuccess, FlowError>
fn get_allocator(&self) -> (Option<Allocator>, AllocationParams)
[src]
fn finish_frame(
&self,
frame: Option<VideoCodecFrame<'_>>
) -> Result<FlowSuccess, FlowError>
[src]
&self,
frame: Option<VideoCodecFrame<'_>>
) -> Result<FlowSuccess, FlowError>
fn finish_subframe(
&self,
frame: &VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>
[src]
&self,
frame: &VideoCodecFrame<'_>
) -> Result<FlowSuccess, FlowError>
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,
caps: Caps,
reference: Option<&VideoCodecState<'_, Readable>>
) -> Result<VideoCodecState<'_, InNegotiation<'_>>, FlowError>
[src]
&self,
caps: Caps,
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>