Searched refs:outFormat (Results 1 – 9 of 9) sorted by relevance
/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderProfileLevelTest.java | 611 boolean isFormatSimilar(MediaFormat inpFormat, MediaFormat outFormat) { in isFormatSimilar() argument 612 if (!super.isFormatSimilar(inpFormat, outFormat)) { in isFormatSimilar() 617 String outMime = outFormat.getString(MediaFormat.KEY_MIME); in isFormatSimilar() 620 if (outFormat.getString(MediaFormat.KEY_MIME).equals(MediaFormat.MIMETYPE_AUDIO_AAC)) { in isFormatSimilar() 621 if (!outFormat.containsKey(MediaFormat.KEY_AAC_PROFILE)) { in isFormatSimilar() 631 if (outFormat.getInteger(MediaFormat.KEY_AAC_PROFILE) in isFormatSimilar() 638 if (!outFormat.containsKey(MediaFormat.KEY_PROFILE)) { in isFormatSimilar() 644 if (!outFormat.containsKey(MediaFormat.KEY_LEVEL)) { in isFormatSimilar() 658 if (outFormat.getInteger(MediaFormat.KEY_PROFILE) in isFormatSimilar() 663 if (outFormat.getInteger(MediaFormat.KEY_LEVEL) in isFormatSimilar() [all …]
|
D | MuxerTest.java | 412 public TestApi(int outFormat, String srcFile, String testName) { in TestApi() argument 413 mOutFormat = outFormat; in TestApi() 711 public TestMultiTrack(int outFormat, String srcFileA, String srcFileB, String testName) { in TestMultiTrack() argument 712 mOutFormat = outFormat; in TestMultiTrack() 835 public TestOffsetPts(int outFormat, String file, int[] offsetIndices, String testName) { in TestOffsetPts() argument 836 mOutFormat = outFormat; in TestOffsetPts()
|
D | CodecTestBase.java | 790 boolean isFormatSimilar(MediaFormat inpFormat, MediaFormat outFormat) { in isFormatSimilar() argument 791 if (inpFormat == null || outFormat == null) return false; in isFormatSimilar() 793 String outMime = outFormat.getString(MediaFormat.KEY_MIME); in isFormatSimilar() 798 outFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT, -2) && in isFormatSimilar() 800 outFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE, -2) && in isFormatSimilar() 803 return getWidth(inpFormat) == getWidth(outFormat) && in isFormatSimilar() 804 getHeight(inpFormat) == getHeight(outFormat) && inpMime.startsWith("video/"); in isFormatSimilar()
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 553 bool CodecTestBase::isFormatSimilar(AMediaFormat* inpFormat, AMediaFormat* outFormat) { in isFormatSimilar() argument 556 bool hasTestMime = AMediaFormat_getString(outFormat, AMEDIAFORMAT_KEY_MIME, &testMime); in isFormatSimilar() 565 AMediaFormat_getInt32(outFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &testSampleRate); in isFormatSimilar() 567 AMediaFormat_getInt32(outFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &testNumChannels); in isFormatSimilar() 572 int32_t testWidth = getWidth(outFormat); in isFormatSimilar() 574 int32_t testHeight = getHeight(outFormat); in isFormatSimilar()
|
D | NativeCodecTestBase.h | 161 bool isFormatSimilar(AMediaFormat* inpFormat, AMediaFormat* outFormat);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckAnalyzer.java | 1139 MediaFormat outFormat; in run() local 1148 outFormat = decoder.getOutputFormat(); in run() 1150 Log.d(TAG, "New format " + outFormat); in run()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 542 MediaFormat outFormat = decoder.getOutputFormat(); in decodeFramesToImage() local 543 if (VERBOSE) Log.v(TAG, "decoder output format changed: " + outFormat); in decodeFramesToImage()
|
D | DecoderTest.java | 2682 MediaFormat outFormat = codec.getOutputFormat(); 2686 int outWidth = outFormat.getInteger(MediaFormat.KEY_WIDTH); 2687 int outHeight = outFormat.getInteger(MediaFormat.KEY_HEIGHT);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraDeviceTest.java | 1114 for (int outFormat : outputFormats) { in testCreateSessionWithParametersByCamera() 1115 if (inFormat == outFormat) { in testCreateSessionWithParametersByCamera() 1117 outputFormat = outFormat; in testCreateSessionWithParametersByCamera()
|