Home
last modified time | relevance | path

Searched refs:CodecTestBase (Results 1 – 25 of 64) sorted by relevance

123

/cts/tests/media/src/android/mediav2/cts/
DCodecListTest.java22 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()
DCodecEncoderSurfaceTest.java25 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 …]
DCodecInfoTest.java32 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 …]
DVideoEncoderTest.java21 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/
DHevcVp9ClaimsPerformanceTest.java22 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)
DVideoCodecClaimsPerformanceTest.java22 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)
DVideoCodecClaimsPerformanceTestBase.java19 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/
DVideoTranscoderTest.java20 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/
DVideoTranscoderTest.java20 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/
DVideoCodecRequirementsTest.java26 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 …]
DMultiEncoderPerfTest.java19 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)
DMultiDecoderPerfTest.java19 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)
DCodecTranscoderTestBase.java20 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 …]
DMultiEncoderPairPerfTest.java19 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)
DMultiTranscoderPerfTest.java19 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)
DFrameDropTest.java70 @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)
DMultiDecoderPairPerfTest.java19 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)
DAdaptivePlaybackFrameDropTest.java74 @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)
DCodecInitializationLatencyTest.java19 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 …]
DFrameDropTestBase.java19 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/
DVideoEncoderQualityRegressionCodecTest.java21 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()
DVideoEncoderQualityRegressionBFrameTest.java21 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/
DCodecEncoderSurfaceTestBase.java22 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/
DNativeCodecTestBase.cpp382 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 …]
DNativeCodecTestBase.h157 class CodecTestBase {
184 CodecTestBase(const char* mediaType);
185 ~CodecTestBase();

123