| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_dec_no_thread.c | 23 MppBufSlots frame_slots = dec->frame_slots; in mpp_dec_decode() local 173 mpp_buf_slot_set_flag(frame_slots, task_dec->output, SLOT_QUEUE_USE); in mpp_dec_decode() 174 mpp_buf_slot_enqueue(frame_slots, task_dec->output, QUEUE_DISPLAY); in mpp_dec_decode() 215 if (mpp_buf_slot_is_changed(frame_slots)) { in mpp_dec_decode() 235 task->wait.info_change = mpp_buf_slot_is_changed(frame_slots); in mpp_dec_decode() 273 mpp_buf_slot_get_prop(frame_slots, output, SLOT_BUFFER, &hal_buf_out); in mpp_dec_decode() 275 size_t size = mpp_buf_slot_get_size(frame_slots); in mpp_dec_decode() 278 mpp_buf_slot_set_prop(frame_slots, output, SLOT_BUFFER, in mpp_dec_decode() 284 mpp_buf_slot_get_prop(frame_slots, output, SLOT_FRAME_PTR, &slot_frm); in mpp_dec_decode() 295 mpp_buf_slot_get_prop(frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in mpp_dec_decode() [all …]
|
| H A D | mpp_dec_normal.c | 128 MppBufSlots frame_slots = dec->frame_slots; in reset_parser_thread() local 175 mpp_buf_slot_clr_flag(frame_slots, task_dec->output, SLOT_HAL_OUTPUT); in reset_parser_thread() 180 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_HAL_INPUT); in reset_parser_thread() 187 while (MPP_OK == mpp_buf_slot_dequeue(frame_slots, &index, QUEUE_DISPLAY)) { in reset_parser_thread() 190 mpp_buf_slot_get_prop(frame_slots, index, SLOT_BUFFER, &buffer); in reset_parser_thread() 193 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_QUEUE_USE); in reset_parser_thread() 248 MppBufSlots frame_slots = dec->frame_slots; in reset_hal_thread() local 258 while (MPP_OK == mpp_buf_slot_dequeue(frame_slots, &index, QUEUE_DISPLAY)) { in reset_hal_thread() 260 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_QUEUE_USE); in reset_hal_thread() 311 MppBufSlots frame_slots = dec->frame_slots; in try_proc_dec_task() local [all …]
|
| H A D | mpp_dec.c | 110 mpp_slots_set_prop(dec->frame_slots, SLOTS_FRAME_INFO, frame); in mpp_dec_proc_cfg() 120 ret = mpp_buf_slot_ready(dec->frame_slots); in mpp_dec_proc_cfg() 124 *p = mpp_slots_get_used_count(dec->frame_slots); in mpp_dec_proc_cfg() 197 MppBufSlots slots = dec->frame_slots; in mpp_dec_put_frame() 386 MppBufSlots frame_slots = dec->frame_slots; in mpp_dec_push_display() local 405 while (MPP_OK == mpp_buf_slot_dequeue(frame_slots, &index, QUEUE_DISPLAY)) { in mpp_dec_push_display() 407 if (eos && mpp_slots_is_empty(frame_slots, QUEUE_DISPLAY)) in mpp_dec_push_display() 411 mpp_buf_slot_clr_flag(frame_slots, index, SLOT_QUEUE_USE); in mpp_dec_push_display() 497 MppBufSlots frame_slots = NULL; in mpp_dec_init() local 541 ret = mpp_buf_slot_init(&frame_slots); in mpp_dec_init() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/m2v/ |
| H A D | m2vd_parser.c | 153 ctx->frame_slots = cfg->frame_slots; in m2vd_parser_init_ctx() 155 mpp_buf_slot_setup(ctx->frame_slots, 16); in m2vd_parser_init_ctx() 319 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_cur->slot_index, in m2vd_parser_reset() 324 mpp_buf_slot_set_flag(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_reset() 326 mpp_buf_slot_enqueue(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_reset() 330 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_reset() 335 mpp_buf_slot_clr_flag(p->frame_slots, p->frame_ref1->slot_index, in m2vd_parser_reset() 368 mpp_buf_slot_set_flag(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_flush() 370 mpp_buf_slot_enqueue(p->frame_slots, p->frame_ref0->slot_index, in m2vd_parser_flush() 1105 mpp_buf_slot_set_flag(p->frame_slots, p->frame_cur->slot_index, SLOT_QUEUE_USE); in m2v_update_ref_frame() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/h263/ |
| H A D | h263d_parser.c | 67 MppBufSlots frame_slots; member 214 MPP_RET mpp_h263_parser_init(H263dParser *ctx, MppBufSlots frame_slots) in mpp_h263_parser_init() argument 231 mpp_buf_slot_setup(frame_slots, 4); in mpp_h263_parser_init() 232 p->frame_slots = frame_slots; in mpp_h263_parser_init() 267 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_flush() 287 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_reset() 484 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_setup_hal_output() 526 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_setup_refer() 548 MppBufSlots slots = p->frame_slots; in mpp_h263_parser_update_dpb()
|
| H A D | h263d_api.c | 33 MppBufSlots frame_slots; member 82 ret = mpp_h263_parser_init(&parser, cfg->frame_slots); in h263d_init() 89 p->frame_slots = cfg->frame_slots; in h263d_init()
|
| /rockchip-linux_mpp/mpp/codec/dec/avs2/ |
| H A D | avs2d_api.c | 77 p_dec->frame_slots = init->frame_slots; in avs2d_init() 80 mpp_buf_slot_setup(p_dec->frame_slots, AVS2_MAX_BUF_NUM); in avs2d_init() 103 mpp_slots_set_prop(p_dec->frame_slots, SLOTS_WIDTH_ALIGN, rkv_ctu_64_align); in avs2d_init() 283 mpp_buf_slot_get_prop(p_dec->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in avs2d_callback() 309 mpp_buf_slot_get_prop(p_dec->frame_slots, task_dec->refer[i], SLOT_FRAME_PTR, &ref_frm); in avs2d_callback()
|
| H A D | avs2d_dpb.c | 315 mpp_buf_slot_set_flag(p_dec->frame_slots, p->slot_idx, SLOT_QUEUE_USE); in output_display_frame() 316 mpp_buf_slot_enqueue(p_dec->frame_slots, p->slot_idx, QUEUE_DISPLAY); in output_display_frame() 341 mpp_buf_slot_get_prop(p_dec->frame_slots, p->slot_idx, SLOT_BUFFER, &buffer); in dpb_remove_frame() 345 mpp_buf_slot_clr_flag(p_dec->frame_slots, p->slot_idx, SLOT_CODEC_USE); in dpb_remove_frame() 575 ret = mpp_buf_slot_get_unused(p_dec->frame_slots, &frm->slot_idx); in dpb_alloc_frame() 705 mpp_buf_slot_set_flag(p_dec->frame_slots, p->slot_idx, SLOT_CODEC_USE); in dpb_set_frame_refs() 706 mpp_buf_slot_set_flag(p_dec->frame_slots, p->slot_idx, SLOT_HAL_INPUT); in dpb_set_frame_refs() 789 mpp_buf_slot_set_prop(p_dec->frame_slots, p->slot_idx, SLOT_FRAME, p->frame); in avs2d_dpb_insert() 790 mpp_buf_slot_set_flag(p_dec->frame_slots, p->slot_idx, SLOT_CODEC_USE); in avs2d_dpb_insert() 791 mpp_buf_slot_set_flag(p_dec->frame_slots, p->slot_idx, SLOT_HAL_OUTPUT); in avs2d_dpb_insert()
|
| /rockchip-linux_mpp/mpp/hal/vpu/m2vd/ |
| H A D | hal_m2vd_vdpu1.c | 63 ctx->frame_slots = cfg->frame_slots; in hal_m2vd_vdpu1_init() 221 mpp_buf_slot_get_prop(ctx->frame_slots, dx->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 231 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[0].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 234 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[1].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 237 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[2].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs() 240 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[3].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu1_gen_regs()
|
| H A D | hal_m2vd_vdpu2.c | 83 p->frame_slots = cfg->frame_slots; in hal_m2vd_vdpu2_init() 271 mpp_buf_slot_get_prop(ctx->frame_slots, dx->CurrPic.Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 283 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[0].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 286 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[1].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 289 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[2].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs() 292 … mpp_buf_slot_get_prop(ctx->frame_slots, dx->frame_refs[3].Index7Bits, SLOT_BUFFER, &framebuf); in hal_m2vd_vdpu2_gen_regs()
|
| /rockchip-linux_mpp/mpp/codec/dec/dummy/ |
| H A D | dummy_dec_api.c | 38 MppBufSlots frame_slots; member 80 p->frame_slots = cfg->frame_slots; in dummy_dec_init() 201 slots = p->frame_slots; in dummy_dec_parse()
|
| /rockchip-linux_mpp/mpp/codec/dec/avs/ |
| H A D | avsd_parse.c | 380 mpp_buf_slot_clr_flag(pdec->frame_slots, p->slot_idx, SLOT_CODEC_USE); in set_frame_unref() 391 mpp_buf_slot_set_flag(p_dec->frame_slots, p->slot_idx, SLOT_QUEUE_USE); in set_frame_output() 392 mpp_buf_slot_enqueue(p_dec->frame_slots, p->slot_idx, QUEUE_DISPLAY); in set_frame_output() 446 mpp_buf_slot_get_unused(p_dec->frame_slots, &slot_idx); in avsd_set_dpb() 484 mpp_buf_slot_set_prop(p_dec->frame_slots, slot_idx, SLOT_FRAME, mframe); in avsd_set_dpb() 487 mpp_buf_slot_set_flag(p_dec->frame_slots, p_cur->slot_idx, SLOT_CODEC_USE); in avsd_set_dpb() 488 mpp_buf_slot_set_flag(p_dec->frame_slots, p_cur->slot_idx, SLOT_HAL_OUTPUT); in avsd_set_dpb() 495 mpp_buf_slot_set_flag(p_dec->frame_slots, p_dec->dpb[0]->slot_idx, SLOT_HAL_INPUT); in avsd_set_dpb() 504 mpp_buf_slot_set_flag(p_dec->frame_slots, p_dec->dpb[1]->slot_idx, SLOT_HAL_INPUT); in avsd_set_dpb() 519 mpp_buf_slot_get_prop(p_dec->frame_slots, task->refer[0], SLOT_FRAME_PTR, &mframe); in avsd_set_dpb() [all …]
|
| H A D | avsd_api.c | 80 p_dec->frame_slots = init->frame_slots; in avsd_init() 83 mpp_buf_slot_setup(p_dec->frame_slots, 12); in avsd_init() 339 mpp_buf_slot_get_prop(p_dec->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in avsd_callback()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_vdpu384a.c | 369 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 414 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 445 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 446 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_FRAME_PTR, &mframe); in set_registers() 472 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 510 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 511 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, in set_registers() 621 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in vdpu384a_h264d_init() 622 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, rkv_ver_align); in vdpu384a_h264d_init() 623 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, rkv_len_align); in vdpu384a_h264d_init() [all …]
|
| H A D | hal_h264d_rkv_reg.c | 456 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 478 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 507 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 523 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 582 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, rkv_hor_align); in rkv_h264d_init() 583 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, rkv_ver_align); in rkv_h264d_init() 584 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, rkv_len_align); in rkv_h264d_init() 863 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, rkv_len_align_422); in rkv_h264d_control() 866 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, rkv_hor_align_256_odds); in rkv_h264d_control()
|
| H A D | hal_h264d_vdpu383.c | 433 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 464 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 492 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 493 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_FRAME_PTR, &mframe); in set_registers() 519 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 558 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 559 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, in set_registers() 670 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in vdpu383_h264d_init() 671 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, rkv_ver_align); in vdpu383_h264d_init() 672 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, rkv_len_align); in vdpu383_h264d_init() [all …]
|
| H A D | hal_h264d_vdpu34x.c | 552 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 579 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 633 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 634 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_FRAME_PTR, &mframe); in set_registers() 746 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, rkv_hor_align); in vdpu34x_h264d_init() 747 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, rkv_ver_align); in vdpu34x_h264d_init() 748 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, rkv_len_align); in vdpu34x_h264d_init() 915 p_hal->mv_count = mpp_buf_slot_get_count(p_hal->frame_slots); in vdpu34x_h264d_setup_colmv_buf() 1198 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, rkv_len_align_422); in vdpu34x_h264d_control() 1201 vdpu34x_afbc_align_calc(p_hal->frame_slots, (MppFrame)param, 16); in vdpu34x_h264d_control() [all …]
|
| H A D | hal_h264d_vdpu382.c | 561 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in set_registers() 588 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_BUFFER, &mbuffer); in set_registers() 636 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_BUFFER, &mbuffer); in set_registers() 637 mpp_buf_slot_get_prop(p_hal->frame_slots, ref_index, SLOT_FRAME_PTR, &mframe); in set_registers() 767 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, rkv_hor_align); in vdpu382_h264d_init() 768 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, rkv_ver_align); in vdpu382_h264d_init() 769 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, rkv_len_align); in vdpu382_h264d_init() 945 p_hal->mv_count = mpp_buf_slot_get_count(p_hal->frame_slots); in vdpu382_h264d_setup_colmv_buf() 1028 mpp_buf_slot_get_prop(p_hal->frame_slots, pp->CurrPic.Index7Bits, SLOT_FRAME_PTR, &mframe); in vdpu382_h264d_gen_regs() 1190 mpp_buf_slot_get_prop(p_hal->frame_slots, task->dec.output, in vdpu382_h264_get_ref_used() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/mpg4/ |
| H A D | mpg4d_api.c | 35 MppBufSlots frame_slots; member 90 p->frame_slots = cfg->frame_slots; in mpg4d_init() 332 mpp_buf_slot_get_prop(p_Dec->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in mpg4d_callback()
|
| /rockchip-linux_mpp/mpp/codec/dec/vp8/ |
| H A D | vp8d_parser.c | 231 p->frame_slots = parser_cfg->frame_slots; in vp8d_parser_init() 233 mpp_buf_slot_setup(p->frame_slots, 15); in vp8d_parser_init() 268 mpp_buf_slot_get_prop(p->frame_slots, frame->slot_index, SLOT_BUFFER, &framebuf); in vp8d_unref_frame() 272 mpp_buf_slot_clr_flag(p->frame_slots, frame->slot_index, SLOT_CODEC_USE); in vp8d_unref_frame() 572 mpp_buf_slot_set_flag(p->frame_slots, p->frame_ref->slot_index, in vp8d_convert_to_syntx() 581 mpp_buf_slot_set_flag(p->frame_slots, p->frame_golden->slot_index, in vp8d_convert_to_syntx() 590 mpp_buf_slot_set_flag(p->frame_slots, p->frame_alternate->slot_index, in vp8d_convert_to_syntx() 635 ret = mpp_buf_slot_get_unused(p->frame_slots, in vp8d_alloc_frame() 641 mpp_buf_slot_set_prop(p->frame_slots, p->frame_out->slot_index, in vp8d_alloc_frame() 643 mpp_buf_slot_set_flag(p->frame_slots, p->frame_out->slot_index, in vp8d_alloc_frame() [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_vdpu383.c | 219 mpp_buf_slot_get_prop(p_hal->frame_slots, idx, SLOT_BUFFER, &mbuffer); in get_frame_fd() 364 mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in fill_registers() 445 mpp_buf_slot_get_prop(p_hal->frame_slots, slot_idx, SLOT_FRAME_PTR, &frame_ref); in fill_registers() 461 mpp_buf_slot_get_prop(p_hal->frame_slots, slot_idx, SLOT_FRAME_PTR, &scene_ref); in fill_registers() 483 mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output, in fill_registers() 570 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, mpp_align_128_odd_plus_64); in hal_avs2d_vdpu383_init() 571 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, avs2d_ver_align); in hal_avs2d_vdpu383_init() 572 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, avs2d_len_align); in hal_avs2d_vdpu383_init() 623 p_hal->mv_count = mpp_buf_slot_get_count(p_hal->frame_slots); in set_up_colmv_buf() 840 ret = mpp_buf_slot_get_prop(p_hal->frame_slots, task->dec.output, SLOT_FRAME_PTR, &frame); in hal_avs2d_vdpu383_dump_yuv() [all …]
|
| H A D | hal_avs2d_api.c | 113 p_hal->frame_slots = cfg->frame_slots; in hal_avs2d_init()
|
| H A D | hal_avs2d_rkv.c | 218 mpp_buf_slot_get_prop(p_hal->frame_slots, idx, SLOT_BUFFER, &mbuffer); in get_frame_fd() 341 mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in fill_registers() 414 mpp_buf_slot_get_prop(p_hal->frame_slots, slot_idx, SLOT_FRAME_PTR, &frame_ref); in fill_registers() 447 mpp_buf_slot_get_prop(p_hal->frame_slots, slot_idx, SLOT_FRAME_PTR, &scene_ref); in fill_registers() 547 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, avs2d_hor_align_64); in hal_avs2d_rkv_init() 549 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, avs2d_hor_align); in hal_avs2d_rkv_init() 551 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, avs2d_ver_align); in hal_avs2d_rkv_init() 552 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, avs2d_len_align); in hal_avs2d_rkv_init() 597 p_hal->mv_count = mpp_buf_slot_get_count(p_hal->frame_slots); in set_up_colmv_buf() 976 ret = mpp_buf_slot_get_prop(p_hal->frame_slots, task->dec.output, SLOT_FRAME_PTR, &frame); in hal_avs2d_rkv_dump_yuv() [all …]
|
| H A D | hal_avs2d_vdpu382.c | 218 mpp_buf_slot_get_prop(p_hal->frame_slots, idx, SLOT_BUFFER, &mbuffer); in get_frame_fd() 397 mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in fill_registers() 470 mpp_buf_slot_get_prop(p_hal->frame_slots, slot_idx, SLOT_FRAME_PTR, &frame_ref); in fill_registers() 502 mpp_buf_slot_get_prop(p_hal->frame_slots, slot_idx, SLOT_FRAME_PTR, &scene_ref); in fill_registers() 613 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, avs2d_hor_align_64); in hal_avs2d_vdpu382_init() 615 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, avs2d_hor_align); in hal_avs2d_vdpu382_init() 617 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_HOR_ALIGN, avs2d_hor_align); in hal_avs2d_vdpu382_init() 618 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_VER_ALIGN, avs2d_ver_align); in hal_avs2d_vdpu382_init() 619 mpp_slots_set_prop(p_hal->frame_slots, SLOTS_LEN_ALIGN, avs2d_len_align); in hal_avs2d_vdpu382_init() 664 p_hal->mv_count = mpp_buf_slot_get_count(p_hal->frame_slots); in set_up_colmv_buf() [all …]
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8d/ |
| H A D | hal_vp8d_base.h | 48 MppBufSlots frame_slots; member
|