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.H265Decoder
data structure.- get_picture(system_frame_number)¶
- Parameters:
system_frame_number (
int
) – a target system frame number ofGstCodecs.H265Picture
- Returns:
a
GstCodecs.H265Picture
if successful, orNone
otherwise- Return type:
Retrive DPB and return a
GstCodecs.H265Picture
corresponding 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.H265Picture
slice (
GstCodecs.H265Slice
) – aGstCodecs.H265Slice
ref_pic_list0 ([
GstCodecs.H265Picture
]) – an array ofGstCodecs.H265Picture
pointersref_pic_list1 ([
GstCodecs.H265Picture
]) – an array ofGstCodecs.H265Picture
pointers
- 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 withTrue
by 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.H265Picture
to 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.VideoCodecFrame
picture (
GstCodecs.H265Picture
) – aGstCodecs.H265Picture
- Return type:
Optional. Called whenever new
GstCodecs.H265Picture
is created. Subclass can set implementation specific user data on theGstCodecs.H265Picture
via 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.H265Picture
slice (
GstCodecs.H265Slice
) – aGstCodecs.H265Slice
dpb (
GstCodecs.H265Dpb
) – aGstCodecs.H265Dpb
- Return type:
Optional. Called per one
GstCodecs.H265Picture
to notify subclass to prepare decoding process for theGstCodecs.H265Picture