Home
last modified time | relevance | path

Searched refs:outFormat (Results 1 – 13 of 13) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderMultiAccessUnitTestBase.java153 private void validateOutputFormat(MediaFormat outFormat) { in validateOutputFormat() argument
154 Assert.assertTrue("Output format " + outFormat + " does not contain key " in validateOutputFormat()
157 outFormat.containsKey(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE)); in validateOutputFormat()
158 mMaxOutputSizeBytes = outFormat.getInteger(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE); in validateOutputFormat()
DCodecDecoderBlockModelMultiAccessUnitTestBase.java145 private void validateOutputFormat(MediaFormat outFormat) { in validateOutputFormat() argument
146 Assert.assertTrue("Output format " + outFormat + " does not contain key " in validateOutputFormat()
149 outFormat.containsKey(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE)); in validateOutputFormat()
150 mMaxOutputSizeBytes = outFormat.getInteger(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE); in validateOutputFormat()
DHDREncoderTestBase.java83 MediaFormat outFormat = mCodec.getOutputFormat(bufferIndex); in dequeueOutput() local
85 outFormat.getByteBuffer(MediaFormat.KEY_HDR10_PLUS_INFO, null); in dequeueOutput()
DCodecTestBase.java1418 public boolean isFormatSimilar(MediaFormat inpFormat, MediaFormat outFormat) { in isFormatSimilar() argument
1419 if (inpFormat == null || outFormat == null) return false; in isFormatSimilar()
1421 String outMediaType = outFormat.getString(MediaFormat.KEY_MIME); in isFormatSimilar()
1426 == outFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT, -2)) in isFormatSimilar()
1428 == outFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE, -2)) in isFormatSimilar()
1431 return getWidth(inpFormat) == getWidth(outFormat) in isFormatSimilar()
1432 && getHeight(inpFormat) == getHeight(outFormat) in isFormatSimilar()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderMultiAccessUnitTest.java156 private void validateOutputFormat(MediaFormat outFormat) { in validateOutputFormat() argument
157 Assert.assertTrue("Output format " + outFormat + " does not contain key " in validateOutputFormat()
160 outFormat.containsKey(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE)); in validateOutputFormat()
161 mMaxOutputSizeBytes = outFormat.getInteger(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE); in validateOutputFormat()
DMuxerTest.java448 public TestApi(int outFormat, String srcFile, int trackCount, String testName) { in TestApi() argument
449 mOutFormat = outFormat; in TestApi()
460 int outFormat, int trackCount); in nativeTestGetTrackCount() argument
463 int outFormat); in nativeTestGetTrackFormat() argument
774 public TestMultiTrack(int outFormat, String srcFileA, String srcFileB, String testName) { in TestMultiTrack() argument
775 mOutFormat = outFormat; in TestMultiTrack()
906 public TestOffsetPts(int outFormat, String file, int[] offsetIndices, String testName) { in TestOffsetPts() argument
907 mOutFormat = outFormat; in TestOffsetPts()
1018 public TestSimpleAppend(int outFormat, String srcFile, int trackCount, String testName) { in TestSimpleAppend() argument
1019 mOutFormat = outFormat; in TestSimpleAppend()
[all …]
DCodecEncoderBlockModelMultiAccessUnitTest.java159 private void validateOutputFormat(MediaFormat outFormat) { in validateOutputFormat() argument
160 Assert.assertTrue("Output format " + outFormat + " does not contain key " in validateOutputFormat()
163 outFormat.containsKey(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE)); in validateOutputFormat()
164 mMaxOutputSizeBytes = outFormat.getInteger(MediaFormat.KEY_BUFFER_BATCH_MAX_OUTPUT_SIZE); in validateOutputFormat()
/cts/tests/media/jni/
DNativeCodecTestBase.cpp684 bool CodecTestBase::isFormatSimilar(AMediaFormat* inpFormat, AMediaFormat* outFormat) { in isFormatSimilar() argument
688 AMediaFormat_getString(outFormat, AMEDIAFORMAT_KEY_MIME, &testMediaType); in isFormatSimilar()
697 AMediaFormat_getInt32(outFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &testSampleRate); in isFormatSimilar()
699 AMediaFormat_getInt32(outFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &testNumChannels); in isFormatSimilar()
704 int32_t testWidth = getWidth(outFormat); in isFormatSimilar()
706 int32_t testHeight = getHeight(outFormat); in isFormatSimilar()
DNativeCodecEncoderSurfaceTest.cpp389 AMediaFormat* outFormat = AMediaCodec_getOutputFormat(mEncoder); in tryEncoderOutput() local
390 AMediaFormat_getInt32(outFormat, AMEDIAFORMAT_KEY_LATENCY, &mLatency); in tryEncoderOutput()
391 AMediaFormat_delete(outFormat); in tryEncoderOutput()
DNativeCodecTestBase.h201 static bool isFormatSimilar(AMediaFormat* inpFormat, AMediaFormat* outFormat);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1156 MediaFormat outFormat; in run() local
1165 outFormat = decoder.getOutputFormat(); in run()
1167 Log.d(TAG, "New format " + outFormat); in run()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java505 MediaFormat outFormat = decoder.getOutputFormat(); in decodeFramesToImage() local
506 if (VERBOSE) Log.v(TAG, "decoder output format changed: " + outFormat); in decodeFramesToImage()
DDecoderTest.java2771 MediaFormat outFormat = codec.getOutputFormat();
2775 int outWidth = outFormat.getInteger(MediaFormat.KEY_WIDTH);
2776 int outHeight = outFormat.getInteger(MediaFormat.KEY_HEIGHT);