Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_post_process.c93 u32 dst_hsync_len, dst_hback_porch, dst_hfront_porch, dst_hactive; in rk628_post_process_scaler_init() local
101 dst_hactive = dst->hdisplay; in rk628_post_process_scaler_init()
111 dst_hactive + dst_hfront_porch; in rk628_post_process_scaler_init()
116 dsp_hbor_end = dst_hsync_len + dst_hback_porch + dst_hactive; in rk628_post_process_scaler_init()
129 if (src_hactive > dst_hactive) { in rk628_post_process_scaler_init()
133 if ((src_hactive - 1) / (dst_hactive - 1) > 2) in rk628_post_process_scaler_init()
135 (dst_hactive - 1); in rk628_post_process_scaler_init()
138 (dst_hactive - 1); in rk628_post_process_scaler_init()
140 scl_h_factor = (dst_hactive << 16) / (src_hactive - 1); in rk628_post_process_scaler_init()
143 } else if (src_hactive == dst_hactive) { in rk628_post_process_scaler_init()
[all …]