Searched refs:ysci (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c218 u32 yacm = 0, ysci = 0, yacl = 0, ypo = 0, ype = 0; calculate_v_scale_registers() local
254 ysci = ((1024 * in_y) / (out_y + 1)) - 1024; calculate_v_scale_registers()
256 ysci = 0; calculate_v_scale_registers()
261 ype = ysci / 16; calculate_v_scale_registers()
262 ypo = ype + (ysci / 64); calculate_v_scale_registers()
268 ysci = (((10 * 1024 * (in_y - out_y - 1)) / in_y) + 9) / 10; calculate_v_scale_registers()
271 ypo = ype = ((ysci + 15) / 16); calculate_v_scale_registers()
278 if ( ysci < 512) { calculate_v_scale_registers()
281 yacl = ( ysci / (1024 - ysci) ); calculate_v_scale_registers()
299 *hps_v_scale |= (yacm << 31) | (ysci << 21) | (yacl << 15) | (ypo << 8 ) | (ype << 1); calculate_v_scale_registers()

Completed in 71 milliseconds