Home
last modified time | relevance | path

Searched refs:kMaxChannels (Results 1 – 13 of 13) 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()
409 CHECK_LE(nbInputSamples, kNumSamplesPerFrame * kMaxChannels); in onQueueFilled()
415 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()
149 if (header.channels < 1 || header.channels > kMaxChannels) { in WriteOpusHeader()
/frameworks/av/media/libstagefright/foundation/tests/OpusHeader/
DOpusHeaderTest.cpp54 constexpr int kMaxChannels = 8; variable
55 constexpr uint8_t kOpusChannelMap[kMaxChannels][kMaxChannels] = {
266 ASSERT_LE(header.channels, kMaxChannels); in TEST_P()
/frameworks/av/media/codecs/mp3dec/fuzzer/
Dmp3_dec_fuzzer.cpp27 constexpr int kMaxChannels = 2; variable
192 size_t outBufSize = kMaxFrameSamples * kMaxChannels; in decodeFrames()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp41 static const int kMaxChannels = 8; variable
113 def.nBufferSize = kMaxNumSamplesPerBuffer * sizeof(int16_t) * kMaxChannels; in initPorts()
349 if (header->channels <= 0 || header->channels > kMaxChannels) { in ParseOpusHeader()
455 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.cpp95 kMaxChannels = FCC_8, enumerator
148 … void (*mCopy)(int16_t *dst, const int * src[kMaxChannels], unsigned nSamples, unsigned nChannels);
165 FLAC__int32 const * mWriteBuffer[kMaxChannels];
519 if (getChannels() == 0 || getChannels() > kMaxChannels) { in init()
/frameworks/av/media/libstagefright/flac/dec/test/
DFlacDecoderTest.cpp145 : kMaxBlockSize * FLACDecoder::kMaxChannels * sampleSize; in processFlacDecoder()
/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.cpp282 : kMaxBlockSize * FLACDecoder::kMaxChannels * sampleSize; in process()