Lines Matching refs:slot_index

40     if (!frame->frame || (frame->slot_index == 0xff))  in mpp_hevc_unref_frame()
47 if (frame->slot_index <= 0x7f) { in mpp_hevc_unref_frame()
48 h265d_dbg(H265D_DBG_REF, "poc %d clr ref index %d", frame->poc, frame->slot_index); in mpp_hevc_unref_frame()
49 mpp_buf_slot_clr_flag(s->slots, frame->slot_index, SLOT_CODEC_USE); in mpp_hevc_unref_frame()
51 …5d_dbg(H265D_DBG_REF, "unref_frame poc %d frame->slot_index %d \n", frame->poc, frame->slot_index); in mpp_hevc_unref_frame()
53 frame->slot_index = 0xff; in mpp_hevc_unref_frame()
90 if (frame->slot_index != 0xff) { in alloc_frame()
152 ret = mpp_buf_slot_get_unused(s->slots, &frame->slot_index); in alloc_frame()
170 if ((frame->slot_index != 0xff) && frame->sequence == s->seq_decode && in mpp_hevc_set_new_ref()
192 h265d_dbg(H265D_DBG_REF, "alloc frame poc %d slot_index %d", poc, ref->slot_index); in mpp_hevc_set_new_ref()
194 mpp_buf_slot_set_flag(s->slots, ref->slot_index, SLOT_CODEC_USE); in mpp_hevc_set_new_ref()
195 mpp_buf_slot_set_flag(s->slots, ref->slot_index, SLOT_HAL_OUTPUT); in mpp_hevc_set_new_ref()
196 s->task->output = ref->slot_index; in mpp_hevc_set_new_ref()
210 if ((ref->slot_index != 0xff) && (ref->sequence == s->seq_decode)) { in find_ref_idx()
218 if ((ref->slot_index != 0xff) && ref->sequence == s->seq_decode) { in find_ref_idx()
243 mpp_buf_slot_set_prop(s->slots, frame->slot_index, SLOT_FRAME, frame->frame); in generate_missing_ref()
244 mpp_buf_slot_set_flag(s->slots, frame->slot_index, SLOT_CODEC_READY); in generate_missing_ref()
245 mpp_buf_slot_set_flag(s->slots, frame->slot_index, SLOT_CODEC_USE); in generate_missing_ref()
247 …265d_dbg(H265D_DBG_REF, "generate_missing_ref frame poc %d slot_index %d", poc, frame->slot_index); in generate_missing_ref()
271 h265d_dbg(H265D_DBG_REF, "set ref poc = %d ref->slot_index %d", ref->poc, ref->slot_index); in add_candidate_ref()
272 mpp_buf_slot_set_flag(s->slots, ref->slot_index, SLOT_CODEC_USE); in add_candidate_ref()
341 if ((ref->slot_index != 0xff) && (ref->poc > s->poc)) { in mpp_hevc_frame_rps()