Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecTestBase.cpp94 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 …]
DNativeCodecTestBase.h82 AMediaFormat* mOutFormat; variable
171 AMediaFormat* mOutFormat; variable
DNativeCodecDecoderTestCommon.cpp262 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in dequeueOutput()
299 : mOutFormat), in isOutputFormatOk()
304 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat)) in isOutputFormatOk()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java407 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 …]
DAudioEncoderTest.java165 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
DCodecDecoderValidationTest.java826 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()
DCodecDecoderDetachedSurfaceTest.java217 mOutFormat = mCodec.getOutputFormat(); in doWork()
DCodecDecoderTest.java332 mIsCodecInAsyncMode ? mAsyncHandle.getOutputFormat() : mOutFormat; in doOutputFormatChecks()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecAsyncHandler.java48 private MediaFormat mOutFormat; field in CodecAsyncHandler
73 mOutFormat = null; in resetContext()
136 mOutFormat = format; in onOutputFormatChanged()
254 return mOutFormat; in getOutputFormat()
DCodecTestBase.java375 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()
DCodecDecoderTestBase.java323 mOutFormat = mCodec.getOutputFormat(); in doWork()
DEncoderProfileLevelTestBase.java606 validateFormatForProfileAndLevel(mOutFormat, "Testing output format : "); in validateProfileAndLevel()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java72 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()