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

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

Fields

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

Trait Implementations

impl Default for Struct__GstVideoEncoderClass
[src]

fn default() -> Struct__GstVideoEncoderClass

Returns the "default value" for a type. Read more