| /rockchip-linux_mpp/inc/ |
| H A D | rk_mpi.h | 94 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 D | rk_vdec_cmd.h | 67 typedef MPP_RET (*MppExtCbFunc)(MppExtCbCtx cb_ctx, MppCtx mpp, RK_S32 cmd, void *arg);
|
| H A D | rk_type.h | 173 typedef void* MppCtx; typedef
|
| /rockchip-linux_mpp/mpp/ |
| H A D | mpi.c | 89 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 D | mpp.c | 79 MPP_RET mpp_ctx_create(Mpp **mpp, MppCtx ctx) in mpp_ctx_create()
|
| /rockchip-linux_mpp/doc/ |
| H A D | Rockchip_Developer_Guide_MPP_CN.md | 256 ## 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 D | Rockchip_Developer_Guide_MPP_EN.md | 245 ## 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 D | mpi_dec_mt_test.c | 26 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 D | mpi_dec_test.c | 23 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 D | mpi_rc2_test.c | 46 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 D | mpi_dec_multi_test.c | 27 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 D | mpi_dec_nt_test.c | 23 MppCtx ctx; 57 MppCtx ctx = data->ctx; in dec_loop() 307 MppCtx ctx = NULL; in dec_nt_decode()
|
| H A D | mpi_enc_mt_test.c | 28 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 D | mpi_enc_test.c | 59 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 D | vpu_api_mlvec.cpp | 35 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 D | vpu_api_mlvec.h | 78 MPP_RET vpu_api_mlvec_setup(VpuApiMlvec ctx, MppCtx mpp, MppApi *mpi, MppEncCfg enc_cfg);
|
| H A D | vpu_api_legacy.h | 75 MppCtx mpp_ctx;
|
| H A D | vpu_api_legacy.cpp | 93 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 D | mpp.h | 153 MppCtx mCtx; 186 MPP_RET mpp_ctx_create(Mpp **mpp, MppCtx ctx);
|
| /rockchip-linux_mpp/kmpp/inc/ |
| H A D | kmpp.h | 54 MppCtx mCtx;
|