| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_buf_slot.h | 127 MPP_RET mpp_buf_slot_init(MppBufSlots *slots); 128 MPP_RET mpp_buf_slot_deinit(MppBufSlots slots); 129 MPP_RET mpp_buf_slot_setup(MppBufSlots slots, RK_S32 count); 130 RK_U32 mpp_buf_slot_is_changed(MppBufSlots slots); 131 MPP_RET mpp_buf_slot_ready(MppBufSlots slots); 132 size_t mpp_buf_slot_get_size(MppBufSlots slots); 133 RK_S32 mpp_buf_slot_get_count(MppBufSlots slots); 134 MPP_RET mpp_buf_slot_set_callback(MppBufSlots slots, MppCbCtx *cb_ctx); 177 MPP_RET mpp_buf_slot_get_unused(MppBufSlots slots, RK_S32 *index); 207 MPP_RET mpp_buf_slot_set_flag(MppBufSlots slots, RK_S32 index, SlotUsageType type); [all …]
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_buf_slot.c | 182 MppBufSlotsImpl *slots; member 244 MppBufSlotEntry *slots; member 579 MppBufSlotEntry *slot = impl->slots; in _dump_slots() 717 MppBufSlotEntry *slot = impl->slots; in init_slot_entry() 721 slot->slots = impl; in init_slot_entry() 765 MppBufSlotEntry *slot = (MppBufSlotEntry *)impl->slots; in clear_slots_impl() 801 mpp_free(impl->slots); in clear_slots_impl() 805 MPP_RET mpp_buf_slot_init(MppBufSlots *slots) in mpp_buf_slot_init() argument 810 if (!slots) { in mpp_buf_slot_init() 817 *slots = NULL; in mpp_buf_slot_init() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/dummy/ |
| H A D | dummy_dec_api.c | 191 MppBufSlots slots; in dummy_dec_parse() local 201 slots = p->frame_slots; in dummy_dec_parse() 210 mpp_buf_slot_setup(slots, DUMMY_DEC_FRAME_COUNT); in dummy_dec_parse() 231 mpp_buf_slot_get_unused(slots, &output); in dummy_dec_parse() 232 mpp_buf_slot_set_flag(slots, output, SLOT_HAL_OUTPUT); in dummy_dec_parse() 236 mpp_buf_slot_set_prop(slots, output, SLOT_FRAME, frame); in dummy_dec_parse() 251 mpp_buf_slot_set_flag(slots, index, SLOT_HAL_INPUT); in dummy_dec_parse() 252 mpp_buf_slot_set_flag(slots, index, SLOT_CODEC_USE); in dummy_dec_parse() 259 mpp_buf_slot_set_flag(slots, output, SLOT_QUEUE_USE); in dummy_dec_parse() 260 mpp_buf_slot_enqueue(slots, output, QUEUE_DISPLAY); in dummy_dec_parse() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/h263/ |
| H A D | h263d_parser.c | 267 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_flush() local 274 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_h263_parser_flush() 275 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_h263_parser_flush() 287 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_reset() local 295 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_h263_parser_reset() 301 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_h263_parser_reset() 484 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_setup_hal_output() local 501 mpp_buf_slot_get_unused(slots, &index); in mpp_h263_parser_setup_hal_output() 502 mpp_buf_slot_set_flag(slots, index, SLOT_HAL_OUTPUT); in mpp_h263_parser_setup_hal_output() 507 mpp_buf_slot_set_prop(slots, index, SLOT_FRAME, frame); in mpp_h263_parser_setup_hal_output() [all …]
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpi_dec_utils.c | 71 FileBufSlot **slots; member 89 impl->slots[impl->slot_cnt] = slot; in add_new_slot() 93 impl->slots = mpp_realloc(impl->slots, FileBufSlot*, impl->slot_max * 2); in add_new_slot() 94 if (!impl->slots) in add_new_slot() 100 mpp_assert(impl->slots); in add_new_slot() 259 if (NULL == impl || NULL == impl->slots) { in reader_read() 270 slot = impl->slots[impl->slot_rd_idx]; in reader_read() 288 if (NULL == impl || NULL == impl->slots) { in reader_index_read() 299 slot = impl->slots[index]; in reader_index_read() 339 impl->slots = mpp_calloc(FileBufSlot*, impl->slot_max); in reader_init() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/h265/ |
| H A D | h265d_refs.c | 49 mpp_buf_slot_clr_flag(s->slots, frame->slot_index, SLOT_CODEC_USE); in mpp_hevc_unref_frame() 110 mpp_slots_set_prop(s->slots, SLOTS_HOR_ALIGN, hor_align_64); in alloc_frame() 152 ret = mpp_buf_slot_get_unused(s->slots, &frame->slot_index); in alloc_frame() 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() 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() 272 mpp_buf_slot_set_flag(s->slots, ref->slot_index, SLOT_CODEC_USE); in add_candidate_ref()
|
| /rockchip-linux_mpp/mpp/codec/dec/mpg4/ |
| H A D | mpg4d_parser.c | 1124 MppBufSlots slots = p->frame_slots; in mpp_mpg4_parser_flush() local 1131 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_mpg4_parser_flush() 1132 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_mpg4_parser_flush() 1144 MppBufSlots slots = p->frame_slots; in mpp_mpg4_parser_reset() local 1153 mpp_buf_slot_set_flag(slots, index, SLOT_QUEUE_USE); in mpp_mpg4_parser_reset() 1154 mpp_buf_slot_enqueue(slots, index, QUEUE_DISPLAY); in mpp_mpg4_parser_reset() 1157 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_mpg4_parser_reset() 1163 mpp_buf_slot_clr_flag(slots, index, SLOT_CODEC_USE); in mpp_mpg4_parser_reset() 1419 MppBufSlots slots = p->frame_slots; in mpp_mpg4_parser_setup_hal_output() local 1437 mpp_buf_slot_get_unused(slots, &index); in mpp_mpg4_parser_setup_hal_output() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_parser.c | 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() 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() 659 mpp_buf_slot_get_prop(s->slots, src->slot_index, SLOT_FRAME, &dst->f); in av1d_frame_ref() 789 mpp_slots_set_prop(s->slots, SLOTS_HOR_ALIGN, hor_align_16); in get_current_frame() 823 mpp_slots_set_prop(s->slots, SLOTS_NUMERATOR, &value); in get_current_frame() 825 mpp_slots_set_prop(s->slots, SLOTS_DENOMINATOR, &value); in get_current_frame() 826 mpp_buf_slot_get_unused(s->slots, &frame->slot_index); in get_current_frame() [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_vdpu382.c | 244 mpp_slots_set_prop(p_hal->slots, SLOTS_HOR_ALIGN, vp9_hor_align); in hal_vp9d_vdpu382_init() 245 mpp_slots_set_prop(p_hal->slots, SLOTS_VER_ALIGN, vp9_ver_align); in hal_vp9d_vdpu382_init() 418 hw_ctx->mv_count = mpp_buf_slot_get_count(p_hal ->slots); in hal_vp9d_vdpu382_setup_colmv_buf() 505 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu382_gen_regs() 512 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu382_gen_regs() 520 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu382_gen_regs() 528 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu382_gen_regs() 637 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu382_gen_regs() 665 mpp_buf_slot_get_prop(p_hal ->slots, task->dec.output, SLOT_BUFFER, &framebuf); in hal_vp9d_vdpu382_gen_regs() 693 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &frame); in hal_vp9d_vdpu382_gen_regs() [all …]
|
| H A D | hal_vp9d_vdpu34x.c | 243 mpp_slots_set_prop(p_hal->slots, SLOTS_HOR_ALIGN, vp9_hor_align); in hal_vp9d_vdpu34x_init() 244 mpp_slots_set_prop(p_hal->slots, SLOTS_VER_ALIGN, vp9_ver_align); in hal_vp9d_vdpu34x_init() 405 hw_ctx->mv_count = mpp_buf_slot_get_count(p_hal ->slots); in hal_vp9d_vdpu34x_setup_colmv_buf() 491 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu34x_gen_regs() 498 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu34x_gen_regs() 506 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu34x_gen_regs() 514 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu34x_gen_regs() 627 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu34x_gen_regs() 655 mpp_buf_slot_get_prop(p_hal ->slots, task->dec.output, SLOT_BUFFER, &framebuf); in hal_vp9d_vdpu34x_gen_regs() 683 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &frame); in hal_vp9d_vdpu34x_gen_regs() [all …]
|
| H A D | hal_vp9d_vdpu383.c | 349 mpp_slots_set_prop(p_hal->slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in hal_vp9d_vdpu383_init() 350 mpp_slots_set_prop(p_hal->slots, SLOTS_VER_ALIGN, vp9_ver_align); in hal_vp9d_vdpu383_init() 769 hw_ctx->mv_count = mpp_buf_slot_get_count(p_hal ->slots); in hal_vp9d_vdpu383_gen_regs() 773 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu383_gen_regs() 853 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu383_gen_regs() 895 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_vdpu383_gen_regs() 896 mpp_buf_slot_get_prop(p_hal ->slots, task->dec.output, SLOT_BUFFER, &framebuf); in hal_vp9d_vdpu383_gen_regs() 958 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_FRAME_PTR, &ref_frame); in hal_vp9d_vdpu383_gen_regs() 975 mpp_buf_slot_get_prop(p_hal ->slots, ref_frame_idx, SLOT_BUFFER, &framebuf); in hal_vp9d_vdpu383_gen_regs() 1096 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, in hal_vp9d_vdpu383_gen_regs() [all …]
|
| H A D | hal_vp9d_rkv.c | 204 mpp_slots_set_prop(p_hal->slots, SLOTS_HOR_ALIGN, vp9_hor_align); in hal_vp9d_rkv_init() 205 mpp_slots_set_prop(p_hal->slots, SLOTS_VER_ALIGN, vp9_ver_align); in hal_vp9d_rkv_init() 272 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_rkv_gen_regs() 330 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_BUFFER, &framebuf); in hal_vp9d_rkv_gen_regs() 366 mpp_buf_slot_get_prop(p_hal->slots, ref_frame_idx, SLOT_FRAME_PTR, &mframe); in hal_vp9d_rkv_gen_regs() 380 mpp_buf_slot_get_prop(p_hal->slots, ref_frame_idx, SLOT_BUFFER, &framebuf); in hal_vp9d_rkv_gen_regs() 612 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in hal_vp9d_rkv_wait()
|
| H A D | hal_vp9d_ctx.h | 61 MppBufSlots slots; member
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_vdpu384a.c | 93 mpp_slots_set_prop(reg_ctx->slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in hal_h265d_vdpu384a_init() 94 mpp_slots_set_prop(reg_ctx->slots, SLOTS_VER_ALIGN, hevc_ver_align); in hal_h265d_vdpu384a_init() 870 reg_ctx->mv_count = mpp_buf_slot_get_count(reg_ctx->slots); in hal_h265d_vdpu384a_gen_regs() 881 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu384a_gen_regs() 943 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu384a_gen_regs() 1052 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_vdpu384a_gen_regs() 1055 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu384a_gen_regs() 1105 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_vdpu384a_gen_regs() 1109 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu384a_gen_regs() 1139 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu384a_gen_regs() [all …]
|
| H A D | hal_h265d_vdpu383.c | 114 mpp_slots_set_prop(reg_ctx->slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in hal_h265d_vdpu383_init() 115 mpp_slots_set_prop(reg_ctx->slots, SLOTS_VER_ALIGN, hevc_ver_align); in hal_h265d_vdpu383_init() 958 reg_ctx->mv_count = mpp_buf_slot_get_count(reg_ctx->slots); in hal_h265d_vdpu383_gen_regs() 969 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu383_gen_regs() 1020 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu383_gen_regs() 1114 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_vdpu383_gen_regs() 1117 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu383_gen_regs() 1170 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_vdpu383_gen_regs() 1174 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu383_gen_regs() 1204 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_ctx->pp.CurrPic.Index7Bits, in hal_h265d_vdpu383_gen_regs() [all …]
|
| H A D | hal_h265d_vdpu382.c | 102 mpp_slots_set_prop(reg_ctx->slots, SLOTS_HOR_ALIGN, hevc_hor_align); in hal_h265d_vdpu382_init() 103 mpp_slots_set_prop(reg_ctx->slots, SLOTS_VER_ALIGN, hevc_ver_align); in hal_h265d_vdpu382_init() 641 reg_ctx->mv_count = mpp_buf_slot_get_count(reg_ctx->slots); in hal_h265d_vdpu382_setup_colmv_buf() 730 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs() 761 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs() 846 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_vdpu382_gen_regs() 849 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu382_gen_regs() 887 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_vdpu382_gen_regs() 891 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu382_gen_regs() 925 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu382_gen_regs() [all …]
|
| H A D | hal_h265d_rkv.c | 169 mpp_slots_set_prop(reg_ctx->slots, SLOTS_HOR_ALIGN, hevc_hor_align); in hal_h265d_rkv_init() 170 mpp_slots_set_prop(reg_ctx->slots, SLOTS_VER_ALIGN, hevc_ver_align); in hal_h265d_rkv_init() 799 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_rkv_gen_regs() 812 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_rkv_gen_regs() 879 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_rkv_gen_regs() 1013 mpp_buf_slot_get_prop(reg_ctx->slots, task->dec.output, in hal_h265d_rkv_wait() 1026 mpp_buf_slot_get_prop(reg_ctx->slots, task->dec.refer[i], in hal_h265d_rkv_wait() 1032 mpp_buf_slot_get_prop(reg_ctx->slots, task->dec.output, in hal_h265d_rkv_wait()
|
| H A D | hal_h265d_vdpu34x.c | 104 mpp_slots_set_prop(reg_ctx->slots, SLOTS_HOR_ALIGN, hevc_hor_align); in hal_h265d_vdpu34x_init() 105 mpp_slots_set_prop(reg_ctx->slots, SLOTS_VER_ALIGN, hevc_ver_align); in hal_h265d_vdpu34x_init() 931 reg_ctx->mv_count = mpp_buf_slot_get_count(reg_ctx->slots); in hal_h265d_vdpu34x_gen_regs() 939 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu34x_gen_regs() 972 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.CurrPic.Index7Bits, in hal_h265d_vdpu34x_gen_regs() 1057 mpp_buf_slot_get_prop(reg_ctx->slots, in hal_h265d_vdpu34x_gen_regs() 1060 mpp_buf_slot_get_prop(reg_ctx->slots, dxva_cxt->pp.RefPicList[i].Index7Bits, in hal_h265d_vdpu34x_gen_regs() 1317 mpp_buf_slot_get_prop(reg_ctx->slots, task->dec.output, in hal_h265d_vdpu34x_wait() 1330 mpp_buf_slot_get_prop(reg_ctx->slots, task->dec.refer[i], in hal_h265d_vdpu34x_wait() 1336 mpp_buf_slot_get_prop(reg_ctx->slots, task->dec.output, in hal_h265d_vdpu34x_wait() [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkdec/ |
| H A D | vdpu34x_com.c | 209 void vdpu34x_afbc_align_calc(MppBufSlots slots, MppFrame frame, RK_U32 expand) in vdpu34x_afbc_align_calc() argument 218 mpp_slots_set_prop(slots, SLOTS_HOR_ALIGN, mpp_align_64); in vdpu34x_afbc_align_calc() 219 mpp_slots_set_prop(slots, SLOTS_VER_ALIGN, mpp_align_16); in vdpu34x_afbc_align_calc()
|
| H A D | vdpu382_com.c | 204 void vdpu382_afbc_align_calc(MppBufSlots slots, MppFrame frame, RK_U32 expand) in vdpu382_afbc_align_calc() argument 213 mpp_slots_set_prop(slots, SLOTS_HOR_ALIGN, mpp_align_64); in vdpu382_afbc_align_calc() 214 mpp_slots_set_prop(slots, SLOTS_VER_ALIGN, mpp_align_16); in vdpu382_afbc_align_calc()
|
| H A D | vdpu383_com.c | 128 void vdpu383_afbc_align_calc(MppBufSlots slots, MppFrame frame, RK_U32 expand) in vdpu383_afbc_align_calc() argument 137 mpp_slots_set_prop(slots, SLOTS_HOR_ALIGN, mpp_align_64); in vdpu383_afbc_align_calc() 138 mpp_slots_set_prop(slots, SLOTS_VER_ALIGN, mpp_align_16); in vdpu383_afbc_align_calc()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/av1d/ |
| H A D | hal_av1d_vdpu383.c | 1389 mpp_slots_set_prop(p_hal->slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in vdpu383_av1d_init() 1390 mpp_slots_set_prop(p_hal->slots, SLOTS_VER_ALIGN, rkv_ver_align); in vdpu383_av1d_init() 1391 mpp_slots_set_prop(p_hal->slots, SLOTS_LEN_ALIGN, rkv_len_align); in vdpu383_av1d_init() 2009 reg_ctx->colmv_count = mpp_buf_slot_get_count(p_hal->slots); in vdpu383_av1d_colmv_setup() 2041 reg_ctx->cdf_segid_count = mpp_buf_slot_get_count(p_hal->slots); in vdpu383_av1d_cdf_setup() 2197 mpp_buf_slot_get_prop(p_hal->slots, dxva->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu383_av1d_gen_regs() 2332 mpp_buf_slot_get_prop(p_hal->slots, dxva->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu383_av1d_gen_regs() 2367 … mpp_buf_slot_get_prop(p_hal->slots, dxva->frame_refs[mapped_idx].Index, SLOT_FRAME_PTR, &mframe); in vdpu383_av1d_gen_regs() 2390 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_FRAME_PTR, &mframe); in vdpu383_av1d_gen_regs() 2391 mpp_buf_slot_get_prop(p_hal->slots, task->dec.output, SLOT_BUFFER, &mbuffer); in vdpu383_av1d_gen_regs() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/vp9/ |
| H A D | vp9d_parser.c | 269 mpp_buf_slot_get_prop(s->slots, src->slot_index, SLOT_FRAME, &dst->f); in vp9_ref_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() 364 s->slots = init->frame_slots; in vp9d_parser_init() 367 mpp_buf_slot_setup(s->slots, 25); in vp9d_parser_init() 403 mpp_slots_set_prop(s->slots, SLOTS_HOR_ALIGN, mpp_align_64); in vp9_alloc_frame() 412 mpp_slots_set_prop(s->slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in vp9_alloc_frame() 414 mpp_slots_set_prop(s->slots, SLOTS_HOR_ALIGN, mpp_align_256_odd); in vp9_alloc_frame() 415 mpp_slots_set_prop(s->slots, SLOTS_VER_ALIGN, mpp_align_64); in vp9_alloc_frame() 427 mpp_buf_slot_get_unused(s->slots, &frame->slot_index); in vp9_alloc_frame() [all …]
|
| /rockchip-linux_mpp/osal/driver/ |
| H A D | vcodec_service.c | 45 VcodecExtraSlot slots[MPX_EXTRA_INFO_NUM]; member 441 VcodecExtraSlot *slot = &info->slots[i]; in update_extra_info() 621 slot = &extra->slots[i]; in vcodec_service_reg_offset() 631 slot = &extra->slots[extra->count]; in vcodec_service_reg_offset()
|
| /rockchip-linux_mpp/mpp/vproc/ |
| H A D | mpp_dec_vproc.c | 74 MppBufSlots slots; member 170 mpp_buf_slot_clr_flag(ctx->slots, ctx->prev_idx0, SLOT_QUEUE_USE); in dec_vproc_clr_prev0() 193 mpp_buf_slot_clr_flag(ctx->slots, ctx->prev_idx1, SLOT_QUEUE_USE); in dec_vproc_clr_prev1() 545 mpp_buf_slot_clr_flag(ctx->slots, ctx->prev_idx1, SLOT_QUEUE_USE); in dec_vproc_output_dei_v2() 843 MppBufSlots slots = dec->frame_slots; in dec_vproc_thread() local 916 mpp_buf_slot_get_prop(slots, index, SLOT_FRAME_PTR, &frm); in dec_vproc_thread() 956 mpp_buf_slot_dequeue(slots, &tmp, QUEUE_DEINTERLACE); in dec_vproc_thread() 1001 p->slots = ((MppDecImpl *)p->mpp->mDec)->frame_slots; in dec_vproc_init()
|