GstH264Decoder
GstH264Decoder
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstVideoDecoder ╰──GstH264Decoder
The opaque GstH264Decoder data structure.
Class structure
GstCodecs.H264DecoderClass
Attributes
parent_class
(GstVideo.VideoDecoderClass)
–
GstCodecs.H264DecoderClass
Attributes
parent_class
(GstVideo.VideoDecoderClass)
–
GstCodecs.H264Decoder
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstVideo.VideoDecoder ╰──GstCodecs.H264Decoder
The opaque GstCodecs.H264Decoder data structure.
GstCodecs.H264Decoder
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.Element ╰──GstVideo.VideoDecoder ╰──GstCodecs.H264Decoder
The opaque GstCodecs.H264Decoder data structure.
Methods
gst_h264_decoder_get_picture
GstH264Picture * gst_h264_decoder_get_picture (GstH264Decoder * decoder, guint32 system_frame_number)
Retrive DPB and return a GstH264Picture corresponding to the system_frame_number
a GstH264Picture if successful, or NULL otherwise
Since : 1.18
GstCodecs.H264Decoder.prototype.get_picture
function GstCodecs.H264Decoder.prototype.get_picture(system_frame_number: Number): {
// javascript wrapper for 'gst_h264_decoder_get_picture'
}
Retrive DPB and return a GstCodecs.H264Picture corresponding to the system_frame_number
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
system_frame_number
(
Number
)
–
a target system frame number of GstCodecs.H264Picture
a GstCodecs.H264Picture if successful, or null otherwise
Since : 1.18
GstCodecs.H264Decoder.get_picture
def GstCodecs.H264Decoder.get_picture (self, system_frame_number):
#python wrapper for 'gst_h264_decoder_get_picture'
Retrive DPB and return a GstCodecs.H264Picture corresponding to the system_frame_number
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
system_frame_number
(
int
)
–
a target system frame number of GstCodecs.H264Picture
a GstCodecs.H264Picture if successful, or None otherwise
Since : 1.18
gst_h264_decoder_set_process_ref_pic_lists
gst_h264_decoder_set_process_ref_pic_lists (GstH264Decoder * decoder, gboolean process)
Called to en/disable reference picture modification process.
Parameters:
decoder
–
process
–
whether subclass is requiring reference picture modification process
Since : 1.18
GstCodecs.H264Decoder.prototype.set_process_ref_pic_lists
function GstCodecs.H264Decoder.prototype.set_process_ref_pic_lists(process: Number): {
// javascript wrapper for 'gst_h264_decoder_set_process_ref_pic_lists'
}
Called to en/disable reference picture modification process.
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
process
(
Number
)
–
whether subclass is requiring reference picture modification process
Since : 1.18
GstCodecs.H264Decoder.set_process_ref_pic_lists
def GstCodecs.H264Decoder.set_process_ref_pic_lists (self, process):
#python wrapper for 'gst_h264_decoder_set_process_ref_pic_lists'
Called to en/disable reference picture modification process.
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
process
(
bool
)
–
whether subclass is requiring reference picture modification process
Since : 1.18
Virtual Methods
decode_slice
gboolean decode_slice (GstH264Decoder * decoder, GstH264Picture * picture, GstH264Slice * slice, GArray * ref_pic_list0, GArray * ref_pic_list1)
Provides per slice data with parsed slice header and required raw bitstream for subclass to decode it. if gst_h264_decoder_set_process_ref_pic_lists is called with TRUE by the subclass, ref_pic_list0 and ref_pic_list1 are non-%NULL.
Parameters:
decoder
–
picture
–
slice
–
ref_pic_list0
–
ref_pic_list1
–
end_picture
gboolean end_picture (GstH264Decoder * decoder, GstH264Picture * picture)
Optional. Called per one GstH264Picture to notify subclass to finish decoding process for the GstH264Picture
Parameters:
decoder
–
picture
–
vfunc_end_picture
function vfunc_end_picture(decoder: GstCodecs.H264Decoder, picture: GstCodecs.H264Picture): {
// javascript implementation of the 'end_picture' virtual method
}
Optional. Called per one GstCodecs.H264Picture to notify subclass to finish decoding process for the GstCodecs.H264Picture
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
picture
(
GstCodecs.H264Picture
)
–
do_end_picture
def do_end_picture (decoder, picture):
#python implementation of the 'end_picture' virtual method
Optional. Called per one GstCodecs.H264Picture to notify subclass to finish decoding process for the GstCodecs.H264Picture
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
picture
(
GstCodecs.H264Picture
)
–
new_picture
gboolean new_picture (GstH264Decoder * decoder, GstVideoCodecFrame * frame, GstH264Picture * picture)
Optional. Called whenever new GstH264Picture is created. Subclass can set implementation specific user data on the GstH264Picture via gst_h264_picture_set_user_data
Parameters:
decoder
–
frame
–
picture
–
vfunc_new_picture
function vfunc_new_picture(decoder: GstCodecs.H264Decoder, frame: GstVideo.VideoCodecFrame, picture: GstCodecs.H264Picture): {
// javascript implementation of the 'new_picture' virtual method
}
Optional. Called whenever new GstCodecs.H264Picture is created. Subclass can set implementation specific user data on the GstCodecs.H264Picture via GstCodecs.H264Picture.prototype.set_user_data
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
frame
(
GstVideo.VideoCodecFrame
)
–
picture
(
GstCodecs.H264Picture
)
–
do_new_picture
def do_new_picture (decoder, frame, picture):
#python implementation of the 'new_picture' virtual method
Optional. Called whenever new GstCodecs.H264Picture is created. Subclass can set implementation specific user data on the GstCodecs.H264Picture via GstCodecs.H264Picture.set_user_data
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
frame
(
GstVideo.VideoCodecFrame
)
–
picture
(
GstCodecs.H264Picture
)
–
new_sequence
gboolean new_sequence (GstH264Decoder * decoder, const GstH264SPS * sps, gint max_dpb_size)
Notifies subclass of SPS update
Parameters:
decoder
–
sps
–
max_dpb_size
–
output_picture
GstFlowReturn output_picture (GstH264Decoder * decoder, GstVideoCodecFrame * frame, GstH264Picture * picture)
Called with a GstH264Picture 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
–
vfunc_output_picture
function vfunc_output_picture(decoder: GstCodecs.H264Decoder, frame: GstVideo.VideoCodecFrame, picture: GstCodecs.H264Picture): {
// javascript implementation of the 'output_picture' virtual method
}
Called with a GstCodecs.H264Picture which is required to be outputted. Subclass can retrieve parent GstVideo.VideoCodecFrame by using GstVideo.VideoDecoder.prototype.get_frame with system_frame_number and the GstVideo.VideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
frame
(
GstVideo.VideoCodecFrame
)
–
picture
(
GstCodecs.H264Picture
)
–
do_output_picture
def do_output_picture (decoder, frame, picture):
#python implementation of the 'output_picture' virtual method
Called with a GstCodecs.H264Picture which is required to be outputted. Subclass can retrieve parent GstVideo.VideoCodecFrame by using GstVideo.VideoDecoder.get_frame with system_frame_number and the GstVideo.VideoCodecFrame must be consumed by subclass via gst_video_decoder_{finish,drop,release}_frame.
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
frame
(
GstVideo.VideoCodecFrame
)
–
picture
(
GstCodecs.H264Picture
)
–
start_picture
gboolean start_picture (GstH264Decoder * decoder, GstH264Picture * picture, GstH264Slice * slice, GstH264Dpb * dpb)
Optional. Called per one GstH264Picture to notify subclass to prepare decoding process for the GstH264Picture
Parameters:
decoder
–
picture
–
slice
–
dpb
–
vfunc_start_picture
function vfunc_start_picture(decoder: GstCodecs.H264Decoder, picture: GstCodecs.H264Picture, slice: GstCodecs.H264Slice, dpb: GstCodecs.H264Dpb): {
// javascript implementation of the 'start_picture' virtual method
}
Optional. Called per one GstCodecs.H264Picture to notify subclass to prepare decoding process for the GstCodecs.H264Picture
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
picture
(
GstCodecs.H264Picture
)
–
slice
(
GstCodecs.H264Slice
)
–
dpb
(
GstCodecs.H264Dpb
)
–
do_start_picture
def do_start_picture (decoder, picture, slice, dpb):
#python implementation of the 'start_picture' virtual method
Optional. Called per one GstCodecs.H264Picture to notify subclass to prepare decoding process for the GstCodecs.H264Picture
Parameters:
decoder
(
GstCodecs.H264Decoder
)
–
picture
(
GstCodecs.H264Picture
)
–
slice
(
GstCodecs.H264Slice
)
–
dpb
(
GstCodecs.H264Dpb
)
–
GstH264Dpb
GstCodecs.H264Dpb
GstCodecs.H264Dpb
Methods
GstCodecs.H264Dpb.prototype.add
function GstCodecs.H264Dpb.prototype.add(picture: GstCodecs.H264Picture): {
// javascript wrapper for 'gst_h264_dpb_add'
}
Store the picture
GstCodecs.H264Dpb.add
def GstCodecs.H264Dpb.add (self, picture):
#python wrapper for 'gst_h264_dpb_add'
Store the picture
gst_h264_dpb_clear
gst_h264_dpb_clear (GstH264Dpb * dpb)
Clear all stored GstH264Picture
Parameters:
dpb
–
GstCodecs.H264Dpb.prototype.clear
function GstCodecs.H264Dpb.prototype.clear(): {
// javascript wrapper for 'gst_h264_dpb_clear'
}
Clear all stored GstCodecs.H264Picture
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.clear
def GstCodecs.H264Dpb.clear (self):
#python wrapper for 'gst_h264_dpb_clear'
Clear all stored GstCodecs.H264Picture
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_delete_by_poc
gst_h264_dpb_delete_by_poc (GstH264Dpb * dpb, gint poc)
Delete a GstH264Dpb by poc
GstCodecs.H264Dpb.prototype.delete_by_poc
function GstCodecs.H264Dpb.prototype.delete_by_poc(poc: Number): {
// javascript wrapper for 'gst_h264_dpb_delete_by_poc'
}
Delete a GstCodecs.H264Dpb by poc
GstCodecs.H264Dpb.delete_by_poc
def GstCodecs.H264Dpb.delete_by_poc (self, poc):
#python wrapper for 'gst_h264_dpb_delete_by_poc'
Delete a GstCodecs.H264Dpb by poc
gst_h264_dpb_delete_outputed
gst_h264_dpb_delete_outputed (GstH264Dpb * dpb)
Delete already outputted picture, even if they are referenced.
Parameters:
dpb
–
Since : 1.18
GstCodecs.H264Dpb.prototype.delete_outputed
function GstCodecs.H264Dpb.prototype.delete_outputed(): {
// javascript wrapper for 'gst_h264_dpb_delete_outputed'
}
Delete already outputted picture, even if they are referenced.
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
Since : 1.18
GstCodecs.H264Dpb.delete_outputed
def GstCodecs.H264Dpb.delete_outputed (self):
#python wrapper for 'gst_h264_dpb_delete_outputed'
Delete already outputted picture, even if they are referenced.
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
Since : 1.18
gst_h264_dpb_delete_unused
gst_h264_dpb_delete_unused (GstH264Dpb * dpb)
Delete already outputted and not referenced all pictures from dpb
Parameters:
dpb
–
GstCodecs.H264Dpb.prototype.delete_unused
function GstCodecs.H264Dpb.prototype.delete_unused(): {
// javascript wrapper for 'gst_h264_dpb_delete_unused'
}
Delete already outputted and not referenced all pictures from dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.delete_unused
def GstCodecs.H264Dpb.delete_unused (self):
#python wrapper for 'gst_h264_dpb_delete_unused'
Delete already outputted and not referenced all pictures from dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_free
gst_h264_dpb_free (GstH264Dpb * dpb)
Free the dpb
Parameters:
dpb
–
a GstH264Dpb to free
GstCodecs.H264Dpb.prototype.free
function GstCodecs.H264Dpb.prototype.free(): {
// javascript wrapper for 'gst_h264_dpb_free'
}
Free the dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
a GstCodecs.H264Dpb to free
GstCodecs.H264Dpb.free
def GstCodecs.H264Dpb.free (self):
#python wrapper for 'gst_h264_dpb_free'
Free the dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
a GstCodecs.H264Dpb to free
gst_h264_dpb_get_long_ref_by_pic_num
GstH264Picture * gst_h264_dpb_get_long_ref_by_pic_num (GstH264Dpb * dpb, gint pic_num)
Find a long term reference picture which has matching picture number
GstCodecs.H264Dpb.prototype.get_long_ref_by_pic_num
function GstCodecs.H264Dpb.prototype.get_long_ref_by_pic_num(pic_num: Number): {
// javascript wrapper for 'gst_h264_dpb_get_long_ref_by_pic_num'
}
Find a long term reference picture which has matching picture number
GstCodecs.H264Dpb.get_long_ref_by_pic_num
def GstCodecs.H264Dpb.get_long_ref_by_pic_num (self, pic_num):
#python wrapper for 'gst_h264_dpb_get_long_ref_by_pic_num'
Find a long term reference picture which has matching picture number
gst_h264_dpb_get_lowest_frame_num_short_ref
GstH264Picture * gst_h264_dpb_get_lowest_frame_num_short_ref (GstH264Dpb * dpb)
Find a short term reference picture which has the lowest frame_num_wrap
Parameters:
dpb
–
GstCodecs.H264Dpb.prototype.get_lowest_frame_num_short_ref
function GstCodecs.H264Dpb.prototype.get_lowest_frame_num_short_ref(): {
// javascript wrapper for 'gst_h264_dpb_get_lowest_frame_num_short_ref'
}
Find a short term reference picture which has the lowest frame_num_wrap
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.get_lowest_frame_num_short_ref
def GstCodecs.H264Dpb.get_lowest_frame_num_short_ref (self):
#python wrapper for 'gst_h264_dpb_get_lowest_frame_num_short_ref'
Find a short term reference picture which has the lowest frame_num_wrap
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_get_max_num_pics
gint gst_h264_dpb_get_max_num_pics (GstH264Dpb * dpb)
Parameters:
dpb
–
the number of maximum pictures
GstCodecs.H264Dpb.prototype.get_max_num_pics
function GstCodecs.H264Dpb.prototype.get_max_num_pics(): {
// javascript wrapper for 'gst_h264_dpb_get_max_num_pics'
}
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
the number of maximum pictures
GstCodecs.H264Dpb.get_max_num_pics
def GstCodecs.H264Dpb.get_max_num_pics (self):
#python wrapper for 'gst_h264_dpb_get_max_num_pics'
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
the number of maximum pictures
gst_h264_dpb_get_picture
GstH264Picture * gst_h264_dpb_get_picture (GstH264Dpb * dpb, guint32 system_frame_number)
Parameters:
dpb
–
a GstH264Dpb system_frame_number The system frame number
system_frame_number
–
the picture identified with the specified system_frame_number, or NULL if DPB does not contain a GstH264Picture corresponding to the system_frame_number
Since : 1.18
GstCodecs.H264Dpb.prototype.get_picture
function GstCodecs.H264Dpb.prototype.get_picture(system_frame_number: Number): {
// javascript wrapper for 'gst_h264_dpb_get_picture'
}
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
a GstCodecs.H264Dpb system_frame_number The system frame number
system_frame_number
(
Number
)
–
the picture identified with the specified system_frame_number, or null if DPB does not contain a GstCodecs.H264Picture corresponding to the system_frame_number
Since : 1.18
GstCodecs.H264Dpb.get_picture
def GstCodecs.H264Dpb.get_picture (self, system_frame_number):
#python wrapper for 'gst_h264_dpb_get_picture'
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
a GstCodecs.H264Dpb system_frame_number The system frame number
system_frame_number
(
int
)
–
the picture identified with the specified system_frame_number, or None if DPB does not contain a GstCodecs.H264Picture corresponding to the system_frame_number
Since : 1.18
gst_h264_dpb_get_pictures_all
GArray * gst_h264_dpb_get_pictures_all (GstH264Dpb * dpb)
Return: (element-type GstH264Picture) (transfer full): a GArray of GstH264Picture stored in dpb
Parameters:
dpb
–
GstCodecs.H264Dpb.prototype.get_pictures_all
function GstCodecs.H264Dpb.prototype.get_pictures_all(): {
// javascript wrapper for 'gst_h264_dpb_get_pictures_all'
}
Return: (element-type GstH264Picture) (transfer full): a GLib.Array of GstCodecs.H264Picture stored in dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.get_pictures_all
def GstCodecs.H264Dpb.get_pictures_all (self):
#python wrapper for 'gst_h264_dpb_get_pictures_all'
Return: (element-type GstH264Picture) (transfer full): a GLib.Array of GstCodecs.H264Picture stored in dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_get_pictures_long_term_ref
gst_h264_dpb_get_pictures_long_term_ref (GstH264Dpb * dpb, GArray * out)
Retrieve all long-term reference pictures from dpb. The picture will be appended to the array.
Parameters:
dpb
–
out
(
[out][element-typeGstH264Picture][transfer: full]
)
–
an arrat of GstH264Picture pointer
GstCodecs.H264Dpb.prototype.get_pictures_long_term_ref
function GstCodecs.H264Dpb.prototype.get_pictures_long_term_ref(): {
// javascript wrapper for 'gst_h264_dpb_get_pictures_long_term_ref'
}
Retrieve all long-term reference pictures from dpb. The picture will be appended to the array.
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.get_pictures_long_term_ref
def GstCodecs.H264Dpb.get_pictures_long_term_ref (self):
#python wrapper for 'gst_h264_dpb_get_pictures_long_term_ref'
Retrieve all long-term reference pictures from dpb. The picture will be appended to the array.
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_get_pictures_not_outputted
gst_h264_dpb_get_pictures_not_outputted (GstH264Dpb * dpb, GArray * out)
Retrieve all not-outputted pictures from dpb
Parameters:
dpb
–
out
(
[out][element-typeGstH264Picture][transfer: full]
)
–
an array of GstH264Picture pointer
GstCodecs.H264Dpb.prototype.get_pictures_not_outputted
function GstCodecs.H264Dpb.prototype.get_pictures_not_outputted(): {
// javascript wrapper for 'gst_h264_dpb_get_pictures_not_outputted'
}
Retrieve all not-outputted pictures from dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.get_pictures_not_outputted
def GstCodecs.H264Dpb.get_pictures_not_outputted (self):
#python wrapper for 'gst_h264_dpb_get_pictures_not_outputted'
Retrieve all not-outputted pictures from dpb
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_get_pictures_short_term_ref
gst_h264_dpb_get_pictures_short_term_ref (GstH264Dpb * dpb, GArray * out)
Retrieve all short-term reference pictures from dpb. The picture will be appended to the array.
Parameters:
dpb
–
out
(
[out][element-typeGstH264Picture][transfer: full]
)
–
an array of GstH264Picture pointers
GstCodecs.H264Dpb.prototype.get_pictures_short_term_ref
function GstCodecs.H264Dpb.prototype.get_pictures_short_term_ref(): {
// javascript wrapper for 'gst_h264_dpb_get_pictures_short_term_ref'
}
Retrieve all short-term reference pictures from dpb. The picture will be appended to the array.
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.get_pictures_short_term_ref
def GstCodecs.H264Dpb.get_pictures_short_term_ref (self):
#python wrapper for 'gst_h264_dpb_get_pictures_short_term_ref'
Retrieve all short-term reference pictures from dpb. The picture will be appended to the array.
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_get_short_ref_by_pic_num
GstH264Picture * gst_h264_dpb_get_short_ref_by_pic_num (GstH264Dpb * dpb, gint pic_num)
Find a short term reference picture which has matching picture number
GstCodecs.H264Dpb.prototype.get_short_ref_by_pic_num
function GstCodecs.H264Dpb.prototype.get_short_ref_by_pic_num(pic_num: Number): {
// javascript wrapper for 'gst_h264_dpb_get_short_ref_by_pic_num'
}
Find a short term reference picture which has matching picture number
GstCodecs.H264Dpb.get_short_ref_by_pic_num
def GstCodecs.H264Dpb.get_short_ref_by_pic_num (self, pic_num):
#python wrapper for 'gst_h264_dpb_get_short_ref_by_pic_num'
Find a short term reference picture which has matching picture number
gst_h264_dpb_get_size
gint gst_h264_dpb_get_size (GstH264Dpb * dpb)
Return: the length of stored dpb array
Parameters:
dpb
–
GstCodecs.H264Dpb.prototype.get_size
function GstCodecs.H264Dpb.prototype.get_size(): {
// javascript wrapper for 'gst_h264_dpb_get_size'
}
Return: the length of stored dpb array
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.get_size
def GstCodecs.H264Dpb.get_size (self):
#python wrapper for 'gst_h264_dpb_get_size'
Return: the length of stored dpb array
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_is_full
gboolean gst_h264_dpb_is_full (GstH264Dpb * dpb)
Return: TRUE if dpb is full
Parameters:
dpb
–
GstCodecs.H264Dpb.prototype.is_full
function GstCodecs.H264Dpb.prototype.is_full(): {
// javascript wrapper for 'gst_h264_dpb_is_full'
}
Return: true if dpb is full
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.is_full
def GstCodecs.H264Dpb.is_full (self):
#python wrapper for 'gst_h264_dpb_is_full'
Return: True if dpb is full
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_mark_all_non_ref
gst_h264_dpb_mark_all_non_ref (GstH264Dpb * dpb)
Mark all pictures are not referenced
Parameters:
dpb
–
GstCodecs.H264Dpb.prototype.mark_all_non_ref
function GstCodecs.H264Dpb.prototype.mark_all_non_ref(): {
// javascript wrapper for 'gst_h264_dpb_mark_all_non_ref'
}
Mark all pictures are not referenced
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
GstCodecs.H264Dpb.mark_all_non_ref
def GstCodecs.H264Dpb.mark_all_non_ref (self):
#python wrapper for 'gst_h264_dpb_mark_all_non_ref'
Mark all pictures are not referenced
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
gst_h264_dpb_num_ref_pictures
gint gst_h264_dpb_num_ref_pictures (GstH264Dpb * dpb)
Parameters:
dpb
–
The number of referenced pictures
GstCodecs.H264Dpb.prototype.num_ref_pictures
function GstCodecs.H264Dpb.prototype.num_ref_pictures(): {
// javascript wrapper for 'gst_h264_dpb_num_ref_pictures'
}
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
The number of referenced pictures
GstCodecs.H264Dpb.num_ref_pictures
def GstCodecs.H264Dpb.num_ref_pictures (self):
#python wrapper for 'gst_h264_dpb_num_ref_pictures'
Parameters:
dpb
(
GstCodecs.H264Dpb
)
–
The number of referenced pictures
gst_h264_dpb_set_max_num_pics
gst_h264_dpb_set_max_num_pics (GstH264Dpb * dpb, gint max_num_pics)
Set the number of maximum allowed pictures to store
GstCodecs.H264Dpb.prototype.set_max_num_pics
function GstCodecs.H264Dpb.prototype.set_max_num_pics(max_num_pics: Number): {
// javascript wrapper for 'gst_h264_dpb_set_max_num_pics'
}
Set the number of maximum allowed pictures to store
GstCodecs.H264Dpb.set_max_num_pics
def GstCodecs.H264Dpb.set_max_num_pics (self, max_num_pics):
#python wrapper for 'gst_h264_dpb_set_max_num_pics'
Set the number of maximum allowed pictures to store
Functions
GstH264Picture
Members
parent
(GstMiniObject)
–
type
(GstH264SliceType)
–
pts
(GstClockTime)
–
system_frame_number
(guint32)
–
pic_order_cnt_type
(guint8)
–
top_field_order_cnt
(gint32)
–
bottom_field_order_cnt
(gint32)
–
pic_order_cnt
(gint)
–
pic_order_cnt_msb
(gint)
–
pic_order_cnt_lsb
(gint)
–
delta_pic_order_cnt_bottom
(gint)
–
delta_pic_order_cnt0
(gint)
–
delta_pic_order_cnt1
(gint)
–
pic_num
(gint)
–
long_term_pic_num
(gint)
–
frame_num
(gint)
–
frame_num_offset
(gint)
–
frame_num_wrap
(gint)
–
long_term_frame_idx
(gint)
–
nal_ref_idc
(gint)
–
idr
(gboolean)
–
idr_pic_id
(gint)
–
ref
(gboolean)
–
long_term
(gboolean)
–
outputted
(gboolean)
–
mem_mgmt_5
(gboolean)
–
nonexisting
(gboolean)
–
field
(GstH264PictureField)
–
dec_ref_pic_marking
(GstH264DecRefPicMarking)
–
user_data
(gpointer)
–
notify
(GDestroyNotify)
–
GstCodecs.H264Picture
Members
parent
(Gst.MiniObject)
–
type (not introspectable)
(object)
–
pts
(Number)
–
system_frame_number
(Number)
–
pic_order_cnt_type
(Number)
–
top_field_order_cnt
(Number)
–
bottom_field_order_cnt
(Number)
–
pic_order_cnt
(Number)
–
pic_order_cnt_msb
(Number)
–
pic_order_cnt_lsb
(Number)
–
delta_pic_order_cnt_bottom
(Number)
–
delta_pic_order_cnt0
(Number)
–
delta_pic_order_cnt1
(Number)
–
pic_num
(Number)
–
long_term_pic_num
(Number)
–
frame_num
(Number)
–
frame_num_offset
(Number)
–
frame_num_wrap
(Number)
–
long_term_frame_idx
(Number)
–
nal_ref_idc
(Number)
–
idr
(Number)
–
idr_pic_id
(Number)
–
ref
(Number)
–
long_term
(Number)
–
outputted
(Number)
–
mem_mgmt_5
(Number)
–
nonexisting
(Number)
–
field
(GstCodecs.H264PictureField)
–
dec_ref_pic_marking (not introspectable)
(object)
–
user_data
(Object)
–
notify
(GLib.DestroyNotify)
–
GstCodecs.H264Picture
Members
parent
(Gst.MiniObject)
–
type (not introspectable)
(object)
–
pts
(int)
–
system_frame_number
(int)
–
pic_order_cnt_type
(int)
–
top_field_order_cnt
(int)
–
bottom_field_order_cnt
(int)
–
pic_order_cnt
(int)
–
pic_order_cnt_msb
(int)
–
pic_order_cnt_lsb
(int)
–
delta_pic_order_cnt_bottom
(int)
–
delta_pic_order_cnt0
(int)
–
delta_pic_order_cnt1
(int)
–
pic_num
(int)
–
long_term_pic_num
(int)
–
frame_num
(int)
–
frame_num_offset
(int)
–
frame_num_wrap
(int)
–
long_term_frame_idx
(int)
–
nal_ref_idc
(int)
–
idr
(bool)
–
idr_pic_id
(int)
–
ref
(bool)
–
long_term
(bool)
–
outputted
(bool)
–
mem_mgmt_5
(bool)
–
nonexisting
(bool)
–
field
(GstCodecs.H264PictureField)
–
dec_ref_pic_marking (not introspectable)
(object)
–
user_data
(object)
–
notify
(GLib.DestroyNotify)
–
Constructors
gst_h264_picture_new
GstH264Picture * gst_h264_picture_new ()
Create new GstH264Picture
a new GstH264Picture
GstCodecs.H264Picture.prototype.new
function GstCodecs.H264Picture.prototype.new(): {
// javascript wrapper for 'gst_h264_picture_new'
}
Create new GstCodecs.H264Picture
a new GstCodecs.H264Picture
GstCodecs.H264Picture.new
def GstCodecs.H264Picture.new ():
#python wrapper for 'gst_h264_picture_new'
Create new GstCodecs.H264Picture
a new GstCodecs.H264Picture
Methods
gst_h264_picture_get_user_data
gpointer gst_h264_picture_get_user_data (GstH264Picture * picture)
Gets private data set on the picture via gst_h264_picture_set_user_data previously.
Parameters:
picture
–
The previously set user_data
GstCodecs.H264Picture.prototype.get_user_data
function GstCodecs.H264Picture.prototype.get_user_data(): {
// javascript wrapper for 'gst_h264_picture_get_user_data'
}
Gets private data set on the picture via GstCodecs.H264Picture.prototype.set_user_data previously.
Parameters:
picture
(
GstCodecs.H264Picture
)
–
The previously set user_data
GstCodecs.H264Picture.get_user_data
def GstCodecs.H264Picture.get_user_data (self):
#python wrapper for 'gst_h264_picture_get_user_data'
Gets private data set on the picture via GstCodecs.H264Picture.set_user_data previously.
Parameters:
picture
(
GstCodecs.H264Picture
)
–
The previously set user_data
gst_h264_picture_set_user_data
gst_h264_picture_set_user_data (GstH264Picture * 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.H264Picture.prototype.set_user_data
function GstCodecs.H264Picture.prototype.set_user_data(user_data: Object, notify: GLib.DestroyNotify): {
// javascript wrapper for 'gst_h264_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.H264Picture
)
–
user_data
(
Object
)
–
private data
notify
(
GLib.DestroyNotify
)
–
GstCodecs.H264Picture.set_user_data
def GstCodecs.H264Picture.set_user_data (self, *user_data, notify):
#python wrapper for 'gst_h264_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.H264Picture
)
–
user_data
(
variadic
)
–
private data
notify
(
GLib.DestroyNotify
)
–
GstH264Slice
Members
header
(GstH264SliceHdr)
–
nalu
(GstH264NalUnit)
–
GstCodecs.H264Slice
Members
header (not introspectable)
(object)
–
nalu (not introspectable)
(object)
–
GstCodecs.H264Slice
Members
header (not introspectable)
(object)
–
nalu (not introspectable)
(object)
–
Function Macros
GST_H264_DECODER_CAST
#define GST_H264_DECODER_CAST(obj) ((GstH264Decoder*)obj)
GST_H264_PICTURE
#define GST_H264_PICTURE(obj) ((GstH264Picture *)obj)
GST_H264_PICTURE_CAST
#define GST_H264_PICTURE_CAST(obj) (GST_H264_PICTURE(obj))
GST_IS_H264_PICTURE
#define GST_IS_H264_PICTURE(obj) (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_H264_PICTURE))
Enumerations
GstH264PictureField
Members
GST_H264_PICTURE_FIELD_FRAME
(0)
–
GST_H264_PICTURE_FIELD_TOP_FIELD
(1)
–
GST_H264_PICTURE_FIELD_BOTTOM_FIELD
(2)
–
GstCodecs.H264PictureField
Members
GstCodecs.H264PictureField.FRAME
(0)
–
GstCodecs.H264PictureField.TOP_FIELD
(1)
–
GstCodecs.H264PictureField.BOTTOM_FIELD
(2)
–
GstCodecs.H264PictureField
Members
GstCodecs.H264PictureField.FRAME
(0)
–
GstCodecs.H264PictureField.TOP_FIELD
(1)
–
GstCodecs.H264PictureField.BOTTOM_FIELD
(2)
–
Constants
GST_H264_DPB_MAX_SIZE
#define GST_H264_DPB_MAX_SIZE 16
GstCodecs.H264_DPB_MAX_SIZE
GstCodecs.H264_DPB_MAX_SIZE
GST_TYPE_H264_PICTURE
#define GST_TYPE_H264_PICTURE (gst_h264_picture_get_type())
The results of the search are