Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 45) sorted by relevance

12

/sof-2.7.6/tools/tune/crossover/
Dcrossover_generate_config.m14 k = 1; variable
16 config.all_coef(k:k+6) = crossover_bqs.lp_coef(j:j+6); k = k+7;
17 config.all_coef(k:k+6) = crossover_bqs.hp_coef(j:j+6); k = k+7;
/sof-2.7.6/tools/tune/drc/
Ddrc_gen_coefs.m20 k = k_at_slope(coefs.db_threshold, coefs.db_knee, coefs.linear_threshold, coefs.slope); variable
21 coefs.K = k;
22 coefs.knee_alpha = coefs.linear_threshold + 1 / k;
23 coefs.knee_beta = -exp(k * coefs.linear_threshold) / k;
26 y0 = knee_curve(coefs.linear_threshold, coefs.knee_threshold, k);
70 function k = k_at_slope(db_threshold, db_knee, linear_threshold, desired_slope);
72 % Approximate k given initial values
76 k = 5; variable
79 % A high value for k will more quickly asymptotically approach a slope of 0
80 slope = slope_at(linear_threshold, x, k);
[all …]
/sof-2.7.6/src/audio/tdfb/
Dtdfb_generic.c33 int k; in tdfb_fir_s16() local
62 for (k = 0; k < out_nch; k++) { in tdfb_fir_s16()
64 cd->out[k] += y0; in tdfb_fir_s16()
65 cd->out[k + out_nch] += y1; in tdfb_fir_s16()
96 int k; in tdfb_fir_s24() local
125 for (k = 0; k < out_nch; k++) { in tdfb_fir_s24()
127 cd->out[k] += y0; in tdfb_fir_s24()
128 cd->out[k + out_nch] += y1; in tdfb_fir_s24()
159 int k; in tdfb_fir_s32() local
188 for (k = 0; k < out_nch; k++) { in tdfb_fir_s32()
[all …]
Dtdfb_hifiep.c36 int k; in tdfb_fir_s16() local
65 for (k = 0; k < out_nch; k++) { in tdfb_fir_s16()
67 cd->out[k] += y0 >> 4; in tdfb_fir_s16()
68 cd->out[k + out_nch] += y1 >> 4; in tdfb_fir_s16()
101 int k; in tdfb_fir_s24() local
130 for (k = 0; k < out_nch; k++) { in tdfb_fir_s24()
132 cd->out[k] += y0 >> 4; in tdfb_fir_s24()
133 cd->out[k + out_nch] += y1 >> 4; in tdfb_fir_s24()
166 int k; in tdfb_fir_s32() local
195 for (k = 0; k < out_nch; k++) { in tdfb_fir_s32()
[all …]
Dtdfb_hifi3.c36 int k; in tdfb_fir_s16() local
65 for (k = 0; k < out_nch; k++) { in tdfb_fir_s16()
67 cd->out[k] += (int32_t)y0 >> 4; in tdfb_fir_s16()
68 cd->out[k + out_nch] += in tdfb_fir_s16()
108 int k; in tdfb_fir_s24() local
136 for (k = 0; k < out_nch; k++) { in tdfb_fir_s24()
138 cd->out[k] += (int32_t)y0 >> 4; in tdfb_fir_s24()
139 cd->out[k + out_nch] += in tdfb_fir_s24()
179 int k; in tdfb_fir_s32() local
207 for (k = 0; k < out_nch; k++) { in tdfb_fir_s32()
[all …]
/sof-2.7.6/tools/tune/multiband_drc/
Dcrossover_gen_quant_coefs.m47 k = 1; variable
49 crossover_coefs(k:k+6) = crossover_bqs.lp_coef(j:j+6); k = k + 7;
50 crossover_coefs(k:k+6) = crossover_bqs.hp_coef(j:j+6); k = k + 7;
/sof-2.7.6/test/cmocka/src/audio/mux/
Dmux_copy.c213 int i, j, k; in test_mux_copy_proc_16() local
221 for (k = 0; k < PLATFORM_MAX_CHANNELS; ++k) { in test_mux_copy_proc_16()
222 if (td->mask[j][k] & BIT(i)) in test_mux_copy_proc_16()
223 sample = input_16b[j][k]; in test_mux_copy_proc_16()
237 int i, j, k; in test_mux_copy_proc_24() local
245 for (k = 0; k < PLATFORM_MAX_CHANNELS; ++k) { in test_mux_copy_proc_24()
246 if (td->mask[j][k] & BIT(i)) in test_mux_copy_proc_24()
247 sample = input_24b[j][k]; in test_mux_copy_proc_24()
261 int i, j, k; in test_mux_copy_proc_32() local
269 for (k = 0; k < PLATFORM_MAX_CHANNELS; ++k) { in test_mux_copy_proc_32()
[all …]
Ddemux_copy.c191 int i, j, k; in test_demux_copy_proc_16() local
199 for (k = 0; k < PLATFORM_MAX_CHANNELS; ++k) in test_demux_copy_proc_16()
200 if (td->mask[i][j] & BIT(k)) in test_demux_copy_proc_16()
201 sample = input_16b[k]; in test_demux_copy_proc_16()
216 int i, j, k; in test_demux_copy_proc_24() local
224 for (k = 0; k < PLATFORM_MAX_CHANNELS; ++k) in test_demux_copy_proc_24()
225 if (td->mask[i][j] & BIT(k)) in test_demux_copy_proc_24()
226 sample = input_24b[k]; in test_demux_copy_proc_24()
241 int i, j, k; in test_demux_copy_proc_32() local
249 for (k = 0; k < PLATFORM_MAX_CHANNELS; ++k) in test_demux_copy_proc_32()
[all …]
/sof-2.7.6/tools/tune/common/
Dalsactl_write.m13 k = 2.^[0 8 16 24]; variable
16 blob32(i) = blob8_new(j+1)*k(1) + blob8_new(j+2)*k(2) ...
17 + blob8_new(j+3)*k(3) + blob8_new(j+4)*k(4);
/sof-2.7.6/src/math/
Ddecibels.c36 int k; in exp_small_fixed() local
39 for (k = 2; k < 12; k++) { in exp_small_fixed()
42 den = den * k; in exp_small_fixed()
Dtrig.c123 int k; in is_scalar_cordic_acos() local
153 k = b_i; in is_scalar_cordic_acos()
155 k = 31; in is_scalar_cordic_acos()
157 xshift = x >> k; in is_scalar_cordic_acos()
159 yshift = y >> k; in is_scalar_cordic_acos()
203 int k; in is_scalar_cordic_asin() local
233 k = b_i; in is_scalar_cordic_asin()
235 k = 31; in is_scalar_cordic_asin()
237 xshift = x >> k; in is_scalar_cordic_asin()
239 yshift = y >> k; in is_scalar_cordic_asin()
Dnumbers.c42 int k; in gcd() local
45 for (k = 0; ((a | b) & 1) == 0; k++) { in gcd()
73 return a << k; in gcd()
/sof-2.7.6/tools/tune/eq/
Deq_iir_blob_decode.m94 k = j + n_iir_header; variable
96 ai = signedint(blob(k+1:-1:k),32)';
97 bi = signedint(blob(k+4:-1:k+2),32)';
98 shifti = signedint(blob(k+5),32);
99 gaini = signedint(blob(k+6),16);
106 k = k + n_iir_section; variable
Deq_define_parametric_eq.m1 function [z, p, k] = eq_define_parametric_eq(peq, fs)
43 k = 1; variable
82 k = k * k0; variable
254 k = cos(w0); variable
260 a1 = -2 * k;
291 k = cos(w0); variable
294 b1 = -2 * k;
297 a1 = -2 * k;
328 k = cos(w0); variable
333 b0 = A * (a_plus_one - a_minus_one * k + k2);
[all …]
Deq_alsactl_write.m44 k = 2.^[0 8 16 24]; variable
47 blob32(i) = blob8_new(j+1)*k(1) + blob8_new(j+2)*k(2) ...
48 + blob8_new(j+3)*k(3) + blob8_new(j+4)*k(4);
Deq_compute_response.m1 function [m, ph, gd] = eq_compute_response(z, p, k, f, fs)
37 fs = k; % 3rd arg
53 [b, a] = zp2tf(z, p, k);
/sof-2.7.6/src/math/fft/
Dfft.c81 int k; in fft_execute() local
106 for (k = 0; k < plan->size; k += m) { in fft_execute()
110 top = k + j; in fft_execute()
/sof-2.7.6/tools/test/audio/
Dcomp_run.sh27 TPLGFN=test-${DIRECTION}-ssp5-mclk-0-I2S-${COMP}-${INFMT}-${OUTFMT}-48k-24576k-codec.tplg
Dsrc_test.m125 k = 1/1000; variable
129 print_val('SRC', 'Gain dB', fn, k * fs_in_list, k * fs_out_list, r.g, r.pf);
133 print_fr('SRC', fn, k * fs_in_list, k * fs_out_list, r.fr_db, r.fr_hz, r.pf);
138 fn, k * fs_in_list, k * fs_out_list, r.fr3db_hz/1e3, r.pf);
143 fn, k * fs_in_list, k * fs_out_list, r.thdnf, r.pf);
148 fn, k * fs_in_list, k * fs_out_list, r.dr, r.pf);
153 fn, k * fs_in_list, k * fs_out_list, r.aap, r.pf);
158 fn, k * fs_in_list, k * fs_out_list, r.aip, r.pf);
162 print_pf('SRC', fn, k * fs_in_list, k * fs_out_list, r.pf, 'chirp/gain/FR/THD+N/DR/AAP/AIP');
/sof-2.7.6/src/audio/mux/
Dmux_generic.c493 uint8_t k; in mux_prepare_look_up_table() local
499 for (k = 0; k < PLATFORM_MAX_CHANNELS; k++) { in mux_prepare_look_up_table()
500 if (cd->config.streams[i].mask[j] & BIT(k)) { in mux_prepare_look_up_table()
503 cd->lookup[0].copy_elem[idx].out_ch = k; in mux_prepare_look_up_table()
518 uint8_t k; in demux_prepare_look_up_table() local
525 for (k = 0; k < PLATFORM_MAX_CHANNELS; k++) { in demux_prepare_look_up_table()
526 if (cd->config.streams[i].mask[j] & BIT(k)) { in demux_prepare_look_up_table()
528 cd->lookup[i].copy_elem[idx].in_ch = k; in demux_prepare_look_up_table()
Dmux.c60 int k; in mux_mix_check() local
66 for (k = 0 ; k < PLATFORM_MAX_CHANNELS; k++) { in mux_mix_check()
67 if (cfg->streams[i].mask[k] & (1 << j)) { in mux_mix_check()
81 for (k = 0 ; k < cfg->num_streams; k++) { in mux_mix_check()
82 if (cfg->streams[k].mask[i] & (1 << j)) { in mux_mix_check()
/sof-2.7.6/tools/tune/src/
Dsrc_factor1_lm.m40 k = gcd(fs1, fs2); variable
41 l = fs2/k;
42 m = fs1/k;
/sof-2.7.6/zephyr/
DREADME49 % west sign -t rimage -- -k ../../sof/sof/rimage/keys/otc_private_key.pem
73 -k ../../zephyrproject/zephyr/build/zephyr/zephyr.ri
75 Where -r and -k are used to specify the ROM and kernel files.
/sof-2.7.6/keys/
DREADME27 For cavs 1.5-2.0 platforms, 2k key is needed with following:
30 For cavs 2.5+ (TigerLake), 3k key is needed with following:
/sof-2.7.6/src/arch/xtensa/hal/
Dmpu.c570 int k; in needed_entries_exist() local
571 for (k = i; k < XCHAL_MPU_ENTRIES; k++) in needed_entries_exist()
572 if (!XTHAL_MPU_ENTRY_GET_VALID(fg[k])) in needed_entries_exist()
580 int k; in needed_entries_exist() local
581 for (k = i; k <= j; k++) in needed_entries_exist()
582 if (!XTHAL_MPU_ENTRY_GET_VALID(fg[k])) in needed_entries_exist()

12