| /rockchip-linux_mpp/mpp/vproc/iep2/ |
| H A D | iep2_ff.c | 31 RK_S32 tcnt = ctx->output.dect_pd_tcnt; in iep2_check_ffo() 32 RK_S32 bcnt = ctx->output.dect_pd_bcnt; in iep2_check_ffo() 33 RK_U32 tdiff = ctx->output.ff_gradt_tcnt + 1; in iep2_check_ffo() 34 RK_U32 bdiff = ctx->output.ff_gradt_bcnt + 1; in iep2_check_ffo() 35 RK_U32 ff00t = (ctx->output.dect_ff_cur_tcnt << 5) / tdiff; in iep2_check_ffo() 36 RK_U32 ff00b = (ctx->output.dect_ff_cur_bcnt << 5) / bdiff; in iep2_check_ffo() 37 RK_U32 ff11t = (ctx->output.dect_ff_nxt_tcnt << 5) / tdiff; in iep2_check_ffo() 38 RK_U32 ff11b = (ctx->output.dect_ff_nxt_bcnt << 5) / bdiff; in iep2_check_ffo() 39 RK_S32 ff0t1b = (ctx->output.dect_ff_ble_tcnt << 5) / bdiff; in iep2_check_ffo() 40 RK_S32 ff0b1t = (ctx->output.dect_ff_ble_bcnt << 5) / bdiff; in iep2_check_ffo() [all …]
|
| H A D | iep2_osd.c | 125 for (i = 0; i < ctx->output.dect_osd_cnt; ++i) { in iep2_set_osd() 126 sx[i] = ctx->output.x_sta[i]; in iep2_set_osd() 127 ex[i] = ctx->output.x_end[i]; in iep2_set_osd() 128 sy[i] = ctx->output.y_sta[i]; in iep2_set_osd() 129 ey[i] = ctx->output.y_end[i]; in iep2_set_osd() 133 for (i = 0; i < ctx->output.dect_osd_cnt; ++i) { in iep2_set_osd() 134 for (j = i + 1; j < ctx->output.dect_osd_cnt; ++j) { in iep2_set_osd() 147 for (i = 0; i < ctx->output.dect_osd_cnt; ++i) { in iep2_set_osd() 174 osd_tile_cnt, ctx->output.out_osd_comb_cnt); in iep2_set_osd() 175 if (osd_tile_cnt * 2 > ctx->output.out_osd_comb_cnt * 3) { in iep2_set_osd()
|
| H A D | iep2_pd.c | 80 int tcnt = ctx->output.dect_pd_tcnt; in iep2_check_pd() 81 int bcnt = ctx->output.dect_pd_bcnt; in iep2_check_pd() 82 int tdiff = ctx->output.ff_gradt_tcnt + 1; in iep2_check_pd() 83 int bdiff = ctx->output.ff_gradt_bcnt + 1; in iep2_check_pd() 85 int ff00t = (ctx->output.dect_ff_cur_tcnt << 5) / tdiff; in iep2_check_pd() 86 int ff00b = (ctx->output.dect_ff_cur_bcnt << 5) / bdiff; in iep2_check_pd() 87 int nz = ctx->output.dect_ff_nz + 1; in iep2_check_pd() 88 int f = ctx->output.dect_ff_comb_f; in iep2_check_pd()
|
| H A D | iep2_gmv.c | 73 uint32_t *bin = ctx->output.mv_hist; in iep2_update_gmv() 74 int lbin = MPP_ARRAY_ELEMS(ctx->output.mv_hist); in iep2_update_gmv() 77 int map[MPP_ARRAY_ELEMS(ctx->output.mv_hist)]; in iep2_update_gmv()
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_dec_no_thread.c | 29 RK_S32 output = 0; in mpp_dec_decode() local 78 output += mpp_dec_push_display(mpp, task_dec->flags); in mpp_dec_decode() 86 output++; in mpp_dec_decode() 89 return (MPP_RET)output; in mpp_dec_decode() 172 if (task_dec->input_no_copy && task_dec->output >= 0) { in mpp_dec_decode() 173 mpp_buf_slot_set_flag(frame_slots, task_dec->output, SLOT_QUEUE_USE); in mpp_dec_decode() 174 mpp_buf_slot_enqueue(frame_slots, task_dec->output, QUEUE_DISPLAY); in mpp_dec_decode() 179 task_dec->output, task_dec->valid); in mpp_dec_decode() 183 if (task_dec->output < 0 || !task_dec->valid) { in mpp_dec_decode() 192 output += mpp_dec_push_display(mpp, task_dec->flags); in mpp_dec_decode() [all …]
|
| H A D | mpp_dec_normal.c | 174 if (task_dec->output >= 0) in reset_parser_thread() 175 mpp_buf_slot_clr_flag(frame_slots, task_dec->output, SLOT_HAL_OUTPUT); in reset_parser_thread() 317 RK_S32 output = 0; in try_proc_dec_task() local 508 if (task_dec->output < 0 || !task_dec->valid) { in try_proc_dec_task() 593 output = task_dec->output; in try_proc_dec_task() 594 mpp_buf_slot_get_prop(frame_slots, output, SLOT_BUFFER, &hal_buf_out); in try_proc_dec_task() 597 mpp_buf_slot_get_prop(frame_slots, output, in try_proc_dec_task() 610 mpp_buf_slot_set_prop(frame_slots, output, SLOT_BUFFER, in try_proc_dec_task() 619 mpp_buf_slot_get_prop(frame_slots, output, SLOT_FRAME_PTR, &mframe); in try_proc_dec_task() 631 mpp_buf_slot_get_prop(frame_slots, output, SLOT_FRAME_PTR, &frame); in try_proc_dec_task() [all …]
|
| /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 12 output stream buffer and motion detection buffer with data. And this case can 13 also be used on decoder if decoder wants to output some side information. 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 44 output port. 46 OUTPUT_HOLD: When output port user successfully dequeue a task then the task is 53 port to output port. 67 | status | | input | | output | | status | [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/dummy/ |
| H A D | dummy_dec_api.c | 188 RK_S32 output; in dummy_dec_parse() local 231 mpp_buf_slot_get_unused(slots, &output); in dummy_dec_parse() 232 mpp_buf_slot_set_flag(slots, output, SLOT_HAL_OUTPUT); in dummy_dec_parse() 233 task->output = output; in dummy_dec_parse() 236 mpp_buf_slot_set_prop(slots, output, SLOT_FRAME, frame); in dummy_dec_parse() 259 mpp_buf_slot_set_flag(slots, output, SLOT_QUEUE_USE); in dummy_dec_parse() 260 mpp_buf_slot_enqueue(slots, output, QUEUE_DISPLAY); in dummy_dec_parse() 274 p->slot_index[replace_index] = output; in dummy_dec_parse() 275 mpp_buf_slot_set_flag(slots, output, SLOT_CODEC_USE); in dummy_dec_parse()
|
| /rockchip-linux_mpp/mpp/base/test/ |
| H A D | mpp_task_test.c | 11 static MppTaskQueue output = NULL; variable 46 MppPort port = mpp_task_queue_get_port(output, MPP_PORT_OUTPUT); in task_output() 75 MppPort port_output = mpp_task_queue_get_port(output, MPP_PORT_OUTPUT); in task_in_and_out() 110 MppPort port_dst = mpp_task_queue_get_port(output, MPP_PORT_INPUT); in task_worker() 145 MppPort port_oi = mpp_task_queue_get_port(output, MPP_PORT_INPUT); in serial_task() 146 MppPort port_oo = mpp_task_queue_get_port(output, MPP_PORT_OUTPUT); in serial_task() 208 mpp_task_queue_init(&output, NULL, "test_output"); in main() 210 mpp_task_queue_setup(output, 4); in main() 246 mpp_task_queue_deinit(output); in main()
|
| /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/doc/ |
| H A D | Rockchip_Developer_Guide_MPP_EN.md | 114 …then get the input image MppFrame through the get_frame interface at the output side. It completes… 119 …bination interfaces for input and output tasks which can support complex usage modes such as speci… 142 …output in decoding process (the output frame of decoder is the same as the reference frame used in… 225 For the decoder the MppFrame is its output information structure. The decoded information (includin… 231 …ary to use MppTask as a data container to fulfill more complex input and output requirements. MppT… 234 <center>Figure 8 Use MppTask for input and output</center> 241 …x series interface, and then enqueue to MPP instance for processing. The output port workflow of M… 260 …nterface, input and output at the same time, used alone. <br>ctx :MPP instance context. <br>packet… 262 …output interface, used in conjunction with decode_put_packet. <br>ctx :MPP instance context. <br>f… 263 …terface, input and output at the same time, used separately. <br>ctx :MPP instance context. <br>fr… [all …]
|
| /rockchip-linux_mpp/mpp/hal/vpu/jpege/ |
| H A D | hal_jpege_vepu1_v2.c | 176 MppBuffer output = task->output; in hal_jpege_vepu1_gen_regs() local 187 RK_U8 *buf = mpp_buffer_get_ptr(output); in hal_jpege_vepu1_gen_regs() 188 size_t size = mpp_buffer_get_size(output); in hal_jpege_vepu1_gen_regs() 230 mpp_buffer_sync_begin(output); in hal_jpege_vepu1_gen_regs() 257 mpp_buffer_sync_end(output); in hal_jpege_vepu1_gen_regs() 275 regs[5] = mpp_buffer_get_fd(output); in hal_jpege_vepu1_gen_regs() 508 regs[5] = mpp_buffer_get_fd(task->output); in hal_jpege_vepu1_part_start()
|
| H A D | hal_jpege_vepu2_v2.c | 370 MppBuffer output = task->output; in hal_jpege_vepu2_gen_regs() local 382 RK_U8 *buf = mpp_buffer_get_ptr(output); in hal_jpege_vepu2_gen_regs() 383 size_t size = mpp_buffer_get_size(output); in hal_jpege_vepu2_gen_regs() 424 mpp_buffer_sync_begin(output); in hal_jpege_vepu2_gen_regs() 454 mpp_buffer_sync_end(output); in hal_jpege_vepu2_gen_regs() 466 regs[77] = mpp_buffer_get_fd(output); in hal_jpege_vepu2_gen_regs() 624 regs[77] = mpp_buffer_get_fd(task->output); in multi_core_start() 625 regs[53] = mpp_buffer_get_size(task->output) - part_bytepos; in multi_core_start() 760 RK_S32 fd = mpp_buffer_get_fd(task->output); in multi_core_wait() 775 void *stream_ptr = mpp_buffer_get_ptr(task->output); in multi_core_wait() [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/jpeg/ |
| H A D | jpegd_parser.c | 1056 MppFrame output = ctx->output_frame; in jpegd_allocate_frame() local 1081 mpp_frame_set_fmt(output, fmt); in jpegd_allocate_frame() 1082 mpp_frame_set_width(output, s->width); in jpegd_allocate_frame() 1083 mpp_frame_set_height(output, s->height); in jpegd_allocate_frame() 1084 mpp_frame_set_hor_stride(output, s->hor_stride); in jpegd_allocate_frame() 1085 mpp_frame_set_ver_stride(output, s->ver_stride); in jpegd_allocate_frame() 1086 mpp_frame_set_pts(output, ctx->pts); in jpegd_allocate_frame() 1089 mpp_frame_set_eos(output, 1); in jpegd_allocate_frame() 1099 if (mpp_buf_slot_set_prop(slots, slot_idx, SLOT_FRAME, output)) in jpegd_allocate_frame() 1139 task->output = JpegCtx->frame_slot_index; in jpegd_parse() [all …]
|
| /rockchip-linux_mpp/ |
| H A D | readme.txt | 160 |----- out final release binary output directory 162 | |----- bin executable binary file output directory 164 | |----- inc header file output directory 166 | |----- lib library file output directory 270 and generates a protocol standard output. This output will be send to HAL to 273 output decoded frame by display order.
|
| H A D | CHANGELOG.md | 223 - [jpegd_rkv]: New JPEG IP supports tile 4x4 output by default. 253 - [vproc]: fix frame output disorder problem 259 - [vproc]: Fix output blank buffer problem 348 - [h264d]: fix no output for mvc stream 356 - [h265d]: fix output err causeby refs cleard 417 - [h265d]: auto output frame in dpb when ready 458 - [enc]: Add use_lt_idx to output packet meta 467 - [mpp]: Add encoder input/output pts log 508 - [enc]: Add config entry for output chroma format 528 - [h265d_ref]: fix set fbc output fmt not effect issue [all …]
|
| /rockchip-linux_mpp/mpp/codec/dec/mpg4/ |
| H A D | mpg4d_api.c | 297 task->output = -1; in mpg4d_parse() 304 mpp_mpg4_parser_setup_hal_output(p->parser, &task->output); in mpg4d_parse() 332 mpp_buf_slot_get_prop(p_Dec->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in mpg4d_callback() 338 … p_Dec->frame_count, task_dec->output, task_err, ctx->hard_err, task_dec->flags.used_for_ref, in mpg4d_callback()
|
| H A D | mpg4d_parser.h | 46 MPP_RET mpp_mpg4_parser_setup_hal_output(Mpg4dParser ctx, RK_S32 *output);
|
| /rockchip-linux_mpp/tools/ |
| H A D | mpp_doxyfile | 52 # to the output directory. 64 # directories (in 2 levels) under the output directory of each output format and 75 # information to generate all constant output in the proper language. 232 # only. Doxygen will then generate output that is more tailored for C. For 240 # Python sources only. Doxygen will then generate output that is more tailored 248 # sources. Doxygen will then generate output that is tailored for Fortran. 254 # sources. Doxygen will then generate output that is tailored for VHDL. 278 # The output of markdown processing is further processed by doxygen, so you can 648 # by doxygen. Whatever the program writes to standard output is used as the file 655 # output files in an output format independent way. To create the layout file [all …]
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_task_impl.c | 44 MppPort output; member 412 if (mpp_port_init(p, MPP_PORT_OUTPUT, &p->output)) { in mpp_task_queue_init() 516 if (p->output) { in mpp_task_queue_deinit() 517 mpp_port_deinit(p->output); in mpp_task_queue_deinit() 518 p->output = 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/mpp/hal/rkenc/jpege/ |
| H A D | hal_jpege_vpu720.c | 379 RK_U8 *buf = mpp_buffer_get_ptr(task->output); in hal_jpege_vpu720_gen_regs() 380 size_t size = mpp_buffer_get_size(task->output); in hal_jpege_vpu720_gen_regs() 394 mpp_buffer_sync_begin(task->output); in hal_jpege_vpu720_gen_regs() 404 mpp_buffer_sync_end(task->output); in hal_jpege_vpu720_gen_regs() 504 reg_base->reg017_adr_bsbt = mpp_buffer_get_fd(task->output); in hal_jpege_vpu720_gen_regs() 514 mpp_dev_set_reg_offset(ctx->dev, 17, mpp_buffer_get_size(task->output)); in hal_jpege_vpu720_gen_regs() 651 mpp_buffer_sync_ro_begin(task->output); in hal_jpege_vpu720_ret_task()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_vdpu383.c | 364 mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output, SLOT_FRAME_PTR, &mframe); in fill_registers() 405 RK_S32 fd = get_frame_fd(p_hal, task_dec->output); in fill_registers() 411 mv_buf = hal_bufs_get_buf(p_hal->cmv_bufs, task_dec->output); in fill_registers() 413 …AVS2D_HAL_TRACE("cur frame index %d, fd %d, colmv fd %d", task_dec->output, fd, regs->avs2d_addrs.… in fill_registers() 483 mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output, in fill_registers() 840 ret = mpp_buf_slot_get_prop(p_hal->frame_slots, task->dec.output, SLOT_FRAME_PTR, &frame); in hal_avs2d_vdpu383_dump_yuv() 843 mpp_log_f("failed to get frame slot %d", task->dec.output); in hal_avs2d_vdpu383_dump_yuv() 845 ret = mpp_buf_slot_get_prop(p_hal->frame_slots, task->dec.output, SLOT_BUFFER, &buffer); in hal_avs2d_vdpu383_dump_yuv() 848 mpp_log_f("failed to get frame buffer slot %d", task->dec.output); in hal_avs2d_vdpu383_dump_yuv() 850 AVS2D_HAL_TRACE("frame slot %d, fd %d\n", task->dec.output, mpp_buffer_get_fd(buffer)); in hal_avs2d_vdpu383_dump_yuv()
|
| /rockchip-linux_mpp/mpp/hal/common/h265/ |
| H A D | hal_h265e_stream_amend.c | 16 RK_U8 *stream_ptr = (RK_U8 *)(mpp_buffer_get_ptr(enc_task->output) + offset); in hal_h265e_amend_temporal_id()
|
| /rockchip-linux_mpp/mpp/codec/dec/h263/ |
| H A D | h263d_parser.h | 45 MPP_RET mpp_h263_parser_setup_hal_output(H263dParser ctx, RK_S32 *output);
|
| /rockchip-linux_mpp/mpp/hal/inc/ |
| H A D | hal_dec_task.h | 92 RK_S32 output; member
|