/frameworks/av/media/codec2/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 123 int32_t maxInputSize; in TEST_P() local 124 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P() 126 EXPECT_EQ(maxInputSize, InputSize); in TEST_P() 128 EXPECT_GE(maxInputSize, 1 << 20); // 1 MB in TEST_P() 135 EXPECT_GE(buf->size(), (size_t)maxInputSize); in TEST_P() 136 EXPECT_LE(buf->size(), (size_t)maxInputSize + 4096u); in TEST_P() 152 int32_t maxInputSize; in TEST_P() local 153 ASSERT_TRUE(ifmt->findInt32("max-input-size", &maxInputSize)); in TEST_P() 155 EXPECT_EQ(maxInputSize, InputSize); in TEST_P() 157 EXPECT_GE(maxInputSize, 1 << 20); // 1 MB in TEST_P() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 134 int32_t maxInputSize; in main() local 135 if (source->getFormat()->findInt32(kKeyMaxInputSize, &maxInputSize)) { in main() 136 meta->setInt32("max-input-size", maxInputSize); in main()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodec.cpp | 889 C2StreamMaxBufferSizeInfo::input maxInputSize(0u, 0u); in configure() local 895 { &usage, &maxInputSize, &prepend }, in configure() 927 if (maxInputSize.value == 0) { in configure() 929 maxInputSize.value = encoder ? 16384 : 4096; in configure() 931 maxInputSize.value = 1048576u; in configure() 936 if ((config->mDomain & Config::IS_DECODER) && maxInputSize.value > 0) { in configure() 939 if (csd && csd->size() > maxInputSize.value) { in configure() 940 maxInputSize.value = csd->size(); in configure() 949 if ((uint32_t)clientInputSize < maxInputSize.value) { in configure() 952 "recommendation.", clientInputSize, maxInputSize.value); in configure() [all …]
|
/frameworks/av/media/libstagefright/filters/ |
D | MediaFilter.cpp | 433 int32_t maxInputSize; in onConfigureComponent() local 434 if (msg->findInt32("max-input-size", &maxInputSize) in onConfigureComponent() 435 && (size_t)maxInputSize > mMaxInputSize) { in onConfigureComponent() 436 mMaxInputSize = maxInputSize; in onConfigureComponent()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2ReprocessCaptureTest.java | 228 Size maxInputSize = getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testReprocessingMaxSizes() local 234 testReprocess(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize, in testReprocessingMaxSizes() 238 testReprocessAbort(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize, in testReprocessingMaxSizes() 242 testReprocessTimestamps(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize, in testReprocessingMaxSizes() 246 testReprocessJpegExif(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize); in testReprocessingMaxSizes() 249 testReprocessRequestKeys(cameraId, maxInputSize, inputFormat, in testReprocessingMaxSizes()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 1040 int32_t maxInputSize; in convertMetaDataToMessage() local 1041 if (meta->findInt32(kKeyMaxInputSize, &maxInputSize)) { in convertMetaDataToMessage() 1042 msg->setInt32("max-input-size", maxInputSize); in convertMetaDataToMessage() 1789 int32_t maxInputSize; in convertMessageToMetaData() local 1790 if (msg->findInt32("max-input-size", &maxInputSize)) { in convertMessageToMetaData() 1791 meta->setInt32(kKeyMaxInputSize, maxInputSize); in convertMessageToMetaData()
|
D | ACodec.cpp | 2273 int32_t maxInputSize; in configureCodec() local 2274 if (msg->findInt32("max-input-size", &maxInputSize)) { in configureCodec() 2275 err = setMinBufferSize(kPortIndexInput, (size_t)maxInputSize); in configureCodec()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1622 int32_t maxInputSize = 64 << 10; in addFlacMetadata() local 1627 maxInputSize = streamInfo.max_framesize; in addFlacMetadata() 1628 if (maxInputSize == 0) { in addFlacMetadata() 1638 maxInputSize = ((streamInfo.bits_per_sample + 7) / 8) in addFlacMetadata() 1642 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, maxInputSize); in addFlacMetadata()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1148 int32_t maxInputSize; in createAudioSource() local 1150 kKeyMaxInputSize, &maxInputSize)); in createAudioSource() 1152 format->setInt32("max-input-size", maxInputSize); in createAudioSource()
|