/external/speex/libspeex/ |
D | speex_header.c | 86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) in speex_init_header() argument 110 header->nb_channels = nb_channels; in speex_init_header() 134 ENDIAN_SWITCH(le_header->nb_channels); in speex_header_to_packet() 174 ENDIAN_SWITCH(le_header->nb_channels); in speex_packet_to_header() 188 if (le_header->nb_channels>2) in speex_packet_to_header() 189 le_header->nb_channels = 2; in speex_packet_to_header() 190 if (le_header->nb_channels<1) in speex_packet_to_header() 191 le_header->nb_channels = 1; in speex_packet_to_header()
|
D | resample.c | 122 spx_uint32_t nb_channels; member 651 … st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t)); in update_filter() 652 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++) in update_filter() 659 …st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_wo… in update_filter() 660 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++) in update_filter() 672 …st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_wo… in update_filter() 674 for (i=st->nb_channels-1;i>=0;i--) in update_filter() 713 for (i=0;i<st->nb_channels;i++) in update_filter() 728 EXPORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, sp… in speex_resampler_init() argument 730 … return speex_resampler_init_frac(nb_channels, in_rate, out_rate, in_rate, out_rate, quality, err); in speex_resampler_init() [all …]
|
/external/chromium_org/third_party/opus/src/src/ |
D | opus_multistream.c | 48 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()
|
D | opus_multistream_encoder.c | 101 return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); in ms_get_preemph_mem() 414 st->layout.nb_channels = channels; in opus_multistream_encoder_init_impl() 423 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_encoder_init_impl() 612 if (st->bitrate_bps > st->layout.nb_channels*40000) in surround_rate_allocation() 615 stream_offset = st->bitrate_bps/st->layout.nb_channels/2; in surround_rate_allocation() 744 ALLOC(bandSMR, 21*st->layout.nb_channels, opus_val16); in opus_multistream_encode_native() 747 …celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_chann… in opus_multistream_encode_native() 777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels; in opus_multistream_encode_native() 778 if (equiv_rate > 10000*st->layout.nb_channels) in opus_multistream_encode_native() 780 else if (equiv_rate > 7000*st->layout.nb_channels) in opus_multistream_encode_native() [all …]
|
D | opus_multistream_decoder.c | 81 st->layout.nb_channels = channels; in opus_multistream_decoder_init() 85 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_decoder_init() 267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native() 275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native() 285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native() 292 for (c=0;c<st->layout.nb_channels;c++) in opus_multistream_decode_native() 296 (*copy_channel_out)(pcm, st->layout.nb_channels, c, in opus_multistream_decode_native()
|
D | opus_private.h | 45 int nb_channels; member
|
/external/libopus/src/ |
D | opus_multistream.c | 48 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()
|
D | opus_multistream_encoder.c | 101 return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32)); in ms_get_preemph_mem() 414 st->layout.nb_channels = channels; in opus_multistream_encoder_init_impl() 423 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_encoder_init_impl() 612 if (st->bitrate_bps > st->layout.nb_channels*40000) in surround_rate_allocation() 615 stream_offset = st->bitrate_bps/st->layout.nb_channels/2; in surround_rate_allocation() 744 ALLOC(bandSMR, 21*st->layout.nb_channels, opus_val16); in opus_multistream_encode_native() 747 …celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_chann… in opus_multistream_encode_native() 777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels; in opus_multistream_encode_native() 778 if (equiv_rate > 10000*st->layout.nb_channels) in opus_multistream_encode_native() 780 else if (equiv_rate > 7000*st->layout.nb_channels) in opus_multistream_encode_native() [all …]
|
D | opus_multistream_decoder.c | 81 st->layout.nb_channels = channels; in opus_multistream_decoder_init() 85 for (i=0;i<st->layout.nb_channels;i++) in opus_multistream_decoder_init() 267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native() 275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native() 285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan, in opus_multistream_decode_native() 292 for (c=0;c<st->layout.nb_channels;c++) in opus_multistream_decode_native() 296 (*copy_channel_out)(pcm, st->layout.nb_channels, c, in opus_multistream_decode_native()
|
D | opus_private.h | 45 int nb_channels; member
|
/external/speex/include/speex/ |
D | speex_header.h | 67 spx_int32_t nb_channels; /**< Number of channels encoded */ member 78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
|
D | speex_resampler.h | 123 SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, 142 SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels,
|
/external/qemu/audio/ |
D | fmodaudio.c | 48 int nb_channels; member 54 .nb_channels = 2, 584 status = FSOUND_Init (conf.freq, conf.nb_channels, 0); in fmod_audio_init() 649 .valp = &conf.nb_channels,
|