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.
GstVideoFilter
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstVideoFilter
Members
element
		(GstBaseTransform)
		–
	negotiated
		(gboolean)
		–
	in_info
		(GstVideoInfo)
		–
	out_info
		(GstVideoInfo)
		–
	Class structure
GstVideoFilterClass
The video filter class structure.
Fields
parent_class
		(GstBaseTransformClass)
		–
	the parent class structure
GstVideo.VideoFilterClass
The video filter class structure.
Attributes
parent_class
		(GstBase.BaseTransformClass)
		–
	the parent class structure
GstVideo.VideoFilterClass
The video filter class structure.
Attributes
parent_class
		(GstBase.BaseTransformClass)
		–
	the parent class structure
GstVideo.VideoFilter
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstBase.BaseTransform ╰──GstVideo.VideoFilter
Members
element
		(GstBase.BaseTransform)
		–
	negotiated
		(Number)
		–
	in_info
		(GstVideo.VideoInfo)
		–
	out_info
		(GstVideo.VideoInfo)
		–
	GstVideo.VideoFilter
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstBase.BaseTransform ╰──GstVideo.VideoFilter
Members
element
		(GstBase.BaseTransform)
		–
	negotiated
		(bool)
		–
	in_info
		(GstVideo.VideoInfo)
		–
	out_info
		(GstVideo.VideoInfo)
		–
	Virtual Methods
set_info
gboolean set_info (GstVideoFilter * filter, GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info)
function to be called with the negotiated caps and video infos
Parameters:
filter
–
incaps
–
in_info
–
outcaps
–
out_info
–
vfunc_set_info
function vfunc_set_info(filter: GstVideo.VideoFilter, incaps: Gst.Caps, in_info: GstVideo.VideoInfo, outcaps: Gst.Caps, out_info: GstVideo.VideoInfo): {
    // javascript implementation of the 'set_info' virtual method
}
function to be called with the negotiated caps and video infos
Parameters:
do_set_info
def do_set_info (filter, incaps, in_info, outcaps, out_info):
    #python implementation of the 'set_info' virtual method
function to be called with the negotiated caps and video infos
Parameters:
transform_frame
GstFlowReturn transform_frame (GstVideoFilter * filter, GstVideoFrame * inframe, GstVideoFrame * outframe)
transform a video frame
Parameters:
filter
–
inframe
–
outframe
–
vfunc_transform_frame
function vfunc_transform_frame(filter: GstVideo.VideoFilter, inframe: GstVideo.VideoFrame, outframe: GstVideo.VideoFrame): {
    // javascript implementation of the 'transform_frame' virtual method
}
transform a video frame
Parameters:
do_transform_frame
def do_transform_frame (filter, inframe, outframe):
    #python implementation of the 'transform_frame' virtual method
transform a video frame
Parameters:
transform_frame_ip
GstFlowReturn transform_frame_ip (GstVideoFilter * trans, GstVideoFrame * frame)
transform a video frame in place
Parameters:
trans
–
frame
–
vfunc_transform_frame_ip
function vfunc_transform_frame_ip(trans: GstVideo.VideoFilter, frame: GstVideo.VideoFrame): {
    // javascript implementation of the 'transform_frame_ip' virtual method
}
transform a video frame in place
Parameters:
do_transform_frame_ip
def do_transform_frame_ip (trans, frame):
    #python implementation of the 'transform_frame_ip' virtual method
transform a video frame in place
Parameters:
Function Macros
GST_VIDEO_FILTER_CAST
#define GST_VIDEO_FILTER_CAST(obj) ((GstVideoFilter *)(obj))
Constants
GST_TYPE_VIDEO_FILTER
#define GST_TYPE_VIDEO_FILTER \ (gst_video_filter_get_type())
The results of the search are