[][src]Struct gst::ffi::Struct__GstVideoEncoderClass

#[repr(C)]
pub struct Struct__GstVideoEncoderClass { pub element_class: GstElementClass, pub open: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>, pub close: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>, pub start: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>, pub stop: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>, pub set_format: Option<extern "C" fn(encoder: *mut GstVideoEncoder, state: *mut GstVideoCodecState) -> gboolean>, pub handle_frame: Option<extern "C" fn(encoder: *mut GstVideoEncoder, frame: *mut GstVideoCodecFrame) -> GstFlowReturn>, pub reset: Option<extern "C" fn(encoder: *mut GstVideoEncoder, hard: gboolean) -> gboolean>, pub finish: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> GstFlowReturn>, pub pre_push: Option<extern "C" fn(encoder: *mut GstVideoEncoder, frame: *mut GstVideoCodecFrame) -> GstFlowReturn>, pub getcaps: Option<extern "C" fn(enc: *mut GstVideoEncoder, filter: *mut GstCaps) -> *mut GstCaps>, pub sink_event: Option<extern "C" fn(encoder: *mut GstVideoEncoder, event: *mut GstEvent) -> gboolean>, pub src_event: Option<extern "C" fn(encoder: *mut GstVideoEncoder, event: *mut GstEvent) -> gboolean>, pub negotiate: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>, pub decide_allocation: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>, pub propose_allocation: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>, pub flush: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>, pub sink_query: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>, pub src_query: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>, pub _gst_reserved: [gpointer; 17], }

Fields

element_class: GstElementClassopen: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>close: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>start: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>stop: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>set_format: Option<extern "C" fn(encoder: *mut GstVideoEncoder, state: *mut GstVideoCodecState) -> gboolean>handle_frame: Option<extern "C" fn(encoder: *mut GstVideoEncoder, frame: *mut GstVideoCodecFrame) -> GstFlowReturn>reset: Option<extern "C" fn(encoder: *mut GstVideoEncoder, hard: gboolean) -> gboolean>finish: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> GstFlowReturn>pre_push: Option<extern "C" fn(encoder: *mut GstVideoEncoder, frame: *mut GstVideoCodecFrame) -> GstFlowReturn>getcaps: Option<extern "C" fn(enc: *mut GstVideoEncoder, filter: *mut GstCaps) -> *mut GstCaps>sink_event: Option<extern "C" fn(encoder: *mut GstVideoEncoder, event: *mut GstEvent) -> gboolean>src_event: Option<extern "C" fn(encoder: *mut GstVideoEncoder, event: *mut GstEvent) -> gboolean>negotiate: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>decide_allocation: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>propose_allocation: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>flush: Option<extern "C" fn(encoder: *mut GstVideoEncoder) -> gboolean>sink_query: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>src_query: Option<extern "C" fn(encoder: *mut GstVideoEncoder, query: *mut GstQuery) -> gboolean>_gst_reserved: [gpointer; 17]

Trait Implementations

impl Default for Struct__GstVideoEncoderClass[src]

Auto Trait Implementations

impl !Send for Struct__GstVideoEncoderClass

impl !Sync for Struct__GstVideoEncoderClass

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.