Home
last modified time | relevance | path

Searched refs:mIsAudio (Results 1 – 11 of 11) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderTest.java105 if (mIsAudio) { in encodeToMemory()
217 if (mIsAudio) { in setUpParams()
282 if (mIsAudio) { in testSimpleEncode()
310 if (!mIsAudio) { in testSimpleEncode()
318 if (mIsAudio) { in testSimpleEncode()
345 if (!mIsAudio) { in testSimpleEncodeNative()
370 if (mIsAudio) { in testFlush()
404 if (!mIsAudio) { in testFlush()
428 if (!mIsAudio) { in testFlush()
454 if (!mIsAudio) { in testFlushNative()
[all …]
DCodecTestBase.java468 boolean mIsAudio; field in CodecTestBase
813 if (mIsAudio) { in validateMetrics()
825 if (!mIsAudio) { in validateMetrics()
859 mIsAudio = mMime.startsWith("audio/"); in CodecDecoderTestBase()
873 if (!mIsAudio) { in setUpSource()
954 if (mIsAudio) { in dequeueOutput()
1134 mIsAudio = mMime.startsWith("audio/"); in CodecEncoderTestBase()
1135 mInputFile = mIsAudio ? mInputAudioFile : mInputVideoFile; in CodecEncoderTestBase()
1148 if (mIsAudio) { in flushCodec()
1258 if (mIsAudio) { in enqueueInput()
DCodecDecoderTest.java287 if (mIsAudio) { in testSimpleDecode()
363 if (mIsAudio) { in testFlush()
493 if (mIsAudio) { in testReconfigure()
669 if (mIsAudio) { in testOnlyEos()
762 if (mIsAudio) { in testSimpleDecodeQueueCSD()
824 if (mIsAudio) { in testDecodePartialFrame()
DEncoderProfileLevelTest.java57 if (mIsAudio) { in EncoderProfileLevelTest()
704 format.setInteger(mIsAudio ? MediaFormat.KEY_AAC_PROFILE : MediaFormat.KEY_PROFILE, in testValidateProfileLevel()
706 int level = mIsAudio ? 0 : getMinLevel(mMime, mWidth, mHeight, in testValidateProfileLevel()
710 if (!mIsAudio) format.setInteger(MediaFormat.KEY_LEVEL, level); in testValidateProfileLevel()
713 if (mIsAudio) { in testValidateProfileLevel()
DCodecDecoderExtTest.java103 if (mIsAudio) { in testDecodeAndValidate()
/cts/tests/tests/media/src/android/media/cts/
DCodecState.java40 private boolean mIsAudio; field in CodecState
90 mIsAudio = mime.startsWith("audio/"); in CodecState()
92 if (mTunneled && !mIsAudio) { in CodecState()
130 if (!mTunneled || mIsAudio) { in start()
151 if (!mTunneled || mIsAudio) { in flush()
187 if (mIsAudio || !mTunneled) { in doSomeWork()
239 if (mTunneled && !mIsAudio) { in feedInputBuffer()
281 mIsAudio = false; in onOutputFormatChanged()
283 mIsAudio = true; in onOutputFormatChanged()
DMediaSyncTest.java591 private boolean mIsAudio = false; field in MediaSyncTest.Decoder
626 mIsAudio = isAudio; in Decoder()
632 if (!mIsAudio) { in setup()
643 String type = mIsAudio ? "audio/" : "video/"; in setup()
694 if (!mIsAudio) { in getAudioTrack()
781 if (mIsAudio) { in onOutputBufferAvailable()
/cts/tests/media/jni/
DNativeCodecEncoderTest.cpp158 if (mIsAudio) { in setUpParams()
210 if (mIsAudio) { in flushCodec()
272 if (mIsAudio) { in enqueueInput()
340 if (mIsAudio) { in initFormat()
446 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, in testSimpleEncode()
449 CHECK_ERR((loopCounter == 0 && mIsAudio && in testSimpleEncode()
452 CHECK_ERR((loopCounter == 0 && !mIsAudio && in testSimpleEncode()
512 CHECK_ERR((mIsAudio && !mOutputBuff->isPtsStrictlyIncreasing(mPrevOutputPts)), log, in testFlush()
514 CHECK_ERR((!mIsAudio && mInputCount != mOutputCount), log, "input cnt != output cnt", in testFlush()
516 CHECK_ERR((!mIsAudio && !mOutputBuff->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0)), in testFlush()
[all …]
DNativeCodecDecoderTest.cpp121 if (!mIsAudio) { in setUpExtractor()
226 if (mIsAudio) mOutputBuff->saveToMemory(buf, info); in dequeueOutput()
346 loopCounter == 0 && mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), in testSimpleDecode()
348 CHECK_ERR(loopCounter == 0 && !mIsAudio && in testSimpleDecode()
397 CHECK_ERR(mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), "", in testFlush()
399 CHECK_ERR(!mIsAudio && (!ref->isOutPtsListIdenticalToInpPtsList(false)), "", in testFlush()
532 CHECK_ERR(loopCounter == 0 && mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), in testOnlyEos()
534 CHECK_ERR(loopCounter == 0 && !mIsAudio && (!ref->isOutPtsListIdenticalToInpPtsList(false)), in testOnlyEos()
609 CHECK_ERR(loopCounter == 0 && mIsAudio && in testSimpleDecodeQueueCSD()
612 CHECK_ERR(loopCounter == 0 && !mIsAudio && in testSimpleDecodeQueueCSD()
DNativeCodecTestBase.h125 bool mIsAudio; variable
DNativeCodecTestBase.cpp341 mIsAudio = strncmp(mime, "audio/", strlen("audio/")) == 0; in CodecTestBase()