/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 94 mOutFormat = nullptr; in CodecAsyncHandler() 100 if (mOutFormat) { in ~CodecAsyncHandler() 101 AMediaFormat_delete(mOutFormat); in ~CodecAsyncHandler() 102 mOutFormat = nullptr; in ~CodecAsyncHandler() 183 if (mOutFormat) { in setOutputFormat() 184 AMediaFormat_delete(mOutFormat); in setOutputFormat() 185 mOutFormat = nullptr; in setOutputFormat() 187 mOutFormat = format; in setOutputFormat() 207 return mOutFormat; in getOutputFormat() 228 if (mOutFormat) { in resetContext() [all …]
|
D | NativeCodecTestBase.h | 82 AMediaFormat* mOutFormat; variable 171 AMediaFormat* mOutFormat; variable
|
D | NativeCodecDecoderTestCommon.cpp | 262 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in dequeueOutput() 299 : mOutFormat), in isOutputFormatOk() 304 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat)) in isOutputFormatOk()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerTest.java | 407 private int mOutFormat; field in MuxerTest.TestApi 449 mOutFormat = outFormat; in TestApi() 466 if (mOutFormat != MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4 && in verifyLocationInFile() 467 mOutFormat != MediaMuxer.OutputFormat.MUXER_OUTPUT_3GPP) return; in verifyLocationInFile() 499 if (mOutFormat != MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4 && in verifyOrientation() 500 mOutFormat != MediaMuxer.OutputFormat.MUXER_OUTPUT_3GPP) return; in verifyOrientation() 515 Assume.assumeTrue(shouldRunTest(mOutFormat)); in testSetLocation() 516 MediaMuxer muxer = new MediaMuxer(mOutPath, mOutFormat); in testSetLocation() 575 assertTrue(mOutFormat != MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4 && in testSetLocation() 576 mOutFormat != MediaMuxer.OutputFormat.MUXER_OUTPUT_3GPP); in testSetLocation() [all …]
|
D | AudioEncoderTest.java | 165 mOutFormat.setInteger(MediaFormat.KEY_PCM_ENCODING, mActiveEncCfg.mPcmEncoding); in encodeAndValidate() 166 fmts.add(mOutFormat); in encodeAndValidate() 168 assertFalse("no suitable codecs found for fmt: " + mOutFormat + "\n" + mTestConfig in encodeAndValidate() 172 cdtb.decodeToMemory(mOutputBuff.getBuffer(), mInfoList, mOutFormat, listOfDecoders.get(0)); in encodeAndValidate() local
|
D | CodecDecoderValidationTest.java | 826 mOutFormat = mCodec.getOutputFormat(); in testDecodeAndValidate() 838 mOutFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE, -1)); in testDecodeAndValidate() 841 mOutFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT, -1)); in testDecodeAndValidate() 843 + mTestEnv, mWidth, getWidth(mOutFormat)); in testDecodeAndValidate() 845 + mTestEnv, mHeight, getHeight(mOutFormat)); in testDecodeAndValidate() 855 int outputPcmEncoding = mOutFormat.getInteger(MediaFormat.KEY_PCM_ENCODING, in testDecodeAndValidate()
|
D | CodecDecoderDetachedSurfaceTest.java | 217 mOutFormat = mCodec.getOutputFormat(); in doWork()
|
D | CodecDecoderTest.java | 332 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in doOutputFormatChecks()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecAsyncHandler.java | 48 private MediaFormat mOutFormat; field in CodecAsyncHandler 73 mOutFormat = null; in resetContext() 136 mOutFormat = format; in onOutputFormatChanged() 254 return mOutFormat; in getOutputFormat()
|
D | CodecTestBase.java | 375 protected MediaFormat mOutFormat; field in CodecTestBase 1249 return mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in getOutputFormat() 1327 mOutFormat = mCodec.getOutputFormat(); in doWork() 1360 mOutFormat = mCodec.getOutputFormat(); in queueEOS() 1386 mOutFormat = mCodec.getOutputFormat(); in waitForAllOutputs()
|
D | CodecDecoderTestBase.java | 323 mOutFormat = mCodec.getOutputFormat(); in doWork()
|
D | EncoderProfileLevelTestBase.java | 606 validateFormatForProfileAndLevel(mOutFormat, "Testing output format : "); in validateProfileAndLevel()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 72 private MediaFormat mOutFormat; field in CodecAsyncHandler 92 mOutFormat = null; in resetContext() 127 mOutFormat = format; in onOutputFormatChanged() 185 return mOutFormat; in getOutputFormat() 222 MediaFormat mOutFormat; field in CodecTestBase 360 mOutFormat = mCodec.getOutputFormat(); in doWork() 393 mOutFormat = mCodec.getOutputFormat(); in queueEOS() 419 mOutFormat = mCodec.getOutputFormat(); in waitForAllOutputs()
|