Home
last modified time | relevance | path

Searched refs:maxInputSize (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp123 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/
Daudioloop.cpp134 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/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DEncoder.java139 int maxInputSize = AUDIO_ENCODE_DEFAULT_MAX_INPUT_SIZE; in encode() local
142 maxInputSize = format.getInteger(MediaFormat.KEY_MAX_INPUT_SIZE); in encode()
145 if (mFrameSize > maxInputSize && maxInputSize > 0) { in encode()
146 mFrameSize = maxInputSize; in encode()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp901 C2StreamMaxBufferSizeInfo::input maxInputSize(0u, 0u); in configure() local
907 { &usage, &maxInputSize, &prepend }, in configure()
939 if (maxInputSize.value == 0) { in configure()
941 maxInputSize.value = encoder ? 16384 : 4096; in configure()
943 maxInputSize.value = 1048576u; in configure()
948 if ((config->mDomain & Config::IS_DECODER) && maxInputSize.value > 0) { in configure()
951 if (csd && csd->size() > maxInputSize.value) { in configure()
952 maxInputSize.value = csd->size(); in configure()
961 if ((uint32_t)clientInputSize < maxInputSize.value) { in configure()
964 "recommendation.", clientInputSize, maxInputSize.value); in configure()
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp433 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/
DCamera2ReprocessCaptureTest.java228 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/
DUtils.cpp1035 int32_t maxInputSize; in convertMetaDataToMessage() local
1036 if (meta->findInt32(kKeyMaxInputSize, &maxInputSize)) { in convertMetaDataToMessage()
1037 msg->setInt32("max-input-size", maxInputSize); in convertMetaDataToMessage()
1784 int32_t maxInputSize; in convertMessageToMetaData() local
1785 if (msg->findInt32("max-input-size", &maxInputSize)) { in convertMessageToMetaData()
1786 meta->setInt32(kKeyMaxInputSize, maxInputSize); in convertMessageToMetaData()
DACodec.cpp2280 int32_t maxInputSize; in configureCodec() local
2281 if (msg->findInt32("max-input-size", &maxInputSize)) { in configureCodec()
2282 err = setMinBufferSize(kPortIndexInput, (size_t)maxInputSize); in configureCodec()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1622 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/
DStagefrightRecorder.cpp1148 int32_t maxInputSize; in createAudioSource() local
1150 kKeyMaxInputSize, &maxInputSize)); in createAudioSource()
1152 format->setInt32("max-input-size", maxInputSize); in createAudioSource()