GstCodecs.H265Decoder¶
- Subclasses:
None
Methods¶
- Inherited:
GstVideo.VideoDecoder (43), Gst.Element (82), Gst.Object (27), GObject.Object (37)
- Structs:
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
|
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
NumPicTotalCurr |
r |
||
NumPocLtCurr |
r |
||
NumPocLtFoll |
r |
||
NumPocStCurrAfter |
r |
||
NumPocStCurrBefore |
r |
||
NumPocStFoll |
r |
||
RefPicSetLtCurr |
r |
||
RefPicSetLtFoll |
r |
||
RefPicSetStCurrAfter |
r |
||
RefPicSetStCurrBefore |
r |
||
RefPicSetStFoll |
r |
||
input_state |
r |
||
padding |
[ |
r |
|
parent |
r |
Class Details¶
- class GstCodecs.H265Decoder(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
The opaque
GstCodecs.H265Decoderdata structure.- get_picture(system_frame_number)¶
- Parameters:
system_frame_number (
int) – a target system frame number ofGstCodecs.H265Picture- Returns:
a
GstCodecs.H265Pictureif successful, orNoneotherwise- Return type:
Retrive DPB and return a
GstCodecs.H265Picturecorresponding to the system_frame_numberNew in version 1.20.
- set_process_ref_pic_lists(process)¶
- Parameters:
process (
bool) – whether subclass is requiring reference picture modification process
Called to en/disable reference picture modification process.
New in version 1.20.
- do_decode_slice(picture, slice, ref_pic_list0, ref_pic_list1) virtual¶
- Parameters:
picture (
GstCodecs.H265Picture) – aGstCodecs.H265Pictureslice (
GstCodecs.H265Slice) – aGstCodecs.H265Sliceref_pic_list0 ([
GstCodecs.H265Picture]) – an array ofGstCodecs.H265Picturepointersref_pic_list1 ([
GstCodecs.H265Picture]) – an array ofGstCodecs.H265Picturepointers
- Return type:
Provides per slice data with parsed slice header and required raw bitstream for subclass to decode it. If
GstCodecs.H265Decoder.set_process_ref_pic_lists() is called withTrueby the subclass, ref_pic_list0 and ref_pic_list1 are non-None.
- do_end_picture(picture) virtual¶
- Parameters:
picture (
GstCodecs.H265Picture) – aGstCodecs.H265Picture- Return type:
Optional. Called per one
GstCodecs.H265Pictureto notify subclass to finish decoding process for theGstCodecs.H265Picture
- do_get_preferred_output_delay(live) virtual¶
- Parameters:
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.22.
- do_new_picture(frame, picture) virtual¶
- Parameters:
frame (
GstVideo.VideoCodecFrame) – aGstVideo.VideoCodecFramepicture (
GstCodecs.H265Picture) – aGstCodecs.H265Picture
- Return type:
Optional. Called whenever new
GstCodecs.H265Pictureis created. Subclass can set implementation specific user data on theGstCodecs.H265Picturevia gst_h265_picture_set_user_data
- do_output_picture(frame, picture) virtual¶
- Parameters:
frame (
GstVideo.VideoCodecFrame) –picture (
GstCodecs.H265Picture) –
- Return type:
- do_start_picture(picture, slice, dpb) virtual¶
- Parameters:
picture (
GstCodecs.H265Picture) – aGstCodecs.H265Pictureslice (
GstCodecs.H265Slice) – aGstCodecs.H265Slicedpb (
GstCodecs.H265Dpb) – aGstCodecs.H265Dpb
- Return type:
Optional. Called per one
GstCodecs.H265Pictureto notify subclass to prepare decoding process for theGstCodecs.H265Picture