Home
last modified time | relevance | path

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

/cts/tests/media/common/src/android/mediav2/common/cts/
DRawResource.java27 public final boolean mIsAudio; field in RawResource
40 if (builder.mIsAudio && (builder.mSampleRate <= 0 || builder.mChannelCount <= 0 in RawResource()
44 if (!builder.mIsAudio && (builder.mWidth <= 0 || builder.mHeight <= 0 in RawResource()
49 mIsAudio = builder.mIsAudio; in RawResource()
61 private boolean mIsAudio; field in RawResource.Builder
72 this.mIsAudio = isAudio; in setFileName()
DEncoderConfigParams.java39 public final boolean mIsAudio; field in EncoderConfigParams
77 mIsAudio = cfg.mMediaType.startsWith("audio/"); in EncoderConfigParams()
79 if (mIsAudio == mIsVideo) { in EncoderConfigParams()
83 if (mIsAudio) { in EncoderConfigParams()
218 if (mIsAudio) { in getFormat()
283 if (mIsAudio) { in toString()
DCodecDecoderTestBase.java75 + mTestConfig, mIsAudio || mIsVideo); in setUpCodecDecoderTestBase()
261 flattenBufferInfo(info, mIsAudio); in dequeueOutput()
263 if (mIsAudio) { in dequeueOutput()
DCodecEncoderTestBase.java317 + mTestConfig, mIsAudio || mIsVideo); in setUpCodecEncoderTestBase()
465 if (mIsAudio) { in enqueueInput()
626 if ((mIsAudio || (mIsVideo && mActiveEncCfg.mMaxBFrames == 0)) in validateTestState()
DCodecDecoderBlockModelTestBase.java200 flattenBufferInfo(info, mIsAudio); in dequeueOutput()
DCodecTestBase.java356 mIsAudio = mMediaType.startsWith("audio/"); in CodecTestBase()
364 protected final boolean mIsAudio; field in CodecTestBase
1445 + mTestEnv, mIsAudio ? MediaCodec.MetricsConstants.MODE_AUDIO : in validateMetrics()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaSyncTest.java592 private boolean mIsAudio = false; field in MediaSyncTest.Decoder
627 mIsAudio = isAudio; in Decoder()
633 if (!mIsAudio) { in setup()
644 String type = mIsAudio ? "audio/" : "video/"; in setup()
695 if (!mIsAudio) { in getAudioTrack()
782 if (mIsAudio) { in onOutputBufferAvailable()
/cts/tests/media/src/android/mediav2/cts/
DEncoderInput.java73 if (cfg.mIsAudio) { in getRawResource()
DCodecDecoderTest.java421 if (IS_AT_LEAST_V && mSaveToMem && mIsAudio) { in testSimpleDecode()
432 int colorFormat = mIsAudio ? 0 : format.getInteger(MediaFormat.KEY_COLOR_FORMAT); in testSimpleDecode()
437 int audioEncoding = mIsAudio ? format.getInteger(MediaFormat.KEY_PCM_ENCODING, in testSimpleDecode()
881 int colorFormat = mIsAudio ? 0 : format.getInteger(MediaFormat.KEY_COLOR_FORMAT); in testSimpleDecodeQueueCSDNative()
DCodecDecoderValidationTest.java850 if (mIsAudio) { in testDecodeAndValidate()
DEncoderProfileLevelTest.java585 if (!cfg.mIsAudio) { in shallSupportProfileAndLevel()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java223 boolean mIsAudio; field in CodecTestBase
569 mIsAudio = mMediaType.startsWith("audio/"); in CodecDecoderTestBase()
678 if (!mIsAudio) { in setUpSource()
761 mIsAudio = mMediaType.startsWith("audio/"); in CodecEncoderTestBase()
762 mInputFile = mIsAudio ? INPUT_AUDIO_FILE : INPUT_VIDEO_FILE; in CodecEncoderTestBase()
872 if (mIsAudio) { in enqueueInput()
DCodecInitializationLatencyTest.java412 if (mIsAudio) { in setUpFormat()
456 if (mIsAudio) { in calculateInitLatency()
554 mSurface = mIsAudio ? null : in DecoderInitializationLatency()
/cts/tests/media/jni/
DNativeCodecTestBase.h160 bool mIsAudio; variable
DNativeCodecEncoderTest.cpp223 if (mIsAudio) { in enqueueInput()
306 RETURN_IF_TRUE((mIsAudio || (mIsVideo && mMaxBFrames == 0)) && in isTestStateValid()
325 if (mIsAudio) { in initFormat()
DNativeCodecTestBase.cpp384 mIsAudio = strncmp(mediaType, "audio/", strlen("audio/")) == 0; in CodecTestBase()
398 mBytesPerSample = mIsAudio ? 2 : 1; in CodecTestBase()
DNativeCodecDecoderTestCommon.cpp132 if (!mIsAudio) { in setUpExtractor()
257 if (mIsAudio) { in dequeueOutput()