Home
last modified time | relevance | path

Searched refs:slot_index (Results 1 – 25 of 36) sorted by relevance

12

/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h265/
H A Dh265d_refs.c40 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()
88 if (frame->slot_index != 0xff) { in alloc_frame()
147 ret = mpp_buf_slot_get_unused(s->slots, &frame->slot_index); in alloc_frame()
165 if ((frame->slot_index != 0xff) && frame->sequence == s->seq_decode && in mpp_hevc_set_new_ref()
182 h265d_dbg(H265D_DBG_REF, "alloc frame poc %d slot_index %d", poc, ref->slot_index); in mpp_hevc_set_new_ref()
[all …]
H A Dh265d_parser2_syntax.c83 fill_picture_entry(&pp->CurrPic, current_picture->slot_index, 0); in fill_picture_parameters()
224 if (frame && (frame->slot_index != 0xff)) { in fill_picture_parameters()
225 …fill_picture_entry(&pp->RefPicList[i], frame->slot_index, !!(frame->flags & HEVC_FRAME_FLAG_LONG_R… in fill_picture_parameters()
227 mpp_buf_slot_set_flag(h->slots, frame->slot_index, SLOT_HAL_INPUT); in fill_picture_parameters()
228 h->task->refer[i] = frame->slot_index; in fill_picture_parameters()
244 pp->ref_list[i] = get_refpic_index(pp, frame->slot_index); \ in fill_picture_parameters()
H A Dh265d_parser.c1146 mpp_buf_slot_set_flag(s->slots, s->ref->slot_index, SLOT_QUEUE_USE); in mpp_hevc_out_dec_order()
1147 mpp_buf_slot_enqueue(s->slots, s->ref->slot_index, QUEUE_DISPLAY); in mpp_hevc_out_dec_order()
1198 mpp_buf_slot_set_flag(s->slots, frame->slot_index, SLOT_QUEUE_USE); in mpp_hevc_output_frame()
1199 mpp_buf_slot_enqueue(s->slots, frame->slot_index, QUEUE_DISPLAY); in mpp_hevc_output_frame()
1202 … "Output frame with POC %d frame->slot_index = %d\n", frame->poc, frame->slot_index); in mpp_hevc_output_frame()
1272 mpp_buf_slot_set_prop(s->slots, s->ref->slot_index, SLOT_FRAME, s->ref->frame); in hevc_frame_start()
2097 s->DPB[i].slot_index = 0xff; in hevc_init_context()
2262 if (s->DPB[i].slot_index == task_dec->output) { in h265d_callback()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/m2v/
H A Dm2vd_parser.c172 ctx->Framehead[i].slot_index = -1; in m2vd_parser_init_ctx()
317 if (p->frame_cur->slot_index >= 0) in m2vd_parser_reset()
318 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_cur->slot_index, in m2vd_parser_reset()
321 if (p->frame_ref0->slot_index >= 0) { in m2vd_parser_reset()
323 mpp_buf_slot_set_flag(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_reset()
325 mpp_buf_slot_enqueue(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_reset()
329 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_reset()
333 if (p->frame_ref1->slot_index >= 0) in m2vd_parser_reset()
334 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_ref1->slot_index, in m2vd_parser_reset()
341 p->frame_cur->slot_index = -1; in m2vd_parser_reset()
[all …]
H A Dm2vd_parser.h120 RK_S32 slot_index; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/dummy/
H A Ddummy_dec_api.c51 RK_S32 slot_index[DUMMY_DEC_REF_COUNT]; member
87 p->slot_index[i] = -1; in dummy_dec_init()
248 RK_S32 index = p->slot_index[i]; in dummy_dec_parse()
265 mpp_buf_slot_clr_flag(slots, p->slot_index[i], SLOT_CODEC_USE); in dummy_dec_parse()
266 p->slot_index[i] = -1; in dummy_dec_parse()
271 if (p->slot_index[replace_index] >= 0) in dummy_dec_parse()
272 mpp_buf_slot_clr_flag(slots, p->slot_index[replace_index], SLOT_CODEC_USE); in dummy_dec_parse()
274 p->slot_index[replace_index] = output; in dummy_dec_parse()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp8/
H A Dvp8d_parser.c255 || frame->slot_index >= 0x7f) { in vp8d_unref_frame()
263 if (frame->slot_index < 0x7f) { in vp8d_unref_frame()
266 mpp_buf_slot_get_prop(p->frame_slots, frame->slot_index, SLOT_BUFFER, &framebuf); in vp8d_unref_frame()
270 mpp_buf_slot_clr_flag(p->frame_slots, frame->slot_index, SLOT_CODEC_USE); in vp8d_unref_frame()
272 frame->slot_index = 0xff; in vp8d_unref_frame()
561 p->dxva_ctx->CurrPic.Index7Bits = p->frame_out->slot_index; in vp8d_convert_to_syntx()
565 pic_param->lst_fb_idx.Index7Bits = p->frame_ref->slot_index; in vp8d_convert_to_syntx()
566 mpp_buf_slot_set_flag(p->frame_slots, p->frame_ref->slot_index, in vp8d_convert_to_syntx()
568 in_task->refer[0] = p->frame_ref->slot_index; in vp8d_convert_to_syntx()
574 pic_param->gld_fb_idx.Index7Bits = p->frame_golden->slot_index; in vp8d_convert_to_syntx()
[all …]
H A Dvp8d_parser.h79 RK_S32 slot_index; member
/OK3568_Linux_fs/u-boot/common/spl/
H A Dspl_ab.c291 size_t slot_index = 0; in spl_ab_decrease_tries() local
300 slot_index = 0; in spl_ab_decrease_tries()
302 slot_index = 1; in spl_ab_decrease_tries()
304 slot_index = 0; in spl_ab_decrease_tries()
313 if (!ab_data.slots[slot_index].successful_boot && in spl_ab_decrease_tries()
314 ab_data.slots[slot_index].tries_remaining > 0) in spl_ab_decrease_tries()
315 ab_data.slots[slot_index].tries_remaining -= 1; in spl_ab_decrease_tries()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/av1/
H A Dav1d_parser.c570 if (!f->ref || f->ref->ref_count <= 0 || f->slot_index >= 0x7f) { in av1d_frame_unref()
578 if (f->slot_index < 0x7f) { in av1d_frame_unref()
579 av1d_dbg(AV1D_DBG_REF, "clr f->slot_index = %d", f->slot_index); in av1d_frame_unref()
586 mpp_buf_slot_get_prop(s->slots, f->slot_index, SLOT_BUFFER, &framebuf); in av1d_frame_unref()
592 mpp_buf_slot_clr_flag(s->slots, f->slot_index, SLOT_CODEC_USE); in av1d_frame_unref()
594 f->slot_index = 0xff; in av1d_frame_unref()
612 mpp_buf_slot_get_prop(s->slots, s->cur_frame.slot_index, SLOT_FRAME_PTR, &frame); in set_output_frame()
620 mpp_buf_slot_set_flag(s->slots, s->cur_frame.slot_index, SLOT_QUEUE_USE); in set_output_frame()
621 mpp_buf_slot_enqueue(s->slots, s->cur_frame.slot_index, QUEUE_DISPLAY); in set_output_frame()
646 if (src->slot_index >= 0x7f) { in av1d_frame_ref()
[all …]
H A Dav1d_parser2_syntax.c44 pp->CurrPicTextureIndex = h->cur_frame.slot_index; in av1d_fill_picparams()
128 pp->frame_refs[i].Index = ref_frame->slot_index; in av1d_fill_picparams()
154 if (ref_frame->slot_index < 0x7f) in av1d_fill_picparams()
155 pp->RefFrameMapTextureIndex[i] = ref_frame->slot_index; in av1d_fill_picparams()
H A Dav1d_parser.h68 RK_S32 slot_index; member
/OK3568_Linux_fs/u-boot/common/
H A Dandroid_ab.c527 size_t slot_index = 0; in ab_decrease_tries() local
533 slot_index = 0; in ab_decrease_tries()
535 slot_index = 1; in ab_decrease_tries()
537 slot_index = 0; in ab_decrease_tries()
551 if (!ab_data.slots[slot_index].successful_boot && in ab_decrease_tries()
552 ab_data.slots[slot_index].tries_remaining > 0) in ab_decrease_tries()
553 ab_data.slots[slot_index].tries_remaining -= 1; in ab_decrease_tries()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/vp9/
H A Dvp9d_parser.c261 if (src->ref == NULL || src->slot_index >= 0x7f) { in vp9_ref_frame()
265 dst->slot_index = src->slot_index; in vp9_ref_frame()
270 mpp_buf_slot_get_prop(s->slots, src->slot_index, SLOT_FRAME, &dst->f); in vp9_ref_frame()
278 if (f->ref->ref_count <= 0 || f->slot_index >= 0x7f) { in vp9_unref_frame()
284 if (f->slot_index <= 0x7f) { in vp9_unref_frame()
288 mpp_buf_slot_get_prop(s->slots, f->slot_index, SLOT_BUFFER, &framebuf); in vp9_unref_frame()
292 mpp_buf_slot_clr_flag(s->slots, f->slot_index, SLOT_CODEC_USE); in vp9_unref_frame()
295 f->slot_index = 0xff; in vp9_unref_frame()
331 s->frames[i].slot_index = 0x7f; in vp9_frame_init()
342 s->refs[i].slot_index = 0x7f; in vp9_frame_init()
[all …]
H A Dvp9d_parser2_syntax.c100 pic->CurrPic.Index7Bits = s->frames[CUR_FRAME].slot_index; in vp9d_fill_picparams()
103 pic->ref_frame_map[i].Index7Bits = s->refs[i].slot_index; in vp9d_fill_picparams()
H A Dvp9d_parser.h97 RK_S32 slot_index; member
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu_com.c211 priv->new_dpb[i].slot_index = pp->RefFrameList[i].Index7Bits; in get_info_input()
279 fill_picture_entry(&pp->RefFrameList[i], old_dpb[i].slot_index, in refill_info_input()
371 find_flag = ((old_dpb[i].slot_index in adjust_input()
372 == new_dpb[j].slot_index) in adjust_input()
H A Dhal_h264d_vdpu_com.h36 RK_S32 slot_index; member
/OK3568_Linux_fs/kernel/fs/orangefs/
H A Dorangefs-bufmap.h37 void orangefs_bufmap_page_fill(void *kaddr, int buffer_index, int slot_index);
H A Dorangefs-bufmap.c540 int slot_index) in orangefs_bufmap_page_fill() argument
546 page_from = kmap_atomic(from->page_array[slot_index]); in orangefs_bufmap_page_fill()
H A Dinode.c259 int slot_index; /* index into slot */ in orangefs_readpage() local
302 slot_index = 0; in orangefs_readpage()
318 slot_index++; in orangefs_readpage()
342 slot_index); in orangefs_readpage()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_init.c1490 RK_S32 slot_idx = p_Dec->dpb_info[pref[i].dpb_idx].slot_index; in check_ref_dbp_err()
1563 p->slot_index = -1; in reset_dpb_info()
1601 p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ref[j]->frame->mem_mark->slot_idx; in prepare_init_dpb_info()
1610 p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ref[j]->top_field->mem_mark->slot_idx; in prepare_init_dpb_info()
1617 p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ref[j]->bottom_field->mem_mark->slot_idx; in prepare_init_dpb_info()
1650 p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ltref[j]->frame->mem_mark->slot_idx; in prepare_init_dpb_info()
1659 p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ltref[j]->top_field->mem_mark->slot_idx; in prepare_init_dpb_info()
1667 … p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ltref[j]->bottom_field->mem_mark->slot_idx; in prepare_init_dpb_info()
1696 p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ilref[j]->frame->mem_mark->slot_idx; in prepare_init_dpb_info()
1715 p_Dec->dpb_info[i].slot_index = p_Dpb->fs_ilref[j]->frame->mem_mark->slot_idx; in prepare_init_dpb_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/qxl/
H A Dqxl_kms.c69 unsigned int slot_index, in setup_slot() argument
76 slot->index = slot_index; in setup_slot()
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.c580 int slot_index; in reserve_space() local
606 slot_index = local->slot_queue[ in reserve_space()
610 (char *)SLOT_DATA_FROM_INDEX(state, slot_index); in reserve_space()
640 int slot_index = local->slot_queue[slot_queue_available++ & in process_free_queue() local
642 char *data = (char *)SLOT_DATA_FROM_INDEX(state, slot_index); in process_free_queue()
652 state->id, slot_index, data, in process_free_queue()
3256 int slot_index; in vchiq_release_message() local
3264 slot_index = SLOT_INDEX_FROM_DATA(state, (void *)header); in vchiq_release_message()
3266 if ((slot_index >= remote->slot_first) && in vchiq_release_message()
3267 (slot_index <= remote->slot_last)) { in vchiq_release_message()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/fsl/
H A Dfsl_easrc.c756 if (slot->slot_index == 0) { in fsl_easrc_config_one_slot()
811 if (slot->slot_index == 1) in fsl_easrc_config_one_slot()
834 if (slot->slot_index == 1) in fsl_easrc_config_one_slot()
886 slota->slot_index = 0; in fsl_easrc_config_slot()
890 slota->slot_index = 1; in fsl_easrc_config_slot()

12