| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga/ |
| H A D | RGA_API.c | 34 s_act_w = msg->src.act_w; in matrix_cal() 36 d_act_w = msg->dst.act_w; in matrix_cal() 96 if(msg->dst.act_w == 0) in RGA_gen_two_pro() 107 w_ratio = (msg->src.act_w << 16) / msg->dst.act_w; in RGA_gen_two_pro() 116 daw = (msg->src.act_w + 1) >> 1; in RGA_gen_two_pro() 119 msg->src.act_w = daw << 1; in RGA_gen_two_pro() 123 daw = (msg->src.act_w + 3) >> 2; in RGA_gen_two_pro() 126 msg->src.act_w = daw << 2; in RGA_gen_two_pro() 130 daw = (msg->src.act_w + 7) >> 3; in RGA_gen_two_pro() 133 msg->src.act_w = daw << 3; in RGA_gen_two_pro() [all …]
|
| H A D | rga_drv.c | 307 req->src.act_w, req->src.act_h, req->src.vir_w, req->src.vir_h, in print_debug_info() 312 req->dst.act_w, req->dst.act_h, req->dst.vir_w, req->dst.vir_h, in print_debug_info() 326 (req->src.act_w % 2) || (req->src.y_offset % 2) || in rga_align_check() 332 (req->dst.act_w % 2) || (req->dst.y_offset % 2) || in rga_align_check() 338 (req->src.act_w % 2) || (req->src.y_offset % 2) || in rga_align_check() 344 (req->dst.act_w % 2) || (req->dst.y_offset % 2) || in rga_align_check() 655 …if (unlikely((req->src.act_w <= 0) || (req->src.act_w > 8191) || (req->src.act_h <= 0) || (req->sr… in rga_check_param() 657 printk("invalid source resolution act_w = %d, act_h = %d\n", req->src.act_w, req->src.act_h); in rga_check_param() 672 …if (unlikely((req->dst.act_w <= 0) || (req->dst.act_w > 2048) || (req->dst.act_h <= 0) || (req->ds… in rga_check_param() 674 printk("invalid destination resolution act_w = %d, act_h = %d\n", req->dst.act_w, req->dst.act_h); in rga_check_param() [all …]
|
| H A D | rga_reg_info.c | 99 u32 width = msg->dst.act_w; in dst_ctrl_cal() 399 tile->tile_start_x_coor = (((msg->src.act_w - 1)<<11) - (tile->tile_w))>>8; in src_tile_info_cal() 660 *bRGA_SRC_ACT_INFO = ((msg->src.act_w-1) | (msg->src.act_h-1)<<16); in RGA_set_src() 714 x_off = msg->dst.x_offset - msg->dst.act_w + 1; in RGA_set_dst() 718 y_off = msg->dst.y_offset - msg->dst.act_w + 1; in RGA_set_dst() 779 *bRGA_DST_CTR_INFO = (msg->dst.act_w - 1) | ((msg->dst.act_h - 1) << 16); in RGA_set_dst() 938 *bRGA_PAT_START_POINT = (msg->pat.act_w * msg->pat.y_offset) + msg->pat.x_offset; in RGA_set_pat() 940 …reg = (msg->pat.act_w - 1) | ((msg->pat.act_h - 1) << 8) | (msg->pat.x_offset << 16) | (msg->pat.y… in RGA_set_pat() 1068 if (!((xmax < 0)||(xmin > msg->src.act_w - 1)||(ymax < 0)||(ymin > msg->src.act_h - 1))) in RGA_set_bitblt_reg_info() 1070 xp = CLIP(xp, msg->src.x_offset, msg->src.x_offset + msg->src.act_w - 1); in RGA_set_bitblt_reg_info() [all …]
|
| H A D | rga.h | 129 unsigned short act_w; member
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/ |
| H A D | rga2_drv.c | 333 req->src.act_w, req->src.act_h, req->src.vir_w, req->src.vir_h, in print_debug_info() 341 req->src1.act_w, req->src1.act_h, req->src1.vir_w, req->src1.vir_h, in print_debug_info() 347 req->dst.act_w, req->dst.act_h, req->dst.vir_w, req->dst.vir_h, in print_debug_info() 365 (req->src.act_w % 2) || (req->src.y_offset % 2) || in rga2_align_check() 370 (req->dst.act_w % 2) || (req->dst.y_offset % 2) || in rga2_align_check() 375 (req->src.act_w % 2) || (req->src.y_offset % 2) || in rga2_align_check() 380 (req->dst.act_w % 2) || (req->dst.y_offset % 2) || in rga2_align_check() 392 saw = req->src.act_w; in rga2_scale_check() 394 daw = req->dst.act_w; in rga2_scale_check() 702 …if (unlikely((req->src.act_w <= 0) || (req->src.act_w > 8192) || (req->src.act_h <= 0) || (req->sr… in rga2_check_param() [all …]
|
| H A D | rga2_reg_info.c | 62 dh = msg->dst.act_w; in RGA2_reg_get_param() 66 dw = msg->dst.act_w; in RGA2_reg_get_param() 70 sw = msg->src.act_w; in RGA2_reg_get_param() 196 if ((msg->src.act_w == msg->dst.act_w) && in RGA2_set_reg_src_info() 205 sw = msg->src.act_w; in RGA2_set_reg_src_info() 211 dh = msg->dst.act_w; in RGA2_set_reg_src_info() 215 dw = msg->dst.act_w; in RGA2_set_reg_src_info() 349 *bRGA_SRC_ACT_INFO = (msg->src.act_w - 1) | ((msg->src.act_h - 1) << 16); in RGA2_set_reg_src_info() 533 (msg->dst.act_w == msg->src.act_w) && (msg->dst.act_h == msg->src.act_h) && in RGA2_set_reg_dst_info() 535 *bRGA_DST_ACT_INFO = (msg->dst.act_w) | ((msg->dst.act_h - 1) << 16); in RGA2_set_reg_dst_info() [all …]
|
| H A D | rga2.h | 319 unsigned short act_w; member 338 unsigned short act_w; member
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/ |
| H A D | rga2_reg_info.c | 113 dh = msg->dst.act_w; in RGA2_reg_get_param() 115 dw = msg->dst.act_w; in RGA2_reg_get_param() 119 sw = msg->src.act_w; in RGA2_reg_get_param() 248 if ((msg->src.act_w == msg->dst.act_w) && in RGA2_set_reg_src_info() 257 sw = msg->src.act_w; in RGA2_set_reg_src_info() 262 dh = msg->dst.act_w; in RGA2_set_reg_src_info() 264 dw = msg->dst.act_w; in RGA2_set_reg_src_info() 626 (msg->src.act_w - 1) | ((msg->src.act_h - 1) << 16); in RGA2_set_reg_src_info() 1096 (msg->dst.act_w == msg->src.act_w) in RGA2_set_reg_dst_info() 1101 (msg->dst.act_w) | ((msg->dst.act_h - 1) << 16); in RGA2_set_reg_dst_info() [all …]
|
| H A D | rga_policy.c | 118 if (!rga_check_resolution(&data->input_range, src0->act_w, src0->act_h)) in rga_check_src0() 123 src0->act_w + src0->x_offset, in rga_check_src0() 139 if (!rga_check_resolution(&data->input_range, src1->act_w, src1->act_h)) in rga_check_src1() 144 src1->act_w + src1->x_offset, in rga_check_src1() 160 if (!rga_check_resolution(&data->output_range, dst->act_w, dst->act_h)) in rga_check_dst() 165 dst->act_w + dst->x_offset, in rga_check_dst() 187 sw = src0->act_w; in rga_check_scale() 193 dh = dst->act_w; in rga_check_scale() 195 dw = dst->act_w; in rga_check_scale()
|
| H A D | rga3_reg_info.c | 1360 win->src_act_w = img->act_w; in set_win_info() 1508 req->win0.dst_act_w = req_rga->dst.act_w; in rga_cmd_to_rga3_cmd() 1540 } else if ((req_rga->dst.x_offset + req_rga->src.act_w > in rga_cmd_to_rga3_cmd() 1541 req_rga->pat.act_w) || in rga_cmd_to_rga3_cmd() 1574 req->win0.dst_act_w = req_rga->dst.act_w + req->win0.x_offset; in rga_cmd_to_rga3_cmd() 1580 req->win0.dst_act_w = req_rga->dst.act_w; in rga_cmd_to_rga3_cmd() 1584 req->win1.dst_act_w = req_rga->dst.act_w; in rga_cmd_to_rga3_cmd() 1596 req->win0.dst_act_w = req_rga->dst.act_w; in rga_cmd_to_rga3_cmd() 1599 req->win1.dst_act_w = req_rga->dst.act_w; in rga_cmd_to_rga3_cmd() 1614 req->win1.dst_act_h = req_rga->dst.act_w; in rga_cmd_to_rga3_cmd() [all …]
|
| H A D | rga_debugger.c | 756 (unsigned long)req->src.v_addr, req->src.act_w, req->src.act_h, in rga_request_task_debug_info() 765 (unsigned long)req->pat.v_addr, req->pat.act_w, req->pat.act_h, in rga_request_task_debug_info() 773 (unsigned long)req->dst.v_addr, req->dst.act_w, req->dst.act_h, in rga_request_task_debug_info() 796 req->src.act_w, req->src.act_h, in rga_cmd_print_debug_info() 808 req->pat.act_w, req->pat.act_h, in rga_cmd_print_debug_info() 819 req->dst.act_w, req->dst.act_h, in rga_cmd_print_debug_info()
|
| H A D | rga_drv.c | 82 channel_info->act_w = mpi_frame->width; in rga_mpi_set_channel_info() 93 cache_info->act_w = mpi_frame->width; in rga_mpi_set_channel_info() 231 mpi_job->output->width = mpi_cmd.dst.act_w; in rga_mpi_commit()
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/iep/ |
| H A D | iep.cpp | 135 mpp_log("act_w %d\n", img->act_w); in dump_iep_img() 239 if (src->act_w > 4096 || src->act_h > 8192) { in check_msg_image() 244 if (dst->act_w > 4096 || dst->act_h > 4096) { in check_msg_image() 249 …RK_S32 scl_fct_h = src->act_w > dst->act_w ? (src->act_w * 1000 / dst->act_w) : (dst->act_w * 1000… in check_msg_image()
|
| H A D | iep.h | 137 RK_U16 act_w; // act_width member
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/iep/ |
| H A D | hw_iep_reg.c | 25 IEP_REGB_SRC_IMG_WIDTH(iep_msg->base, iep_msg->src.act_w - 1); in iep_config_src_size() 32 iep_msg->src.act_w - 1); in iep_config_src_size() 38 IEP_REGB_DST_IMG_WIDTH(iep_msg->base, iep_msg->dst.act_w - 1); in iep_config_dst_size() 45 iep_msg->dst.act_w - 1); in iep_config_dst_size() 293 src_width = iep_msg->src.act_w - 1; in iep_config_scl() 295 dst_width = iep_msg->dst.act_w - 1; in iep_config_scl() 297 if ((iep_msg->src.act_w == iep_msg->dst.act_w) && in iep_config_scl() 303 if ((iep_msg->src.act_w >= iep_msg->dst.act_w) && in iep_config_scl() 306 else if ((iep_msg->src.act_w >= iep_msg->dst.act_w) && in iep_config_scl() 309 else if ((iep_msg->src.act_w <= iep_msg->dst.act_w) && in iep_config_scl() [all …]
|
| H A D | iep.h | 177 u16 act_w; /* act_width */ member
|
| /OK3568_Linux_fs/external/linux-rga/core/ |
| H A D | NormalRgaApi.cpp | 291 req->src.act_w = width; in NormalRgaSetSrcActiveInfo() 334 req->dst.act_w = width; in NormalRgaSetDstActiveInfo() 375 req->pat.act_w = width; in NormalRgaSetPatActiveInfo() 417 msg->pat.act_w = width; in NormalRgaSetPatInfo() 703 msg->pat.act_w = pat_width; in NormalRgaSetColorFillMode() 803 msg->pat.act_w = w*h; in NormalRgaUpdatePattenBuffMode() 1063 rgaReg.src.act_w, rgaReg.src.act_h, in NormalRgaLogOutRgaReq() 1068 rgaReg.dst.act_w, rgaReg.dst.act_h, in NormalRgaLogOutRgaReq() 1073 rgaReg.pat.act_w, rgaReg.pat.act_h, in NormalRgaLogOutRgaReq() 1105 info->act_w = orig_info->act_w; in NormalRgaCompatModeConvertRga2ImgeInfo() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/rga/ |
| H A D | rga.cpp | 190 img->act_w = width; in config_rga_image() 327 request->src.act_w = src_w; in rga_copy() 338 request->dst.act_w = dst_w; in rga_copy() 386 request->src.act_w = width; in rga_dup_field() 394 request->dst.act_w = width; in rga_dup_field()
|
| H A D | rga.h | 59 RK_U16 act_w; // width member
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/ |
| H A D | vehicle_flinger.c | 590 rga_request.src.act_w = src_buffer->src.w; in rk_flinger_iep_deinterlace() 602 rga_request.dst.act_w = src_buffer->src.w; in rk_flinger_iep_deinterlace() 607 rga_request.dst.act_w = src_buffer->src.w / 2; in rk_flinger_iep_deinterlace() 674 rga_request.src.act_w = src_buffer->src.w; in rk_flinger_rga_scaler() 685 rga_request.dst.act_w = dst_buffer->width; in rk_flinger_rga_scaler() 845 rga_request.dst.act_w = dw; in rk_flinger_rga_blit() 854 rga_request.dst.act_w = dw; in rk_flinger_rga_blit() 863 rga_request.dst.act_w = dw; in rk_flinger_rga_blit() 874 rga_request.dst.act_w = dh; in rk_flinger_rga_blit() 885 rga_request.dst.act_w = dw; in rk_flinger_rga_blit() [all …]
|
| /OK3568_Linux_fs/external/linux-rga/core/hardware/ |
| H A D | rga2_driver.h | 38 unsigned short act_w; member
|
| H A D | rga_ioctl.h | 134 uint16_t act_w; member
|
| /OK3568_Linux_fs/external/mpp/mpp/vproc/inc/ |
| H A D | iep_common.h | 84 RK_U16 act_w; // act_width member
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/ |
| H A D | rga.h | 184 unsigned short act_w; member
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/ |
| H A D | rga.h | 243 uint16_t act_w; member
|