Lines Matching refs:coef
171 int coef[][PSC_NUM_TAPS]) in dcss_scaler_gaussian_filter()
182 coef[phase][0] = 0; in dcss_scaler_gaussian_filter()
183 coef[phase][PSC_NUM_TAPS - 1] = 0; in dcss_scaler_gaussian_filter()
199 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = g0_q; in dcss_scaler_gaussian_filter()
211 coef[phase_cnt & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
215 coef[(-phase_cnt) & PSC_PHASE_MASK][tap_idx] = g0_q; in dcss_scaler_gaussian_filter()
221 coef[phase_cnt & PSC_PHASE_MASK][tap_cnt1 >> PSC_BITS_FOR_PHASE] = 0; in dcss_scaler_gaussian_filter()
226 coef[0][i] = i == (PSC_NUM_TAPS >> 1) ? in dcss_scaler_gaussian_filter()
235 sum += coef[phase][i]; in dcss_scaler_gaussian_filter()
237 ll_temp = coef[phase][i]; in dcss_scaler_gaussian_filter()
241 coef[phase][i] = (int)ll_temp; in dcss_scaler_gaussian_filter()
256 int coef[][PSC_NUM_TAPS]) in dcss_scaler_filter_design()
267 dcss_scaler_gaussian_filter(fc_q, use_5_taps, phase0_identity, coef); in dcss_scaler_filter_design()
570 int coef[][PSC_NUM_TAPS]) in dcss_scaler_program_5_coef_set()
575 dcss_scaler_write(ch, ((coef[i][1] & 0xfff) << 16 | in dcss_scaler_program_5_coef_set()
576 (coef[i][2] & 0xfff) << 4 | in dcss_scaler_program_5_coef_set()
577 (coef[i][3] & 0xf00) >> 8), in dcss_scaler_program_5_coef_set()
579 dcss_scaler_write(ch, ((coef[i][3] & 0x0ff) << 20 | in dcss_scaler_program_5_coef_set()
580 (coef[i][4] & 0xfff) << 8 | in dcss_scaler_program_5_coef_set()
581 (coef[i][5] & 0xff0) >> 4), in dcss_scaler_program_5_coef_set()
583 dcss_scaler_write(ch, ((coef[i][5] & 0x00f) << 24), in dcss_scaler_program_5_coef_set()
590 dcss_scaler_write(ch, ((coef[phase][5] & 0xfff) << 16 | in dcss_scaler_program_5_coef_set()
591 (coef[phase][4] & 0xfff) << 4 | in dcss_scaler_program_5_coef_set()
592 (coef[phase][3] & 0xf00) >> 8), in dcss_scaler_program_5_coef_set()
594 dcss_scaler_write(ch, ((coef[phase][3] & 0x0ff) << 20 | in dcss_scaler_program_5_coef_set()
595 (coef[phase][2] & 0xfff) << 8 | in dcss_scaler_program_5_coef_set()
596 (coef[phase][1] & 0xff0) >> 4), in dcss_scaler_program_5_coef_set()
598 dcss_scaler_write(ch, ((coef[phase][1] & 0x00f) << 24), in dcss_scaler_program_5_coef_set()
605 int coef[][PSC_NUM_TAPS]) in dcss_scaler_program_7_coef_set()
610 dcss_scaler_write(ch, ((coef[i][0] & 0xfff) << 16 | in dcss_scaler_program_7_coef_set()
611 (coef[i][1] & 0xfff) << 4 | in dcss_scaler_program_7_coef_set()
612 (coef[i][2] & 0xf00) >> 8), in dcss_scaler_program_7_coef_set()
614 dcss_scaler_write(ch, ((coef[i][2] & 0x0ff) << 20 | in dcss_scaler_program_7_coef_set()
615 (coef[i][3] & 0xfff) << 8 | in dcss_scaler_program_7_coef_set()
616 (coef[i][4] & 0xff0) >> 4), in dcss_scaler_program_7_coef_set()
618 dcss_scaler_write(ch, ((coef[i][4] & 0x00f) << 24 | in dcss_scaler_program_7_coef_set()
619 (coef[i][5] & 0xfff) << 12 | in dcss_scaler_program_7_coef_set()
620 (coef[i][6] & 0xfff)), in dcss_scaler_program_7_coef_set()
627 dcss_scaler_write(ch, ((coef[phase][6] & 0xfff) << 16 | in dcss_scaler_program_7_coef_set()
628 (coef[phase][5] & 0xfff) << 4 | in dcss_scaler_program_7_coef_set()
629 (coef[phase][4] & 0xf00) >> 8), in dcss_scaler_program_7_coef_set()
631 dcss_scaler_write(ch, ((coef[phase][4] & 0x0ff) << 20 | in dcss_scaler_program_7_coef_set()
632 (coef[phase][3] & 0xfff) << 8 | in dcss_scaler_program_7_coef_set()
633 (coef[phase][2] & 0xff0) >> 4), in dcss_scaler_program_7_coef_set()
635 dcss_scaler_write(ch, ((coef[phase][2] & 0x00f) << 24 | in dcss_scaler_program_7_coef_set()
636 (coef[phase][1] & 0xfff) << 12 | in dcss_scaler_program_7_coef_set()
637 (coef[phase][0] & 0xfff)), in dcss_scaler_program_7_coef_set()
649 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; in dcss_scaler_yuv_coef_set() local
656 src_xres == dst_xres, coef); in dcss_scaler_yuv_coef_set()
657 dcss_scaler_program_7_coef_set(ch, DCSS_SCALER_COEF_HLUM, coef); in dcss_scaler_yuv_coef_set()
661 src_yres == dst_yres, coef); in dcss_scaler_yuv_coef_set()
664 dcss_scaler_program_5_coef_set(ch, DCSS_SCALER_COEF_VLUM, coef); in dcss_scaler_yuv_coef_set()
666 dcss_scaler_program_7_coef_set(ch, DCSS_SCALER_COEF_VLUM, coef); in dcss_scaler_yuv_coef_set()
681 coef); in dcss_scaler_yuv_coef_set()
683 dcss_scaler_program_7_coef_set(ch, DCSS_SCALER_COEF_HCHR, coef); in dcss_scaler_yuv_coef_set()
688 coef); in dcss_scaler_yuv_coef_set()
690 dcss_scaler_program_5_coef_set(ch, DCSS_SCALER_COEF_VCHR, coef); in dcss_scaler_yuv_coef_set()
692 dcss_scaler_program_7_coef_set(ch, DCSS_SCALER_COEF_VCHR, coef); in dcss_scaler_yuv_coef_set()
699 int coef[PSC_STORED_PHASES][PSC_NUM_TAPS]; in dcss_scaler_rgb_coef_set() local
703 src_xres == dst_xres, coef); in dcss_scaler_rgb_coef_set()
704 dcss_scaler_program_7_coef_set(ch, DCSS_SCALER_COEF_HLUM, coef); in dcss_scaler_rgb_coef_set()
708 src_yres == dst_yres, coef); in dcss_scaler_rgb_coef_set()
709 dcss_scaler_program_7_coef_set(ch, DCSS_SCALER_COEF_VLUM, coef); in dcss_scaler_rgb_coef_set()