| /rockchip-linux_mpp/inc/ |
| H A D | mpp_buffer.h | 301 MPP_RET mpp_buffer_import_with_tag(MppBufferGroup group, MppBufferInfo *info, MppBuffer *buffer, 303 MPP_RET mpp_buffer_get_with_tag(MppBufferGroup group, MppBuffer *buffer, size_t size, 305 MPP_RET mpp_buffer_put_with_caller(MppBuffer buffer, const char *caller); 306 MPP_RET mpp_buffer_inc_ref_with_caller(MppBuffer buffer, const char *caller); 307 MPP_RET mpp_buffer_discard_with_caller(MppBuffer buffer, const char *caller); 309 MPP_RET mpp_buffer_info_get_with_caller(MppBuffer buffer, MppBufferInfo *info, const char *caller); 310 MPP_RET mpp_buffer_read_with_caller(MppBuffer buffer, size_t offset, void *data, size_t size, const… 311 MPP_RET mpp_buffer_write_with_caller(MppBuffer buffer, size_t offset, void *data, size_t size, cons… 312 void *mpp_buffer_get_ptr_with_caller(MppBuffer buffer, const char *caller); 313 int mpp_buffer_get_fd_with_caller(MppBuffer buffer, const char *caller); [all …]
|
| H A D | mpp_meta.h | 188 MPP_RET mpp_meta_set_buffer(MppMeta meta, MppMetaKey key, MppBuffer buffer); 191 MPP_RET mpp_meta_get_buffer(MppMeta meta, MppMetaKey key, MppBuffer *buffer); 198 MPP_RET mpp_meta_get_buffer_d(MppMeta meta, MppMetaKey key, MppBuffer *buffer, MppBuffer def);
|
| H A D | mpp_packet.h | 23 MPP_RET mpp_packet_init_with_buffer(MppPacket *packet, MppBuffer buffer); 59 void mpp_packet_set_buffer(MppPacket packet, MppBuffer buffer); 60 MppBuffer mpp_packet_get_buffer(const MppPacket packet);
|
| H A D | mpp_task.h | 224 MPP_RET mpp_task_meta_set_buffer(MppTask task, MppMetaKey key, MppBuffer buffer); 231 MPP_RET mpp_task_meta_get_buffer(MppTask task, MppMetaKey key, MppBuffer *buffer);
|
| H A D | rk_venc_cmd.h | 1062 MppBuffer base_cfg_buf; 1063 MppBuffer qp_cfg_buf; 1064 MppBuffer amv_cfg_buf; 1065 MppBuffer mv_cfg_buf; 1167 MppBuffer buf; 1180 MppBuffer buf;
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_ctx.h | 19 MppBuffer scaling_list_data; 20 MppBuffer pps_data; 21 MppBuffer rps_data; 45 MppBuffer cabac_table_data; 46 MppBuffer scaling_list_data; 47 MppBuffer pps_data; 48 MppBuffer rps_data; 54 MppBuffer rcb_buf[MAX_GEN_REG]; 81 MppBuffer bufs; 93 MppBuffer missing_ref_buf;
|
| /rockchip-linux_mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_ctx.h | 43 MppBuffer global_base; 44 MppBuffer probe_base; 45 MppBuffer count_base; 46 MppBuffer segid_cur_base; 47 MppBuffer segid_last_base; 49 MppBuffer rcb_buf;
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_buffer.c | 15 MPP_RET mpp_buffer_import_with_tag(MppBufferGroup group, MppBufferInfo *info, MppBuffer *buffer, in mpp_buffer_import_with_tag() 52 MPP_RET mpp_buffer_get_with_tag(MppBufferGroup group, MppBuffer *buffer, size_t size, in mpp_buffer_get_with_tag() 88 MPP_RET mpp_buffer_put_with_caller(MppBuffer buffer, const char *caller) in mpp_buffer_put_with_caller() 98 MPP_RET mpp_buffer_inc_ref_with_caller(MppBuffer buffer, const char *caller) in mpp_buffer_inc_ref_with_caller() 108 MPP_RET mpp_buffer_discard_with_caller(MppBuffer buffer, const char *caller) in mpp_buffer_discard_with_caller() 118 MPP_RET mpp_buffer_read_with_caller(MppBuffer buffer, size_t offset, void *data, size_t size, const… in mpp_buffer_read_with_caller() 141 MPP_RET mpp_buffer_write_with_caller(MppBuffer buffer, size_t offset, void *data, size_t size, cons… in mpp_buffer_write_with_caller() 166 void *mpp_buffer_get_ptr_with_caller(MppBuffer buffer, const char *caller) in mpp_buffer_get_ptr_with_caller() 184 int mpp_buffer_get_fd_with_caller(MppBuffer buffer, const char *caller) in mpp_buffer_get_fd_with_caller() 200 size_t mpp_buffer_get_size_with_caller(MppBuffer buffer, const char *caller) in mpp_buffer_get_size_with_caller() [all …]
|
| /rockchip-linux_mpp/mpp/legacy/ |
| H A D | vpu_mem_legacy.c | 60 MppBuffer buffer = NULL; in get_free_memory_vpumem() 85 MppBuffer buffer = (MppBuffer)dmabuf->offset; in inc_used_memory_handle_ref() 98 MppBuffer buf = (MppBuffer)dmabuf->offset; in put_used_memory_handle() 227 MppBuffer buffer = NULL; in VPUMallocLinear() 271 MppBuffer buffer = (MppBuffer)src->offset; in VPUMemDuplicate() 307 MppBuffer buffer = (MppBuffer)p->offset; in VPUMemGetFD()
|
| /rockchip-linux_mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu_v2.h | 90 MppBuffer cabac_table; 99 MppBuffer nal_size_table; 108 MppBuffer frm_buf[H264E_MAX_REFS_CNT + 1]; 185 MppBuffer h264e_vepu_buf_get_nal_size_table(HalH264eVepuBufs *bufs); 186 MppBuffer h264e_vepu_buf_get_frame_buffer(HalH264eVepuBufs *bufs, RK_S32 index); 190 MPP_RET h264e_vepu_prep_get_addr(HalH264eVepuPrep *prep, MppBuffer buffer,
|
| /rockchip-linux_mpp/mpp/hal/vpu/mpg4d/ |
| H A D | hal_m4vd_com.h | 45 MppBuffer mv_buf; 46 MppBuffer qp_table; 55 extern void vpu_mpg4d_get_buffer_by_index(hal_mpg4_ctx *ctx, RK_S32 index, MppBuffer *buffer);
|
| H A D | hal_m4vd_vdpu2.c | 228 MppBuffer mv_buf = NULL; in vdpu2_mpg4d_init() 229 MppBuffer qp_table = NULL; in vdpu2_mpg4d_init() 341 MppBuffer buf_frm_curr = NULL; in vdpu2_mpg4d_gen_regs() 342 MppBuffer buf_frm_ref0 = NULL; in vdpu2_mpg4d_gen_regs() 343 MppBuffer buf_frm_ref1 = NULL; in vdpu2_mpg4d_gen_regs() 344 MppBuffer buf_pkt = NULL; in vdpu2_mpg4d_gen_regs()
|
| H A D | hal_m4vd_vdpu1.c | 230 MppBuffer mv_buf = NULL; in vdpu1_mpg4d_init() 231 MppBuffer qp_table = NULL; in vdpu1_mpg4d_init() 343 MppBuffer buf_frm_curr = NULL; in vdpu1_mpg4d_gen_regs() 344 MppBuffer buf_frm_ref0 = NULL; in vdpu1_mpg4d_gen_regs() 345 MppBuffer buf_frm_ref1 = NULL; in vdpu1_mpg4d_gen_regs() 346 MppBuffer buf_pkt = NULL; in vdpu1_mpg4d_gen_regs()
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_base.h | 54 MppBuffer hw_rec_buf[2]; 55 MppBuffer hw_luma_buf; 56 MppBuffer hw_cbcr_buf[2]; 57 MppBuffer hw_cabac_table_buf; 58 MppBuffer hw_size_table_buf; 59 MppBuffer hw_segment_map_buf; 60 MppBuffer hw_prob_count_buf; 61 MppBuffer hw_mv_output_buf; 62 MppBuffer hw_out_buf;
|
| /rockchip-linux_mpp/mpp/hal/inc/ |
| H A D | hal_enc_task.h | 78 MppBuffer output; 88 MppBuffer input; 94 MppBuffer md_info;
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_buffer_impl.h | 199 RK_U32 mpp_buffer_to_addr(MppBuffer buffer, size_t offset); 200 MPP_RET mpp_buffer_attach_dev_f(const char *caller, MppBuffer buffer, MppDev dev); 201 MPP_RET mpp_buffer_detach_dev_f(const char *caller, MppBuffer buffer, MppDev dev); 202 RK_U32 mpp_buffer_get_iova_f(const char *caller, MppBuffer buffer, MppDev dev);
|
| /rockchip-linux_mpp/mpp/codec/inc/ |
| H A D | mpp_enc_impl.h | 99 MppBuffer frm_buf; 100 MppBuffer pkt_buf; 101 MppBuffer md_info;
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8d/ |
| H A D | hal_vp8d_base.h | 53 MppBuffer probe_table; 54 MppBuffer seg_map;
|
| /rockchip-linux_mpp/kmpp/base/inc/ |
| H A D | kmpp_packet_impl.h | 25 MppBuffer buf; 34 MppBuffer buf;
|
| /rockchip-linux_mpp/doc/ |
| H A D | Rockchip_Developer_Guide_MPP_CN.md | 112 MppBuffer为硬件用的dmabuf内存的封装。 114 MppPacket为一维缓存封装,可以从MppMem和MppBuffer生成,主要用于表示码流数据。 116 MppFrame为二维帧数据封装,可以从MppMem和MppBuffer生成,主要用于表示图像数据。 131 ## 2.2 内存封装MppBuffer 133 MppBuffer主要用于描述供硬件使用的内存块(即缓存),提供了内存块的分配、释放和加减引用等功能,目前支持的分配器有:ion、drm和dma_heap。MppBuffer几个重要的参数成员如下: 141 在解码过程中,解码图像的缓存通常需要在固定的缓存池里进行轮转,为了实现这一点,MPP在MppBuffer基础之上又定义了MppBufferGroup。MppBuffer的使用方式有两种:常规使用方式… 143 在MppBuffer常规使用方式下,MppBufferGroup由MPP内部生成和维护。通过mpp_buffer_get和mpp_buffer_put对内存块进行申请和释放,如下图所示: 146 <center>图表 4 MppBuffer的常规使用方式</center> 157 <center>图表 5 MppBuffer外部导入使用方式</center> 189 | buffer | MppBuffer | 表示MppPacket对应的MppBuffer。 | [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avsd/ |
| H A D | hal_avsd_base.c | 61 MppBuffer mbuffer = NULL; in get_packet_fd() 73 MppBuffer mbuffer = NULL; in get_frame_fd()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_global.h | 95 MppBuffer shph_buf; 96 MppBuffer scalist_buf;
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_rkv_reg.c | 45 MppBuffer spspps; 46 MppBuffer rps; 47 MppBuffer sclst; 56 MppBuffer cabac_buf; 57 MppBuffer errinfo_buf; 60 MppBuffer spspps_buf; 61 MppBuffer rps_buf; 62 MppBuffer sclst_buf; 475 MppBuffer mbuffer = NULL; in set_registers() 488 MppBuffer mbuffer = NULL; in set_registers() [all …]
|
| H A D | hal_h264d_vdpu_com.h | 74 MppBuffer buf; 94 MppBuffer buf;
|
| /rockchip-linux_mpp/mpp/vproc/ |
| H A D | mpp_dec_vproc.c | 95 MppBuffer out_buf0; 96 MppBuffer out_buf1; 104 static void dec_vproc_put_frame(Mpp *mpp, MppFrame frame, MppBuffer buf, RK_S64 pts, RK_U32 err) in dec_vproc_put_frame() 109 MppBuffer src_buf = mpp_frame_get_buffer(frame); in dec_vproc_put_frame() 156 MppBuffer buf = mpp_frame_get_buffer(ctx->prev_frm0); in dec_vproc_clr_prev0() 165 MppBuffer buf = mpp_frame_get_buffer(ctx->prev_frm0); in dec_vproc_clr_prev0() 180 MppBuffer buf = mpp_frame_get_buffer(ctx->prev_frm1); in dec_vproc_clr_prev1() 188 MppBuffer buf = mpp_frame_get_buffer(ctx->prev_frm1); in dec_vproc_clr_prev1() 275 MppBuffer buf = mpp_frame_get_buffer(frm); in dec_vproc_set_dei_v1() 276 MppBuffer dst0 = ctx->out_buf0; in dec_vproc_set_dei_v1() [all …]
|