Home
last modified time | relevance | path

Searched refs:abs_frame_num (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_parse.c306 int abs_frame_num; in ff_h264_init_poc() local
311 abs_frame_num = pc->frame_num_offset + pc->frame_num; in ff_h264_init_poc()
313 abs_frame_num = 0; in ff_h264_init_poc()
315 if (nal_ref_idc == 0 && abs_frame_num > 0) in ff_h264_init_poc()
316 abs_frame_num--; in ff_h264_init_poc()
323 if (abs_frame_num > 0) { in ff_h264_init_poc()
324 int poc_cycle_cnt = (abs_frame_num - 1) / sps->poc_cycle_length; in ff_h264_init_poc()
325 int frame_num_in_poc_cycle = (abs_frame_num - 1) % sps->poc_cycle_length; in ff_h264_init_poc()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgsth264decoder.c1642 gint abs_frame_num = 0; in gst_h264_decoder_calculate_poc() local
1659 abs_frame_num = picture->frame_num_offset + picture->frame_num; in gst_h264_decoder_calculate_poc()
1661 abs_frame_num = 0; in gst_h264_decoder_calculate_poc()
1663 if (picture->nal_ref_idc == 0 && abs_frame_num > 0) in gst_h264_decoder_calculate_poc()
1664 --abs_frame_num; in gst_h264_decoder_calculate_poc()
1666 if (abs_frame_num > 0) { in gst_h264_decoder_calculate_poc()
1677 (abs_frame_num - 1) / sps->num_ref_frames_in_pic_order_cnt_cycle; in gst_h264_decoder_calculate_poc()
1679 (abs_frame_num - 1) % sps->num_ref_frames_in_pic_order_cnt_cycle; in gst_h264_decoder_calculate_poc()