GstCodecs.Vp8Decoder¶
- Subclasses:
None
Methods¶
Virtual Methods¶
|
|
|
|
|
|
|
|
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
alt_ref_picture |
r |
||
golden_ref_picture |
r |
||
input_state |
r |
||
last_picture |
r |
||
padding |
[ |
r |
|
parent |
r |
Class Details¶
- class GstCodecs.Vp8Decoder(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
The opaque
GstCodecs.Vp8Decoderdata structure.- do_end_picture(picture) virtual¶
- Parameters:
picture (
GstCodecs.Vp8Picture) –- Return type:
Optional. Called per one
GstCodecs.Vp8Pictureto notify subclass to finish decoding process for theGstCodecs.Vp8Picture
- do_get_preferred_output_delay(is_live) virtual¶
- Parameters:
is_live (
bool) – whether upstream is live or not- Returns:
the number of perferred delayed output frame
- Return type:
Optional. Called by baseclass to query whether delaying output is preferred by subclass or not.
New in version 1.20.
- do_new_picture(frame, picture) virtual¶
- Parameters:
frame (
GstVideo.VideoCodecFrame) –picture (
GstCodecs.Vp8Picture) –
- Return type:
Optional. Called whenever new
GstCodecs.Vp8Pictureis created. Subclass can set implementation specific user data on theGstCodecs.Vp8Picturevia gst_vp8_picture_set_user_data
- do_output_picture(frame, picture) virtual¶
- Parameters:
frame (
GstVideo.VideoCodecFrame) –picture (
GstCodecs.Vp8Picture) –
- Return type:
Called with a
GstCodecs.Vp8Picturewhich is required to be outputted. Subclass can retrieve parentGstVideo.VideoCodecFrameby usingGstVideo.VideoDecoder.get_frame() with system_frame_number and theGstVideo.VideoCodecFramemust be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame().
- do_start_picture(picture) virtual¶
- Parameters:
picture (
GstCodecs.Vp8Picture) –- Return type:
Optional. Called per one
GstCodecs.Vp8Pictureto notify subclass to prepare decoding process for theGstCodecs.Vp8Picture