Home
last modified time | relevance | path

Searched refs:kMaxChannels (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.h33 kMaxChannels = 8, enumerator
87 FLAC__int32 const * mWriteBuffer[kMaxChannels];
DFLACDecoder.cpp310 if (getChannels() == 0 || getChannels() > kMaxChannels) { in parseMetadata()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.h48 static constexpr unsigned int kMaxChannels = 2; member
51 kNumSamplesPerFrame * kMaxChannels * sizeof(float);
DSoftFlacEncoder.cpp80 sizeof(FLAC__int32) * kNumSamplesPerFrame * kMaxChannels * 2); in SoftFlacEncoder()
275 if (pcmParams->nChannels < 1 || pcmParams->nChannels > kMaxChannels) { in internalSetParameter()
408 CHECK_LE(nbInputSamples, kNumSamplesPerFrame * kMaxChannels); in onQueueFilled()
414 CHECK_LE(nbInputSamples, kNumSamplesPerFrame * kMaxChannels * 2); in onQueueFilled()
/frameworks/av/media/libstagefright/foundation/
DOpusHeader.cpp33 constexpr int kMaxChannels = 8; variable
35 constexpr uint8_t kOpusChannelMap[kMaxChannels][kMaxChannels] = {
103 if (header->channels < 1 || header->channels > kMaxChannels) { in ParseOpusHeader()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp41 static const int kMaxChannels = 8; variable
111 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t) * kMaxChannels; in initPorts()
346 if (header->channels <= 0 || header->channels > kMaxChannels) { in ParseOpusHeader()
452 uint8_t channel_mapping[kMaxChannels] = {0}; in onQueueFilled()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp190 static const int kMaxChannels = 8; variable
272 uint8_t channel_mapping[kMaxChannels] = {0}; in process()
380 kMaxNumSamplesPerBuffer * kMaxChannels * sizeof(int16_t), in process()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp93 kMaxChannels = FCC_8, enumerator
146 … void (*mCopy)(int16_t *dst, const int * src[kMaxChannels], unsigned nSamples, unsigned nChannels);
163 FLAC__int32 const * mWriteBuffer[kMaxChannels];
517 if (getChannels() == 0 || getChannels() > kMaxChannels) { in init()
/frameworks/av/media/libstagefright/codecs/flac/dec/
DSoftFlacDecoder.cpp92 def.nBufferSize = kNumSamplesPerFrame * FLACDecoder::kMaxChannels * sizeof(float); in initPorts()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp277 : kMaxBlockSize * FLACDecoder::kMaxChannels * sampleSize; in process()