Searched refs:kMaxBufferSize (Results 1 – 12 of 12) sorted by relevance
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | MemoryDealerFuzz.cpp | 25 static constexpr size_t kMaxBufferSize = 10000; variable 31 if (size > kMaxBufferSize) { in LLVMFuzzerTestOneInput()
|
/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/libstagefright/ |
D | AudioSource.cpp | 119 uint32_t frameCount = kMaxBufferSize / sizeof(int16_t) / channelCount; in set() 242 meta->setInt32(kKeyMaxInputSize, kMaxBufferSize); in getFormat() 439 if (numLostBytes > kMaxBufferSize) { in dataCallback() 440 numLostBytes -= kMaxBufferSize; in dataCallback() 441 bufferSize = kMaxBufferSize; in dataCallback()
|
/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 | 96 kMaxBufferSize = 2048, enumerator
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 5247 const size_t kMaxBufferSize = 64 * 1024 * 1024; in start() local 5248 if (max_size > kMaxBufferSize) { in start() 5249 ALOGE("bogus max input size: %zu > %zu", max_size, kMaxBufferSize); in start() 5260 const size_t realMaxBuffers = min(kMaxBufferSize / max_size, kMaxBuffers); in start()
|