Home
last modified time | relevance | path

Searched refs:src_hactive (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/video/drm/rk628/
H A Drk628_post_process.c1338 u32 src_hactive; in rk628_post_process_scaler_init() local
1345 src_hactive = src->hdisplay; in rk628_post_process_scaler_init()
1376 if (src_hactive > dst_hactive) { in rk628_post_process_scaler_init()
1380 if ((src_hactive - 1) / (dst_hactive - 1) > 2) in rk628_post_process_scaler_init()
1381 scl_h_factor = ((src_hactive - 1) << 14) / in rk628_post_process_scaler_init()
1384 scl_h_factor = ((src_hactive - 2) << 14) / in rk628_post_process_scaler_init()
1387 scl_h_factor = (dst_hactive << 16) / (src_hactive - 1); in rk628_post_process_scaler_init()
1390 } else if (src_hactive == dst_hactive) { in rk628_post_process_scaler_init()
1395 scl_h_factor = ((src_hactive - 1) << 16) / (dst_hactive - 1); in rk628_post_process_scaler_init()
1421 SW_HRES(src_hactive)); in rk628_post_process_scaler_init()
H A Drk628_rgb.c175 u32 src_hsync_len, src_hback_porch, src_hfront_porch, src_hactive; in rk628_bt1120_decoder_timing_cfg() local
183 src_hactive = src->hdisplay; in rk628_bt1120_decoder_timing_cfg()
193 src_hactive + src_hfront_porch; in rk628_bt1120_decoder_timing_cfg()