/cts/tests/media/src/android/mediav2/cts/ |
D | CodecUnitTest.java | 113 String mediaType = MediaFormat.MIMETYPE_AUDIO_AAC; in getSampleAudioFormat() local 123 String mediaType = MediaFormat.MIMETYPE_VIDEO_AVC; in getSampleVideoFormat() local 137 String mediaType = MediaFormat.MIMETYPE_AUDIO_RAW; in getMultipleAccessUnitsSampleAudioFormat() local 156 String mediaType = format.getString(MediaFormat.KEY_MIME); in testConfigureCodecForIncompleteFormat() local 188 String mediaType = format.getString(MediaFormat.KEY_MIME); in testConfigureCodecForBadFlags() local 532 String mediaType = format.getString(MediaFormat.KEY_MIME); in testConfigureInInitState() local 550 String mediaType = format.getString(MediaFormat.KEY_MIME); in testConfigureAfterStart() local 571 String mediaType = format.getString(MediaFormat.KEY_MIME); in testConfigureAfterQueueInputBuffer() local 591 String mediaType = format.getString(MediaFormat.KEY_MIME); in testConfigureInEOSState() local 612 String mediaType = format.getString(MediaFormat.KEY_MIME); in testConfigureInFlushState() local [all …]
|
D | VideoEncoderTest.java | 67 public VideoEncoderTest(String encoder, String mediaType, EncoderConfigParams encCfgParams, in VideoEncoderTest() 75 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() 94 String mediaType = (String) arg[0]; in prepareTestArgs() local 121 private static SupportClass getSupportRequirementsDynamic(String mediaType, int width, in getSupportRequirementsDynamic()
|
D | CodecEncoderSurfaceTest.java | 97 public CodecEncoderSurfaceTest(String encoder, String mediaType, String decoder, in CodecEncoderSurfaceTest() 106 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() 176 final String mediaType = (String) arg[0]; in input() local 208 final String mediaType = (String) arg[0]; in input() local 343 private native boolean nativeTestSimpleEncode(String encoder, String decoder, String mediaType, in nativeTestSimpleEncode()
|
D | EncoderLevelTest.java | 67 public EncoderLevelTest(String encoder, String mediaType, EncoderConfigParams[] encCfgParams, in EncoderLevelTest() 72 private static EncoderConfigParams[] getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() 107 final String mediaType = (String) arg[0]; in input() local
|
D | EncoderHDRInfoTest.java | 72 public EncoderHDRInfoTest(String encoderName, String mediaType, in EncoderHDRInfoTest() 80 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int profile, in getVideoEncoderCfgParams()
|
D | CodecEncoderTest.java | 94 public CodecEncoderTest(String encoder, String mediaType, EncoderConfigParams[] cfgParams, in CodecEncoderTest() 137 private static EncoderConfigParams getVideoEncoderCfgParam(String mediaType, int width, in getVideoEncoderCfgParam() 143 private static EncoderConfigParams getAudioEncoderCfgParam(String mediaType, int sampleRate, in getAudioEncoderCfgParam() 375 private native boolean nativeTestSimpleEncode(String encoder, String file, String mediaType, in nativeTestSimpleEncode() 521 private native boolean nativeTestReconfigure(String encoder, String file, String mediaType, in nativeTestReconfigure() 589 private native boolean nativeTestOnlyEos(String encoder, String mediaType, String cfgParams, in nativeTestOnlyEos() 684 String mediaType, String cfgParams, String separator, StringBuilder retMsg); in nativeTestSetForceSyncFrame() 770 private native boolean nativeTestAdaptiveBitRate(String encoder, String file, String mediaType, in nativeTestAdaptiveBitRate()
|
D | AudioEncoderTest.java | 65 public AudioEncoderTest(String encoder, String mediaType, EncoderConfigParams encCfgParams, in AudioEncoderTest() 70 private static EncoderConfigParams getAudioEncoderCfgParams(String mediaType, int qualityPreset, in getAudioEncoderCfgParams() 87 String mediaType = (String) param[0]; in flattenParams() local
|
D | EncoderProfileLevelTest.java | 116 public EncoderProfileLevelTest(String encoder, String mediaType, in EncoderProfileLevelTest() 125 final String mediaType = (String) arg[0]; in prepareTestArgs() local 178 private static EncoderConfigParams[] getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() 204 private static EncoderConfigParams[] getAudioEncoderCfgParams(String mediaType, int bitRate, in getAudioEncoderCfgParams() 484 final String mediaType = (String) arg[0]; in input() local
|
D | ExtractorTest.java | 194 private static boolean shouldRunTest(String mediaType) { in shouldRunTest() 230 String mediaType = refFormat.getString(MediaFormat.KEY_MIME); in isCSDIdentical() local 286 String mediaType, int sampleLimit) { in isMediaSimilar() 426 private static long readAllData(MediaExtractor extractor, String mediaType, int sampleLimit) { in readAllData() 488 private static native long nativeReadAllData(String srcPath, String mediaType, int sampleLimit, in nativeReadAllData()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | DecodeStreamToYuv.java | 56 public DecodeStreamToYuv(String mediaType, String inpFile, int frameLimit, String outYuvPrefix) in DecodeStreamToYuv() 58 super(findDecoderForStream(mediaType, inpFile), mediaType, inpFile, LOG_TAG); in DecodeStreamToYuv() local 66 public DecodeStreamToYuv(String mediaType, String inpFile, int frameLimit) throws IOException { in DecodeStreamToYuv() 70 public DecodeStreamToYuv(String mediaType, String inpFile) throws IOException { in DecodeStreamToYuv() 111 public static MediaFormat getFormatInStream(String mediaType, String file) throws IOException { in getFormatInStream() 134 static String findDecoderForStream(String mediaType, String file) throws IOException { in findDecoderForStream()
|
D | CodecTestBase.java | 351 public CodecTestBase(String encoder, String mediaType, String allTestParams) { in CodecTestBase() 479 public static boolean isMediaTypeLossless(String mediaType) { in isMediaTypeLossless() 488 public static boolean isMediaTypeOutputUnAffectedBySeek(String mediaType) { in isMediaTypeOutputUnAffectedBySeek() 495 public static boolean hasDecoder(String mediaType) { in hasDecoder() 499 public static boolean hasEncoder(String mediaType) { in hasEncoder() 503 public static void checkFormatSupport(String codecName, String mediaType, boolean isEncoder, in checkFormatSupport() 560 public static boolean isFeatureSupported(String name, String mediaType, String feature) { in isFeatureSupported() 612 public static boolean doesAnyFormatHaveHDRProfile(String mediaType, in doesAnyFormatHaveHDRProfile() 625 public static boolean doesCodecSupportHDRProfile(String codecName, String mediaType) { in doesCodecSupportHDRProfile() 653 public static boolean isFormatSupported(String name, String mediaType, MediaFormat format) { in isFormatSupported() [all …]
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | TransformReverseTransformIdentityTest.java | 70 private final String mediaType; field in TransformReverseTransformIdentityTest 79 public TransformReverseTransformIdentityTest(String mediaType, int transformationRequestType, in TransformReverseTransformIdentityTest() 145 String mediaType = arg[0].toString(); in prepareParamList() local 161 private static boolean checkCodecSupported(Context context, String testId, String mediaType, in checkCodecSupported()
|
D | VideoResolutionTest.java | 63 private final String mediaType; field in VideoResolutionTest 71 public VideoResolutionTest(String mediaType, String testFile, int inpWidth, int inpHeight, in VideoResolutionTest() 222 String mediaType = arg[0].toString(); in prepareParamList() local
|
D | TransformHdrToSdrToneMapTest.java | 76 private final String mediaType; field in TransformHdrToSdrToneMapTest 80 public TransformHdrToSdrToneMapTest(String mediaType, String testFile, String testId) { in TransformHdrToSdrToneMapTest()
|
D | TransformVideoAspectRatio.java | 59 private final String mediaType; field in TransformVideoAspectRatio 66 public TransformVideoAspectRatio(String mediaType, int width, int height, in TransformVideoAspectRatio()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderMaxBFrameTest.java | 65 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int maxBFrames) { in getVideoEncoderCfgParams() 96 public VideoEncoderMaxBFrameTest(String encoder, String mediaType, EncoderConfigParams cfg, in VideoEncoderMaxBFrameTest()
|
D | VideoEncoderMinMaxTest.java | 74 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int bitRateMode, in getVideoEncoderCfgParams() 200 private static MediaCodecInfo getCodecInfo(String codecName, String mediaType) { in getCodecInfo() 213 private static List<Object> getMinMaxRangeCfgObjects(Object codecName, Object mediaType, in getMinMaxRangeCfgObjects() 249 public VideoEncoderMinMaxTest(String encoder, String mediaType, EncoderConfigParams cfgParams, in VideoEncoderMinMaxTest()
|
D | VideoEncoderIntraFrameIntervalTest.java | 68 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int bitRateMode, in getVideoEncoderCfgParams() 110 public VideoEncoderIntraFrameIntervalTest(String encoder, String mediaType, in VideoEncoderIntraFrameIntervalTest()
|
D | VideoEncoderQualityRegressionTestBase.java | 65 VideoEncoderQualityRegressionTestBase(String encoder, String mediaType, in VideoEncoderQualityRegressionTestBase() 105 protected static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams() 137 String mediaType = cfgs[0].mMediaType; in getQualityRegressionForCfgs() local
|
D | VideoEncoderFrameRateTest.java | 63 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams() 102 public VideoEncoderFrameRateTest(String encoder, String mediaType, in VideoEncoderFrameRateTest()
|
D | VideoEncoderPsnrTest.java | 67 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams() 102 public VideoEncoderPsnrTest(String encoder, String mediaType, EncoderConfigParams cfgParams, in VideoEncoderPsnrTest()
|
D | VideoEncoderMultiResTest.java | 67 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams() 145 public VideoEncoderMultiResTest(String encoder, String mediaType, EncoderConfigParams cfgParams, in VideoEncoderMultiResTest()
|
D | VideoEncoderTargetBitrateTest.java | 71 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams() 117 public VideoEncoderTargetBitrateTest(String encoder, String mediaType, in VideoEncoderTargetBitrateTest()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | TestArgs.java | 47 public static boolean shouldSkipMediaType(String mediaType) { in shouldSkipMediaType()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 426 static ArrayList<String> selectCodecs(String mediaType, ArrayList<MediaFormat> formats, in selectCodecs() 431 static ArrayList<String> selectHardwareCodecs(String mediaType, ArrayList<MediaFormat> formats, in selectHardwareCodecs() 436 static ArrayList<String> selectHardwareCodecs(String mediaType, ArrayList<MediaFormat> formats, in selectHardwareCodecs() 441 static ArrayList<String> selectCodecs(String mediaType, ArrayList<MediaFormat> formats, in selectCodecs() 446 static ArrayList<String> selectCodecs(String mediaType, ArrayList<MediaFormat> formats, in selectCodecs() 535 String mediaType = format.getString(MediaFormat.KEY_MIME); in areFormatsSupported() local 564 CodecDecoderTestBase(String mediaType, String testFile, boolean secureMode) { in CodecDecoderTestBase() 573 CodecDecoderTestBase(String mediaType, String testFile) { in CodecDecoderTestBase() 750 CodecEncoderTestBase(String mediaType) { in CodecEncoderTestBase() 933 Decode(String mediaType, String testFile, String decoderName, boolean isAsync) { in Decode() [all …]
|