Lines Matching refs:xpsc
72 u32 dcgx = 0, xpsc = 0, xacm = 0, cxy = 0, cxuv = 0; in calculate_h_scale_registers() local
93 xpsc = in_x / out_x; in calculate_h_scale_registers()
97 xpsc = 1; in calculate_h_scale_registers()
107 while (in_x / xpsc >= 384 ) in calculate_h_scale_registers()
108 xpsc++; in calculate_h_scale_registers()
113 while ( in_x / xpsc >= 768 ) in calculate_h_scale_registers()
114 xpsc++; in calculate_h_scale_registers()
118 if ( xpsc > 64 ) in calculate_h_scale_registers()
119 xpsc = 64; in calculate_h_scale_registers()
125 cxy = hps_h_coeff_tab[( (xpsc - 1) < 63 ? (xpsc - 1) : 63 )].hps_coeff; in calculate_h_scale_registers()
131 if ( (in_x == out_x) && ( 1 == xpsc ) ) in calculate_h_scale_registers()
134 xsci = ( (1024 * in_x) / (out_x * xpsc) ) + xpsc; in calculate_h_scale_registers()
147 if( 1 == xpsc ) { in calculate_h_scale_registers()
154 h_atten = hps_h_coeff_tab[( (xpsc - 1) < 63 ? (xpsc - 1) : 63 )].weight_sum; in calculate_h_scale_registers()
185 *hps_h_prescale |= (dcgx << 27) | ((xpsc-1) << 18) | (xacm << 17) | (cxy << 8) | (cxuv << 0); in calculate_h_scale_registers()