Struct gst::ffi::Struct__GstBaseSrcClass [−][src]
#[repr(C)]pub struct Struct__GstBaseSrcClass { pub parent_class: GstElementClass, pub get_caps: Option<extern "C" fn(src: *mut GstBaseSrc, filter: *mut GstCaps) -> *mut GstCaps>, pub negotiate: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>, pub fixate: Option<extern "C" fn(src: *mut GstBaseSrc, caps: *mut GstCaps) -> *mut GstCaps>, pub set_caps: Option<extern "C" fn(src: *mut GstBaseSrc, caps: *mut GstCaps) -> gboolean>, pub decide_allocation: Option<extern "C" fn(src: *mut GstBaseSrc, query: *mut GstQuery) -> gboolean>, pub start: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>, pub stop: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>, pub get_times: Option<extern "C" fn(src: *mut GstBaseSrc, buffer: *mut GstBuffer, start: *mut GstClockTime, end: *mut GstClockTime)>, pub get_size: Option<extern "C" fn(src: *mut GstBaseSrc, size: *mut guint64) -> gboolean>, pub is_seekable: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>, pub prepare_seek_segment: Option<extern "C" fn(src: *mut GstBaseSrc, seek: *mut GstEvent, segment: *mut GstSegment) -> gboolean>, pub do_seek: Option<extern "C" fn(src: *mut GstBaseSrc, segment: *mut GstSegment) -> gboolean>, pub unlock: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>, pub unlock_stop: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>, pub query: Option<extern "C" fn(src: *mut GstBaseSrc, query: *mut GstQuery) -> gboolean>, pub event: Option<extern "C" fn(src: *mut GstBaseSrc, event: *mut GstEvent) -> gboolean>, pub create: Option<extern "C" fn(src: *mut GstBaseSrc, offset: guint64, size: guint, buf: *mut *mut GstBuffer) -> GstFlowReturn>, pub alloc: Option<extern "C" fn(src: *mut GstBaseSrc, offset: guint64, size: guint, buf: *mut *mut GstBuffer) -> GstFlowReturn>, pub fill: Option<extern "C" fn(src: *mut GstBaseSrc, offset: guint64, size: guint, buf: *mut GstBuffer) -> GstFlowReturn>, pub _gst_reserved: [gpointer; 20], }
Fields
parent_class: GstElementClass
get_caps: Option<extern "C" fn(src: *mut GstBaseSrc, filter: *mut GstCaps) -> *mut GstCaps>
negotiate: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>
fixate: Option<extern "C" fn(src: *mut GstBaseSrc, caps: *mut GstCaps) -> *mut GstCaps>
set_caps: Option<extern "C" fn(src: *mut GstBaseSrc, caps: *mut GstCaps) -> gboolean>
decide_allocation: Option<extern "C" fn(src: *mut GstBaseSrc, query: *mut GstQuery) -> gboolean>
start: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>
stop: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>
get_times: Option<extern "C" fn(src: *mut GstBaseSrc, buffer: *mut GstBuffer, start: *mut GstClockTime, end: *mut GstClockTime)>
get_size: Option<extern "C" fn(src: *mut GstBaseSrc, size: *mut guint64) -> gboolean>
is_seekable: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>
prepare_seek_segment: Option<extern "C" fn(src: *mut GstBaseSrc, seek: *mut GstEvent, segment: *mut GstSegment) -> gboolean>
do_seek: Option<extern "C" fn(src: *mut GstBaseSrc, segment: *mut GstSegment) -> gboolean>
unlock: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>
unlock_stop: Option<extern "C" fn(src: *mut GstBaseSrc) -> gboolean>
query: Option<extern "C" fn(src: *mut GstBaseSrc, query: *mut GstQuery) -> gboolean>
event: Option<extern "C" fn(src: *mut GstBaseSrc, event: *mut GstEvent) -> gboolean>
create: Option<extern "C" fn(src: *mut GstBaseSrc, offset: guint64, size: guint, buf: *mut *mut GstBuffer) -> GstFlowReturn>
alloc: Option<extern "C" fn(src: *mut GstBaseSrc, offset: guint64, size: guint, buf: *mut *mut GstBuffer) -> GstFlowReturn>
fill: Option<extern "C" fn(src: *mut GstBaseSrc, offset: guint64, size: guint, buf: *mut GstBuffer) -> GstFlowReturn>
_gst_reserved: [gpointer; 20]
Trait Implementations
impl Default for Struct__GstBaseSrcClass
[src]
impl Default for Struct__GstBaseSrcClass
fn default() -> Struct__GstBaseSrcClass
[src]
fn default() -> Struct__GstBaseSrcClass
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl !Send for Struct__GstBaseSrcClass
impl !Send for Struct__GstBaseSrcClass
impl !Sync for Struct__GstBaseSrcClass
impl !Sync for Struct__GstBaseSrcClass