Home
last modified time | relevance | path

Searched refs:scale_hy (Results 1 – 9 of 9) sorted by relevance

/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dregs.c125 rkisp_read(dev, stream->config->rsz.scale_hy, false), in rkisp_dump_rsz_regs()
161 u32 scale_hy_addr = stream->config->rsz.scale_hy; in set_scale()
167 u32 scale_hy = 1, scale_hc = 1, scale_vy = 1, scale_vc = 1; in set_scale() local
173 scale_hy = ((in_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / in set_scale()
175 rkisp_write(dev, scale_hy_addr, scale_hy, false); in set_scale()
178 scale_hy = ((out_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / in set_scale()
180 rkisp_write(dev, scale_hy_addr, scale_hy, false); in set_scale()
236 u32 left_y = DIV_ROUND_UP(scl_w * 65536, scale_hy); in set_scale()
238 u32 phase_src_y = left_y * scale_hy; in set_scale()
240 u32 phase_left_y = scale_hy - (phase_src_y - phase_dst_y); in set_scale()
[all …]
Dcapture.h148 u32 scale_hy; member
Dcapture.c764 .scale_hy = CIF_MRSZ_SCALE_HY,
821 .scale_hy = CIF_SRSZ_SCALE_HY,
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dregs.c125 rkisp_read(dev, stream->config->rsz.scale_hy, false), in rkisp_dump_rsz_regs()
161 u32 scale_hy_addr = stream->config->rsz.scale_hy; in set_scale()
167 u32 scale_hy = 1, scale_hc = 1, scale_vy = 1, scale_vc = 1; in set_scale() local
173 scale_hy = ((in_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / in set_scale()
175 rkisp_write(dev, scale_hy_addr, scale_hy, false); in set_scale()
178 scale_hy = ((out_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / in set_scale()
180 rkisp_write(dev, scale_hy_addr, scale_hy, false); in set_scale()
236 u32 left_y = DIV_ROUND_UP(scl_w * 65536, scale_hy); in set_scale()
238 u32 phase_src_y = left_y * scale_hy; in set_scale()
240 u32 phase_left_y = scale_hy - (phase_src_y - phase_dst_y); in set_scale()
[all …]
Dcapture.h148 u32 scale_hy; member
Dcapture.c764 .scale_hy = CIF_MRSZ_SCALE_HY,
821 .scale_hy = CIF_SRSZ_SCALE_HY,
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dregs.c122 …rkisp_read(dev, stream->config->rsz.scale_hy, false), rkisp_read(dev, stream->config->rsz.scale_hy… in rkisp_dump_rsz_regs()
148 u32 scale_hy_addr = stream->config->rsz.scale_hy; in set_scale()
154 u32 scale_hy = 1, scale_hc = 1, scale_vy = 1, scale_vc = 1; in set_scale() local
159 scale_hy = ((in_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / (out_y->width - 1); in set_scale()
160 rkisp_write(dev, scale_hy_addr, scale_hy, false); in set_scale()
163 scale_hy = ((out_y->width - 1) * CIF_RSZ_SCALER_FACTOR) / (in_y->width - 1) + 1; in set_scale()
164 rkisp_write(dev, scale_hy_addr, scale_hy, false); in set_scale()
209 u32 left_y = DIV_ROUND_UP(scl_w * 65536, scale_hy); in set_scale()
211 u32 phase_src_y = left_y * scale_hy; in set_scale()
213 u32 phase_left_y = scale_hy - (phase_src_y - phase_dst_y); in set_scale()
[all …]
Dcapture.h144 u32 scale_hy; member
Dcapture.c774 .scale_hy = CIF_MRSZ_SCALE_HY,
834 .scale_hy = CIF_SRSZ_SCALE_HY,