Lines Matching refs:nchannels
232 int nsamples, int nchannels, int big_endian) in sbc_encoder_process_input_s4_internal() argument
236 if (nchannels > 0) in sbc_encoder_process_input_s4_internal()
239 if (nchannels > 1) in sbc_encoder_process_input_s4_internal()
251 if (nchannels > 0) { in sbc_encoder_process_input_s4_internal()
253 x[0] = PCM(0 + 7 * nchannels); in sbc_encoder_process_input_s4_internal()
254 x[1] = PCM(0 + 3 * nchannels); in sbc_encoder_process_input_s4_internal()
255 x[2] = PCM(0 + 6 * nchannels); in sbc_encoder_process_input_s4_internal()
256 x[3] = PCM(0 + 4 * nchannels); in sbc_encoder_process_input_s4_internal()
257 x[4] = PCM(0 + 0 * nchannels); in sbc_encoder_process_input_s4_internal()
258 x[5] = PCM(0 + 2 * nchannels); in sbc_encoder_process_input_s4_internal()
259 x[6] = PCM(0 + 1 * nchannels); in sbc_encoder_process_input_s4_internal()
260 x[7] = PCM(0 + 5 * nchannels); in sbc_encoder_process_input_s4_internal()
262 if (nchannels > 1) { in sbc_encoder_process_input_s4_internal()
264 x[0] = PCM(1 + 7 * nchannels); in sbc_encoder_process_input_s4_internal()
265 x[1] = PCM(1 + 3 * nchannels); in sbc_encoder_process_input_s4_internal()
266 x[2] = PCM(1 + 6 * nchannels); in sbc_encoder_process_input_s4_internal()
267 x[3] = PCM(1 + 4 * nchannels); in sbc_encoder_process_input_s4_internal()
268 x[4] = PCM(1 + 0 * nchannels); in sbc_encoder_process_input_s4_internal()
269 x[5] = PCM(1 + 2 * nchannels); in sbc_encoder_process_input_s4_internal()
270 x[6] = PCM(1 + 1 * nchannels); in sbc_encoder_process_input_s4_internal()
271 x[7] = PCM(1 + 5 * nchannels); in sbc_encoder_process_input_s4_internal()
273 pcm += 16 * nchannels; in sbc_encoder_process_input_s4_internal()
283 int nsamples, int nchannels, int big_endian) in sbc_encoder_process_input_s8_internal() argument
287 if (nchannels > 0) in sbc_encoder_process_input_s8_internal()
290 if (nchannels > 1) in sbc_encoder_process_input_s8_internal()
302 if (nchannels > 0) { in sbc_encoder_process_input_s8_internal()
304 x[0] = PCM(0 + 15 * nchannels); in sbc_encoder_process_input_s8_internal()
305 x[1] = PCM(0 + 7 * nchannels); in sbc_encoder_process_input_s8_internal()
306 x[2] = PCM(0 + 14 * nchannels); in sbc_encoder_process_input_s8_internal()
307 x[3] = PCM(0 + 8 * nchannels); in sbc_encoder_process_input_s8_internal()
308 x[4] = PCM(0 + 13 * nchannels); in sbc_encoder_process_input_s8_internal()
309 x[5] = PCM(0 + 9 * nchannels); in sbc_encoder_process_input_s8_internal()
310 x[6] = PCM(0 + 12 * nchannels); in sbc_encoder_process_input_s8_internal()
311 x[7] = PCM(0 + 10 * nchannels); in sbc_encoder_process_input_s8_internal()
312 x[8] = PCM(0 + 11 * nchannels); in sbc_encoder_process_input_s8_internal()
313 x[9] = PCM(0 + 3 * nchannels); in sbc_encoder_process_input_s8_internal()
314 x[10] = PCM(0 + 6 * nchannels); in sbc_encoder_process_input_s8_internal()
315 x[11] = PCM(0 + 0 * nchannels); in sbc_encoder_process_input_s8_internal()
316 x[12] = PCM(0 + 5 * nchannels); in sbc_encoder_process_input_s8_internal()
317 x[13] = PCM(0 + 1 * nchannels); in sbc_encoder_process_input_s8_internal()
318 x[14] = PCM(0 + 4 * nchannels); in sbc_encoder_process_input_s8_internal()
319 x[15] = PCM(0 + 2 * nchannels); in sbc_encoder_process_input_s8_internal()
321 if (nchannels > 1) { in sbc_encoder_process_input_s8_internal()
323 x[0] = PCM(1 + 15 * nchannels); in sbc_encoder_process_input_s8_internal()
324 x[1] = PCM(1 + 7 * nchannels); in sbc_encoder_process_input_s8_internal()
325 x[2] = PCM(1 + 14 * nchannels); in sbc_encoder_process_input_s8_internal()
326 x[3] = PCM(1 + 8 * nchannels); in sbc_encoder_process_input_s8_internal()
327 x[4] = PCM(1 + 13 * nchannels); in sbc_encoder_process_input_s8_internal()
328 x[5] = PCM(1 + 9 * nchannels); in sbc_encoder_process_input_s8_internal()
329 x[6] = PCM(1 + 12 * nchannels); in sbc_encoder_process_input_s8_internal()
330 x[7] = PCM(1 + 10 * nchannels); in sbc_encoder_process_input_s8_internal()
331 x[8] = PCM(1 + 11 * nchannels); in sbc_encoder_process_input_s8_internal()
332 x[9] = PCM(1 + 3 * nchannels); in sbc_encoder_process_input_s8_internal()
333 x[10] = PCM(1 + 6 * nchannels); in sbc_encoder_process_input_s8_internal()
334 x[11] = PCM(1 + 0 * nchannels); in sbc_encoder_process_input_s8_internal()
335 x[12] = PCM(1 + 5 * nchannels); in sbc_encoder_process_input_s8_internal()
336 x[13] = PCM(1 + 1 * nchannels); in sbc_encoder_process_input_s8_internal()
337 x[14] = PCM(1 + 4 * nchannels); in sbc_encoder_process_input_s8_internal()
338 x[15] = PCM(1 + 2 * nchannels); in sbc_encoder_process_input_s8_internal()
340 pcm += 32 * nchannels; in sbc_encoder_process_input_s8_internal()
361 int nsamples, int nchannels) in sbc_enc_process_input_4s_le() argument
363 if (nchannels > 1) in sbc_enc_process_input_4s_le()
373 int nsamples, int nchannels) in sbc_enc_process_input_4s_be() argument
375 if (nchannels > 1) in sbc_enc_process_input_4s_be()
385 int nsamples, int nchannels) in sbc_enc_process_input_8s_le() argument
387 if (nchannels > 1) in sbc_enc_process_input_8s_le()
397 int nsamples, int nchannels) in sbc_enc_process_input_8s_be() argument
399 if (nchannels > 1) in sbc_enc_process_input_8s_be()