| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_dec_no_thread.c | 27 MppPacket input = dec->mpp_pkt_in; in mpp_dec_decode() local 37 if (input == NULL && !status->curr_task_rdy) { in mpp_dec_decode() 38 input = packet; in mpp_dec_decode() 40 if (input == NULL) { in mpp_dec_decode() 46 if (input) in mpp_dec_decode() 48 input, mpp_packet_get_length(input), status->curr_task_rdy); in mpp_dec_decode() 51 input, status->curr_task_rdy); in mpp_dec_decode() 57 mpp_parser_prepare(dec->parser, input, task_dec); in mpp_dec_decode() 60 input, task_dec->valid); in mpp_dec_decode() 65 dec->mpp_pkt_in = input; in mpp_dec_decode() [all …]
|
| H A D | mpp_dec_normal.c | 209 mpp_buf_slot_clr_flag(packet_slots, task_dec->input, SLOT_HAL_INPUT); in reset_parser_thread() 211 task_dec->input = -1; in reset_parser_thread() 277 MppPort input = mpp->mMppInPort; in try_get_input_packet() local 282 ret = mpp_port_poll(input, MPP_POLL_NON_BLOCK); in try_get_input_packet() 288 ret = mpp_port_dequeue(input, &mpp_task); in try_get_input_packet() 295 mpp_port_enqueue(input, mpp_task); in try_get_input_packet() 402 if (task_dec->input < 0) { in try_proc_dec_task() 403 mpp_buf_slot_get_unused(packet_slots, &task_dec->input); in try_proc_dec_task() 406 task->wait.dec_pkt_idx = (task_dec->input < 0); in try_proc_dec_task() 415 mpp_buf_slot_get_prop(packet_slots, task_dec->input, SLOT_BUFFER, &hal_buf_in); in try_proc_dec_task() [all …]
|
| H A D | mpp_dec.c | 33 p->input = -1; in dec_task_info_init() 264 vproc_task->input = index; in mpp_dec_put_frame() 348 vproc_task->input = index; in mpp_dec_put_frame()
|
| H A D | mpp_enc_impl.c | 2318 mpp_port_enqueue(enc->input, enc->task_in); in mpp_enc_terminate_task() 2337 ret = mpp_port_poll(enc->input, MPP_POLL_NON_BLOCK); in try_get_enc_task() 2367 ret = mpp_port_dequeue(enc->input, &enc->task_in); in try_get_enc_task() 2407 hal_task->input = enc->frm_buf; in try_get_enc_task() 2694 mpp_port_enqueue(enc->input, enc->task_in); in try_proc_low_deley_task() 2840 mpp_port_enqueue(enc->input, enc->task_in); in try_proc_normal_task() 2946 release_task_in_port(enc->input); in mpp_enc_thread() 3072 hal_task->input = NULL; in check_async_frm_pkt() 3086 hal_task->input = frm_buf; in check_async_frm_pkt() 3097 return (NULL == frame || NULL == hal_task->input) ? MPP_NOK : MPP_OK; in check_async_frm_pkt()
|
| /rockchip-linux_mpp/doc/design/ |
| H A D | 4.mpp_task.txt | 5 mode. The target of advanced mode is to provide flexible, multiple input/output 11 OSD buffer, motion detection buffer, frame buffer and stream buffer as input and 30 thread. Each task queue has two port: input port and output port. And from a 31 global view the task will always flow from input port to output port. 36 INPUT_PORT : Initial status for input port user to dequeue. Or when output port 39 INPUT_HOLD : When input port user successfully dequeue a task then the task is 42 OUTPUT_PORT: When input port user successfully enqueue a task then the task is 52 status to next status. The status transform flow is unidirectional from input 67 | status | | input | | output | | status | 83 On advanced mode mpp uses two task queue: input task queue and output task [all …]
|
| H A D | 1.mpp_design.txt | 39 The input/output element packet/frame/buffer is easy to extend different
|
| /rockchip-linux_mpp/mpp/base/test/ |
| H A D | mpp_task_test.c | 10 static MppTaskQueue input = NULL; variable 18 MppPort port = mpp_task_queue_get_port(input, MPP_PORT_INPUT); in task_input() 74 MppPort port_input = mpp_task_queue_get_port(input, MPP_PORT_INPUT); in task_in_and_out() 109 MppPort port_src = mpp_task_queue_get_port(input, MPP_PORT_OUTPUT); in task_worker() 143 MppPort port_ii = mpp_task_queue_get_port(input, MPP_PORT_INPUT); in serial_task() 144 MppPort port_io = mpp_task_queue_get_port(input, MPP_PORT_OUTPUT); in serial_task() 207 mpp_task_queue_init(&input, NULL, "test_input"); in main() 209 mpp_task_queue_setup(input, 4); in main() 245 mpp_task_queue_deinit(input); in main()
|
| /rockchip-linux_mpp/doc/ |
| H A D | Rockchip_Developer_Guide_MPP_EN.md | 15 | 0.4 | 11/28/2018 | 1、Updated the memory layout instructions of the encoder input image.<… 114 …ple, bitstream at input side assigns the address and size to MppPacket. Input through the put_pack… 119 …vanced combination interfaces for input and output tasks which can support complex usage modes suc… 225 …. The PTS / DTS and EOS flags in the MppFrame are inherited from the corresponding input MppPacket. 227 Meanwhile once the resolution of input stream is changed the info_change flag in MppFrame will be s… 231 …t is necessary to use MppTask as a data container to fulfill more complex input and output require… 234 <center>Figure 8 Use MppTask for input and output</center> 241 In practical usage we need to get MppTask from the input port of MPP by dequeue interface. Configur… 260 …tx ctx, MppPacket packet, MppFrame \*frame) <br>Video decoding interface, input and output at the … 261 …ET (\*decode_put_packet)(MppCtx ctx, MppPacket packet) <br>Video decoding input interface, used in… [all …]
|
| /rockchip-linux_mpp/mpp/hal/inc/ |
| H A D | hal_dec_task.h | 87 RK_S32 input; member 111 RK_S32 input; member
|
| H A D | hal_enc_task.h | 88 MppBuffer input; member
|
| /rockchip-linux_mpp/test/ |
| H A D | CMakeLists.txt | 30 # mpi decoder multi-thread input / output unit test 33 # mpi decoder no-thread input / output unit test 39 # mpi encoder multi-thread input / output unit test
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_task_impl.c | 43 MppPort input; member 409 if (mpp_port_init(p, MPP_PORT_INPUT, &p->input)) in mpp_task_queue_init() 413 mpp_port_deinit(p->input); in mpp_task_queue_init() 512 if (p->input) { in mpp_task_queue_deinit() 513 mpp_port_deinit(p->input); in mpp_task_queue_deinit() 514 p->input = NULL; in mpp_task_queue_deinit() 538 return (type == MPP_PORT_INPUT) ? (impl->input) : (impl->output); in mpp_task_queue_get_port()
|
| /rockchip-linux_mpp/utils/ |
| H A D | camera_source.c | 135 struct v4l2_input input; in camera_source_init() local 137 input.index = 0; in camera_source_init() 138 while (!camera_source_ioctl(ctx->fd, VIDIOC_ENUMINPUT, &input)) { in camera_source_init() 139 mpp_log("input devices:%s\n", input.name); in camera_source_init() 140 ++input.index; in camera_source_init()
|
| /rockchip-linux_mpp/mpp/hal/vpu/jpege/ |
| H A D | hal_jpege_vepu1_v2.c | 175 MppBuffer input = task->input; in hal_jpege_vepu1_gen_regs() local 244 regs[11] = mpp_buffer_get_fd(input); in hal_jpege_vepu1_gen_regs() 245 regs[12] = mpp_buffer_get_fd(input); in hal_jpege_vepu1_gen_regs()
|
| H A D | hal_jpege_vepu2_v2.c | 369 MppBuffer input = task->input; in hal_jpege_vepu2_gen_regs() local 440 regs[VEPU2_REG_INPUT_Y] = mpp_buffer_get_fd(input); in hal_jpege_vepu2_gen_regs()
|
| /rockchip-linux_mpp/mpp/hal/vpu/h263d/ |
| H A D | hal_h263d_vdpu2.c | 191 mpp_assert(task->input >= 0); in hal_vpu2_h263d_gen_regs() 216 mpp_buf_slot_get_prop(ctx->pkt_slots, task->input, SLOT_BUFFER, &buf_pkt); in hal_vpu2_h263d_gen_regs()
|
| H A D | hal_h263d_vdpu1.c | 190 mpp_assert(task->input >= 0); in hal_vpu1_h263d_gen_regs() 215 mpp_buf_slot_get_prop(ctx->pkt_slots, task->input, SLOT_BUFFER, &buf_pkt); in hal_vpu1_h263d_gen_regs()
|
| /rockchip-linux_mpp/mpp/codec/inc/ |
| H A D | mpp_enc_impl.h | 82 MppPort input; member
|
| /rockchip-linux_mpp/mpp/hal/vpu/mpg4d/ |
| H A D | hal_m4vd_vdpu2.c | 348 mpp_assert(task->input >= 0); in vdpu2_mpg4d_gen_regs() 373 mpp_buf_slot_get_prop(ctx->pkt_slots, task->input, SLOT_BUFFER, &buf_pkt); in vdpu2_mpg4d_gen_regs()
|
| H A D | hal_m4vd_vdpu1.c | 350 mpp_assert(task->input >= 0); in vdpu1_mpg4d_gen_regs() 375 mpp_buf_slot_get_prop(ctx->pkt_slots, task->input, SLOT_BUFFER, &buf_pkt); in vdpu1_mpg4d_gen_regs()
|
| /rockchip-linux_mpp/debian/ |
| H A D | changelog | 159 * h264e: add supporting for more input pixel format 190 * [mpp]: use the blokcing queue on the input
|
| /rockchip-linux_mpp/mpp/hal/rkenc/common/ |
| H A D | vepu540c_common.c | 170 regs->reg0264_adr_src0 = mpp_buffer_get_fd(task->input); in vepu540c_set_jpeg_reg()
|
| /rockchip-linux_mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_base.h | 201 HalVp8ePic input; /* Input picture */ member
|
| /rockchip-linux_mpp/tools/ |
| H A D | mpp_doxyfile | 294 # to include (a tag file for) the STL sources as input, then you should set this 646 # popen()) the command command input-file, where command is the value of the 647 # FILE_VERSION_FILTER tag, and input-file is the name of an input file provided 737 # Configuration options related to the input files 769 # be searched for input files as well. 785 # from the input. 824 # searched for input files to be used with the \include or \dontinclude commands 837 # invoke to filter for each input file. Doxygen will invoke the filter program 840 # <filter> <input-file> 842 # where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the [all …]
|
| /rockchip-linux_mpp/ |
| H A D | CHANGELOG.md | 38 - [enc_test]: Set input block mode in init kcfg 467 - [mpp]: Add encoder input/output pts log 625 - [m2vd]: fix unindentical of input and output pts list 664 - [script]: fix shift clear input parameter error 743 - [h265e]: check input profile_idc
|