Lines Matching refs:slot_index
573 if (!f->ref || f->ref->ref_count <= 0 || f->slot_index >= 0x7f) { in av1d_frame_unref()
581 if (f->slot_index < 0x7f) { in av1d_frame_unref()
582 av1d_dbg(AV1D_DBG_REF, "clr f->slot_index = %d", f->slot_index); in av1d_frame_unref()
589 mpp_buf_slot_get_prop(s->slots, f->slot_index, SLOT_BUFFER, &framebuf); in av1d_frame_unref()
595 mpp_buf_slot_clr_flag(s->slots, f->slot_index, SLOT_CODEC_USE); in av1d_frame_unref()
597 f->slot_index = 0xff; in av1d_frame_unref()
615 mpp_buf_slot_get_prop(s->slots, s->cur_frame.slot_index, SLOT_FRAME_PTR, &frame); in set_output_frame()
624 mpp_buf_slot_set_flag(s->slots, s->cur_frame.slot_index, SLOT_QUEUE_USE); in set_output_frame()
625 mpp_buf_slot_enqueue(s->slots, s->cur_frame.slot_index, QUEUE_DISPLAY); in set_output_frame()
650 if (src->slot_index >= 0x7f) { in av1d_frame_ref()
655 dst->slot_index = src->slot_index; in av1d_frame_ref()
659 mpp_buf_slot_get_prop(s->slots, src->slot_index, SLOT_FRAME, &dst->f); in av1d_frame_ref()
730 i, i, s->ref[i].slot_index); in update_reference_list()
826 mpp_buf_slot_get_unused(s->slots, &frame->slot_index); in get_current_frame()
827 av1d_dbg(AV1D_DBG_REF, "get frame->slot_index %d", frame->slot_index); in get_current_frame()
828 mpp_buf_slot_set_prop(s->slots, frame->slot_index, SLOT_FRAME, frame->f); in get_current_frame()
829 mpp_buf_slot_set_flag(s->slots, frame->slot_index, SLOT_CODEC_USE); in get_current_frame()
830 mpp_buf_slot_set_flag(s->slots, frame->slot_index, SLOT_HAL_OUTPUT); in get_current_frame()
888 s->ref[i].slot_index = 0x7f; in av1d_parser_init()
894 s->cur_frame.slot_index = 0xff; in av1d_parser_init()
1090 task->output = s->cur_frame.slot_index; in av1d_parser_frame()
1095 if (s->ref[ref_idx].slot_index < 0x7f) { in av1d_parser_frame()
1096 mpp_buf_slot_set_flag(s->slots, s->ref[ref_idx].slot_index, SLOT_HAL_INPUT); in av1d_parser_frame()
1098 task->refer[j] = s->ref[ref_idx].slot_index; in av1d_parser_frame()