Home
last modified time | relevance | path

Searched refs:nb_channels (Results 1 – 25 of 26) sorted by relevance

12

/external/libopus/src/
Dopus_multistream.c48 for (i=0;i<layout->nb_channels;i++) in validate_layout()
61 for (;i<layout->nb_channels;i++) in get_left_channel()
73 for (;i<layout->nb_channels;i++) in get_right_channel()
85 for (;i<layout->nb_channels;i++) in get_mono_channel()
Dopus_multistream_encoder.c81 return (opus_val32*)(void*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); in ms_get_preemph_mem()
104 static int validate_ambisonics(int nb_channels, int *nb_streams, int *nb_coupled_streams) in validate_ambisonics() argument
110 if (nb_channels < 1 || nb_channels > 227) in validate_ambisonics()
113 order_plus_one = isqrt32(nb_channels); in validate_ambisonics()
115 nondiegetic_channels = nb_channels - acn_channels; in validate_ambisonics()
450 st->layout.nb_channels = channels; in opus_multistream_encoder_init_impl()
458 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_encoder_init_impl()
466 !validate_ambisonics(st->layout.nb_channels, NULL, NULL)) in opus_multistream_encoder_init_impl()
747 const int nb_channels = st->layout.nb_streams + st->layout.nb_coupled_streams; in ambisonics_rate_allocation() local
755 total_rate = nb_channels * 320000; in ambisonics_rate_allocation()
[all …]
Dopus_multistream_decoder.c84 st->layout.nb_channels = channels; in opus_multistream_decoder_init()
88 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_decoder_init()
272 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native()
280 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native()
290 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native()
297 for (c=0;c<st->layout.nb_channels;c++) in opus_multistream_decode_native()
301 (*copy_channel_out)(pcm, st->layout.nb_channels, c, in opus_multistream_decode_native()
Dopus_projection_encoder.c401 ms_encoder->layout.nb_channels * (ms_encoder->layout.nb_streams in opus_projection_encoder_ctl()
428 nb_output_streams = ms_encoder->layout.nb_channels; in opus_projection_encoder_ctl()
Dopus_private.h48 int nb_channels; member
/external/speex/libspeexdsp/
Dresample.c123 spx_uint32_t nb_channels; member
702 if (INT_MAX/sizeof(spx_word16_t)/st->nb_channels < min_alloc_size) in update_filter()
704 …else if (!(mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*min_alloc_size * sizeof(*me… in update_filter()
713 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++) in update_filter()
721 for (i=st->nb_channels;i--;) in update_filter()
760 for (i=0;i<st->nb_channels;i++) in update_filter()
783 EXPORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, sp… in speex_resampler_init() argument
785 … return speex_resampler_init_frac(nb_channels, in_rate, out_rate, in_rate, out_rate, quality, err); in speex_resampler_init()
788 EXPORT SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels, spx_uint32_t ratio_… in speex_resampler_init_frac() argument
815 st->nb_channels = nb_channels; in speex_resampler_init_frac()
[all …]
/external/libiio/src/
Ddevice.c90 channels_len = malloc(dev->nb_channels * sizeof(*channels_len)); in iio_device_get_xml()
94 channels = malloc(dev->nb_channels * sizeof(*channels)); in iio_device_get_xml()
98 for (j = 0; j < dev->nb_channels; j++) { in iio_device_get_xml()
158 for (i = 0; i < dev->nb_channels; i++) { in iio_device_get_xml()
237 return dev->nb_channels; in iio_device_get_channels_count()
243 if (index >= dev->nb_channels) in iio_device_get_channel()
253 for (i = 0; i < dev->nb_channels; i++) { in iio_device_find_channel()
333 for (i = 0; i < dev->nb_channels; i++) { in iio_device_is_tx()
523 for (i = 0; i < dev->nb_channels; i++) in free_device()
525 if (dev->nb_channels) in free_device()
[all …]
Dbuffer.c218 for (i = 0; i < dev->nb_channels; i++) { in iio_buffer_foreach_sample()
242 if (i == dev->nb_channels - 1 || dev->channels[ in iio_buffer_foreach_sample()
266 for (i = 0; i < buffer->dev->nb_channels; i++) { in iio_buffer_first()
Dlocal.c143 for (i = 0; i < device->nb_channels; i++) in local_free_pdata()
944 for (i = 0; i < dev->nb_channels; i++) { in local_open()
953 for (i = 0; i < dev->nb_channels; i++) { in local_open()
1039 for (i = 0; i < dev->nb_channels; i++) { in local_close()
1357 (dev->nb_channels + 1) * sizeof(struct iio_channel *)); in add_channel_to_device()
1361 channels[dev->nb_channels++] = chn; in add_channel_to_device()
1428 for (i = 0; i < dev->nb_channels; i++) { in add_channel()
1509 for (i = 0; i < dev->nb_channels; i++) { in detect_global_attr()
1762 for (i = 0; i < dev->nb_channels; i++) { in create_device()
1777 for (i = 0; i < dev->nb_channels; i++) { in create_device()
[all …]
Dxml.c265 chns = realloc(dev->channels, (1 + dev->nb_channels) * in create_device()
273 chns[dev->nb_channels++] = chn; in create_device()
291 dev->words = (dev->nb_channels + 31) / 32; in create_device()
Dcontext.c211 for (i = 1; i < dev->nb_channels; i++) { in reorder_channels()
230 for (i = 0; i < dev->nb_channels; i++) in reorder_channels()
Diiod-client.c597 unsigned int nb_channels = iio_device_get_channels_count(dev); in iiod_client_read_unlocked() local
602 if (!len || words != (nb_channels + 31) / 32) in iiod_client_read_unlocked()
Diio-private.h208 unsigned int nb_channels; member
/external/libiio/src/tests/
Diio_readdev.c250 unsigned int i, nb_channels; in main() local
351 nb_channels = iio_device_get_channels_count(dev); in main()
355 for (i = 0; i < nb_channels; i++) in main()
358 for (i = 0; i < nb_channels; i++) { in main()
Diio_writedev.c261 unsigned int i, nb_channels; in main() local
366 nb_channels = iio_device_get_channels_count(dev); in main()
370 for (i = 0; i < nb_channels; i++) in main()
373 for (i = 0; i < nb_channels; i++) { in main()
Diio_adi_xflow_check.c210 unsigned int i, nb_channels; in main() local
285 nb_channels = iio_device_get_channels_count(dev); in main()
286 for (i = 0; i < nb_channels; i++) { in main()
Diio_info.c305 unsigned int nb_channels = iio_device_get_channels_count(dev); in main() local
306 printf("\t\t%u channels found:\n", nb_channels); in main()
309 for (j = 0; j < nb_channels; j++) { in main()
Diio_attr.c584 unsigned int nb_attrs, nb_channels, j; in main() local
601 nb_channels = iio_device_get_channels_count(dev); in main()
602 for (j = 0; j < nb_channels; j++) { in main()
/external/libiio/src/examples/
Diio-monitor.c127 unsigned int i, nb_channels, nb = 0; in read_thd() local
154 nb_channels = iio_device_get_channels_count(dev); in read_thd()
155 for (i = 0; i < nb_channels; i++) { in read_thd()
/external/speex/include/speex/
Dspeex_resampler.h123 SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels,
142 SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels,
/external/libiio/src/bindings/csharp/
DDevice.cs163 uint nb_channels = iio_device_get_channels_count(dev), in Device()
167 for (uint i = 0; i < nb_channels; i++) in Device()
/external/libiio/src/bindings/matlab/
Dlibiio_if_daq2.m222 nb_channels = calllib(obj.libname, 'iio_device_get_channels_count', obj.iio_dev); variable
223 if(nb_channels == 0)
240 for j = 0 : nb_channels - 1
299 nb_channels = calllib(obj.libname, 'iio_device_get_channels_count', obj.iio_dev); variable
300 if(nb_channels == 0)
316 …sprintf('%s: Found %d input channels for the device %s\n', class(obj), nb_channels, obj.dev_name)];
321 if(nb_channels < ch_no)
332 for j = ch_no : nb_channels - 1
Dlibiio_if.m222 nb_channels = calllib(obj.libname, 'iio_device_get_channels_count', obj.iio_dev); variable
223 if(nb_channels == 0)
240 for j = 0 : nb_channels - 1
295 nb_channels = calllib(obj.libname, 'iio_device_get_channels_count', obj.iio_dev); variable
296 if(nb_channels == 0)
312 …sprintf('%s: Found %d input channels for the device %s\n', class(obj), nb_channels, obj.dev_name)];
317 if(nb_channels < ch_no)
328 for j = ch_no : nb_channels - 1
/external/libiio/src/iiod/
Dops.c559 for (i = 0; i < dev->nb_channels; i++) { in rw_thd()
880 unsigned int nb_channels; in open_dev_helper() local
886 nb_channels = dev->nb_channels; in open_dev_helper()
887 if (len != ((nb_channels + 31) / 32) * 8) in open_dev_helper()
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional_recurrent.py377 def get_tuple_shape(nb_channels): argument
380 result[1] = nb_channels
382 result[3] = nb_channels

12