Lines Matching refs:poi
110 f->poi = NO_VAL; in new_frame()
194 p->poi -= wrap_oi; in recompute_cycle_order_index()
239 ph->poi = ph->doi + ph->picture_output_delay - vsh->picture_reorder_delay; in compute_frame_order_index()
241 ph->poi = ph->doi; in compute_frame_order_index()
244 mpp_assert(ph->doi >= 0 && ph->poi >= 0); in compute_frame_order_index()
247 mgr->output_poi = ph->poi; in compute_frame_order_index()
250 …avs2d_dbg_dpb("picuture DOI %d, POI %d, out_delay %d, output_poi %d\n", ph->doi, ph->poi, ph->pict… in compute_frame_order_index()
263 static RK_S32 get_outputable_smallest_poi(Avs2dFrameMgr_t *mgr, RK_S32 *poi, RK_S32 *pos) in get_outputable_smallest_poi() argument
272 *poi = INT_MAX; in get_outputable_smallest_poi()
278 if (min_poi > p->poi) { in get_outputable_smallest_poi()
279 min_poi = p->poi; in get_outputable_smallest_poi()
282 if (*poi > p->poi && !p->is_output) { in get_outputable_smallest_poi()
283 *poi = p->poi; in get_outputable_smallest_poi()
289 *poi = min_poi; in get_outputable_smallest_poi()
314 p_dec->frm_mgr.output_poi = p->poi; in output_display_frame()
317 avs2d_dbg_dpb("output display frame poi %d slot_idx %d, pts %lld", p->poi, p->slot_idx, in output_display_frame()
347 p->slot_idx, p->doi, p->poi, mgr->used_size); in dpb_remove_frame()
353 p->poi = NO_VAL; in dpb_remove_frame()
421 if ((MPP_ABS(p->poi - p_dec->ph.poi) >= AVS2_MAX_POC_DISTANCE)) { in dpb_remove_unused_frame()
449 if (p->poi == ph->poi) { in dpb_get_one_frame()
485 frm->poi = ph->poi; in dpb_alloc_frame()
534 mpp_frame_set_poc(mframe, frm->poi); in dpb_alloc_frame()
586 RK_S32 poi, pos; in dpb_output_next_frame() local
590 if (get_outputable_smallest_poi(mgr, &poi, &pos)) { in dpb_output_next_frame()
592 poi, pos, mgr->output_poi); in dpb_output_next_frame()
594 if ((poi - mgr->output_poi <= 1) || in dpb_output_next_frame()
667 p->slot_idx, p->doi, p->poi); in dpb_update_refs()
734 (mgr->num_of_ref != 2 || (mgr->refs[0] && mgr->refs[0]->poi <= p_cur->poi) || in dpb_set_frame_refs()
735 (mgr->refs[1] && mgr->refs[1]->poi >= p_cur->poi))) { in dpb_set_frame_refs()
806 …ask refer[%d] slot_idx %d doi %d poi %d", i, task->refer[i], mgr->refs[i]->doi, mgr->refs[i]->poi); in avs2d_dpb_insert()
822 i, tmp->slot_idx, tmp->doi, tmp->poi, PICTURE_TYPE_TO_CHAR(tmp->picture_type), in avs2d_dpb_insert()