Lines Matching defs:taps
151 * Purpose: setup scaling mode : bypass, RGb, YCbCr and nummber of taps
165 set_reg_field_value(value, data->taps.h_taps - 1,
167 set_reg_field_value(value, data->taps.v_taps - 1,
169 set_reg_field_value(value, data->taps.h_taps_c - 1,
171 set_reg_field_value(value, data->taps.v_taps_c - 1,
176 if (data->taps.h_taps + data->taps.v_taps > 2) {
185 if (data->taps.h_taps_c + data->taps.v_taps_c > 2) {
284 int taps,
291 int taps_pairs = (taps + 1) / 2;
340 if (taps % 2 && pair == taps_pairs - 1) {
488 static const uint16_t *get_filter_coeffs_64p(int taps, struct fixed31_32 ratio)
490 if (taps == 4)
492 else if (taps == 2)
494 else if (taps == 1)
542 /* 3. Program taps and configuration */
559 coeffs_v = get_filter_coeffs_64p(data->taps.v_taps, data->ratios.vert);
560 coeffs_h = get_filter_coeffs_64p(data->taps.h_taps, data->ratios.horz);
561 coeffs_v_c = get_filter_coeffs_64p(data->taps.v_taps_c, data->ratios.vert_c);
562 coeffs_h_c = get_filter_coeffs_64p(data->taps.h_taps_c, data->ratios.horz_c);
571 data->taps.v_taps,
576 data->taps.v_taps_c,
583 data->taps.h_taps,
588 data->taps.h_taps_c,