HomeSort by relevance Sort by last modified time
    Searched refs:nb_channels (Results 1 - 8 of 8) sorted by null

  /external/speex/include/speex/
speex_header.h 67 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);
speex_resampler.h 115 * @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/libopus/src/
opus_multistream.c 48 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++)
opus_multistream_encoder.c 101 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...]
opus_multistream_decoder.c 81 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,
opus_private.h 45 int nb_channels; member in struct:ChannelLayout
  /external/speex/libspeex/
speex_header.c 75 int nb_channels;
86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m)
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 = 1
    [all...]
resample.c 122 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)
730 return speex_resampler_init_frac(nb_channels, in_rate, out_rate, in_rate, out_rate, quality, err)
    [all...]

Completed in 67 milliseconds