Home
last modified time | relevance | path

Searched refs:kMaxBufferSize (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/
DAudioSource.cpp86 uint32_t frameCount = kMaxBufferSize / sizeof(int16_t) / channelCount; in AudioSource()
208 meta->setInt32(kKeyMaxInputSize, kMaxBufferSize); in getFormat()
405 if (numLostBytes > kMaxBufferSize) { in dataCallback()
406 numLostBytes -= kMaxBufferSize; in dataCallback()
407 bufferSize = kMaxBufferSize; in dataCallback()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeDecoder.cpp56 if (fileSize > kMaxBufferSize) { in Java_com_android_media_benchmark_library_Native_Decode()
88 if (inputBufferOffset + info.size > kMaxBufferSize) { in Java_com_android_media_benchmark_library_Native_Decode()
/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp27 mFrameBuf = (uint8_t *)calloc(kMaxBufferSize, sizeof(uint8_t)); in initExtractor()
61 int32_t size = AMediaExtractor_readSampleData(mExtractor, mFrameBuf, kMaxBufferSize); in getFrameSample()
/frameworks/av/media/tests/benchmark/tests/
DDecoderTest.cpp58 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P()
70 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DMuxerTest.cpp81 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P()
94 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DEncoderTest.cpp64 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P()
76 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
DC2DecoderTest.cpp78 ASSERT_LE(fileSize, kMaxBufferSize) in TEST_P()
DC2EncoderTest.cpp81 ASSERT_LE(fileSize, kMaxBufferSize) in TEST_P()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.h37 constexpr uint32_t kMaxBufferSize = 1024 * 1024 * 16; variable
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h83 kMaxBufferSize = 2048, enumerator
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp4845 const size_t kMaxBufferSize = 64 * 1024 * 1024; in start() local
4846 if (max_size > kMaxBufferSize) { in start()
4847 ALOGE("bogus max input size: %zu > %zu", max_size, kMaxBufferSize); in start()
4858 const size_t realMaxBuffers = min(kMaxBufferSize / max_size, kMaxBuffers); in start()