Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_post_process.c95 u32 src_hactive; in rk628_post_process_scaler_init() local
98 src_hactive = src->hdisplay; 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()
134 scl_h_factor = ((src_hactive - 1) << 14) / in rk628_post_process_scaler_init()
137 scl_h_factor = ((src_hactive - 2) << 14) / 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()
148 scl_h_factor = ((src_hactive - 1) << 16) / (dst_hactive - 1); in rk628_post_process_scaler_init()
174 SW_HRES(src_hactive)); in rk628_post_process_scaler_init()
H A Drk628.c712 u32 src_hactive, src_hoffset, src_htotal, src_hs_end; in rk628_debugfs_dump() local
850 src_hactive = reg_v & 0xffff; in rk628_debugfs_dump()
855 src_hactive *= tdms_clk_div; in rk628_debugfs_dump()
882 src_hactive, src_vactive, fps, clk_rx_read, tdms_clk); in rk628_debugfs_dump()
884 DEBUG_PRINT("\tH: %d %d %d %d\n", src_hactive, src_htotal - src_hoffset, in rk628_debugfs_dump()
893 src_hactive = reg_v & 0xffff; in rk628_debugfs_dump()
906 src_hactive, src_vactive, fps, clk_rx_read); in rk628_debugfs_dump()