Home
last modified time | relevance | path

Searched refs:num_in_ch (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/server/
Dcras_fmt_conv_ops.c414 size_t num_in_ch, size_t num_out_ch, in s16_default_all_to_all() argument
425 for (in_ch = 0; in_ch < num_in_ch; in_ch++) { in s16_default_all_to_all()
426 sum += (int32_t)in[in_ch + i * num_in_ch]; in s16_default_all_to_all()
434 sum /= (int32_t)num_in_ch; in s16_default_all_to_all()
447 const size_t num_in_ch, const size_t num_out_ch, in s16_some_to_some() argument
454 const size_t num_copy_ch = MIN(num_in_ch, num_out_ch); in s16_some_to_some()
457 for (i = 0; i < frame_count; i++, out += num_out_ch, in += num_in_ch) { in s16_some_to_some()
484 size_t s16_convert_channels(float **ch_conv_mtx, size_t num_in_ch, in s16_convert_channels() argument
497 ch_conv_mtx[i], &in[in_idx], num_in_ch); in s16_convert_channels()
498 in_idx += num_in_ch; in s16_convert_channels()
Dcras_fmt_conv_ops.h83 size_t num_in_ch, size_t num_out_ch,
92 const size_t num_in_ch, const size_t num_out_ch,
105 size_t s16_convert_channels(float **ch_conv_mtx, size_t num_in_ch,
Dcras_fmt_conv.c275 size_t num_in_ch, num_out_ch; in default_all_to_all() local
277 num_in_ch = conv->in_fmt.num_channels; in default_all_to_all()
280 return s16_default_all_to_all(&conv->out_fmt, num_in_ch, num_out_ch, in, in default_all_to_all()
290 size_t num_in_ch, num_out_ch; in default_some_to_some() local
292 num_in_ch = conv->in_fmt.num_channels; in default_some_to_some()
295 return s16_some_to_some(&conv->out_fmt, num_in_ch, num_out_ch, in, in default_some_to_some()
303 size_t num_in_ch, num_out_ch; in convert_channels() local
306 num_in_ch = conv->in_fmt.num_channels; in convert_channels()
309 return s16_convert_channels(ch_conv_mtx, num_in_ch, num_out_ch, in, in convert_channels()