Lines Matching full:phase

178 	int phase;  in dcss_scaler_gaussian_filter()  local
183 for (phase = 0; phase < PSC_STORED_PHASES; phase++) { in dcss_scaler_gaussian_filter()
184 coef[phase][0] = 0; in dcss_scaler_gaussian_filter()
185 coef[phase][PSC_NUM_TAPS - 1] = 0; in dcss_scaler_gaussian_filter()
225 /* override phase 0 with identity filter if specified */ in dcss_scaler_gaussian_filter()
232 for (phase = 0; phase < PSC_STORED_PHASES; phase++) { in dcss_scaler_gaussian_filter()
237 sum += coef[phase][i]; in dcss_scaler_gaussian_filter()
239 ll_temp = coef[phase][i]; in dcss_scaler_gaussian_filter()
243 coef[phase][i] = (int)ll_temp; in dcss_scaler_gaussian_filter()
264 * @use_5_taps: 0 for 7 taps per phase, 1 for 5 taps
559 /* save chroma start phase */ in dcss_scaler_fractions_set()
589 int i, phase; in dcss_scaler_program_5_coef_set() local
604 /* reverse both phase and tap orderings */ in dcss_scaler_program_5_coef_set()
605 for (phase = (PSC_NUM_PHASES >> 1) - 1; in dcss_scaler_program_5_coef_set()
606 i < PSC_NUM_PHASES; i++, phase--) { in dcss_scaler_program_5_coef_set()
607 dcss_scaler_write(ch, ((coef[phase][5] & 0xfff) << 16 | in dcss_scaler_program_5_coef_set()
608 (coef[phase][4] & 0xfff) << 4 | in dcss_scaler_program_5_coef_set()
609 (coef[phase][3] & 0xf00) >> 8), in dcss_scaler_program_5_coef_set()
611 dcss_scaler_write(ch, ((coef[phase][3] & 0x0ff) << 20 | in dcss_scaler_program_5_coef_set()
612 (coef[phase][2] & 0xfff) << 8 | in dcss_scaler_program_5_coef_set()
613 (coef[phase][1] & 0xff0) >> 4), in dcss_scaler_program_5_coef_set()
615 dcss_scaler_write(ch, ((coef[phase][1] & 0x00f) << 24), in dcss_scaler_program_5_coef_set()
624 int i, phase; in dcss_scaler_program_7_coef_set() local
641 /* reverse both phase and tap orderings */ in dcss_scaler_program_7_coef_set()
642 for (phase = (PSC_NUM_PHASES >> 1) - 1; in dcss_scaler_program_7_coef_set()
643 i < PSC_NUM_PHASES; i++, phase--) { in dcss_scaler_program_7_coef_set()
644 dcss_scaler_write(ch, ((coef[phase][6] & 0xfff) << 16 | in dcss_scaler_program_7_coef_set()
645 (coef[phase][5] & 0xfff) << 4 | in dcss_scaler_program_7_coef_set()
646 (coef[phase][4] & 0xf00) >> 8), in dcss_scaler_program_7_coef_set()
648 dcss_scaler_write(ch, ((coef[phase][4] & 0x0ff) << 20 | in dcss_scaler_program_7_coef_set()
649 (coef[phase][3] & 0xfff) << 8 | in dcss_scaler_program_7_coef_set()
650 (coef[phase][2] & 0xff0) >> 4), in dcss_scaler_program_7_coef_set()
652 dcss_scaler_write(ch, ((coef[phase][2] & 0x00f) << 24 | in dcss_scaler_program_7_coef_set()
653 (coef[phase][1] & 0xfff) << 12 | in dcss_scaler_program_7_coef_set()
654 (coef[phase][0] & 0xfff)), in dcss_scaler_program_7_coef_set()