GstVP8Decoder
GstVp8Decoder
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoDecoder ╰──GstVp8Decoder
The opaque GstVp8Decoder data structure.
Class structure
GstCodecs.Vp8DecoderClass
Attributes
parent_class
		(GstVideo.VideoDecoderClass)
		–
	GstCodecs.Vp8DecoderClass
Attributes
parent_class
		(GstVideo.VideoDecoderClass)
		–
	GstVp8Decoder
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoDecoder ╰──GstVp8Decoder
The opaque GstVp8Decoder data structure.
GstVp8Decoder
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoDecoder ╰──GstVp8Decoder
The opaque GstVp8Decoder data structure.
Virtual Methods
decode_picture
gboolean decode_picture (GstVp8Decoder * decoder, GstVp8Picture * picture, GstVp8Parser * parser)
Parameters:
decoder
				–
	picture
				–
	parser
				–
	end_picture
gboolean end_picture (GstVp8Decoder * decoder, GstVp8Picture * picture)
Optional. Called per one GstVp8Picture to notify subclass to finish decoding process for the GstVp8Picture
Parameters:
decoder
				–
	picture
				–
	end_picture
function end_picture(decoder: GstCodecs.Vp8Decoder, picture: GstCodecs.Vp8Picture): {
    // javascript implementation of the 'end_picture' virtual method
}
Optional. Called per one GstVp8Picture to notify subclass to finish decoding process for the GstVp8Picture
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	end_picture
def end_picture (decoder, picture):
    #python implementation of the 'end_picture' virtual method
Optional. Called per one GstVp8Picture to notify subclass to finish decoding process for the GstVp8Picture
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	new_picture
gboolean new_picture (GstVp8Decoder * decoder, GstVideoCodecFrame * frame, GstVp8Picture * picture)
Optional. Called whenever new GstVp8Picture is created. Subclass can set implementation specific user data on the GstVp8Picture via gst_vp8_picture_set_user_data
Parameters:
decoder
				–
	frame
				–
	picture
				–
	new_picture
function new_picture(decoder: GstCodecs.Vp8Decoder, frame: GstVideo.VideoCodecFrame, picture: GstCodecs.Vp8Picture): {
    // javascript implementation of the 'new_picture' virtual method
}
Optional. Called whenever new GstVp8Picture is created. Subclass can set implementation specific user data on the GstVp8Picture via gst_vp8_picture_set_user_data
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	frame
					(
						GstVideo.VideoCodecFrame
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	new_picture
def new_picture (decoder, frame, picture):
    #python implementation of the 'new_picture' virtual method
Optional. Called whenever new GstVp8Picture is created. Subclass can set implementation specific user data on the GstVp8Picture via gst_vp8_picture_set_user_data
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	frame
					(
						GstVideo.VideoCodecFrame
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	new_sequence
gboolean new_sequence (GstVp8Decoder * decoder, const GstVp8FrameHdr * frame_hdr)
Notifies subclass of SPS update
Parameters:
decoder
				–
	frame_hdr
				–
	output_picture
GstFlowReturn output_picture (GstVp8Decoder * decoder, GstVideoCodecFrame * frame, GstVp8Picture * picture)
Called with a GstVp8Picture which is required to be outputted. Subclass can retrieve parent GstVideoCodecFrame by using gst_video_decoder_get_frame with system_frame_number and the GstVideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.
Parameters:
decoder
				–
	frame
				–
	picture
				–
	output_picture
function output_picture(decoder: GstCodecs.Vp8Decoder, frame: GstVideo.VideoCodecFrame, picture: GstCodecs.Vp8Picture): {
    // javascript implementation of the 'output_picture' virtual method
}
Called with a GstVp8Picture which is required to be outputted. Subclass can retrieve parent GstVideoCodecFrame by using gst_video_decoder_get_frame with system_frame_number and the GstVideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	frame
					(
						GstVideo.VideoCodecFrame
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	output_picture
def output_picture (decoder, frame, picture):
    #python implementation of the 'output_picture' virtual method
Called with a GstVp8Picture which is required to be outputted. Subclass can retrieve parent GstVideoCodecFrame by using gst_video_decoder_get_frame with system_frame_number and the GstVideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	frame
					(
						GstVideo.VideoCodecFrame
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	start_picture
gboolean start_picture (GstVp8Decoder * decoder, GstVp8Picture * picture)
Optional. Called per one GstVp8Picture to notify subclass to prepare decoding process for the GstVp8Picture
Parameters:
decoder
				–
	picture
				–
	start_picture
function start_picture(decoder: GstCodecs.Vp8Decoder, picture: GstCodecs.Vp8Picture): {
    // javascript implementation of the 'start_picture' virtual method
}
Optional. Called per one GstVp8Picture to notify subclass to prepare decoding process for the GstVp8Picture
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	start_picture
def start_picture (decoder, picture):
    #python implementation of the 'start_picture' virtual method
Optional. Called per one GstVp8Picture to notify subclass to prepare decoding process for the GstVp8Picture
Parameters:
decoder
					(
						GstCodecs.Vp8Decoder
						)
				–
	picture
					(
						GstCodecs.Vp8Picture
						)
				–
	GstVp8Picture
Members
parent
		(GstMiniObject)
		–
	pts
		(GstClockTime)
		–
	system_frame_number
		(guint32)
		–
	frame_hdr
		(GstVp8FrameHdr)
		–
	data
		(const guint8 *)
		–
	size
		(gsize)
		–
	user_data
		(gpointer)
		–
	GstVp8Picture
Members
parent
		(GstMiniObject)
		–
	pts
		(GstClockTime)
		–
	system_frame_number
		(Number)
		–
	frame_hdr
		(object)
		–
	data
		(Number)
		–
	size
		(Number)
		–
	user_data
		(Object)
		–
	GstVp8Picture
Members
parent
		(GstMiniObject)
		–
	pts
		(GstClockTime)
		–
	system_frame_number
		(int)
		–
	frame_hdr
		(object)
		–
	data
		(int)
		–
	size
		(int)
		–
	user_data
		(object)
		–
	Constructors
gst_vp8_picture_new
GstVp8Picture * gst_vp8_picture_new ()
Create new GstVp8Picture
a new GstVp8Picture
GstCodecs.Vp8Picture.prototype.new
function GstCodecs.Vp8Picture.prototype.new(): {
    // javascript wrapper for 'gst_vp8_picture_new'
}
Create new GstCodecs.Vp8Picture
a new GstCodecs.Vp8Picture
GstCodecs.Vp8Picture.new
def GstCodecs.Vp8Picture.new ():
    #python wrapper for 'gst_vp8_picture_new'
Create new GstCodecs.Vp8Picture
a new GstCodecs.Vp8Picture
Methods
gst_vp8_picture_get_user_data
gpointer gst_vp8_picture_get_user_data (GstVp8Picture * picture)
Gets private data set on the picture via gst_vp8_picture_set_user_data previously.
Parameters:
picture
				–
	The previously set user_data
GstCodecs.Vp8Picture.prototype.get_user_data
function GstCodecs.Vp8Picture.prototype.get_user_data(): {
    // javascript wrapper for 'gst_vp8_picture_get_user_data'
}
Gets private data set on the picture via GstCodecs.Vp8Picture.prototype.set_user_data previously.
Parameters:
picture
					(
						GstCodecs.Vp8Picture
						)
				–
	The previously set user_data
GstCodecs.Vp8Picture.get_user_data
def GstCodecs.Vp8Picture.get_user_data (self):
    #python wrapper for 'gst_vp8_picture_get_user_data'
Gets private data set on the picture via GstCodecs.Vp8Picture.set_user_data previously.
Parameters:
picture
					(
						GstCodecs.Vp8Picture
						)
				–
	The previously set user_data
gst_vp8_picture_set_user_data
gst_vp8_picture_set_user_data (GstVp8Picture * picture, gpointer user_data, GDestroyNotify notify)
Sets user_data on the picture and the GDestroyNotify that will be called when the picture is freed.
If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.
Parameters:
picture
				–
	user_data
				–
	private data
notify
					(
						
[closure]
						)
				–
	GstCodecs.Vp8Picture.prototype.set_user_data
function GstCodecs.Vp8Picture.prototype.set_user_data(user_data: Object, notify: GLib.DestroyNotify): {
    // javascript wrapper for 'gst_vp8_picture_set_user_data'
}
Sets user_data on the picture and the GLib.DestroyNotify that will be called when the picture is freed.
If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.
Parameters:
picture
					(
						GstCodecs.Vp8Picture
						)
				–
	user_data
					(
						Object
						)
				–
	private data
notify
					(
						GLib.DestroyNotify
						)
				–
	GstCodecs.Vp8Picture.set_user_data
def GstCodecs.Vp8Picture.set_user_data (self, *user_data, notify):
    #python wrapper for 'gst_vp8_picture_set_user_data'
Sets user_data on the picture and the GLib.DestroyNotify that will be called when the picture is freed.
If a user_data was previously set, then the previous set notify will be called before the user_data is replaced.
Parameters:
picture
					(
						GstCodecs.Vp8Picture
						)
				–
	user_data
					(
						variadic
						)
				–
	private data
notify
					(
						GLib.DestroyNotify
						)
				–
	Function Macros
GST_IS_VP8_PICTURE
#define GST_IS_VP8_PICTURE(obj) (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_VP8_PICTURE))
GST_VP8_DECODER_CAST
#define GST_VP8_DECODER_CAST(obj) ((GstVP8Decoder*)obj)
GST_VP8_PICTURE
#define GST_VP8_PICTURE(obj) ((GstVp8Picture *)obj)
GST_VP8_PICTURE_CAST
#define GST_VP8_PICTURE_CAST(obj) (GST_VP8_PICTURE(obj))
Constants
GST_TYPE_VP8_PICTURE
#define GST_TYPE_VP8_PICTURE (gst_vp8_picture_get_type())
The results of the search are