Home
last modified time | relevance | path

Searched refs:mpp_buffer_get (Results 1 – 25 of 76) sorted by relevance

1234

/rockchip-linux_mpp/mpp/base/test/
H A Dmpp_buffer_test.c75 ret = mpp_buffer_get(NULL, &normal_buffer[i], size); in main()
94 ret = mpp_buffer_get(group, &commit_buffer[i], size); in main()
217 ret = mpp_buffer_get(group, &normal_buffer[i], (i + 1) * SZ_1K); in main()
244 ret = mpp_buffer_get(NULL, &legacy_buffer, MPP_BUFFER_TEST_SIZE); in main()
/rockchip-linux_mpp/mpp/vproc/iep2/test/
H A Diep2_test.c231 mpp_buffer_get(memGroup, &srcbuf[0], srcfrmsize); in iep2_test()
232 mpp_buffer_get(memGroup, &srcbuf[1], srcfrmsize); in iep2_test()
233 mpp_buffer_get(memGroup, &srcbuf[2], srcfrmsize); in iep2_test()
234 mpp_buffer_get(memGroup, &dstbuf[0], dstfrmsize); in iep2_test()
235 mpp_buffer_get(memGroup, &dstbuf[1], dstfrmsize); in iep2_test()
/rockchip-linux_mpp/mpp/hal/rkdec/vp9d/
H A Dhal_vp9d_rkv.c64 ret = mpp_buffer_get(p_hal->group, in hal_vp9d_alloc_res()
70 ret = mpp_buffer_get(p_hal->group, in hal_vp9d_alloc_res()
76 ret = mpp_buffer_get(p_hal->group, in hal_vp9d_alloc_res()
82 ret = mpp_buffer_get(p_hal->group, in hal_vp9d_alloc_res()
91 ret = mpp_buffer_get(p_hal->group, &hw_ctx->probe_base, PROB_SIZE); in hal_vp9d_alloc_res()
96 ret = mpp_buffer_get(p_hal->group, &hw_ctx->count_base, COUNT_SIZE); in hal_vp9d_alloc_res()
101 ret = mpp_buffer_get(p_hal->group, &hw_ctx->segid_cur_base, MAX_SEGMAP_SIZE); in hal_vp9d_alloc_res()
106 ret = mpp_buffer_get(p_hal->group, &hw_ctx->segid_last_base, MAX_SEGMAP_SIZE); in hal_vp9d_alloc_res()
H A Dhal_vp9d_vdpu383.c115 ret = mpp_buffer_get(p_hal->group, &hw_ctx->prob_loop_base[i], PROB_SIZE); in hal_vp9d_alloc_res()
122 ret = mpp_buffer_get(p_hal->group, &hw_ctx->prob_default_base, PROB_SIZE); in hal_vp9d_alloc_res()
129 ret = mpp_buffer_get(p_hal->group, &hw_ctx->segid_cur_base, MAX_SEGMAP_SIZE); in hal_vp9d_alloc_res()
135 ret = mpp_buffer_get(p_hal->group, &hw_ctx->segid_last_base, MAX_SEGMAP_SIZE); in hal_vp9d_alloc_res()
146 ret = mpp_buffer_get(p_hal->group, in hal_vp9d_alloc_res()
153 ret = mpp_buffer_get(p_hal->group, in hal_vp9d_alloc_res()
160 ret = mpp_buffer_get(p_hal->group, in hal_vp9d_alloc_res()
170 ret = mpp_buffer_get(p_hal->group, &hw_ctx->global_base, PROB_SIZE); in hal_vp9d_alloc_res()
177 ret = mpp_buffer_get(p_hal->group, &hw_ctx->probe_base, PROB_KF_SIZE); in hal_vp9d_alloc_res()
184 ret = mpp_buffer_get(p_hal->group, &hw_ctx->count_base, COUNT_SIZE); in hal_vp9d_alloc_res()
[all …]
H A Dhal_vp9d_vdpu34x.c94 ret = mpp_buffer_get(p_hal->group, &hw_ctx->prob_loop_base[i], PROB_SIZE); in hal_vp9d_alloc_res()
100 ret = mpp_buffer_get(p_hal->group, &hw_ctx->prob_default_base, PROB_SIZE); in hal_vp9d_alloc_res()
109 … ret = mpp_buffer_get(p_hal->group, &hw_ctx->g_buf[i].probe_base, VDPU34X_PROBE_BUFFER_SIZE); in hal_vp9d_alloc_res()
117 ret = mpp_buffer_get(p_hal->group, &hw_ctx->probe_base, VDPU34X_PROBE_BUFFER_SIZE); in hal_vp9d_alloc_res()
123 ret = mpp_buffer_get(p_hal->group, &hw_ctx->seg_base, MAX_SEGMAP_SIZE_ALIGN_TO_4K * 2); in hal_vp9d_alloc_res()
359 mpp_buffer_get(p_hal->group, &rcb_buf, hw_ctx->rcb_buf_size); in hal_vp9d_rcb_info_update()
369 mpp_buffer_get(p_hal->group, &rcb_buf, hw_ctx->rcb_buf_size); in hal_vp9d_rcb_info_update()
H A Dhal_vp9d_vdpu382.c94 ret = mpp_buffer_get(p_hal->group, &hw_ctx->prob_loop_base[i], PROB_SIZE); in hal_vp9d_alloc_res()
100 ret = mpp_buffer_get(p_hal->group, &hw_ctx->prob_default_base, PROB_SIZE); in hal_vp9d_alloc_res()
109 … ret = mpp_buffer_get(p_hal->group, &hw_ctx->g_buf[i].probe_base, VDPU382_PROBE_BUFFER_SIZE); in hal_vp9d_alloc_res()
117 ret = mpp_buffer_get(p_hal->group, &hw_ctx->probe_base, VDPU382_PROBE_BUFFER_SIZE); in hal_vp9d_alloc_res()
124 ret = mpp_buffer_get(p_hal->group, &hw_ctx->seg_base, MAX_SEGMAP_SIZE_ALIGN_TO_4K * 2); in hal_vp9d_alloc_res()
371 mpp_buffer_get(p_hal->group, &rcb_buf, hw_ctx->rcb_buf_size); in hal_vp9d_rcb_info_update()
381 mpp_buffer_get(p_hal->group, &rcb_buf, hw_ctx->rcb_buf_size); in hal_vp9d_rcb_info_update()
/rockchip-linux_mpp/mpp/vproc/vdpp/test/
H A Dvdpp_test.c274 mpp_buffer_get(memGroup, &srcbuf, srcfrmsize); in vdpp_test()
275 mpp_buffer_get(memGroup, &dstbuf, dstfrmsize); in vdpp_test()
276 mpp_buffer_get(memGroup, &histbuf, DCI_HIST_SIZE); in vdpp_test()
279 mpp_buffer_get(memGroup, &histbuf_l, local_hist_size); in vdpp_test()
280 mpp_buffer_get(memGroup, &histbuf_g, global_hist_size); in vdpp_test()
297 mpp_buffer_get(memGroup, &dstbuf_c, dstfrmsize_c); in vdpp_test()
H A Dhwpq_test.c112 mpp_buffer_get(memGroup, &srcbuf, srcfrmsize); in multi_vdpp()
113 mpp_buffer_get(memGroup, &dstbuf, dstfrmsize); in multi_vdpp()
114 mpp_buffer_get(memGroup, &dstbuf_c, dstfrmsize_c); in multi_vdpp()
115 mpp_buffer_get(memGroup, &histbuf, VDPP_HIST_LENGTH); in multi_vdpp()
/rockchip-linux_mpp/osal/test/
H A Dmpp_dmabuf_test.c33 ret = mpp_buffer_get(grp, &buf, SZ_1M); in main()
/rockchip-linux_mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_rkv_reg.c553 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
555 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
562 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
564 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
566 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu_mem_legacy.c67 ret = mpp_buffer_get(p_mempool->group, &buffer, p_mempool->size); in get_free_memory_vpumem()
228 ret = mpp_buffer_get(NULL, &buffer, size); in VPUMallocLinear()
H A Dvpu_api_legacy.cpp744 ret = mpp_buffer_get(memGroup, &str_buf, pkt->size); in decode()
773 ret = mpp_buffer_get(memGroup, &pic_buf, hor_stride * ver_stride * 3 / 2); in decode()
1151 ret = mpp_buffer_get(memGroup, &pic_buf, aEncInStrm->size); in encode()
1181 ret = mpp_buffer_get(memGroup, &str_buf, hor_stride * ver_stride); in encode()
1442 ret = mpp_buffer_get(memGroup, &buffer, align_size); in encoder_sendframe()
/rockchip-linux_mpp/mpp/vproc/rga/test/
H A Drga_test.c190 ret = mpp_buffer_get(NULL, &src_buf, src_size); in main()
196 ret = mpp_buffer_get(NULL, &dst_buf, dst_size); in main()
/rockchip-linux_mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_rkv.c50 ret = mpp_buffer_get(reg_ctx->group, in hal_h265d_alloc_res()
58 ret = mpp_buffer_get(reg_ctx->group, &reg_ctx->g_buf[i].pps_data, in hal_h265d_alloc_res()
65 ret = mpp_buffer_get(reg_ctx->group, &reg_ctx->g_buf[i].rps_data, in hal_h265d_alloc_res()
74 ret = mpp_buffer_get(reg_ctx->group, &reg_ctx->scaling_list_data, in hal_h265d_alloc_res()
81 ret = mpp_buffer_get(reg_ctx->group, &reg_ctx->pps_data, PPS_SIZE); in hal_h265d_alloc_res()
87 ret = mpp_buffer_get(reg_ctx->group, &reg_ctx->rps_data, RPS_SIZE); in hal_h265d_alloc_res()
194 ret = mpp_buffer_get(reg_ctx->group, &reg_ctx->cabac_table_data, sizeof(cabac_table)); in hal_h265d_rkv_init()
/rockchip-linux_mpp/utils/
H A Dmpp_enc_roi_utils.c686 mpp_buffer_get(impl->roi_grp, &impl->roi_cfg.base_cfg_buf, impl->base_cfg_size); in mpp_enc_roi_init()
735 mpp_buffer_get(impl->roi_grp, &impl->roi_cfg.base_cfg_buf, impl->base_cfg_size); in mpp_enc_roi_init()
740 mpp_buffer_get(impl->roi_grp, &impl->roi_cfg.qp_cfg_buf, impl->qp_cfg_size); in mpp_enc_roi_init()
745 mpp_buffer_get(impl->roi_grp, &impl->roi_cfg.amv_cfg_buf, impl->amv_cfg_size); in mpp_enc_roi_init()
750 mpp_buffer_get(impl->roi_grp, &impl->roi_cfg.mv_cfg_buf, impl->mv_cfg_size); in mpp_enc_roi_init()
/rockchip-linux_mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu_v2.c213 mpp_buffer_get(bufs->group, &bufs->cabac_table, H264E_CABAC_TABLE_BUF_SIZE); in h264e_vepu_buf_set_cabac_idc()
275 mpp_buffer_get(bufs->group, &buf, bufs->nal_tab_size); in h264e_vepu_buf_get_nal_size_table()
292 mpp_buffer_get(bufs->group, &buf, bufs->frm_size); in h264e_vepu_buf_get_frame_buffer()
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_dec_no_thread.c121 mpp_buffer_get(mpp->mPacketGroup, &hal_buf_in, stream_size); in mpp_dec_decode()
276 mpp_buffer_get(mpp->mFrameGroup, &hal_buf_out, size); in mpp_dec_decode()
/rockchip-linux_mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_base.c1226 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_luma_buf, in alloc_buffer()
1236 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_cbcr_buf[i], in alloc_buffer()
1255 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_size_table_buf, size_tbl); in alloc_buffer()
1263 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_cabac_table_buf, in alloc_buffer()
1272 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_mv_output_buf, in alloc_buffer()
1284 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_prob_count_buf, VP8_PROB_COUNT_BUF_SIZE); in alloc_buffer()
1295 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_segment_map_buf, segment_map_size); in alloc_buffer()
1318 ret = mpp_buffer_get(buffers->hw_buf_grp, &buffers->hw_out_buf, out_size); in alloc_buffer()
/rockchip-linux_mpp/mpp/hal/vpu/mpg4d/
H A Dhal_m4vd_vdpu2.c240 ret = mpp_buffer_get(group, &mv_buf, MPEG4_MAX_MV_BUF_SIZE); in vdpu2_mpg4d_init()
246 ret = mpp_buffer_get(group, &qp_table, 64 * 2 * sizeof(RK_U8)); in vdpu2_mpg4d_init()
H A Dhal_m4vd_vdpu1.c242 ret = mpp_buffer_get(group, &mv_buf, MPEG4_MAX_MV_BUF_SIZE); in vdpu1_mpg4d_init()
248 ret = mpp_buffer_get(group, &qp_table, 64 * 2 * sizeof(RK_U8)); in vdpu1_mpg4d_init()
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu580_tune.c357 mpp_buffer_get(NULL, &ctx->qpmap_base_cfg_buf, qpmap_base_cfg_size); in setup_vepu580_qpmap_buf()
366 mpp_buffer_get(NULL, &ctx->qpmap_qp_cfg_buf, qpmap_qp_cfg_size); in setup_vepu580_qpmap_buf()
H A Dhal_h264e_vepu510_tune.c73 mpp_buffer_get(ctx->roi_grp, &ctx->roir_buf, ctx->roir_buf_size); in vepu510_h264e_tune_qpmap_init()
/rockchip-linux_mpp/inc/
H A Dmpp_buffer.h222 #define mpp_buffer_get(group, buffer, size) \ macro
/rockchip-linux_mpp/mpp/vproc/iep2/
H A Diep2.c189 ret = mpp_buffer_get(ctx->memGroup, &ctx->mv_buf, in iep2_init()
198 ret = mpp_buffer_get(ctx->memGroup, &ctx->md_buf, 1920 * 1088); in iep2_init()
/rockchip-linux_mpp/mpp/hal/common/
H A Dhal_bufs.c245 mpp_buffer_get(group, &buf, size); in hal_bufs_get_buf()

1234