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
GstVideoFilter
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstVideoFilter
Members
element
		(GstBaseTransform)
		–
	negotiated
		(Number)
		–
	in_info
		(GstVideoInfo)
		–
	out_info
		(GstVideoInfo)
		–
	GstVideoFilter
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstVideoFilter
Members
element
		(GstBaseTransform)
		–
	negotiated
		(bool)
		–
	in_info
		(GstVideoInfo)
		–
	out_info
		(GstVideoInfo)
		–
	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
				–
	set_info
function 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:
filter
					(
						GstVideo.VideoFilter
						)
				–
	incaps
					(
						Gst.Caps
						)
				–
	in_info
					(
						GstVideo.VideoInfo
						)
				–
	outcaps
					(
						Gst.Caps
						)
				–
	out_info
					(
						GstVideo.VideoInfo
						)
				–
	set_info
def 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:
filter
					(
						GstVideo.VideoFilter
						)
				–
	incaps
					(
						Gst.Caps
						)
				–
	in_info
					(
						GstVideo.VideoInfo
						)
				–
	outcaps
					(
						Gst.Caps
						)
				–
	out_info
					(
						GstVideo.VideoInfo
						)
				–
	transform_frame
GstFlowReturn transform_frame (GstVideoFilter * filter, GstVideoFrame * inframe, GstVideoFrame * outframe)
transform a video frame
Parameters:
filter
				–
	inframe
				–
	outframe
				–
	transform_frame
function transform_frame(filter: GstVideo.VideoFilter, inframe: GstVideo.VideoFrame, outframe: GstVideo.VideoFrame): {
    // javascript implementation of the 'transform_frame' virtual method
}
transform a video frame
Parameters:
filter
					(
						GstVideo.VideoFilter
						)
				–
	inframe
					(
						GstVideo.VideoFrame
						)
				–
	outframe
					(
						GstVideo.VideoFrame
						)
				–
	transform_frame
def transform_frame (filter, inframe, outframe):
    #python implementation of the 'transform_frame' virtual method
transform a video frame
Parameters:
filter
					(
						GstVideo.VideoFilter
						)
				–
	inframe
					(
						GstVideo.VideoFrame
						)
				–
	outframe
					(
						GstVideo.VideoFrame
						)
				–
	transform_frame_ip
GstFlowReturn transform_frame_ip (GstVideoFilter * trans, GstVideoFrame * frame)
transform a video frame in place
Parameters:
trans
				–
	frame
				–
	transform_frame_ip
function 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:
trans
					(
						GstVideo.VideoFilter
						)
				–
	frame
					(
						GstVideo.VideoFrame
						)
				–
	transform_frame_ip
def transform_frame_ip (trans, frame):
    #python implementation of the 'transform_frame_ip' virtual method
transform a video frame in place
Parameters:
trans
					(
						GstVideo.VideoFilter
						)
				–
	frame
					(
						GstVideo.VideoFrame
						)
				–
	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