GstVp8Decoder
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoDecoder ╰──GstVp8Decoder
The opaque GstVp8Decoder data structure.
Class structure
Virtual Methods
decode_picture
GstFlowReturn decode_picture (GstVp8Decoder * decoder, GstVp8Picture * picture, GstVp8Parser * parser)
Parameters:
decoder
–
picture
–
parser
–
end_picture
GstFlowReturn end_picture (GstVp8Decoder * decoder, GstVp8Picture * picture)
Optional. Called per one GstVp8Picture to notify subclass to finish decoding process for the GstVp8Picture
Parameters:
decoder
–
picture
–
get_preferred_output_delay
guint get_preferred_output_delay (GstVp8Decoder * decoder, gboolean is_live)
Optional. Called by baseclass to query whether delaying output is preferred by subclass or not.
the number of perferred delayed output frame
Since : 1.20
new_picture
GstFlowReturn 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_sequence
GstFlowReturn new_sequence (GstVp8Decoder * decoder, const GstVp8FrameHdr * frame_hdr, gint max_dpb_size)
Notifies subclass of SPS update
Parameters:
decoder
–
frame_hdr
–
max_dpb_size
–
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
–
start_picture
GstFlowReturn start_picture (GstVp8Decoder * decoder, GstVp8Picture * picture)
Optional. Called per one GstVp8Picture to notify subclass to prepare decoding process for the GstVp8Picture
Parameters:
decoder
–
picture
–
Constructors
gst_vp8_picture_new
GstVp8Picture * gst_vp8_picture_new ()
Create new GstVp8Picture
a new GstVp8Picture
Function Macros
The results of the search are