Searched refs:nb_channels (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/third_party/speex/include/speex/
H A Dspeex_header.h67 spx_int32_t nb_channels; /**< Number of channels encoded */ member in struct:SpeexHeader
78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
H A Dspeex_resampler.h115 * @param nb_channels Number of channels to be processed
123 SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels,
132 * @param nb_channels Number of channels to be processed
142 SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels,
/external/speex/include/speex/
H A Dspeex_header.h67 spx_int32_t nb_channels; /**< Number of channels encoded */ member in struct:SpeexHeader
78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
H A Dspeex_resampler.h115 * @param nb_channels Number of channels to be processed
123 SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels,
132 * @param nb_channels Number of channels to be processed
142 SpeexResamplerState *speex_resampler_init_frac(spx_uint32_t nb_channels,
/external/chromium_org/third_party/opus/src/src/
H A Dopus_multistream.c48 for (i=0;i<layout->nb_channels;i++)
61 for (;i<layout->nb_channels;i++)
73 for (;i<layout->nb_channels;i++)
85 for (;i<layout->nb_channels;i++)
H A Dopus_multistream_encoder.c101 return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32));
414 st->layout.nb_channels = channels;
423 for (i=0;i<st->layout.nb_channels;i++)
612 if (st->bitrate_bps > st->layout.nb_channels*40000)
615 stream_offset = st->bitrate_bps/st->layout.nb_channels/2;
744 ALLOC(bandSMR, 21*st->layout.nb_channels, opus_val16);
747 surround_analysis(celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_channel_in);
777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels;
778 if (equiv_rate > 10000*st->layout.nb_channels)
780 else if (equiv_rate > 7000*st->layout.nb_channels)
[all...]
H A Dopus_multistream_decoder.c81 st->layout.nb_channels = channels;
85 for (i=0;i<st->layout.nb_channels;i++)
267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
292 for (c=0;c<st->layout.nb_channels;c++)
296 (*copy_channel_out)(pcm, st->layout.nb_channels, c,
H A Dopus_private.h45 int nb_channels; member in struct:ChannelLayout
/external/libopus/src/
H A Dopus_multistream.c48 for (i=0;i<layout->nb_channels;i++)
61 for (;i<layout->nb_channels;i++)
73 for (;i<layout->nb_channels;i++)
85 for (;i<layout->nb_channels;i++)
H A Dopus_multistream_encoder.c101 return (opus_val32*)(ptr+st->layout.nb_channels*120*sizeof(opus_val32));
414 st->layout.nb_channels = channels;
423 for (i=0;i<st->layout.nb_channels;i++)
612 if (st->bitrate_bps > st->layout.nb_channels*40000)
615 stream_offset = st->bitrate_bps/st->layout.nb_channels/2;
744 ALLOC(bandSMR, 21*st->layout.nb_channels, opus_val16);
747 surround_analysis(celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_channel_in);
777 equiv_rate -= 60*(Fs/frame_size - 50)*st->layout.nb_channels;
778 if (equiv_rate > 10000*st->layout.nb_channels)
780 else if (equiv_rate > 7000*st->layout.nb_channels)
[all...]
H A Dopus_multistream_decoder.c81 st->layout.nb_channels = channels;
85 for (i=0;i<st->layout.nb_channels;i++)
267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
292 for (c=0;c<st->layout.nb_channels;c++)
296 (*copy_channel_out)(pcm, st->layout.nb_channels, c,
H A Dopus_private.h45 int nb_channels; member in struct:ChannelLayout
/external/chromium_org/third_party/speex/libspeex/
H A Dspeex_header.c75 int nb_channels;
86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) argument
110 header->nb_channels = nb_channels;
134 ENDIAN_SWITCH(le_header->nb_channels);
174 ENDIAN_SWITCH(le_header->nb_channels);
188 if (le_header->nb_channels>2)
189 le_header->nb_channels = 2;
190 if (le_header->nb_channels<1)
191 le_header->nb_channels
[all...]
H A Dresample.c118 spx_uint32_t nb_channels; member in struct:SpeexResamplerState_
641 st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
642 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++)
649 st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
650 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++)
662 st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
664 for (i=st->nb_channels-1;i>=0;i--)
703 for (i=0;i<st->nb_channels;i++)
718 EXPORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) argument
720 return speex_resampler_init_frac(nb_channels, in_rat
723 speex_resampler_init_frac(spx_uint32_t nb_channels, spx_uint32_t ratio_num, spx_uint32_t ratio_den, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) argument
[all...]
/external/speex/libspeex/
H A Dspeex_header.c75 int nb_channels;
86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) argument
110 header->nb_channels = nb_channels;
134 ENDIAN_SWITCH(le_header->nb_channels);
174 ENDIAN_SWITCH(le_header->nb_channels);
188 if (le_header->nb_channels>2)
189 le_header->nb_channels = 2;
190 if (le_header->nb_channels<1)
191 le_header->nb_channels
[all...]
H A Dresample.c122 spx_uint32_t nb_channels; member in struct:SpeexResamplerState_
651 st->mem = (spx_word16_t*)speex_alloc(st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
652 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++)
659 st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
660 for (i=0;i<st->nb_channels*st->mem_alloc_size;i++)
672 st->mem = (spx_word16_t*)speex_realloc(st->mem, st->nb_channels*st->mem_alloc_size * sizeof(spx_word16_t));
674 for (i=st->nb_channels-1;i>=0;i--)
713 for (i=0;i<st->nb_channels;i++)
728 EXPORT SpeexResamplerState *speex_resampler_init(spx_uint32_t nb_channels, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) argument
730 return speex_resampler_init_frac(nb_channels, in_rat
733 speex_resampler_init_frac(spx_uint32_t nb_channels, spx_uint32_t ratio_num, spx_uint32_t ratio_den, spx_uint32_t in_rate, spx_uint32_t out_rate, int quality, int *err) argument
[all...]
/external/qemu/audio/
H A Dfmodaudio.c48 int nb_channels; member in struct:__anon29237
54 .nb_channels = 2,
584 status = FSOUND_Init (conf.freq, conf.nb_channels, 0);
649 .valp = &conf.nb_channels,

Completed in 2363 milliseconds