Home
last modified time | relevance | path

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

/external/v4l2_codec2/vda/
Dh264_decoder.cc257 int abs_frame_num = 0; in CalculatePicOrderCounts() local
259 abs_frame_num = pic->frame_num_offset + pic->frame_num; in CalculatePicOrderCounts()
261 abs_frame_num = 0; in CalculatePicOrderCounts()
263 if (pic->nal_ref_idc == 0 && abs_frame_num > 0) in CalculatePicOrderCounts()
264 --abs_frame_num; in CalculatePicOrderCounts()
267 if (abs_frame_num > 0) { in CalculatePicOrderCounts()
275 (abs_frame_num - 1) / sps->num_ref_frames_in_pic_order_cnt_cycle; in CalculatePicOrderCounts()
277 (abs_frame_num - 1) % sps->num_ref_frames_in_pic_order_cnt_cycle; in CalculatePicOrderCounts()