[][src]Trait gstreamer_video::VideoEncoderExt

pub trait VideoEncoderExt: 'static {
    pub fn allocate_output_buffer(
        &self,
        size: usize
    ) -> Result<Buffer, BoolError>;
pub fn get_max_encode_time(
        &self,
        frame: &VideoCodecFrame<'_>
    ) -> ClockTimeDiff;
pub fn get_min_force_key_unit_interval(&self) -> ClockTime;
pub fn is_qos_enabled(&self) -> bool;
pub fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode);
pub fn proxy_getcaps(
        &self,
        caps: Option<&Caps>,
        filter: Option<&Caps>
    ) -> Caps;
pub fn set_headers(&self, headers: &[&Buffer]);
pub fn set_min_force_key_unit_interval(&self, interval: ClockTime);
pub fn set_min_pts(&self, min_pts: ClockTime);
pub fn set_qos_enabled(&self, enabled: bool);
pub fn get_property_qos(&self) -> bool;
pub fn set_property_qos(&self, qos: bool);
pub fn connect_property_min_force_key_unit_interval_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
pub fn connect_property_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

pub fn allocate_output_buffer(&self, size: usize) -> Result<Buffer, BoolError>[src]

pub fn get_max_encode_time(&self, frame: &VideoCodecFrame<'_>) -> ClockTimeDiff[src]

pub fn get_min_force_key_unit_interval(&self) -> ClockTime[src]

pub fn is_qos_enabled(&self) -> bool[src]

pub fn merge_tags(&self, tags: Option<&TagList>, mode: TagMergeMode)[src]

pub fn proxy_getcaps(&self, caps: Option<&Caps>, filter: Option<&Caps>) -> Caps[src]

pub fn set_headers(&self, headers: &[&Buffer])[src]

pub fn set_min_force_key_unit_interval(&self, interval: ClockTime)[src]

pub fn set_min_pts(&self, min_pts: ClockTime)[src]

pub fn set_qos_enabled(&self, enabled: bool)[src]

pub fn get_property_qos(&self) -> bool[src]

pub fn set_property_qos(&self, qos: bool)[src]

pub fn connect_property_min_force_key_unit_interval_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_qos_notify<F: Fn(&Self) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Loading content...

Implementors

impl<O: IsA<VideoEncoder>> VideoEncoderExt for O[src]

Loading content...