Home
last modified time | relevance | path

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

/drivers/misc/echo/
Dfir.h44 const int16_t *coeffs; member
56 const int32_t *coeffs; member
67 const float *coeffs; member
72 const int16_t *coeffs, int taps) in fir16_create() argument
76 fir->coeffs = coeffs; in fir16_create()
104 y += fir->coeffs[i] * fir->history[i - offset1]; in fir16()
106 y += fir->coeffs[i] * fir->history[i + offset2]; in fir16()
114 const int32_t *coeffs, int taps) in fir32_create() argument
118 fir->coeffs = coeffs; in fir32_create()
145 y += fir->coeffs[i] * fir->history[i - offset1]; in fir32()
[all …]
Decho.c351 ec->fir_state.coeffs = ec->fir_taps16[0]; in oslec_update()
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_color_mgmt.c49 const s32 *coeffs; in komeda_select_yuv2rgb_coeffs() local
53 coeffs = narrow ? yuv2rgb_bt709_narrow : yuv2rgb_bt709_wide; in komeda_select_yuv2rgb_coeffs()
56 coeffs = narrow ? yuv2rgb_bt601_narrow : yuv2rgb_bt601_wide; in komeda_select_yuv2rgb_coeffs()
59 coeffs = yuv2rgb_bt2020; in komeda_select_yuv2rgb_coeffs()
62 coeffs = NULL; in komeda_select_yuv2rgb_coeffs()
66 return coeffs; in komeda_select_yuv2rgb_coeffs()
/drivers/gpu/drm/i915/display/
Dintel_color.c204 u16 coeffs[9]) in ilk_csc_convert_ctm()
229 coeffs[i] = 0; in ilk_csc_convert_ctm()
233 coeffs[i] |= 1 << 15; in ilk_csc_convert_ctm()
236 coeffs[i] |= (3 << 12) | in ilk_csc_convert_ctm()
239 coeffs[i] |= (2 << 12) | in ilk_csc_convert_ctm()
242 coeffs[i] |= (1 << 12) | in ilk_csc_convert_ctm()
245 coeffs[i] |= ILK_CSC_COEFF_FP(abs_coeff, 9); in ilk_csc_convert_ctm()
247 coeffs[i] |= (7 << 12) | in ilk_csc_convert_ctm()
250 coeffs[i] |= (6 << 12) | in ilk_csc_convert_ctm()
331 u16 coeffs[9] = {}; in cherryview_load_csc_matrix() local
[all …]
/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 …]
/drivers/media/platform/vicodec/
Dcodec-fwht.c710 fwht(input, cf->coeffs, stride, input_step, 1); in encode_plane()
711 quantize_intra(cf->coeffs, cf->de_coeffs, in encode_plane()
716 fwht16(deltablock, cf->coeffs, 8, 0); in encode_plane()
717 quantize_inter(cf->coeffs, cf->de_coeffs, in encode_plane()
731 size = rlc(cf->coeffs, *rlco, blocktype); in encode_plane()
885 stat = derlc(rlco, cf->coeffs, end_of_rlco_buf); in decode_plane()
889 dequantize_inter(cf->coeffs); in decode_plane()
891 dequantize_intra(cf->coeffs); in decode_plane()
893 ifwht(cf->coeffs, cf->de_fwht, in decode_plane()
Dcodec-fwht.h115 s16 coeffs[8 * 8]; member
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c288 const uint16_t *coeffs, in program_multi_taps_filter() argument
300 if (!coeffs) in program_multi_taps_filter()
339 data, coeffs[array_idx], in program_multi_taps_filter()
355 data, coeffs[array_idx + 1], in program_multi_taps_filter()
/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()
/drivers/gpu/drm/arm/
Dmalidp_crtc.c125 u32 coeffs[MALIDP_COEFFTAB_NUM_COEFFS]) in malidp_generate_gamma_table()
140 coeffs[i] = DE_COEFTAB_DATA(a, b); in malidp_generate_gamma_table()
/drivers/media/i2c/
Dmax2175.c428 u8 bank, const u16 *coeffs) in max2175_set_filter_coeffs() argument
441 max2175_write(ctx, 115, coeffs[i] >> 8); in max2175_set_filter_coeffs()
442 max2175_write(ctx, 116, coeffs[i]); in max2175_set_filter_coeffs()
/drivers/staging/media/ipu3/
Dipu3-css-params.c46 const int *coeffs, unsigned int coeffs_size, in imgu_css_scaler_setup_lut() argument
76 s64 coeff = coeffs[coeffs_size - in imgu_css_scaler_setup_lut()