Home
last modified time | relevance | path

Searched refs:coeffs (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/misc/echo/
Dfir.h56 const int16_t *coeffs; member
68 const int32_t *coeffs; member
79 const float *coeffs; member
84 const int16_t *coeffs, int taps) in fir16_create() argument
88 fir->coeffs = coeffs; in fir16_create()
116 y += fir->coeffs[i] * fir->history[i - offset1]; in fir16()
118 y += fir->coeffs[i] * fir->history[i + offset2]; in fir16()
126 const int32_t *coeffs, int taps) in fir32_create() argument
130 fir->coeffs = coeffs; in fir32_create()
157 y += fir->coeffs[i] * fir->history[i - offset1]; in fir32()
[all …]
Decho.c363 ec->fir_state.coeffs = ec->fir_taps16[0]; in oslec_update()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_color.c141 uint16_t coeffs[9] = { 0, }; in ilk_load_csc_matrix() local
169 for (i = 0; i < ARRAY_SIZE(coeffs); i++) { in ilk_load_csc_matrix()
180 coeffs[i] |= 1 << 15; in ilk_load_csc_matrix()
183 coeffs[i] |= (3 << 12) | in ilk_load_csc_matrix()
186 coeffs[i] |= (2 << 12) | in ilk_load_csc_matrix()
189 coeffs[i] |= (1 << 12) | in ilk_load_csc_matrix()
192 coeffs[i] |= ILK_CSC_COEFF_FP(abs_coeff, 9); in ilk_load_csc_matrix()
194 coeffs[i] |= (7 << 12) | in ilk_load_csc_matrix()
197 coeffs[i] |= (6 << 12) | in ilk_load_csc_matrix()
211 coeffs[i * 3 + i] = in ilk_load_csc_matrix()
[all …]
/Linux-v4.19/drivers/iio/light/
Dsi1133.c245 const struct si1133_coeff *coeffs) in si1133_calculate_output() argument
253 shift = ((u16)coeffs->info & 0xFF00) >> 8; in si1133_calculate_output()
260 coeffs->mag, shift); in si1133_calculate_output()
267 coeffs->mag, shift); in si1133_calculate_output()
280 const struct si1133_coeff *coeffs) in si1133_calc_polynomial() argument
288 if (coeffs->info < 0) in si1133_calc_polynomial()
293 x_order = si1133_get_x_order(coeffs->info); in si1133_calc_polynomial()
294 y_order = si1133_get_y_order(coeffs->info); in si1133_calc_polynomial()
298 sign * coeffs->mag << SI1133_LUX_OUTPUT_FRACTION; in si1133_calc_polynomial()
303 coeffs); in si1133_calc_polynomial()
[all …]
/Linux-v4.19/drivers/media/platform/vicodec/
Dvicodec-codec.c641 fwht(input, cf->coeffs, width, input_step, 1); in encode_plane()
642 quantize_intra(cf->coeffs, cf->de_coeffs); in encode_plane()
647 fwht16(deltablock, cf->coeffs, 8, 0); in encode_plane()
648 quantize_inter(cf->coeffs, cf->de_coeffs); in encode_plane()
664 size = rlc(cf->coeffs, *rlco, blocktype); in encode_plane()
767 stat = derlc(rlco, cf->coeffs); in decode_plane()
770 dequantize_inter(cf->coeffs); in decode_plane()
772 dequantize_intra(cf->coeffs); in decode_plane()
774 ifwht(cf->coeffs, cf->de_fwht, in decode_plane()
Dvicodec-codec.h107 s16 coeffs[8 * 8]; member
/Linux-v4.19/drivers/isdn/hardware/eicon/
Dcapidtmf.c185 static void capidtmf_goertzel_loop(long *buffer, long *coeffs, short *sample, long count) in capidtmf_goertzel_loop() argument
194 d = coeffs[i] >> 1; in capidtmf_goertzel_loop()
221 c = (coeffs[i] >> 1) << 1; in capidtmf_goertzel_loop()
243 coeffs[i] = c; in capidtmf_goertzel_loop()
249 static void capidtmf_goertzel_result(long *buffer, long *coeffs) in capidtmf_goertzel_result() argument
259 d = coeffs[i] >> 1; in capidtmf_goertzel_result()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c286 const uint16_t *coeffs, in program_multi_taps_filter() argument
298 if (!coeffs) in program_multi_taps_filter()
337 data, coeffs[array_idx], in program_multi_taps_filter()
353 data, coeffs[array_idx + 1], in program_multi_taps_filter()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c183 const uint16_t *coeffs, in program_multi_taps_filter() argument
193 if (!coeffs) in program_multi_taps_filter()
208 uint16_t even_coeff = coeffs[array_idx]; in program_multi_taps_filter()
218 odd_coeff = coeffs[array_idx + 1]; in program_multi_taps_filter()
/Linux-v4.19/drivers/gpu/drm/arm/
Dmalidp_crtc.c126 u32 coeffs[MALIDP_COEFFTAB_NUM_COEFFS]) in malidp_generate_gamma_table()
141 coeffs[i] = DE_COEFTAB_DATA(a, b); in malidp_generate_gamma_table()
/Linux-v4.19/drivers/media/i2c/
Dmax2175.c436 u8 bank, const u16 *coeffs) in max2175_set_filter_coeffs() argument
449 max2175_write(ctx, 115, coeffs[i] >> 8); in max2175_set_filter_coeffs()
450 max2175_write(ctx, 116, coeffs[i]); in max2175_set_filter_coeffs()
/Linux-v4.19/sound/pci/asihpi/
Dhpifunc.c2240 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5] in hpi_parametric_eq_get_coeffs()
2255 coeffs[0] = (short)hr.u.c.an_log_value[0]; in hpi_parametric_eq_get_coeffs()
2256 coeffs[1] = (short)hr.u.c.an_log_value[1]; in hpi_parametric_eq_get_coeffs()
2257 coeffs[2] = (short)hr.u.c.param1; in hpi_parametric_eq_get_coeffs()
2258 coeffs[3] = (short)(hr.u.c.param1 >> 16); in hpi_parametric_eq_get_coeffs()
2259 coeffs[4] = (short)hr.u.c.param2; in hpi_parametric_eq_get_coeffs()
Dhpi.h1629 u16 hpi_parametric_eq_get_coeffs(u32 h_control, u16 index, short coeffs[5]
/Linux-v4.19/Documentation/input/devices/
Diforce-protocol.rst190 The encoding is a bit funny here: For coeffs, these are signed values. The