| /rockchip-linux_mpp/mpp/ |
| H A D | codecs.cmake | 3 # AVS decoder 4 option(ENABLE_AVSD "Enable avs decoder" ON) 13 # AVS2 decoder 14 option(ENABLE_AVS2D "Enable avs2 decoder" ON) 23 # H.263 decoder 24 option(ENABLE_H263D "Enable h.263 decoder" ON) 32 # H.264 decoder 33 option(ENABLE_H264D "Enable h.264 decoder" ON) 40 option(ENABLE_FASTPLAY_ONCE "Enable h.264 decoder fast play once" OFF) 45 # H.265 decoder [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avsd/ |
| H A D | hal_avsd_api.c | 115 MPP_RET hal_avsd_deinit(void *decoder) in hal_avsd_deinit() argument 118 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_deinit() 121 INP_CHECK(ret, NULL == decoder); in hal_avsd_deinit() 123 FUN_CHECK(ret = p_hal->hal_api.deinit(decoder)); in hal_avsd_deinit() 149 MPP_RET hal_avsd_init(void *decoder, MppHalCfg *cfg) in hal_avsd_init() argument 152 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_init() 155 INP_CHECK(ret, NULL == decoder); in hal_avsd_init() 172 FUN_CHECK(ret = p_hal->hal_api.init(decoder, cfg)); in hal_avsd_init() 179 hal_avsd_deinit(decoder); in hal_avsd_init() 190 MPP_RET hal_avsd_gen_regs(void *decoder, HalTaskInfo *task) in hal_avsd_gen_regs() argument [all …]
|
| H A D | hal_avsd_vdpu2.h | 26 MPP_RET hal_avsd_vdpu2_init (void *decoder, MppHalCfg *cfg); 27 MPP_RET hal_avsd_vdpu2_deinit (void *decoder); 28 MPP_RET hal_avsd_vdpu2_gen_regs(void *decoder, HalTaskInfo *task); 29 MPP_RET hal_avsd_vdpu2_start (void *decoder, HalTaskInfo *task); 30 MPP_RET hal_avsd_vdpu2_wait (void *decoder, HalTaskInfo *task); 31 MPP_RET hal_avsd_vdpu2_reset (void *decoder); 32 MPP_RET hal_avsd_vdpu2_flush (void *decoder); 33 MPP_RET hal_avsd_vdpu2_control (void *decoder, MpiCmd cmd_type, void *param);
|
| H A D | hal_avsd_vdpu1.h | 26 MPP_RET hal_avsd_vdpu1_init(void *decoder, MppHalCfg *cfg); 27 MPP_RET hal_avsd_vdpu1_deinit(void *decoder); 28 MPP_RET hal_avsd_vdpu1_gen_regs(void *decoder, HalTaskInfo *task); 29 MPP_RET hal_avsd_vdpu1_start(void *decoder, HalTaskInfo *task); 30 MPP_RET hal_avsd_vdpu1_wait(void *decoder, HalTaskInfo *task); 31 MPP_RET hal_avsd_vdpu1_reset(void *decoder); 32 MPP_RET hal_avsd_vdpu1_flush(void *decoder); 33 MPP_RET hal_avsd_vdpu1_control(void *decoder, MpiCmd cmd_type, void *param);
|
| H A D | hal_avsd_plus.h | 24 MPP_RET hal_avsd_plus_init (void *decoder, MppHalCfg *cfg); 25 MPP_RET hal_avsd_plus_deinit (void *decoder); 26 MPP_RET hal_avsd_plus_gen_regs(void *decoder, HalTaskInfo *task); 27 MPP_RET hal_avsd_plus_start (void *decoder, HalTaskInfo *task); 28 MPP_RET hal_avsd_plus_wait (void *decoder, HalTaskInfo *task); 29 MPP_RET hal_avsd_plus_reset (void *decoder); 30 MPP_RET hal_avsd_plus_flush (void *decoder); 31 MPP_RET hal_avsd_plus_control (void *decoder, MpiCmd cmd_type, void *param);
|
| H A D | hal_avsd_vdpu1.c | 478 MPP_RET hal_avsd_vdpu1_init(void *decoder, MppHalCfg *cfg) in hal_avsd_vdpu1_init() argument 482 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu1_init() 519 MPP_RET hal_avsd_vdpu1_deinit(void *decoder) in hal_avsd_vdpu1_deinit() argument 521 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu1_deinit() 542 MPP_RET hal_avsd_vdpu1_gen_regs(void *decoder, HalTaskInfo *task) in hal_avsd_vdpu1_gen_regs() argument 545 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu1_gen_regs() 569 MPP_RET hal_avsd_vdpu1_start(void *decoder, HalTaskInfo *task) in hal_avsd_vdpu1_start() argument 572 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu1_start() 624 MPP_RET hal_avsd_vdpu1_wait(void *decoder, HalTaskInfo *task) in hal_avsd_vdpu1_wait() argument 627 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu1_wait() [all …]
|
| H A D | hal_avsd_vdpu2.c | 474 MPP_RET hal_avsd_vdpu2_init(void *decoder, MppHalCfg *cfg) in hal_avsd_vdpu2_init() argument 478 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu2_init() 516 MPP_RET hal_avsd_vdpu2_deinit(void *decoder) in hal_avsd_vdpu2_deinit() argument 518 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu2_deinit() 539 MPP_RET hal_avsd_vdpu2_gen_regs(void *decoder, HalTaskInfo *task) in hal_avsd_vdpu2_gen_regs() argument 542 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu2_gen_regs() 567 MPP_RET hal_avsd_vdpu2_start(void *decoder, HalTaskInfo *task) in hal_avsd_vdpu2_start() argument 570 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu2_start() 622 MPP_RET hal_avsd_vdpu2_wait(void *decoder, HalTaskInfo *task) in hal_avsd_vdpu2_wait() argument 625 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_vdpu2_wait() [all …]
|
| H A D | hal_avsd_plus.c | 588 MPP_RET hal_avsd_plus_init(void *decoder, MppHalCfg *cfg) in hal_avsd_plus_init() argument 592 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_plus_init() 629 MPP_RET hal_avsd_plus_deinit(void *decoder) in hal_avsd_plus_deinit() argument 631 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_plus_deinit() 650 MPP_RET hal_avsd_plus_gen_regs(void *decoder, HalTaskInfo *task) in hal_avsd_plus_gen_regs() argument 653 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_plus_gen_regs() 676 MPP_RET hal_avsd_plus_start(void *decoder, HalTaskInfo *task) in hal_avsd_plus_start() argument 679 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_plus_start() 682 INP_CHECK(ret, NULL == decoder); in hal_avsd_plus_start() 752 MPP_RET hal_avsd_plus_wait(void *decoder, HalTaskInfo *task) in hal_avsd_plus_wait() argument [all …]
|
| /rockchip-linux_mpp/mpp/codec/inc/ |
| H A D | vp9d_api.h | 30 MPP_RET vp9d_init (void *decoder, ParserCfg *cfg); 31 MPP_RET vp9d_deinit (void *decoder); 32 MPP_RET vp9d_reset (void *decoder); 33 MPP_RET vp9d_flush (void *decoder); 34 MPP_RET vp9d_control(void *decoder, MpiCmd cmd_type, void *param); 35 MPP_RET vp9d_prepare(void *decoder, MppPacket pkt, HalDecTask *task); 36 MPP_RET vp9d_parse (void *decoder, HalDecTask *task); 37 MPP_RET vp9d_callback(void *decoder, void *info);
|
| H A D | av1d_api.h | 28 MPP_RET av1d_init (void *decoder, ParserCfg *cfg); 29 MPP_RET av1d_deinit (void *decoder); 30 MPP_RET av1d_reset (void *decoder); 31 MPP_RET av1d_flush (void *decoder); 32 MPP_RET av1d_control(void *decoder, MpiCmd cmd_type, void *param); 33 MPP_RET av1d_prepare(void *decoder, MppPacket pkt, HalDecTask *task); 34 MPP_RET av1d_parse (void *decoder, HalDecTask *task); 35 MPP_RET av1d_callback(void *decoder, void *info);
|
| H A D | h264d_api.h | 36 MPP_RET h264d_init (void *decoder, ParserCfg *cfg); 37 MPP_RET h264d_deinit (void *decoder); 38 MPP_RET h264d_reset (void *decoder); 39 MPP_RET h264d_flush (void *decoder); 40 MPP_RET h264d_control(void *decoder, MpiCmd cmd_type, void *param); 41 MPP_RET h264d_prepare(void *decoder, MppPacket pkt, HalDecTask *task); 42 MPP_RET h264d_parse (void *decoder, HalDecTask *task); 43 MPP_RET h264d_callback(void *decoder, void *err_info);
|
| /rockchip-linux_mpp/mpp/codec/dec/avs/ |
| H A D | avsd_api.c | 42 MPP_RET avsd_deinit(void *decoder) in avsd_deinit() argument 45 AvsdCtx_t *p_dec = (AvsdCtx_t *)decoder; in avsd_deinit() 47 INP_CHECK(ret, !decoder); in avsd_deinit() 55 (void)decoder; in avsd_deinit() 67 static MPP_RET avsd_init(void *decoder, ParserCfg *init) in avsd_init() argument 71 AvsdCtx_t *p_dec = (AvsdCtx_t *)decoder; in avsd_init() 109 avsd_deinit(decoder); in avsd_init() 120 static MPP_RET avsd_reset(void *decoder) in avsd_reset() argument 123 AvsdCtx_t *p_dec = (AvsdCtx_t *)decoder; in avsd_reset() 151 static MPP_RET avsd_flush(void *decoder) in avsd_flush() argument [all …]
|
| H A D | CMakeLists.txt | 4 # avs decoder api 12 # avs decoder header 17 # avs decoder sourse
|
| /rockchip-linux_mpp/mpp/codec/dec/avs2/ |
| H A D | avs2d_api.c | 44 MPP_RET avs2d_deinit(void *decoder) in avs2d_deinit() argument 47 Avs2dCtx_t *p_dec = (Avs2dCtx_t *)decoder; in avs2d_deinit() 49 INP_CHECK(ret, !decoder); in avs2d_deinit() 64 MPP_RET avs2d_init(void *decoder, ParserCfg *init) in avs2d_init() argument 67 Avs2dCtx_t *p_dec = (Avs2dCtx_t *)decoder; in avs2d_init() 109 avs2d_deinit(decoder); in avs2d_init() 114 MPP_RET avs2d_reset(void *decoder) in avs2d_reset() argument 117 Avs2dCtx_t *p_dec = (Avs2dCtx_t *)decoder; in avs2d_reset() 136 MPP_RET avs2d_flush(void *decoder) in avs2d_flush() argument 139 Avs2dCtx_t *p_dec = (Avs2dCtx_t *)decoder; in avs2d_flush() [all …]
|
| H A D | CMakeLists.txt | 4 # avs2 decoder api 12 # avs2 decoder header 20 # avs2 decoder sourse
|
| /rockchip-linux_mpp/mpp/codec/enc/dummy/ |
| H A D | CMakeLists.txt | 3 # dummy decoder api 8 # dummy decoder header 12 # dummy decoder sourse
|
| /rockchip-linux_mpp/mpp/codec/dec/dummy/ |
| H A D | CMakeLists.txt | 3 # dummy decoder api 8 # dummy decoder header 12 # dummy decoder sourse
|
| /rockchip-linux_mpp/mpp/codec/dec/h264/ |
| H A D | h264d_api.c | 322 MPP_RET h264d_init(void *decoder, ParserCfg *init) in h264d_init() argument 325 H264_DecCtx_t *p_Dec = (H264_DecCtx_t *)decoder; in h264d_init() 367 h264d_deinit(decoder); in h264d_init() 377 MPP_RET h264d_deinit(void *decoder) in h264d_deinit() argument 380 H264_DecCtx_t *p_Dec = (H264_DecCtx_t *)decoder; in h264d_deinit() 382 INP_CHECK(ret, !decoder); in h264d_deinit() 402 MPP_RET h264d_reset(void *decoder) in h264d_reset() argument 405 H264_DecCtx_t *p_Dec = (H264_DecCtx_t *)decoder; in h264d_reset() 408 INP_CHECK(ret, !decoder); in h264d_reset() 477 MPP_RET h264d_flush(void *decoder) in h264d_flush() argument [all …]
|
| H A D | CMakeLists.txt | 5 # h264 decoder api 12 # h264 decoder header 26 # h264 decoder sourse
|
| /rockchip-linux_mpp/mpp/codec/dec/vp9/ |
| H A D | CMakeLists.txt | 4 # vp9 decoder api 9 # vp9 decoder header 13 # vp9 decoder sourse
|
| /rockchip-linux_mpp/mpp/codec/dec/vp8/ |
| H A D | CMakeLists.txt | 4 #vp8 decoder api 9 #vp8 decoder header 15 #vp8 decoder source
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | CMakeLists.txt | 4 # av1 decoder api 9 # AV1 decoder header 13 # av1 decoder sourse
|
| /rockchip-linux_mpp/mpp/codec/dec/m2v/ |
| H A D | CMakeLists.txt | 4 # m2v decoder api 12 # m2v decoder header 19 # m2v decoder source
|
| /rockchip-linux_mpp/ |
| H A D | readme.txt | 86 | | | |----- dummy decoder parser work flow sample 126 | | |----- rkdec rockchip hardware decoder register generation 209 | | decoder / encoder | | | | 275 MPI MPP decoder parser HAL 343 There are three memory usage modes that decoder can support: 346 In the mode user will NOT call MPP_DEC_SET_EXT_BUF_GROUP control to decoder. 347 Only call MPP_DEC_SET_INFO_CHANGE_READY to let decoder go on. Then decoder will 353 1. The buffer from decoder may not be return before decoder is close. 355 2. The decoder memory usage can not be control. Decoder is on a free-to-run 362 User can use mpp_buffer_group_limit_config to limit decoder memory usage. [all …]
|
| /rockchip-linux_mpp/mpp/hal/dummy/ |
| H A D | CMakeLists.txt | 3 # hal dummy decoder api 13 # hal dummy decoder sourse
|