gstbasetransform.h   gstbasetransform.h 
skipping to change at line 106 skipping to change at line 106
* Since: 0.10.13 * Since: 0.10.13
*/ */
#define GST_BASE_TRANSFORM_UNLOCK(obj) g_mutex_unlock (GST_BASE_TRANSFORM_C AST (obj)->transform_lock) #define GST_BASE_TRANSFORM_UNLOCK(obj) g_mutex_unlock (GST_BASE_TRANSFORM_C AST (obj)->transform_lock)
typedef struct _GstBaseTransform GstBaseTransform; typedef struct _GstBaseTransform GstBaseTransform;
typedef struct _GstBaseTransformClass GstBaseTransformClass; typedef struct _GstBaseTransformClass GstBaseTransformClass;
typedef struct _GstBaseTransformPrivate GstBaseTransformPrivate; typedef struct _GstBaseTransformPrivate GstBaseTransformPrivate;
/** /**
* GstBaseTransform: * GstBaseTransform:
* @element: the parent element.
* *
* The opaque #GstBaseTransform data structure. * The opaque #GstBaseTransform data structure.
*/ */
struct _GstBaseTransform { struct _GstBaseTransform {
GstElement element; GstElement element;
/*< protected >*/ /*< protected >*/
/* source and sink pads */ /* source and sink pads */
GstPad *sinkpad; GstPad *sinkpad;
GstPad *srcpad; GstPad *srcpad;
skipping to change at line 189 skipping to change at line 188
* @prepare_output_buffer: Optional. * @prepare_output_buffer: Optional.
* Subclasses can override this to do their own * Subclasses can override this to do their own
* allocation of output buffers. Elements that onl y do * allocation of output buffers. Elements that onl y do
* analysis can return a subbuffer or even just * analysis can return a subbuffer or even just
* increment the reference to the input buffer (if in * increment the reference to the input buffer (if in
* passthrough mode) * passthrough mode)
* @before_transform: Optional. Since 0.10.22 * @before_transform: Optional. Since 0.10.22
* This method is called right before the base class wil l * This method is called right before the base class wil l
* start processing. Dynamic properties or other delayed * start processing. Dynamic properties or other delayed
* configuration could be performed in this method. * configuration could be performed in this method.
* @accept_caps: Optional. Since 0.10.30
* Subclasses can override this method to check if @caps can
be
* handled by the element. The default implementation might n
ot be
* the most optimal way to check this in all cases.
* *
* Subclasses can override any of the available virtual methods or not, as * Subclasses can override any of the available virtual methods or not, as
* needed. At minimum either @transform or @transform_ip need to be overrid den. * needed. At minimum either @transform or @transform_ip need to be overrid den.
* If the element can overwrite the input data with the results (data is of the * If the element can overwrite the input data with the results (data is of the
* same type and quantity) it should provide @transform_ip. * same type and quantity) it should provide @transform_ip.
*/ */
struct _GstBaseTransformClass { struct _GstBaseTransformClass {
GstElementClass parent_class; GstElementClass parent_class;
/*< public >*/ /*< public >*/
skipping to change at line 240 skipping to change at line 243
gboolean passthrough_on_same_caps; gboolean passthrough_on_same_caps;
GstFlowReturn (*prepare_output_buffer) (GstBaseTransform * trans, GstFlowReturn (*prepare_output_buffer) (GstBaseTransform * trans,
GstBuffer *input, gint size, GstCaps *caps, GstBuffer **buf); GstBuffer *input, gint size, GstCaps *caps, GstBuffer **buf);
/* src event */ /* src event */
gboolean (*src_event) (GstBaseTransform *trans, GstEvent *event ); gboolean (*src_event) (GstBaseTransform *trans, GstEvent *event );
void (*before_transform) (GstBaseTransform *trans, GstBuffer *b uffer); void (*before_transform) (GstBaseTransform *trans, GstBuffer *b uffer);
gboolean (*accept_caps) (GstBaseTransform *trans, GstPadDirection d
irection,
GstCaps *caps);
/*< private >*/ /*< private >*/
gpointer _gst_reserved[GST_PADDING_LARGE - 2]; gpointer _gst_reserved[GST_PADDING_LARGE - 3];
}; };
GType gst_base_transform_get_type (void); GType gst_base_transform_get_type (void);
void gst_base_transform_set_passthrough (GstBaseTransform *trans , void gst_base_transform_set_passthrough (GstBaseTransform *trans ,
gboolean passthrough); gboolean passthrough);
gboolean gst_base_transform_is_passthrough (GstBaseTransform *trans ); gboolean gst_base_transform_is_passthrough (GstBaseTransform *trans );
void gst_base_transform_set_in_place (GstBaseTransform *trans , void gst_base_transform_set_in_place (GstBaseTransform *trans ,
gboolean in_place); gboolean in_place);
 End of changes. 4 change blocks. 
2 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/