Home
last modified time | relevance | path

Searched refs:act_h (Results 1 – 25 of 33) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga/
H A DRGA_API.c35 s_act_h = msg->src.act_h; in matrix_cal()
37 d_act_h = msg->dst.act_h; in matrix_cal()
102 if (msg->dst.act_h == 0) in RGA_gen_two_pro()
108 h_ratio = (msg->src.act_h << 16) / msg->dst.act_h; in RGA_gen_two_pro()
148 dah = (msg->src.act_h + 1) >> 1; in RGA_gen_two_pro()
151 msg->src.act_h = dah << 1; in RGA_gen_two_pro()
155 dah = (msg->src.act_h + 3) >> 2; in RGA_gen_two_pro()
158 msg->src.act_h = dah << 2; in RGA_gen_two_pro()
163 dah = (msg->src.act_h + 7) >> 3; in RGA_gen_two_pro()
166 msg->src.act_h = dah << 3; in RGA_gen_two_pro()
[all …]
H A Drga_drv.c307 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()
327 (req->src.act_h % 2) || (req->src.vir_h % 2)) in rga_align_check()
333 (req->dst.act_h % 2) || (req->dst.vir_h % 2)) in rga_align_check()
339 (req->src.act_h % 2) || (req->src.vir_h % 2)) in rga_align_check()
345 (req->dst.act_h % 2) || (req->dst.vir_h % 2)) in rga_align_check()
655 …req->src.act_w <= 0) || (req->src.act_w > 8191) || (req->src.act_h <= 0) || (req->src.act_h > 8191… 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 …req->dst.act_w <= 0) || (req->dst.act_w > 2048) || (req->dst.act_h <= 0) || (req->dst.act_h > 2048… 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 Drga_reg_info.c100 u32 height = msg->dst.act_h; in dst_ctrl_cal()
416 tile->tile_start_y_coor = (((msg->src.act_h - 1)<<11) - (tile->tile_h))>>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()
711 x_off = msg->dst.x_offset - msg->dst.act_h + 1; in RGA_set_dst()
715 y_off = msg->dst.y_offset - msg->dst.act_h + 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()
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()
1071 yp = CLIP(yp, msg->src.y_offset, msg->src.y_offset + msg->src.act_h - 1); in RGA_set_bitblt_reg_info()
1357 src_height = msg->src.act_h; in RGA_set_pre_scale_reg_info()
[all …]
H A Drga.h130 unsigned short act_h; member
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/
H A Drga2_drv.c333 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()
366 (req->src.act_h % 2) || (req->src.vir_h % 2)) in rga2_align_check()
371 (req->dst.act_h % 2) || (req->dst.vir_h % 2)) in rga2_align_check()
376 (req->src.act_h % 2) || (req->src.vir_h % 2)) in rga2_align_check()
381 (req->dst.act_h % 2) || (req->dst.vir_h % 2)) in rga2_align_check()
393 sah = req->src.act_h; in rga2_scale_check()
395 dah = req->dst.act_h; in rga2_scale_check()
702 …req->src.act_w <= 0) || (req->src.act_w > 8192) || (req->src.act_h <= 0) || (req->src.act_h > 8192… in rga2_check_param()
[all …]
H A Drga2_reg_info.c61 dw = msg->dst.act_h; in RGA2_reg_get_param()
67 dh = msg->dst.act_h; in RGA2_reg_get_param()
71 sh = msg->src.act_h; in RGA2_reg_get_param()
197 (msg->src.act_h == msg->dst.act_h) && in RGA2_set_reg_src_info()
206 sh = msg->src.act_h; in RGA2_set_reg_src_info()
210 dw = msg->dst.act_h; in RGA2_set_reg_src_info()
216 dh = msg->dst.act_h; 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 Drga2.h320 unsigned short act_h; member
339 unsigned short act_h; member
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga_policy.c118 if (!rga_check_resolution(&data->input_range, src0->act_w, src0->act_h)) in rga_check_src0()
124 src0->act_h + src0->y_offset)) in rga_check_src0()
139 if (!rga_check_resolution(&data->input_range, src1->act_w, src1->act_h)) in rga_check_src1()
145 src1->act_h + src1->y_offset)) in rga_check_src1()
160 if (!rga_check_resolution(&data->output_range, dst->act_w, dst->act_h)) in rga_check_dst()
166 dst->act_h + dst->y_offset)) in rga_check_dst()
188 sh = src0->act_h; in rga_check_scale()
192 dw = dst->act_h; in rga_check_scale()
196 dh = dst->act_h; in rga_check_scale()
H A Drga2_reg_info.c112 dw = msg->dst.act_h; in RGA2_reg_get_param()
116 dh = msg->dst.act_h; in RGA2_reg_get_param()
120 sh = msg->src.act_h; in RGA2_reg_get_param()
249 (msg->src.act_h == msg->dst.act_h) && in RGA2_set_reg_src_info()
258 sh = msg->src.act_h; in RGA2_set_reg_src_info()
261 dw = msg->dst.act_h; in RGA2_set_reg_src_info()
265 dh = msg->dst.act_h; in RGA2_set_reg_src_info()
626 (msg->src.act_w - 1) | ((msg->src.act_h - 1) << 16); in RGA2_set_reg_src_info()
1097 && (msg->dst.act_h == msg->src.act_h) 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 Drga3_reg_info.c1361 win->src_act_h = img->act_h; in set_win_info()
1509 req->win0.dst_act_h = req_rga->dst.act_h; in rga_cmd_to_rga3_cmd()
1542 (req_rga->dst.y_offset + req_rga->src.act_h > in rga_cmd_to_rga3_cmd()
1543 req_rga->pat.act_h)) { in rga_cmd_to_rga3_cmd()
1575 req->win0.dst_act_h = req_rga->dst.act_h + req->win0.y_offset; in rga_cmd_to_rga3_cmd()
1581 req->win0.dst_act_h = req_rga->dst.act_h; in rga_cmd_to_rga3_cmd()
1585 req->win1.dst_act_h = req_rga->dst.act_h; in rga_cmd_to_rga3_cmd()
1597 req->win0.dst_act_h = req_rga->dst.act_h; in rga_cmd_to_rga3_cmd()
1600 req->win1.dst_act_h = req_rga->dst.act_h; in rga_cmd_to_rga3_cmd()
1613 req->win1.dst_act_w = req_rga->dst.act_h; in rga_cmd_to_rga3_cmd()
[all …]
H A Drga_debugger.c756 (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 Drga_drv.c83 channel_info->act_h = mpi_frame->height; in rga_mpi_set_channel_info()
94 cache_info->act_h = mpi_frame->height; in rga_mpi_set_channel_info()
232 mpi_job->output->height = mpi_cmd.dst.act_h; in rga_mpi_commit()
/OK3568_Linux_fs/external/mpp/mpp/vproc/iep/
H A Diep.cpp136 mpp_log("act_h %d\n", img->act_h); 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()
250 …RK_S32 scl_fct_v = src->act_h > dst->act_h ? (src->act_h * 1000 / dst->act_h) : (dst->act_h * 1000… in check_msg_image()
H A Diep.h138 RK_U16 act_h; // act_height member
/OK3568_Linux_fs/kernel/drivers/video/rockchip/iep/
H A Dhw_iep_reg.c26 IEP_REGB_SRC_IMG_HEIGHT(iep_msg->base, iep_msg->src.act_h - 1); in iep_config_src_size()
30 iep_msg->src.act_h - 1); in iep_config_src_size()
39 IEP_REGB_DST_IMG_HEIGHT(iep_msg->base, iep_msg->dst.act_h - 1); in iep_config_dst_size()
43 iep_msg->dst.act_h - 1); in iep_config_dst_size()
292 src_height = iep_msg->src.act_h - 1; in iep_config_scl()
294 dst_height = iep_msg->dst.act_h - 1; in iep_config_scl()
298 (iep_msg->src.act_h == iep_msg->dst.act_h)) in iep_config_scl()
304 (iep_msg->src.act_h >= iep_msg->dst.act_h)) in iep_config_scl()
307 (iep_msg->src.act_h <= iep_msg->dst.act_h)) in iep_config_scl()
310 (iep_msg->src.act_h >= iep_msg->dst.act_h)) in iep_config_scl()
[all …]
H A Diep.h178 u16 act_h; /* act_height */ member
/OK3568_Linux_fs/external/linux-rga/core/
H A DNormalRgaApi.cpp292 req->src.act_h = height; in NormalRgaSetSrcActiveInfo()
335 req->dst.act_h = height; in NormalRgaSetDstActiveInfo()
376 req->pat.act_h = height; in NormalRgaSetPatActiveInfo()
418 msg->pat.act_h = height; in NormalRgaSetPatInfo()
704 msg->pat.act_h = pat_height; in NormalRgaSetColorFillMode()
804 msg->pat.act_h = 1; 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()
1106 info->act_h = orig_info->act_h; in NormalRgaCompatModeConvertRga2ImgeInfo()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/vproc/rga/
H A Drga.cpp191 img->act_h = height; in config_rga_image()
328 request->src.act_h = src_h; in rga_copy()
339 request->dst.act_h = dst_h; in rga_copy()
387 request->src.act_h = height / 2; in rga_dup_field()
395 request->dst.act_h = height / 2; in rga_dup_field()
H A Drga.h60 RK_U16 act_h; // height member
/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle_flinger.c591 rga_request.src.act_h = src_buffer->src.h; in rk_flinger_iep_deinterlace()
603 rga_request.dst.act_h = src_buffer->src.h / 2; in rk_flinger_iep_deinterlace()
608 rga_request.dst.act_h = src_buffer->src.h; in rk_flinger_iep_deinterlace()
675 rga_request.src.act_h = src_buffer->src.h; in rk_flinger_rga_scaler()
686 rga_request.dst.act_h = dst_buffer->height; in rk_flinger_rga_scaler()
846 rga_request.dst.act_h = dh; in rk_flinger_rga_blit()
855 rga_request.dst.act_h = dh; in rk_flinger_rga_blit()
864 rga_request.dst.act_h = dh; in rk_flinger_rga_blit()
875 rga_request.dst.act_h = dw; in rk_flinger_rga_blit()
886 rga_request.dst.act_h = dh; in rk_flinger_rga_blit()
[all …]
/OK3568_Linux_fs/external/linux-rga/core/hardware/
H A Drga2_driver.h39 unsigned short act_h; member
H A Drga_ioctl.h135 uint16_t act_h; member
/OK3568_Linux_fs/external/mpp/mpp/vproc/inc/
H A Diep_common.h85 RK_U16 act_h; // act_height member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/
H A Drga.h185 unsigned short act_h; member
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/
H A Drga.h244 uint16_t act_h; member

12