Struct gst::ffi::Struct__GstVideoEncoderClass
[−]
[src]
#[repr(C)]pub struct Struct__GstVideoEncoderClass { pub element_class: GstElementClass, pub open: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>, pub close: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>, pub start: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>, pub stop: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>, pub set_format: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstVideoCodecState) -> gboolean>, pub handle_frame: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstVideoCodecFrame) -> GstFlowReturn>, pub reset: Option<extern "C" fn(_: *mut GstVideoEncoder, _: gboolean) -> gboolean>, pub finish: Option<extern "C" fn(_: *mut GstVideoEncoder) -> GstFlowReturn>, pub pre_push: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstVideoCodecFrame) -> GstFlowReturn>, pub getcaps: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstCaps) -> *mut GstCaps>, pub sink_event: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstEvent) -> gboolean>, pub src_event: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstEvent) -> gboolean>, pub negotiate: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>, pub decide_allocation: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstQuery) -> gboolean>, pub propose_allocation: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstQuery) -> gboolean>, pub flush: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>, pub sink_query: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstQuery) -> gboolean>, pub src_query: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstQuery) -> gboolean>, pub _gst_reserved: [gpointer; 17], }
Fields
element_class: GstElementClass
open: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>
close: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>
start: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>
stop: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>
set_format: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstVideoCodecState) -> gboolean>
handle_frame: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstVideoCodecFrame) -> GstFlowReturn>
reset: Option<extern "C" fn(_: *mut GstVideoEncoder, _: gboolean) -> gboolean>
finish: Option<extern "C" fn(_: *mut GstVideoEncoder) -> GstFlowReturn>
pre_push: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstVideoCodecFrame) -> GstFlowReturn>
getcaps: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstCaps) -> *mut GstCaps>
sink_event: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstEvent) -> gboolean>
src_event: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstEvent) -> gboolean>
negotiate: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>
decide_allocation: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstQuery) -> gboolean>
propose_allocation: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstQuery) -> gboolean>
flush: Option<extern "C" fn(_: *mut GstVideoEncoder) -> gboolean>
sink_query: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *mut GstQuery) -> gboolean>
src_query: Option<extern "C" fn(_: *mut GstVideoEncoder, _: *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