Home
last modified time | relevance | path

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

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecEncoderBlockModelTestBase.java101 int maxInputSize = in enqueueInput() local
103 maxInputSize = ((maxInputSize + (frameSize - 1)) / frameSize) * frameSize; in enqueueInput()
109 int size = Math.min(maxInputSize, mInputData.length - mInputBufferReadOffset); in enqueueInput()
DCodecDecoderMultiAccessUnitTestBase.java252 int maxInputSize = Math.max(maxInputSizeInBytes, in configureKeysForLargeAudioFrameMode() local
256 format.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, maxInputSize); in configureKeysForLargeAudioFrameMode()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderMultiAccessUnitTest.java313 int maxInputSize = (int) (maxOutputSize / getCompressionRatio(mMediaType)); in testSimpleEncode() local
314 maxInputSize = ((maxInputSize + (frameSize - 1)) / frameSize) * frameSize; in testSimpleEncode()
317 format.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, maxInputSize); in testSimpleEncode()
/cts/tests/camera/src/android/hardware/camera2/cts/
DReprocessCaptureTest.java249 Size maxInputSize = in testRecreateReprocessingSessions() local
255 testReprocess(id, maxInputSize, inputFormat, maxReprocessOutputSize, in testRecreateReprocessingSessions()
598 Size maxInputSize = getMaxSize(inputFormat, StaticMetadata.StreamDirection.Input); in testReprocessingMaxSizes() local
604 testReprocess(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize, in testReprocessingMaxSizes()
608 testReprocessAbort(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize, in testReprocessingMaxSizes()
612 testReprocessTimestamps(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize, in testReprocessingMaxSizes()
616 testReprocessJpegExif(cameraId, maxInputSize, inputFormat, maxReprocessOutputSize); in testReprocessingMaxSizes()
619 testReprocessRequestKeys(cameraId, maxInputSize, inputFormat, in testReprocessingMaxSizes()
DPerformanceTest.java1693 Size maxInputSize = CameraTestUtils.getMaxSize(supportedInputSizes);
1703 maxInputSize, inputFormat, MAX_ZSL_IMAGES,
1716 InputConfiguration inputConfig = new InputConfiguration(maxInputSize.getWidth(),
1717 maxInputSize.getHeight(), inputFormat);
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserOutputConsumer.java164 int maxInputSize = in toExoPlayerFormat() local
233 .setMaxInputSize(maxInputSize) in toExoPlayerFormat()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DAdaptivePlaybackTest.java1381 public MediaFormat getAdaptiveFormat(int width, int height, int maxInputSize) {
1384 mAdaptiveFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, maxInputSize);
1396 public void setMaxInputSize(int maxInputSize) {
1397 mFormat.setInteger(MediaFormat.KEY_MAX_INPUT_SIZE, maxInputSize);
1471 int maxInputSize = 0;
1480 if (maxInputSize < sampleSize) {
1481 maxInputSize = sampleSize;
1497 media.setMaxInputSize(maxInputSize);