Searched refs:kMaxBufferSize (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 86 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/ |
D | NativeDecoder.cpp | 56 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/ |
D | Extractor.cpp | 27 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/ |
D | DecoderTest.cpp | 58 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P() 70 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
|
D | MuxerTest.cpp | 81 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P() 94 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
|
D | EncoderTest.cpp | 64 uint8_t *inputBuffer = (uint8_t *)malloc(kMaxBufferSize); in TEST_P() 76 ASSERT_LE(inputBufferOffset + info.size, kMaxBufferSize) in TEST_P()
|
D | C2DecoderTest.cpp | 78 ASSERT_LE(fileSize, kMaxBufferSize) in TEST_P()
|
D | C2EncoderTest.cpp | 81 ASSERT_LE(fileSize, kMaxBufferSize) in TEST_P()
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkCommon.h | 37 constexpr uint32_t kMaxBufferSize = 1024 * 1024 * 16; variable
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | AudioSource.h | 83 kMaxBufferSize = 2048, enumerator
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 4845 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()
|