| /rockchip-linux_mpp/mpp/inc/ |
| H A D | mpp_cfg.h | 36 #define MPP_CFG_SET_s32(info, cfg, val) (mpp_cfg_set_s32)(info, cfg, val) argument 37 #define MPP_CFG_GET_s32(info, cfg, val) (mpp_cfg_get_s32)(info, cfg, (RK_S32 *)(val)) argument 38 #define MPP_CFG_SET_u32(info, cfg, val) (mpp_cfg_set_u32)(info, cfg, val) argument 39 #define MPP_CFG_GET_u32(info, cfg, val) (mpp_cfg_get_u32)(info, cfg, (RK_U32 *)(val)) argument 40 #define MPP_CFG_SET_s64(info, cfg, val) (mpp_cfg_set_s64)(info, cfg, val) argument 41 #define MPP_CFG_GET_s64(info, cfg, val) (mpp_cfg_get_s64)(info, cfg, (RK_S64 *)(val)) argument 42 #define MPP_CFG_SET_u64(info, cfg, val) (mpp_cfg_set_u64)(info, cfg, val) argument 43 #define MPP_CFG_GET_u64(info, cfg, val) (mpp_cfg_get_u64)(info, cfg, (RK_U64 *)(val)) argument 44 #define MPP_CFG_SET_st(info, cfg, val) (mpp_cfg_set_st )(info, cfg, val) argument 45 #define MPP_CFG_GET_st(info, cfg, val) (mpp_cfg_get_st )(info, cfg, (void *)(val)) argument [all …]
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_cfg.c | 22 #define CFG_TO_PTR(info, cfg) ((char *)cfg + info->data_offset) argument 23 #define CFG_TO_s32_PTR(info, cfg) ((RK_S32 *)CFG_TO_PTR(info, cfg)) argument 24 #define CFG_TO_u32_PTR(info, cfg) ((RK_U32 *)CFG_TO_PTR(info, cfg)) argument 25 #define CFG_TO_s64_PTR(info, cfg) ((RK_S64 *)CFG_TO_PTR(info, cfg)) argument 26 #define CFG_TO_u64_PTR(info, cfg) ((RK_U64 *)CFG_TO_PTR(info, cfg)) argument 27 #define CFG_TO_ptr_PTR(info, cfg) ((void **)CFG_TO_PTR(info, cfg)) argument 32 #define CFG_TO_FLAG_PTR(info, cfg) ((rk_ul *)((rk_u8 *)cfg + ELEM_FLAG_U32_POS(info->flag_offs… argument 34 #define CFG_SET_FLAG(info, cfg) \ argument 63 static MPP_RET mpp_cfg_set(MppCfgInfo *info, void *cfg, void *val) in mpp_cfg_set() 72 static MPP_RET mpp_cfg_get(MppCfgInfo *info, void *cfg, void *val) in mpp_cfg_get() [all …]
|
| H A D | mpp_trie.c | 286 MppTrieInfo *info; in mpp_trie_init_by_root() local 484 MppTrieInfo *info = (MppTrieInfo *)(base + pos); in mpp_trie_check() local 685 MppTrieInfo *info = mpp_trie_get_info_from_root(p->nodes, "__node__"); in mpp_trie_last_info() local 742 MppTrieInfo *info = (MppTrieInfo *)(p->info_buf + p->info_buf_pos); in mpp_trie_add_info() local 828 MppTrieInfo *mpp_trie_get_info_next(MppTrie trie, MppTrieInfo *info) in mpp_trie_get_info_next() 880 MppTrieInfo *info = (MppTrieInfo *)((char *)base + node->id); in mpp_trie_dump() local 921 MppTrieInfo *info = root; in mpp_trie_timing_test() local
|
| H A D | mpp_enc_refs.c | 52 MppEncCpbInfo info; member 134 MppEncCpbInfo *info = &cpb->info; in _dump_cpb() local 251 MppEncCpbInfo *info = &cpb->info; in mpp_enc_refs_set_cfg() local 444 MppEncCpbInfo *info = &cpb->info; in save_cpb_status() local 580 MppEncCpbInfo *info = &cpb->info; in mpp_enc_refs_dryrun() local 748 MPP_RET mpp_enc_refs_get_cpb_info(MppEncRefs refs, MppEncCpbInfo *info) in mpp_enc_refs_get_cpb_info()
|
| /rockchip-linux_mpp/osal/allocator/ |
| H A D | allocator_std.c | 42 static MPP_RET allocator_std_alloc(void *ctx, MppBufferInfo *info) in allocator_std_alloc() 55 static MPP_RET allocator_std_free(void *ctx, MppBufferInfo *info) in allocator_std_free() 63 static MPP_RET allocator_std_import(void *ctx, MppBufferInfo *info) in allocator_std_import() 74 static MPP_RET allocator_std_release(void *ctx, MppBufferInfo *info) in allocator_std_release() 86 static MPP_RET allocator_std_mmap(void *ctx, MppBufferInfo *info) in allocator_std_mmap()
|
| H A D | allocator_ext_dma.c | 43 static MPP_RET allocator_ext_dma_alloc(void *ctx, MppBufferInfo *info) in allocator_ext_dma_alloc() 53 static MPP_RET allocator_ext_dma_free(void *ctx, MppBufferInfo *info) in allocator_ext_dma_free() 63 static MPP_RET allocator_ext_dma_import(void *ctx, MppBufferInfo *info) in allocator_ext_dma_import() 77 static MPP_RET allocator_ext_dma_mmap(void *ctx, MppBufferInfo *info) in allocator_ext_dma_mmap() 106 static MPP_RET allocator_ext_dma_release(void *ctx, MppBufferInfo *info) in allocator_ext_dma_release()
|
| H A D | allocator_dma_heap.c | 117 DmaHeapInfo *info = NULL; in dma_heap_init() local 166 DmaHeapInfo *info = &heap_infos[i]; in dma_heap_deinit() local 202 DmaHeapInfo *info = NULL; in os_allocator_dma_heap_open() local 236 static MPP_RET os_allocator_dma_heap_alloc(void *ctx, MppBufferInfo *info) in os_allocator_dma_heap_alloc()
|
| /rockchip-linux_mpp/osal/ |
| H A D | mpp_allocator.c | 45 MppBufferInfo *info, in mpp_allocator_api_wrapper() 88 static MPP_RET mpp_allocator_alloc(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_alloc() 93 static MPP_RET mpp_allocator_free(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_free() 98 static MPP_RET mpp_allocator_import(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_import() 104 MppBufferInfo *info) in mpp_allocator_release() 109 static MPP_RET mpp_allocator_mmap(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_mmap()
|
| H A D | mpp_singleton.c | 27 rk_s32 mpp_singleton_add(MppSingletonInfo *info, const char *caller) in mpp_singleton_add() 71 MppSingletonInfo *info = &sgln_info[i]; in mpp_singleton_deinit() local 100 MppSingletonInfo *info = &sgln_info[i]; in mpp_singleton_init() local
|
| /rockchip-linux_mpp/mpp/hal/rkdec/ |
| H A D | vdpu34x_com.c | 43 static RK_S32 update_size_offset(Vdpu34xRcbInfo *info, RK_U32 reg, in update_size_offset() 56 RK_S32 vdpu34x_get_rcb_buf_size(Vdpu34xRcbInfo *info, RK_S32 width, RK_S32 height) in vdpu34x_get_rcb_buf_size() 75 void vdpu34x_setup_rcb(Vdpu34xRegCommonAddr *reg, MppDev dev, MppBuffer buf, Vdpu34xRcbInfo *info) in vdpu34x_setup_rcb() 144 Vdpu34xRcbInfo info[RCB_BUF_COUNT]; in vdpu34x_set_rcbinfo() local 160 Vdpu34xRcbInfo *info = rcb_info; in vdpu34x_set_rcbinfo() local
|
| H A D | vdpu384a_com.c | 33 static RK_S32 update_size_offset(Vdpu384aRcbInfo *info, RK_U32 reg_idx, in update_size_offset() 46 RK_S32 vdpu384a_get_rcb_buf_size(Vdpu384aRcbInfo *info, RK_S32 width, RK_S32 height) in vdpu384a_get_rcb_buf_size() 65 RK_RET vdpu384a_check_rcb_buf_size(Vdpu384aRcbInfo *info, RK_S32 width, RK_S32 height) in vdpu384a_check_rcb_buf_size() 79 MppBuffer buf, Vdpu384aRcbInfo *info) in vdpu384a_setup_rcb() 188 Vdpu384aRcbInfo info[RCB_BUF_COUNT]; in vdpu384a_set_rcbinfo() local 204 Vdpu384aRcbInfo *info = rcb_info; in vdpu384a_set_rcbinfo() local
|
| H A D | vdpu382_com.c | 43 static RK_S32 update_size_offset(Vdpu382RcbInfo *info, RK_U32 reg, in update_size_offset() 56 RK_S32 vdpu382_get_rcb_buf_size(Vdpu382RcbInfo *info, RK_S32 width, RK_S32 height) in vdpu382_get_rcb_buf_size() 75 void vdpu382_setup_rcb(Vdpu382RegCommonAddr *reg, MppDev dev, MppBuffer buf, Vdpu382RcbInfo *info) in vdpu382_setup_rcb() 147 Vdpu382RcbInfo info[RCB_BUF_COUNT]; in vdpu382_set_rcbinfo() local 163 Vdpu382RcbInfo *info = rcb_info; in vdpu382_set_rcbinfo() local
|
| H A D | vdpu383_com.c | 32 static RK_S32 update_size_offset(Vdpu383RcbInfo *info, RK_U32 reg_idx, in update_size_offset() 45 RK_S32 vdpu383_get_rcb_buf_size(Vdpu383RcbInfo *info, RK_S32 width, RK_S32 height) in vdpu383_get_rcb_buf_size() 65 MppBuffer buf, Vdpu383RcbInfo *info) in vdpu383_setup_rcb() 176 Vdpu383RcbInfo info[RCB_BUF_COUNT]; in vdpu383_set_rcbinfo() local 192 Vdpu383RcbInfo *info = rcb_info; in vdpu383_set_rcbinfo() local
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_trie.h | 58 static inline const char *mpp_trie_info_name(MppTrieInfo *info) in mpp_trie_info_name() 63 static inline void *mpp_trie_info_ctx(MppTrieInfo *info) in mpp_trie_info_ctx() 68 static inline rk_s32 mpp_trie_info_is_self(MppTrieInfo *info) in mpp_trie_info_is_self()
|
| /rockchip-linux_mpp/mpp/ |
| H A D | mpp_impl.c | 282 MPP_RET mpp_dump_init(MppDump *info) in mpp_dump_init() 306 MPP_RET mpp_dump_deinit(MppDump *info) in mpp_dump_deinit() 322 MPP_RET mpp_ops_init(MppDump info, MppCtxType type, MppCodingType coding) in mpp_ops_init() 368 MPP_RET mpp_ops_dec_put_pkt(MppDump info, MppPacket pkt) in mpp_ops_dec_put_pkt() 394 MPP_RET mpp_ops_dec_get_frm(MppDump info, MppFrame frame) in mpp_ops_dec_get_frm() 434 MPP_RET mpp_ops_enc_put_frm(MppDump info, MppFrame frame) in mpp_ops_enc_put_frm() 458 MPP_RET mpp_ops_enc_get_pkt(MppDump info, MppPacket pkt) in mpp_ops_enc_get_pkt() 478 MPP_RET mpp_ops_ctrl(MppDump info, MpiCmd cmd) in mpp_ops_ctrl() 494 MPP_RET mpp_ops_reset(MppDump info) in mpp_ops_reset()
|
| /rockchip-linux_mpp/mpp/hal/common/ |
| H A D | hal_info.c | 78 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_set() local 133 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_get() local 187 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_to_string() local 253 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_from_enc_cfg() local
|
| /rockchip-linux_mpp/mpp/hal/vpu/jpegd/ |
| H A D | hal_jpegd_vdpu2.c | 73 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_write_code_word_number() local 191 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_set_chroma_table_id() local 240 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_set_stream_offset() local 276 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_setup_pp() local 635 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_gen_regs() local 735 JpegdIocRegInfo *info = NULL; in hal_jpegd_vdpu2_init() local
|
| H A D | hal_jpegd_vdpu1.c | 43 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_write_code_word_number() local 161 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_set_stream_offset() local 201 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_set_chroma_table_id() local 248 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_setup_pp() local 642 JpegdIocRegInfo *info = (JpegdIocRegInfo *)ctx->regs; in jpegd_gen_regs() local 755 JpegdIocRegInfo *info = (JpegdIocRegInfo *)JpegHalCtx->regs; in hal_jpegd_vdpu1_init() local
|
| /rockchip-linux_mpp/mpp/codec/enc/h264/ |
| H A D | h264e_slice.c | 102 MPP_RET h264e_reorder_wr_rewind(H264eReorderInfo *info) in h264e_reorder_wr_rewind() 108 MPP_RET h264e_reorder_rd_rewind(H264eReorderInfo *info) in h264e_reorder_rd_rewind() 114 MPP_RET h264e_reorder_wr_op(H264eReorderInfo *info, H264eRplmo *op) in h264e_reorder_wr_op() 126 MPP_RET h264e_reorder_rd_op(H264eReorderInfo *info, H264eRplmo *op) in h264e_reorder_rd_op() 148 RK_S32 h264e_marking_is_empty(H264eMarkingInfo *info) in h264e_marking_is_empty() 165 MPP_RET h264e_marking_wr_op(H264eMarkingInfo *info, H264eMmco *op) in h264e_marking_wr_op() 177 MPP_RET h264e_marking_rd_op(H264eMarkingInfo *info, H264eMmco *op) in h264e_marking_rd_op()
|
| /rockchip-linux_mpp/osal/driver/ |
| H A D | mpp_service.c | 204 RegOffsetInfo *info = NULL; in mpp_service_next_reg_offset() local 232 RcbInfo *info = NULL; in mpp_service_next_rcb_info() local 522 RegOffsetInfo *info; in mpp_service_reg_offset() local 554 RegOffsetInfo *info; in mpp_service_reg_offsets() local 601 RcbInfo *info = mpp_service_next_rcb_info(p); in mpp_service_rcb_info() local
|
| /rockchip-linux_mpp/kmpp/base/ |
| H A D | kmpp_obj.c | 295 static rk_s32 kmpp_ktrie_get(KmppKtrieInfo *info, const char *path, rk_ul cmd) in kmpp_ktrie_get() 337 rk_s32 kmpp_ktrie_put(KmppKtrieInfo *info) in kmpp_ktrie_put() 398 MppTrieInfo *info; in kmpp_objs_init() local 589 MppTrieInfo *info = NULL; in kmpp_objdef_find() local 807 MppTrieInfo *info = mpp_trie_get_info(impl->trie, name); in kmpp_objdef_get_entry() local 828 MppTrieInfo *info = mpp_trie_get_info(impl->trie, name); in kmpp_objdef_get_offset() local 846 MppTrieInfo *info = mpp_trie_get_info(impl->ioctl, name); in kmpp_objdef_get_cmd() local 860 MppTrieInfo *info = NULL; in kmpp_objdef_dump() local 1398 MppTrieInfo *info = mpp_trie_get_info(impl->trie, name); in kmpp_obj_to_offset() local 1461 MppTrieInfo *info = mpp_trie_get_info(impl->trie, name); in MPP_OBJ_ACCESS() local [all …]
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpp_opt.c | 74 MPP_RET mpp_opt_add(MppOpt opt, MppOptInfo *info) in mpp_opt_add() 107 MppOptInfo *info = NULL; in mpp_opt_parse() local
|
| /rockchip-linux_mpp/test/ |
| H A D | mpi_enc_mt_test.c | 144 MPP_RET mt_test_ctx_init(MpiEncMtCtxInfo *info) in mt_test_ctx_init() 257 MPP_RET mt_test_ctx_deinit(MpiEncMtCtxInfo *info) in mt_test_ctx_deinit() 286 MPP_RET test_mt_cfg_setup(MpiEncMtCtxInfo *info) in test_mt_cfg_setup() 513 MPP_RET mt_test_res_init(MpiEncMtCtxInfo *info) in mt_test_res_init() 602 MPP_RET mt_test_res_deinit(MpiEncMtCtxInfo *info) in mt_test_res_deinit() 661 MpiEncMtCtxInfo *info = (MpiEncMtCtxInfo *)arg; in enc_test_input() local 880 MpiEncMtCtxInfo *info = (MpiEncMtCtxInfo *)arg; in enc_test_output() local
|
| /rockchip-linux_mpp/inc/ |
| H A D | mpp_buffer.h | 216 #define mpp_buffer_commit(group, info) \ argument 219 #define mpp_buffer_import(buffer, info) \ argument 231 #define mpp_buffer_info_get(buffer, info) \ argument
|
| /rockchip-linux_mpp/mpp/codec/enc/h265/ |
| H A D | h265e_header_gen.c | 676 H265eExtraInfo *info = (H265eExtraInfo *)extra_info; in h265e_init_extra_info() local 697 H265eExtraInfo *info = (H265eExtraInfo *)extra_info; in h265e_deinit_extra_info() local 708 H265eExtraInfo *info = (H265eExtraInfo *)ctx->extra_info; in h265e_set_extra_info() local
|