Home
last modified time | relevance | path

Searched refs:MppCtx (Results 1 – 20 of 20) sorted by relevance

/rockchip-linux_mpp/inc/
H A Drk_mpi.h94 MPP_RET (*decode)(MppCtx ctx, MppPacket packet, MppFrame *frame);
103 MPP_RET (*decode_put_packet)(MppCtx ctx, MppPacket packet);
112 MPP_RET (*decode_get_frame)(MppCtx ctx, MppFrame *frame);
123 MPP_RET (*encode)(MppCtx ctx, MppFrame frame, MppPacket *packet);
132 MPP_RET (*encode_put_frame)(MppCtx ctx, MppFrame frame);
141 MPP_RET (*encode_get_packet)(MppCtx ctx, MppPacket *packet);
146 MPP_RET (*isp)(MppCtx ctx, MppFrame dst, MppFrame src);
150 MPP_RET (*isp_put_frame)(MppCtx ctx, MppFrame frame);
154 MPP_RET (*isp_get_frame)(MppCtx ctx, MppFrame *frame);
166 MPP_RET (*poll)(MppCtx ctx, MppPortType type, MppPollType timeout);
[all …]
H A Drk_vdec_cmd.h67 typedef MPP_RET (*MppExtCbFunc)(MppExtCbCtx cb_ctx, MppCtx mpp, RK_S32 cmd, void *arg);
H A Drk_type.h173 typedef void* MppCtx; typedef
/rockchip-linux_mpp/mpp/
H A Dmpi.c89 static MPP_RET mpi_decode(MppCtx ctx, MppPacket packet, MppFrame *frame) in mpi_decode()
116 static MPP_RET mpi_decode_put_packet(MppCtx ctx, MppPacket packet) in mpi_decode_put_packet()
140 static MPP_RET mpi_decode_get_frame(MppCtx ctx, MppFrame *frame) in mpi_decode_get_frame()
164 static MPP_RET mpi_encode(MppCtx ctx, MppFrame frame, MppPacket *packet) in mpi_encode()
188 static MPP_RET mpi_encode_put_frame(MppCtx ctx, MppFrame frame) in mpi_encode_put_frame()
212 static MPP_RET mpi_encode_get_packet(MppCtx ctx, MppPacket *packet) in mpi_encode_get_packet()
236 static MPP_RET mpi_isp(MppCtx ctx, MppFrame dst, MppFrame src) in mpi_isp()
247 static MPP_RET mpi_isp_put_frame(MppCtx ctx, MppFrame frame) in mpi_isp_put_frame()
258 static MPP_RET mpi_isp_get_frame(MppCtx ctx, MppFrame *frame) in mpi_isp_get_frame()
269 static MPP_RET mpi_poll(MppCtx ctx, MppPortType type, MppPollType timeout) in mpi_poll()
[all …]
H A Dmpp.c79 MPP_RET mpp_ctx_create(Mpp **mpp, MppCtx ctx) in mpp_ctx_create()
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_CN.md256 ## 2.6 实例上下文封装MppCtx
258 MppCtx是提供给用户使用的MPP实例上下文句柄,用于指代解码器或编码器实例。
260 用户可以通过mpp_create接口获取MppCtx实例以及MppApi结构体,再通过mpp_init来初始化MppCtx的编解码类型与格式,之后通过decode_xxx/encode_xxx以及p…
263 <center>图表 10 MppCtx使用过程</center>
273 | decode | 函数指针 | MPP_RET (\*decode)(MppCtx ctx, MppPacket packet, MppFrame \*frame) <br…
274 | decode_put_packet | 函数指针 | MPP_RET (\*decode_put_packet)(MppCtx ctx, MppPacket packet) <br/>视频解码输…
275 | decode_get_frame | 函数指针 | MPP_RET (\*decode_get_frame)(MppCtx ctx, MppFrame \*frame) <br/>视频解码输出…
276 | encode | 函数指针 | MPP_RET (\*encode)(MppCtx ctx, MppFrame frame, MppPacket \*packet) <br…
277 | encode_put_frame | 函数指针 | MPP_RET (\*encode_put_frame)(MppCtx ctx, MppFrame frame) <br/>视频编码输入接口…
278 | encode_get_packet | 函数指针 | MPP_RET (\*encode_get_packet)(MppCtx ctx, MppPacket \*packet) <br/>视频编…
[all …]
H A DRockchip_Developer_Guide_MPP_EN.md245 ## 2.6 Instance context structure(MppCtx
247 MppCtx is the MPP instance context handle provided to user as decoder or encoder. Users can create
250 <center>Figure 10 MppCtx usage process</center>
260 | decode | Function pointer | MPP_RET (\*decode)(MppCtx ctx, MppPacket packet, MppFrame…
261 | decode_put_packet | Function pointer | MPP_RET (\*decode_put_packet)(MppCtx ctx, MppPacket packe…
262 | decode_get_frame | Function pointer | MPP_RET (\*decode_get_frame)(MppCtx ctx, MppFrame \*frame…
263 | encode | Function pointer | MPP_RET (\*encode)(MppCtx ctx, MppFrame frame, MppPacket …
264 | encode_put_frame | Function pointer | MPP_RET (\*encode_put_frame)(MppCtx ctx, MppFrame frame) <…
265 | encode_get_packet | Function pointer | MPP_RET (\*encode_get_packet)(MppCtx ctx, MppPacket \*pac…
266 | poll | Function pointer | MPP_RET (\*poll)(MppCtx ctx, MppPortType type, MppPollTyp…
[all …]
/rockchip-linux_mpp/test/
H A Dmpi_dec_mt_test.c26 MppCtx ctx;
53 MppCtx ctx = data->ctx; in thread_input()
111 MppCtx ctx = data->ctx; in thread_output()
229 MppCtx ctx = NULL; in mt_dec_decode()
H A Dmpi_dec_test.c23 MppCtx ctx;
57 MppCtx ctx = data->ctx; in dec_simple()
271 MppCtx ctx = data->ctx; in dec_advanced()
367 MppCtx ctx = data->ctx; in thread_decode()
412 MppCtx ctx = NULL; in dec_decode()
H A Dmpi_rc2_test.c46 MppCtx enc_ctx;
47 MppCtx dec_ctx_post;
48 MppCtx dec_ctx_pre;
403 MppCtx enc_ctx = NULL; in mpi_rc_enc_init()
585 MppCtx dec_ctx = NULL; in mpi_rc_post_dec_init()
708 MppCtx dec_ctx = NULL; in mpi_rc_pre_dec_init()
797 MppCtx dec_ctx = ctx->dec_ctx_pre; in mpi_rc_enc()
960 MppCtx dec_ctx = ctx->dec_ctx_pre; in rc2_pre_dec_thread()
H A Dmpi_dec_multi_test.c27 MppCtx ctx;
72 MppCtx ctx = data->ctx; in multi_dec_simple()
253 MppCtx ctx = data->ctx; in multi_dec_advanced()
391 MppCtx ctx = NULL; in multi_dec_decode()
H A Dmpi_dec_nt_test.c23 MppCtx ctx;
57 MppCtx ctx = data->ctx; in dec_loop()
307 MppCtx ctx = NULL; in dec_nt_decode()
H A Dmpi_enc_mt_test.c28 MppCtx ctx;
291 MppCtx ctx = p->ctx; in test_mt_cfg_setup()
666 MppCtx ctx = p->ctx; in enc_test_input()
887 MppCtx ctx = p->ctx; in enc_test_output()
H A Dmpi_enc_test.c59 MppCtx ctx;
420 MppCtx ctx = p->ctx; in test_mpp_enc_cfg_setup()
744 MppCtx ctx = p->ctx; in test_mpp_run()
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu_api_mlvec.cpp35 MppCtx mpp;
74 MPP_RET vpu_api_mlvec_setup(VpuApiMlvec ctx, MppCtx mpp, MppApi *mpi, MppEncCfg enc_cfg) in vpu_api_mlvec_setup()
136 MppCtx mpp_ctx = impl->mpp; in vpu_api_mlvec_set_st_cfg()
241 MppCtx mpp_ctx = impl->mpp; in vpu_api_mlvec_set_dy_max_tid()
H A Dvpu_api_mlvec.h78 MPP_RET vpu_api_mlvec_setup(VpuApiMlvec ctx, MppCtx mpp, MppApi *mpi, MppEncCfg enc_cfg);
H A Dvpu_api_legacy.h75 MppCtx mpp_ctx;
H A Dvpu_api_legacy.cpp93 static MPP_RET vpu_api_set_enc_cfg(MppCtx mpp_ctx, MppApi *mpi, MppEncCfg enc_cfg, in vpu_api_set_enc_cfg()
360 static RK_S32 init_frame_info(VpuCodecContext *ctx, MppCtx mpp_ctx, MppApi *mpi, in init_frame_info()
/rockchip-linux_mpp/mpp/inc/
H A Dmpp.h153 MppCtx mCtx;
186 MPP_RET mpp_ctx_create(Mpp **mpp, MppCtx ctx);
/rockchip-linux_mpp/kmpp/inc/
H A Dkmpp.h54 MppCtx mCtx;