Home
last modified time | relevance | path

Searched refs:n_ic (Results 1 – 6 of 6) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dremap.c263 unsigned n_ic, n_oc; in remap_channels_matrix_s16ne_c() local
265 n_ic = m->i_ss.channels; in remap_channels_matrix_s16ne_c()
272 for (ic = 0; ic < n_ic; ic++) { in remap_channels_matrix_s16ne_c()
281 for (i = n; i > 0; i--, s += n_ic, d += n_oc) in remap_channels_matrix_s16ne_c()
284 for (i = n; i > 0; i--, s += n_ic, d += n_oc) in remap_channels_matrix_s16ne_c()
293 unsigned n_ic, n_oc; in remap_channels_matrix_s32ne_c() local
295 n_ic = m->i_ss.channels; in remap_channels_matrix_s32ne_c()
302 for (ic = 0; ic < n_ic; ic++) { in remap_channels_matrix_s32ne_c()
311 for (i = n; i > 0; i--, s += n_ic, d += n_oc) in remap_channels_matrix_s32ne_c()
314 for (i = n; i > 0; i--, s += n_ic, d += n_oc) in remap_channels_matrix_s32ne_c()
[all …]
Dremap_neon.c386 unsigned n_oc, n_ic; in init_remap_neon() local
390 n_ic = m->i_ss.channels; in init_remap_neon()
398 if (n_ic == 1 && n_oc == 2 && in init_remap_neon()
413 } else if (n_ic == 1 && n_oc == 4 && in init_remap_neon()
422 } else if (n_ic == 2 && n_oc == 1 && in init_remap_neon()
429 } else if (n_ic == 4 && n_oc == 1 && in init_remap_neon()
439 ((n_ic == 2 && n_oc == 2) || in init_remap_neon()
440 (n_ic == 2 && n_oc == 4) || in init_remap_neon()
441 (n_ic == 4 && n_oc == 4))) { in init_remap_neon()
444 if (n_ic == 2 && n_oc == 2) { in init_remap_neon()
[all …]
Dresampler.c1008 unsigned n_oc, n_ic; in setup_remap() local
1018 n_ic = r->i_ss.channels; in setup_remap()
1031 for (oc = 0; oc < PA_MIN(n_ic, n_oc); oc++) in setup_remap()
1038 for (ic = 0; ic < n_ic; ic++) { in setup_remap()
1122 for (ic = 0; ic < n_ic; ic++) { in setup_remap()
1137 for (ic = 0; ic < n_ic; ic++) { in setup_remap()
1153 m->map_table_f[oc][ic] = 1.0f / (float) n_ic; in setup_remap()
1162 for (ic = 0; ic < n_ic; ic++) { in setup_remap()
1189 for (ic = 0; ic < n_ic; ic++) in setup_remap()
1204 for (ic = 0; ic < n_ic; ic++) in setup_remap()
[all …]
Dremap_mmx.c128 unsigned n_oc, n_ic; in init_remap_mmx() local
131 n_ic = m->i_ss.channels; in init_remap_mmx()
134 if (n_ic == 1 && n_oc == 2 && in init_remap_mmx()
Dremap_sse.c127 unsigned n_oc, n_ic; in init_remap_sse2() local
130 n_ic = m->i_ss.channels; in init_remap_sse2()
133 if (n_ic == 1 && n_oc == 2 && in init_remap_sse2()
/third_party/pulseaudio/src/tests/
Dcpu-remap-test.c49 unsigned n_ic = remap_func->i_ss.channels; in run_remap_test_float() local
53 pa_assert(n_ic >= 1 && n_ic <= 8); in run_remap_test_float()
62 for (i = 0; i < nsamples * n_ic; i++) in run_remap_test_float()
104 unsigned n_ic = remap_func->i_ss.channels; in run_remap_test_s16() local
108 pa_assert(n_ic >= 1 && n_ic <= 8); in run_remap_test_s16()
117 pa_random(in, nsamples * n_ic * sizeof(int16_t)); in run_remap_test_s16()
158 unsigned n_ic = remap_func->i_ss.channels; in run_remap_test_s32() local
162 pa_assert(n_ic >= 1 && n_ic <= 8); in run_remap_test_s32()
171 pa_random(in, nsamples * n_ic * sizeof(int32_t)); in run_remap_test_s32()