Lines Matching refs:slot_index
260 if (src->ref == NULL || src->slot_index >= 0x7f) { in vp9_ref_frame()
264 dst->slot_index = src->slot_index; in vp9_ref_frame()
269 mpp_buf_slot_get_prop(s->slots, src->slot_index, SLOT_FRAME, &dst->f); in vp9_ref_frame()
277 if (f->ref->ref_count <= 0 || f->slot_index >= 0x7f) { in vp9_unref_frame()
283 if (f->slot_index <= 0x7f) { in vp9_unref_frame()
287 mpp_buf_slot_get_prop(s->slots, f->slot_index, SLOT_BUFFER, &framebuf); in vp9_unref_frame()
291 mpp_buf_slot_clr_flag(s->slots, f->slot_index, SLOT_CODEC_USE); in vp9_unref_frame()
294 f->slot_index = 0xff; in vp9_unref_frame()
330 s->frames[i].slot_index = 0x7f; in vp9_frame_init()
341 s->refs[i].slot_index = 0x7f; in vp9_frame_init()
427 mpp_buf_slot_get_unused(s->slots, &frame->slot_index); in vp9_alloc_frame()
428 mpp_buf_slot_set_prop(s->slots, frame->slot_index, SLOT_FRAME, frame->f); in vp9_alloc_frame()
429 mpp_buf_slot_set_flag(s->slots, frame->slot_index, SLOT_CODEC_USE); in vp9_alloc_frame()
430 mpp_buf_slot_set_flag(s->slots, frame->slot_index, SLOT_HAL_OUTPUT); in vp9_alloc_frame()
1676 mpp_buf_slot_get_prop(s->slots, s->refs[ref].slot_index, SLOT_FRAME_PTR, &frame); in vp9_parser_frame()
1679 mpp_buf_slot_set_flag(s->slots, s->refs[ref].slot_index, SLOT_QUEUE_USE); in vp9_parser_frame()
1680 mpp_buf_slot_enqueue(s->slots, s->refs[ref].slot_index, QUEUE_DISPLAY); in vp9_parser_frame()
1725 task->output = s->frames[CUR_FRAME].slot_index; in vp9_parser_frame()
1729 if (s->refs[s->refidx[i]].slot_index < 0x7f) { in vp9_parser_frame()
1731 mpp_buf_slot_set_flag(s->slots, s->refs[s->refidx[i]].slot_index, SLOT_HAL_INPUT); in vp9_parser_frame()
1732 task->refer[i] = s->refs[s->refidx[i]].slot_index; in vp9_parser_frame()
1747 mpp_buf_slot_set_flag(s->slots, s->frames[CUR_FRAME].slot_index, SLOT_QUEUE_USE); in vp9_parser_frame()
1748 mpp_buf_slot_enqueue(s->slots, s->frames[CUR_FRAME].slot_index, QUEUE_DISPLAY); in vp9_parser_frame()
1751 s->refreshrefmask, s->frames[CUR_FRAME].slot_index); in vp9_parser_frame()
1754 vp9d_dbg(VP9D_DBG_REF, "ref buf select %d", s->refs[s->refidx[i]].slot_index); in vp9_parser_frame()
1769 vp9d_dbg(VP9D_DBG_REF, "s->refs[%d] = %d", i, s->refs[i].slot_index); in vp9_parser_frame()