GStreamer Base Plugins 1.0 Library Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy |
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseTransform +----GstVideoFilter
Provides useful functions and a base class for video filters.
The videofilter will by default enable QoS on the parent GstBaseTransform to implement frame dropping.
struct GstVideoFilterClass { GstBaseTransformClass parent_class; gboolean (*set_info) (GstVideoFilter *filter, GstCaps *incaps, GstVideoInfo *in_info, GstCaps *outcaps, GstVideoInfo *out_info); /* transform */ GstFlowReturn (*transform_frame) (GstVideoFilter *filter, GstVideoFrame *inframe, GstVideoFrame *outframe); GstFlowReturn (*transform_frame_ip) (GstVideoFilter *trans, GstVideoFrame *frame); };
The video filter class structure.
GstBaseTransformClass |
the parent class structure |
function to be called with the negotiated caps and video infos | |
transform a video frame | |
transform a video frame in place |