/cts/tests/media/src/android/mediav2/cts/ |
D | CodecListTest.java | 22 import android.mediav2.common.cts.CodecTestBase; 63 CodecTestBase.compileRequiredMediaTypeList(isEncoder, needAudio, needVideo); in testCddRequiredCodecsAvailability() 67 assertTrue(log, isEncoder ? CodecTestBase.hasEncoder(mediaType) : in testCddRequiredCodecsAvailability() 68 CodecTestBase.hasDecoder(mediaType)); in testCddRequiredCodecsAvailability() 73 CodecTestBase.hasEncoder(MediaFormat.MIMETYPE_VIDEO_AVC) || in testCddRequiredCodecsAvailability() 74 CodecTestBase.hasEncoder(MediaFormat.MIMETYPE_VIDEO_VP8)); in testCddRequiredCodecsAvailability()
|
D | CodecEncoderSurfaceTest.java | 25 import static android.mediav2.common.cts.CodecTestBase.BOARD_SDK_IS_BEFORE_U; 26 import static android.mediav2.common.cts.CodecTestBase.PROFILE_HLG_MAP; 27 import static android.mediav2.common.cts.CodecTestBase.VNDK_IS_AT_LEAST_T; 28 import static android.mediav2.common.cts.CodecTestBase.VNDK_IS_BEFORE_U; 29 import static android.mediav2.common.cts.CodecTestBase.isDefaultCodec; 30 import static android.mediav2.common.cts.CodecTestBase.isVendorCodec; 39 import android.mediav2.common.cts.CodecTestBase; 94 CodecTestBase.mediaTypeSelKeys = args.getString(CodecTestBase.MEDIA_TYPE_SEL_KEY); 205 if (CodecTestBase.IS_AT_LEAST_T) { in input() 246 CodecTestBase.selectCodecs((String) arg[1], null, null, false); in input() [all …]
|
D | CodecInfoTest.java | 32 import static android.mediav2.common.cts.CodecTestBase.BOARD_FIRST_SDK_IS_AT_LEAST_202404; 33 import static android.mediav2.common.cts.CodecTestBase.BOARD_SDK_IS_AT_LEAST_T; 34 import static android.mediav2.common.cts.CodecTestBase.FIRST_SDK_IS_AT_LEAST_T; 35 import static android.mediav2.common.cts.CodecTestBase.IS_AT_LEAST_T; 36 import static android.mediav2.common.cts.CodecTestBase.IS_AT_LEAST_V; 37 import static android.mediav2.common.cts.CodecTestBase.IS_HDR_CAPTURE_SUPPORTED; 38 import static android.mediav2.common.cts.CodecTestBase.PROFILE_HDR10_MAP; 39 import static android.mediav2.common.cts.CodecTestBase.PROFILE_HDR10_PLUS_MAP; 40 import static android.mediav2.common.cts.CodecTestBase.VNDK_IS_AT_LEAST_T; 41 import static android.mediav2.common.cts.CodecTestBase.canDisplaySupportHDRContent; [all …]
|
D | VideoEncoderTest.java | 21 import static android.mediav2.common.cts.CodecTestBase.SupportClass.CODEC_ANY; 22 import static android.mediav2.common.cts.CodecTestBase.SupportClass.CODEC_HW; 23 import static android.mediav2.common.cts.CodecTestBase.SupportClass.CODEC_HW_RECOMMENDED; 24 import static android.mediav2.common.cts.CodecTestBase.SupportClass.CODEC_OPTIONAL; 25 import static android.mediav2.common.cts.CodecTestBase.SupportClass.CODEC_SHOULD; 31 import android.mediav2.common.cts.CodecTestBase; 274 if (mMediaType.equals(MediaFormat.MIMETYPE_VIDEO_AV1) && CodecTestBase.IS_BEFORE_U) { in testEncodeAndValidate()
|
/cts/tests/video/src/android/video/cts/ |
D | HevcVp9ClaimsPerformanceTest.java | 22 import android.mediav2.common.cts.CodecTestBase; 23 import android.mediav2.common.cts.CodecTestBase.ComponentClass; 61 final boolean isDispHtAtleastUHD = CodecTestBase.MAX_DISPLAY_HEIGHT_LAND >= 2160; in input() 62 final boolean isDispHtAtleastFHD = CodecTestBase.MAX_DISPLAY_HEIGHT_LAND >= 1080; in input() 63 final boolean isDispHtAtleastHD = CodecTestBase.MAX_DISPLAY_HEIGHT_LAND >= 720; in input() 95 argUpdate[argLength] = CodecTestBase.paramToString(argUpdate); in input() 106 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_SMALL_TEST_MS)
|
D | VideoCodecClaimsPerformanceTest.java | 22 import android.mediav2.common.cts.CodecTestBase; 23 import android.mediav2.common.cts.CodecTestBase.ComponentClass; 69 final boolean isDispHtAtleastFHD = CodecTestBase.MAX_DISPLAY_HEIGHT_LAND >= 1080; in input() 70 final boolean isDispHtAtleastHD = CodecTestBase.MAX_DISPLAY_HEIGHT_LAND >= 720; in input() 97 if (CodecTestBase.IS_AT_LEAST_U) { in input() 183 if (CodecTestBase.IS_AT_LEAST_U) { in input() 206 argUpdate[argLength] = CodecTestBase.paramToString(argUpdate); in input() 220 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_SMALL_TEST_MS)
|
D | VideoCodecClaimsPerformanceTestBase.java | 19 import static android.mediav2.common.cts.CodecTestBase.MEDIA_CODEC_LIST_REGULAR; 20 import static android.mediav2.common.cts.CodecTestBase.selectCodecs; 26 import android.mediav2.common.cts.CodecTestBase.ComponentClass;
|
/cts/hostsidetests/videoencodingminimum/app/src/android/videoencodingmin/app/ |
D | VideoTranscoderTest.java | 20 import static android.mediav2.common.cts.CodecTestBase.CONTEXT; 21 import static android.mediav2.common.cts.CodecTestBase.MEDIA_CODEC_LIST_REGULAR; 22 import static android.mediav2.common.cts.CodecTestBase.selectCodecs; 30 import android.mediav2.common.cts.CodecTestBase; 145 CodecTestBase.ComponentClass cType = CodecTestBase.ComponentClass.ALL; in parseEncoderConfigurationFile() 147 cType = CodecTestBase.ComponentClass.HARDWARE; in parseEncoderConfigurationFile() 149 cType = CodecTestBase.ComponentClass.SOFTWARE; in parseEncoderConfigurationFile()
|
/cts/hostsidetests/mediapc/videoencodingquality/app/src/android/videoencoding/app/ |
D | VideoTranscoderTest.java | 20 import static android.mediav2.common.cts.CodecTestBase.CONTEXT; 21 import static android.mediav2.common.cts.CodecTestBase.MEDIA_CODEC_LIST_REGULAR; 22 import static android.mediav2.common.cts.CodecTestBase.selectCodecs; 30 import android.mediav2.common.cts.CodecTestBase; 145 CodecTestBase.ComponentClass cType = CodecTestBase.ComponentClass.ALL; in parseEncoderConfigurationFile() 147 cType = CodecTestBase.ComponentClass.HARDWARE; in parseEncoderConfigurationFile() 149 cType = CodecTestBase.ComponentClass.SOFTWARE; in parseEncoderConfigurationFile()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | VideoCodecRequirementsTest.java | 26 import static android.mediapc.cts.CodecTestBase.SELECT_HARDWARE; 27 import static android.mediapc.cts.CodecTestBase.SELECT_VIDEO; 28 import static android.mediapc.cts.CodecTestBase.getCodecInfo; 29 import static android.mediapc.cts.CodecTestBase.getMediaTypesOfAvailableCodecs; 30 import static android.mediapc.cts.CodecTestBase.selectCodecs; 31 import static android.mediapc.cts.CodecTestBase.selectHardwareCodecs; 157 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 186 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 202 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 218 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) [all …]
|
D | MultiEncoderPerfTest.java | 19 import static android.mediapc.cts.CodecTestBase.codecFilter; 20 import static android.mediapc.cts.CodecTestBase.codecPrefix; 21 import static android.mediapc.cts.CodecTestBase.mediaTypePrefix; 94 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 109 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 122 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS)
|
D | MultiDecoderPerfTest.java | 19 import static android.mediapc.cts.CodecTestBase.codecFilter; 20 import static android.mediapc.cts.CodecTestBase.codecPrefix; 21 import static android.mediapc.cts.CodecTestBase.mediaTypePrefix; 96 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 113 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 135 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 157 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS)
|
D | CodecTranscoderTestBase.java | 20 import static android.mediav2.common.cts.CodecTestBase.PROFILE_HLG_MAP; 21 import static android.mediapc.cts.CodecTestBase.areFormatsSupported; 227 if (retry > CodecTestBase.RETRY_LIMIT) throw new InterruptedException( in tryEncoderOutput() 229 CodecTestBase.Q_DEQ_TIMEOUT_US * CodecTestBase.RETRY_LIMIT + in tryEncoderOutput() 231 Thread.sleep(CodecTestBase.Q_DEQ_TIMEOUT_US / 1000); in tryEncoderOutput() 257 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs() 261 tryEncoderOutput(CodecTestBase.Q_DEQ_TIMEOUT_US); in waitForAllEncoderOutputs() 284 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 288 int inputBufferId = mDecoder.dequeueInputBuffer(CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 307 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() [all …]
|
D | MultiEncoderPairPerfTest.java | 19 import static android.mediapc.cts.CodecTestBase.codecFilter; 20 import static android.mediapc.cts.CodecTestBase.codecPrefix; 21 import static android.mediapc.cts.CodecTestBase.mediaTypePrefix; 108 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 126 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 140 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS)
|
D | MultiTranscoderPerfTest.java | 19 import static android.mediapc.cts.CodecTestBase.codecFilter; 20 import static android.mediapc.cts.CodecTestBase.codecPrefix; 21 import static android.mediapc.cts.CodecTestBase.mediaTypePrefix; 123 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 142 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 157 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 172 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS)
|
D | FrameDropTest.java | 70 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 96 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 122 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS)
|
D | MultiDecoderPairPerfTest.java | 19 import static android.mediapc.cts.CodecTestBase.codecFilter; 20 import static android.mediapc.cts.CodecTestBase.codecPrefix; 21 import static android.mediapc.cts.CodecTestBase.mediaTypePrefix; 111 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 132 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 163 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 194 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS)
|
D | AdaptivePlaybackFrameDropTest.java | 74 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 103 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS) 132 @Test(timeout = CodecTestBase.PER_TEST_TIMEOUT_LARGE_TEST_MS)
|
D | CodecInitializationLatencyTest.java | 19 import static android.mediapc.cts.CodecTestBase.SELECT_ALL; 20 import static android.mediapc.cts.CodecTestBase.SELECT_AUDIO; 21 import static android.mediapc.cts.CodecTestBase.SELECT_HARDWARE; 22 import static android.mediapc.cts.CodecTestBase.SELECT_VIDEO; 23 import static android.mediapc.cts.CodecTestBase.codecFilter; 24 import static android.mediapc.cts.CodecTestBase.codecPrefix; 25 import static android.mediapc.cts.CodecTestBase.getMediaTypesOfAvailableCodecs; 26 import static android.mediapc.cts.CodecTestBase.mediaTypePrefix; 27 import static android.mediapc.cts.CodecTestBase.selectCodecs; 28 import static android.mediapc.cts.CodecTestBase.selectHardwareCodecs; [all …]
|
D | FrameDropTestBase.java | 19 import static android.mediapc.cts.CodecTestBase.codecFilter; 20 import static android.mediapc.cts.CodecTestBase.codecPrefix; 21 import static android.mediapc.cts.CodecTestBase.mediaTypePrefix; 22 import static android.mediapc.cts.CodecTestBase.selectCodecs; 23 import static android.mediapc.cts.CodecTestBase.selectHardwareCodecs;
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderQualityRegressionCodecTest.java | 21 import static android.mediav2.common.cts.CodecTestBase.ComponentClass.HARDWARE; 22 import static android.mediav2.common.cts.CodecTestBase.areFormatsSupported; 23 import static android.mediav2.common.cts.CodecTestBase.prepareParamList; 29 import android.mediav2.common.cts.CodecTestBase; 116 ArrayList<String> encoders = CodecTestBase.selectCodecs(mediaTypes[i], fmts, null, in testQualityRegressionWrtAvc()
|
D | VideoEncoderQualityRegressionBFrameTest.java | 21 import static android.mediav2.common.cts.CodecTestBase.ComponentClass.HARDWARE; 22 import static android.mediav2.common.cts.CodecTestBase.areFormatsSupported; 23 import static android.mediav2.common.cts.CodecTestBase.prepareParamList;
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderSurfaceTestBase.java | 22 import static android.mediav2.common.cts.CodecTestBase.hasSupportForColorFormat; 23 import static android.mediav2.common.cts.CodecTestBase.isHardwareAcceleratedCodec; 24 import static android.mediav2.common.cts.CodecTestBase.isSoftwareCodec; 129 if (mEncoderName.startsWith(CodecTestBase.INVALID_CODEC) || mDecoderName.startsWith( in setUpCodecEncoderSurfaceTestBase() 130 CodecTestBase.INVALID_CODEC)) { in setUpCodecEncoderSurfaceTestBase() 138 CodecTestBase.areFormatsSupported(mDecoderName, mTestFileMediaType, in setUpCodecEncoderSurfaceTestBase() 140 if (CodecTestBase.doesAnyFormatHaveHDRProfile(mTestFileMediaType, decoderFormatList) in setUpCodecEncoderSurfaceTestBase() 145 CodecTestBase.doesCodecSupportHDRProfile(mEncoderName, mEncMediaType)); in setUpCodecEncoderSurfaceTestBase() 407 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() 411 int inputBufferId = mDecoder.dequeueInputBuffer(CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS() [all …]
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 382 CodecTestBase::CodecTestBase(const char* mediaType) { in CodecTestBase() function in CodecTestBase 404 CodecTestBase::~CodecTestBase() { in ~CodecTestBase() 418 bool CodecTestBase::configureCodec(AMediaFormat* format, bool isAsync, bool signalEOSWithLastFrame, in configureCodec() 450 bool CodecTestBase::flushCodec() { in flushCodec() 462 bool CodecTestBase::reConfigureCodec(AMediaFormat* format, bool isAsync, in reConfigureCodec() 468 void CodecTestBase::resetContext(bool isAsync, bool signalEOSWithLastFrame) { in resetContext() 484 bool CodecTestBase::isTestStateValid() { in isTestStateValid() 501 bool CodecTestBase::enqueueEOS(size_t bufferIndex) { in enqueueEOS() 512 bool CodecTestBase::doWork(int frameLimit) { in doWork() 570 bool CodecTestBase::queueEOS() { in queueEOS() [all …]
|
D | NativeCodecTestBase.h | 157 class CodecTestBase { 184 CodecTestBase(const char* mediaType); 185 ~CodecTestBase();
|