Struct gst::ffi::Struct__GstBaseTransformClass [−][src]
#[repr(C)]pub struct Struct__GstBaseTransformClass { pub parent_class: GstElementClass, pub passthrough_on_same_caps: gboolean, pub transform_ip_on_passthrough: gboolean, pub transform_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps, filter: *mut GstCaps) -> *mut GstCaps>, pub fixate_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps, othercaps: *mut GstCaps) -> *mut GstCaps>, pub accept_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps) -> gboolean>, pub set_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, incaps: *mut GstCaps, outcaps: *mut GstCaps) -> gboolean>, pub query: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, query: *mut GstQuery) -> gboolean>, pub decide_allocation: Option<extern "C" fn(trans: *mut GstBaseTransform, query: *mut GstQuery) -> gboolean>, pub filter_meta: Option<extern "C" fn(trans: *mut GstBaseTransform, query: *mut GstQuery, api: GType, params: *const GstStructure) -> gboolean>, pub propose_allocation: Option<extern "C" fn(trans: *mut GstBaseTransform, decide_query: *mut GstQuery, query: *mut GstQuery) -> gboolean>, pub transform_size: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps, size: gsize, othercaps: *mut GstCaps, othersize: *mut gsize) -> gboolean>, pub get_unit_size: Option<extern "C" fn(trans: *mut GstBaseTransform, caps: *mut GstCaps, size: *mut gsize) -> gboolean>, pub start: Option<extern "C" fn(trans: *mut GstBaseTransform) -> gboolean>, pub stop: Option<extern "C" fn(trans: *mut GstBaseTransform) -> gboolean>, pub sink_event: Option<extern "C" fn(trans: *mut GstBaseTransform, event: *mut GstEvent) -> gboolean>, pub src_event: Option<extern "C" fn(trans: *mut GstBaseTransform, event: *mut GstEvent) -> gboolean>, pub prepare_output_buffer: Option<extern "C" fn(trans: *mut GstBaseTransform, input: *mut GstBuffer, outbuf: *mut *mut GstBuffer) -> GstFlowReturn>, pub copy_metadata: Option<extern "C" fn(trans: *mut GstBaseTransform, input: *mut GstBuffer, outbuf: *mut GstBuffer) -> gboolean>, pub transform_meta: Option<extern "C" fn(trans: *mut GstBaseTransform, outbuf: *mut GstBuffer, meta: *mut GstMeta, inbuf: *mut GstBuffer) -> gboolean>, pub before_transform: Option<extern "C" fn(trans: *mut GstBaseTransform, buffer: *mut GstBuffer)>, pub transform: Option<extern "C" fn(trans: *mut GstBaseTransform, inbuf: *mut GstBuffer, outbuf: *mut GstBuffer) -> GstFlowReturn>, pub transform_ip: Option<extern "C" fn(trans: *mut GstBaseTransform, buf: *mut GstBuffer) -> GstFlowReturn>, pub _gst_reserved: [gpointer; 20], }
Fields
parent_class: GstElementClass
passthrough_on_same_caps: gboolean
transform_ip_on_passthrough: gboolean
transform_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps, filter: *mut GstCaps) -> *mut GstCaps>
fixate_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps, othercaps: *mut GstCaps) -> *mut GstCaps>
accept_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps) -> gboolean>
set_caps: Option<extern "C" fn(trans: *mut GstBaseTransform, incaps: *mut GstCaps, outcaps: *mut GstCaps) -> gboolean>
query: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, query: *mut GstQuery) -> gboolean>
decide_allocation: Option<extern "C" fn(trans: *mut GstBaseTransform, query: *mut GstQuery) -> gboolean>
filter_meta: Option<extern "C" fn(trans: *mut GstBaseTransform, query: *mut GstQuery, api: GType, params: *const GstStructure) -> gboolean>
propose_allocation: Option<extern "C" fn(trans: *mut GstBaseTransform, decide_query: *mut GstQuery, query: *mut GstQuery) -> gboolean>
transform_size: Option<extern "C" fn(trans: *mut GstBaseTransform, direction: GstPadDirection, caps: *mut GstCaps, size: gsize, othercaps: *mut GstCaps, othersize: *mut gsize) -> gboolean>
get_unit_size: Option<extern "C" fn(trans: *mut GstBaseTransform, caps: *mut GstCaps, size: *mut gsize) -> gboolean>
start: Option<extern "C" fn(trans: *mut GstBaseTransform) -> gboolean>
stop: Option<extern "C" fn(trans: *mut GstBaseTransform) -> gboolean>
sink_event: Option<extern "C" fn(trans: *mut GstBaseTransform, event: *mut GstEvent) -> gboolean>
src_event: Option<extern "C" fn(trans: *mut GstBaseTransform, event: *mut GstEvent) -> gboolean>
prepare_output_buffer: Option<extern "C" fn(trans: *mut GstBaseTransform, input: *mut GstBuffer, outbuf: *mut *mut GstBuffer) -> GstFlowReturn>
copy_metadata: Option<extern "C" fn(trans: *mut GstBaseTransform, input: *mut GstBuffer, outbuf: *mut GstBuffer) -> gboolean>
transform_meta: Option<extern "C" fn(trans: *mut GstBaseTransform, outbuf: *mut GstBuffer, meta: *mut GstMeta, inbuf: *mut GstBuffer) -> gboolean>
before_transform: Option<extern "C" fn(trans: *mut GstBaseTransform, buffer: *mut GstBuffer)>
transform: Option<extern "C" fn(trans: *mut GstBaseTransform, inbuf: *mut GstBuffer, outbuf: *mut GstBuffer) -> GstFlowReturn>
transform_ip: Option<extern "C" fn(trans: *mut GstBaseTransform, buf: *mut GstBuffer) -> GstFlowReturn>
_gst_reserved: [gpointer; 20]
Trait Implementations
impl Default for Struct__GstBaseTransformClass
[src]
impl Default for Struct__GstBaseTransformClass
fn default() -> Struct__GstBaseTransformClass
[src]
fn default() -> Struct__GstBaseTransformClass
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl !Send for Struct__GstBaseTransformClass
impl !Send for Struct__GstBaseTransformClass
impl !Sync for Struct__GstBaseTransformClass
impl !Sync for Struct__GstBaseTransformClass