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
544 /* save chroma start phase */ in dcss_scaler_fractions_set()
574 int i, phase; in dcss_scaler_program_5_coef_set() local
589 /* reverse both phase and tap orderings */ in dcss_scaler_program_5_coef_set()
590 for (phase = (PSC_NUM_PHASES >> 1) - 1; in dcss_scaler_program_5_coef_set()
591 i < PSC_NUM_PHASES; i++, phase--) { in dcss_scaler_program_5_coef_set()
592 dcss_scaler_write(ch, ((coef[phase][5] & 0xfff) << 16 | in dcss_scaler_program_5_coef_set()
593 (coef[phase][4] & 0xfff) << 4 | in dcss_scaler_program_5_coef_set()
594 (coef[phase][3] & 0xf00) >> 8), in dcss_scaler_program_5_coef_set()
596 dcss_scaler_write(ch, ((coef[phase][3] & 0x0ff) << 20 | in dcss_scaler_program_5_coef_set()
597 (coef[phase][2] & 0xfff) << 8 | in dcss_scaler_program_5_coef_set()
598 (coef[phase][1] & 0xff0) >> 4), in dcss_scaler_program_5_coef_set()
600 dcss_scaler_write(ch, ((coef[phase][1] & 0x00f) << 24), in dcss_scaler_program_5_coef_set()
609 int i, phase; in dcss_scaler_program_7_coef_set() local
626 /* reverse both phase and tap orderings */ in dcss_scaler_program_7_coef_set()
627 for (phase = (PSC_NUM_PHASES >> 1) - 1; in dcss_scaler_program_7_coef_set()
628 i < PSC_NUM_PHASES; i++, phase--) { in dcss_scaler_program_7_coef_set()
629 dcss_scaler_write(ch, ((coef[phase][6] & 0xfff) << 16 | in dcss_scaler_program_7_coef_set()
630 (coef[phase][5] & 0xfff) << 4 | in dcss_scaler_program_7_coef_set()
631 (coef[phase][4] & 0xf00) >> 8), in dcss_scaler_program_7_coef_set()
633 dcss_scaler_write(ch, ((coef[phase][4] & 0x0ff) << 20 | in dcss_scaler_program_7_coef_set()
634 (coef[phase][3] & 0xfff) << 8 | in dcss_scaler_program_7_coef_set()
635 (coef[phase][2] & 0xff0) >> 4), in dcss_scaler_program_7_coef_set()
637 dcss_scaler_write(ch, ((coef[phase][2] & 0x00f) << 24 | in dcss_scaler_program_7_coef_set()
638 (coef[phase][1] & 0xfff) << 12 | in dcss_scaler_program_7_coef_set()
639 (coef[phase][0] & 0xfff)), in dcss_scaler_program_7_coef_set()