![]() | ![]() | ![]() | GStreamer 0.10 Library Reference Manual | ![]() |
---|
GstBaseTransformGstBaseTransform — |
#include <gst/base/gstbasetransform.h> GstBaseTransform; gboolean gst_base_transform_is_passthrough (GstBaseTransform *trans); void gst_base_transform_set_passthrough (GstBaseTransform *trans, gboolean passthrough); gboolean gst_base_transform_is_in_place (GstBaseTransform *trans); void gst_base_transform_set_in_place (GstBaseTransform *trans, gboolean in_place); #define GST_BASE_TRANSFORM_SINK_NAME #define GST_BASE_TRANSFORM_SRC_NAME
typedef struct { GstElement element; } GstBaseTransform;
The opaque GstBaseTransform data structure.
gboolean gst_base_transform_is_passthrough (GstBaseTransform *trans);
See if trans
is configured as a passthrough transform.
trans : | the GstBaseTransform to query |
Returns : | TRUE is the transform is configured in passthrough mode. MT safe. |
void gst_base_transform_set_passthrough (GstBaseTransform *trans, gboolean passthrough);
Set passthrough mode for this filter by default. This is mostly useful for filters that do not care about negotiation.
Always TRUE for filters which don't implement either a transform or transform_ip method.
MT safe.
trans : | the GstBaseTransform to set |
passthrough : | boolean indicating passthrough mode. |
gboolean gst_base_transform_is_in_place (GstBaseTransform *trans);
See if trans
is configured as a in_place transform.
trans : | the GstBaseTransform to query |
Returns : | TRUE is the transform is configured in in_place mode. MT safe. |
void gst_base_transform_set_in_place (GstBaseTransform *trans, gboolean in_place);
Determines whether a non-writable buffer will be copied before passing to the transform_ip function.
MT safe.
trans : | the GstBaseTransform to modify |
in_place : | Boolean value indicating that we would like to operate on in_place buffers. |
#define GST_BASE_TRANSFORM_SINK_NAME "sink"
the name of the templates for the sink pad
<< GstBaseSink | GstPushSrc >> |