Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 7 of 7) sorted by relevance

/sof-3.4.0/src/math/
Dfir_generic.c75 int n1; in fir_32x16() local
92 n1 = ++fir->rwi; in fir_32x16()
97 n1 = MIN(n1, taps); in fir_32x16()
98 for (n = 0; n < n1; n++) { in fir_32x16()
105 n2 = taps - n1; in fir_32x16()
126 int n1; in fir_32x16_2x() local
147 n1 = fir->rwi + 1; in fir_32x16_2x()
154 n1 = MIN(n1, taps); in fir_32x16_2x()
155 for (i = 0; i < n1; i++) { in fir_32x16_2x()
166 n2 = taps - n1; in fir_32x16_2x()
/sof-3.4.0/tools/tune/tdfb/
Dbf_merge.m17 n1 = s1(2); variable
34 bfm.w = zeros(s1(1), n1 + n2, s1(3));
35 for i = 1:n1
39 bfm.w(:,n1 + i,:) = bf2.w(:,i,:);
42 bfm.w = zeros(s1(1), n1 + n2);
43 for i = 1:n1
47 bfm.w(:,n1 + i) = bf2.w(:,i);
/sof-3.4.0/src/audio/src/
Dsrc_generic.c33 int n1; in fir_filter_generic() local
54 n1 = ((taps_x_nch < frames) ? taps_x_nch : frames) >> 1; in fir_filter_generic()
55 n2 = (taps_x_nch >> 1) - n1; in fir_filter_generic()
61 for (i = 0; i < n1; i++, coef++, data += 2) { in fir_filter_generic()
91 n1 = (taps_x_nch < frames) ? taps_x_nch : frames; in fir_filter_generic()
92 n2 = taps_x_nch - n1; in fir_filter_generic()
98 for (i = 0; i < n1; i += nch, coef++, data += nch) in fir_filter_generic()
128 int n1; in fir_filter_generic() local
149 n1 = ((taps_x_nch < frames) ? taps_x_nch : frames) >> 1; in fir_filter_generic()
150 n2 = (taps_x_nch >> 1) - n1; in fir_filter_generic()
[all …]
/sof-3.4.0/src/math/fft/
Dfft_16.c52 int n1, n2; in icomplex16_shift() local
59 n1 = -n; in icomplex16_shift()
60 n2 = 1 << (n1 - 1); in icomplex16_shift()
61 output->real = sat_int16(((int32_t)input->real + n2) >> n1); in icomplex16_shift()
62 output->imag = sat_int16(((int32_t)input->imag + n2) >> n1); in icomplex16_shift()
/sof-3.4.0/src/audio/eq_iir/
Deq_iir.c75 int n1; in eq_iir_s16_default() local
88 n1 = audio_stream_bytes_without_wrap(source, x) >> 1; in eq_iir_s16_default()
90 n = MIN(n1, n2); in eq_iir_s16_default()
123 int n1; in eq_iir_s24_default() local
136 n1 = audio_stream_bytes_without_wrap(source, x) >> 2; in eq_iir_s24_default()
138 n = MIN(n1, n2); in eq_iir_s24_default()
171 int n1; in eq_iir_s32_default() local
184 n1 = audio_stream_bytes_without_wrap(source, x) >> 2; in eq_iir_s32_default()
186 n = MIN(n1, n2); in eq_iir_s32_default()
220 int n1; in eq_iir_s32_16_default() local
[all …]
/sof-3.4.0/tools/tune/eq/
Deq_compute.m401 n1 = 16; % do not change, hardwired to 16 code below variable
403 if n < (2*n1+1)
410 rpb = floor(n/n1);
411 rem = mod(n,n1);
412 i1 = zeros(1,n1);
413 i2 = zeros(1,n1);
415 for i = 1:n1-1;
424 i2(n1) = n;
/sof-3.4.0/src/audio/mfcc/
Dmfcc_generic.c100 int n1; in mfcc_source_copy_s16() local
111 n1 = audio_stream_frames_without_wrap(source, x); in mfcc_source_copy_s16()
113 n = MIN(n1, n2); in mfcc_source_copy_s16()