/aosp12/frameworks/av/media/codec2/sfplugin/tests/ |
H A D | MediaCodec_sanity_test.cpp | 123 int32_t maxInputSize; in TEST_P() local 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() 152 int32_t maxInputSize; in TEST_P() local 155 EXPECT_EQ(maxInputSize, InputSize); in TEST_P() 157 EXPECT_GE(maxInputSize, 1 << 20); // 1 MB in TEST_P() 164 EXPECT_GE(buf->size(), (size_t)maxInputSize); in TEST_P() 181 int32_t maxInputSize; in TEST_P() local 184 EXPECT_EQ(maxInputSize, InputSize); in TEST_P() [all …]
|
/aosp12/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
H A D | Encoder.java | 139 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()
|
/aosp12/frameworks/av/cmds/stagefright/ |
H A D | audioloop.cpp | 141 int32_t maxInputSize; in main() local 142 if (source->getFormat()->findInt32(kKeyMaxInputSize, &maxInputSize)) { in main() 143 meta->setInt32("max-input-size", maxInputSize); in main()
|
/aosp12/packages/apps/TV/tuner/src/com/google/android/exoplayer/ |
H A D | MediaFormatUtil.java | 34 int maxInputSize = in createMediaFormat() local 63 maxInputSize, in createMediaFormat()
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
H A D | FileSampleExtractor.java | 143 int maxInputSize = in createFormat() local 172 maxInputSize, in createFormat() 186 maxInputSize, in createFormat()
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A 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()
|
/aosp12/frameworks/av/media/libstagefright/filters/ |
H A D | MediaFilter.cpp | 535 int32_t maxInputSize; in onConfigureComponent() local 536 if (msg->findInt32("max-input-size", &maxInputSize) in onConfigureComponent() 537 && (size_t)maxInputSize > mMaxInputSize) { in onConfigureComponent() 538 mMaxInputSize = maxInputSize; in onConfigureComponent()
|
/aosp12/frameworks/av/media/codec2/sfplugin/ |
H A D | CCodec.cpp | 1208 C2StreamMaxBufferSizeInfo::input maxInputSize(0u, 0u); in configure() local 1217 { &usage, &maxInputSize, &prepend }, in configure() 1245 if (maxInputSize.value == 0) { in configure() 1247 maxInputSize.value = encoder ? 16384 : 4096; in configure() 1249 maxInputSize.value = 1048576u; in configure() 1254 if ((config->mDomain & Config::IS_DECODER) && maxInputSize.value > 0) { in configure() 1257 if (csd && csd->size() > maxInputSize.value) { in configure() 1258 maxInputSize.value = csd->size(); in configure() 1267 if ((uint32_t)clientInputSize < maxInputSize.value) { in configure() 1275 maxInputSize.value = clientInputSize; in configure() [all …]
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
H A D | ExoPlayerSampleExtractor.java | 211 format.maxInputSize, in convertFormat() 223 format.maxInputSize, in convertFormat()
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
H A D | SampleChunkIoHelper.java | 249 mediaFormat, MediaFormat.KEY_MAX_INPUT_SIZE, format.maxInputSize); in getVideoMediaFormat() 268 mediaFormat, MediaFormat.KEY_MAX_INPUT_SIZE, format.maxInputSize); in getAudioMediaFormat()
|
/aosp12/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 1133 int32_t maxInputSize; in convertMetaDataToMessage() local 1134 if (meta->findInt32(kKeyMaxInputSize, &maxInputSize)) { in convertMetaDataToMessage() 1135 msg->setInt32("max-input-size", maxInputSize); in convertMetaDataToMessage() 1915 int32_t maxInputSize; in convertMessageToMetaData() local 1916 if (msg->findInt32("max-input-size", &maxInputSize)) { in convertMessageToMetaData() 1917 meta->setInt32(kKeyMaxInputSize, maxInputSize); in convertMessageToMetaData()
|
H A D | ACodec.cpp | 2359 int32_t maxInputSize; in configureCodec() local 2360 if (msg->findInt32("max-input-size", &maxInputSize)) { in configureCodec() 2361 err = setMinBufferSize(kPortIndexInput, (size_t)maxInputSize); in configureCodec()
|
/aosp12/frameworks/av/media/extractors/mkv/ |
H A D | MatroskaExtractor.cpp | 1631 int32_t maxInputSize = 64 << 10; in addFlacMetadata() local 1636 maxInputSize = streamInfo.max_framesize; in addFlacMetadata() 1637 if (maxInputSize == 0) { in addFlacMetadata() 1647 maxInputSize = ((streamInfo.bits_per_sample + 7) / 8) in addFlacMetadata() 1651 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, maxInputSize); in addFlacMetadata()
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
H A D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 305 uint32_t maxInputSize = C2StreamMaxBufferSizeInfo::input::From(queried[0].get())->value; in getSamplesPerFrame() local 306 *samplesPerFrame = std::min((maxInputSize / (nChannels * 2)), kMaxSamplesPerFrame); in getSamplesPerFrame()
|
/aosp12/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1412 int32_t maxInputSize; in createAudioSource() local 1414 kKeyMaxInputSize, &maxInputSize)); in createAudioSource() 1416 format->setInt32("max-input-size", maxInputSize); in createAudioSource()
|
/aosp12/frameworks/base/apex/media/framework/java/android/media/ |
H A D | MediaParser.java | 2022 setOptionalMediaFormatInt(result, MediaFormat.KEY_MAX_INPUT_SIZE, format.maxInputSize); in toMediaFormat()
|