Lines Matching refs:nchannels
231 int nsamples, int nchannels, int big_endian) in sbc_encoder_process_input_s4_internal() argument
235 if (nchannels > 0) in sbc_encoder_process_input_s4_internal()
238 if (nchannels > 1) in sbc_encoder_process_input_s4_internal()
250 if (nchannels > 0) { in sbc_encoder_process_input_s4_internal()
252 x[0] = PCM(0 + 7 * nchannels); in sbc_encoder_process_input_s4_internal()
253 x[1] = PCM(0 + 3 * nchannels); in sbc_encoder_process_input_s4_internal()
254 x[2] = PCM(0 + 6 * nchannels); in sbc_encoder_process_input_s4_internal()
255 x[3] = PCM(0 + 4 * nchannels); in sbc_encoder_process_input_s4_internal()
256 x[4] = PCM(0 + 0 * nchannels); in sbc_encoder_process_input_s4_internal()
257 x[5] = PCM(0 + 2 * nchannels); in sbc_encoder_process_input_s4_internal()
258 x[6] = PCM(0 + 1 * nchannels); in sbc_encoder_process_input_s4_internal()
259 x[7] = PCM(0 + 5 * nchannels); in sbc_encoder_process_input_s4_internal()
261 if (nchannels > 1) { in sbc_encoder_process_input_s4_internal()
263 x[0] = PCM(1 + 7 * nchannels); in sbc_encoder_process_input_s4_internal()
264 x[1] = PCM(1 + 3 * nchannels); in sbc_encoder_process_input_s4_internal()
265 x[2] = PCM(1 + 6 * nchannels); in sbc_encoder_process_input_s4_internal()
266 x[3] = PCM(1 + 4 * nchannels); in sbc_encoder_process_input_s4_internal()
267 x[4] = PCM(1 + 0 * nchannels); in sbc_encoder_process_input_s4_internal()
268 x[5] = PCM(1 + 2 * nchannels); in sbc_encoder_process_input_s4_internal()
269 x[6] = PCM(1 + 1 * nchannels); in sbc_encoder_process_input_s4_internal()
270 x[7] = PCM(1 + 5 * nchannels); in sbc_encoder_process_input_s4_internal()
272 pcm += 16 * nchannels; in sbc_encoder_process_input_s4_internal()
282 int nsamples, int nchannels, int big_endian) in sbc_encoder_process_input_s8_internal() argument
286 if (nchannels > 0) in sbc_encoder_process_input_s8_internal()
289 if (nchannels > 1) in sbc_encoder_process_input_s8_internal()
301 if (nchannels > 0) { in sbc_encoder_process_input_s8_internal()
303 x[0] = PCM(0 + 15 * nchannels); in sbc_encoder_process_input_s8_internal()
304 x[1] = PCM(0 + 7 * nchannels); in sbc_encoder_process_input_s8_internal()
305 x[2] = PCM(0 + 14 * nchannels); in sbc_encoder_process_input_s8_internal()
306 x[3] = PCM(0 + 8 * nchannels); in sbc_encoder_process_input_s8_internal()
307 x[4] = PCM(0 + 13 * nchannels); in sbc_encoder_process_input_s8_internal()
308 x[5] = PCM(0 + 9 * nchannels); in sbc_encoder_process_input_s8_internal()
309 x[6] = PCM(0 + 12 * nchannels); in sbc_encoder_process_input_s8_internal()
310 x[7] = PCM(0 + 10 * nchannels); in sbc_encoder_process_input_s8_internal()
311 x[8] = PCM(0 + 11 * nchannels); in sbc_encoder_process_input_s8_internal()
312 x[9] = PCM(0 + 3 * nchannels); in sbc_encoder_process_input_s8_internal()
313 x[10] = PCM(0 + 6 * nchannels); in sbc_encoder_process_input_s8_internal()
314 x[11] = PCM(0 + 0 * nchannels); in sbc_encoder_process_input_s8_internal()
315 x[12] = PCM(0 + 5 * nchannels); in sbc_encoder_process_input_s8_internal()
316 x[13] = PCM(0 + 1 * nchannels); in sbc_encoder_process_input_s8_internal()
317 x[14] = PCM(0 + 4 * nchannels); in sbc_encoder_process_input_s8_internal()
318 x[15] = PCM(0 + 2 * nchannels); in sbc_encoder_process_input_s8_internal()
320 if (nchannels > 1) { in sbc_encoder_process_input_s8_internal()
322 x[0] = PCM(1 + 15 * nchannels); in sbc_encoder_process_input_s8_internal()
323 x[1] = PCM(1 + 7 * nchannels); in sbc_encoder_process_input_s8_internal()
324 x[2] = PCM(1 + 14 * nchannels); in sbc_encoder_process_input_s8_internal()
325 x[3] = PCM(1 + 8 * nchannels); in sbc_encoder_process_input_s8_internal()
326 x[4] = PCM(1 + 13 * nchannels); in sbc_encoder_process_input_s8_internal()
327 x[5] = PCM(1 + 9 * nchannels); in sbc_encoder_process_input_s8_internal()
328 x[6] = PCM(1 + 12 * nchannels); in sbc_encoder_process_input_s8_internal()
329 x[7] = PCM(1 + 10 * nchannels); in sbc_encoder_process_input_s8_internal()
330 x[8] = PCM(1 + 11 * nchannels); in sbc_encoder_process_input_s8_internal()
331 x[9] = PCM(1 + 3 * nchannels); in sbc_encoder_process_input_s8_internal()
332 x[10] = PCM(1 + 6 * nchannels); in sbc_encoder_process_input_s8_internal()
333 x[11] = PCM(1 + 0 * nchannels); in sbc_encoder_process_input_s8_internal()
334 x[12] = PCM(1 + 5 * nchannels); in sbc_encoder_process_input_s8_internal()
335 x[13] = PCM(1 + 1 * nchannels); in sbc_encoder_process_input_s8_internal()
336 x[14] = PCM(1 + 4 * nchannels); in sbc_encoder_process_input_s8_internal()
337 x[15] = PCM(1 + 2 * nchannels); in sbc_encoder_process_input_s8_internal()
339 pcm += 32 * nchannels; in sbc_encoder_process_input_s8_internal()
360 int nsamples, int nchannels) in sbc_enc_process_input_4s_le() argument
362 if (nchannels > 1) in sbc_enc_process_input_4s_le()
372 int nsamples, int nchannels) in sbc_enc_process_input_4s_be() argument
374 if (nchannels > 1) in sbc_enc_process_input_4s_be()
384 int nsamples, int nchannels) in sbc_enc_process_input_8s_le() argument
386 if (nchannels > 1) in sbc_enc_process_input_8s_le()
396 int nsamples, int nchannels) in sbc_enc_process_input_8s_be() argument
398 if (nchannels > 1) in sbc_enc_process_input_8s_be()