Home
last modified time | relevance | path

Searched defs:mediaType (Results 1 – 25 of 119) sorted by relevance

12345

/cts/tests/media/src/android/mediav2/cts/
DCodecUnitTest.java113 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 …]
DVideoEncoderTest.java67 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()
DCodecEncoderSurfaceTest.java97 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()
DEncoderLevelTest.java67 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
DEncoderHDRInfoTest.java72 public EncoderHDRInfoTest(String encoderName, String mediaType, in EncoderHDRInfoTest()
80 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int profile, in getVideoEncoderCfgParams()
DCodecEncoderTest.java94 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()
DAudioEncoderTest.java65 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
DEncoderProfileLevelTest.java116 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
DExtractorTest.java194 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/
DDecodeStreamToYuv.java56 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()
DCodecTestBase.java351 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/
DTransformReverseTransformIdentityTest.java70 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()
DVideoResolutionTest.java63 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
DTransformHdrToSdrToneMapTest.java76 private final String mediaType; field in TransformHdrToSdrToneMapTest
80 public TransformHdrToSdrToneMapTest(String mediaType, String testFile, String testId) { in TransformHdrToSdrToneMapTest()
DTransformVideoAspectRatio.java59 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/
DVideoEncoderMaxBFrameTest.java65 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int maxBFrames) { in getVideoEncoderCfgParams()
96 public VideoEncoderMaxBFrameTest(String encoder, String mediaType, EncoderConfigParams cfg, in VideoEncoderMaxBFrameTest()
DVideoEncoderMinMaxTest.java74 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()
DVideoEncoderIntraFrameIntervalTest.java68 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int bitRateMode, in getVideoEncoderCfgParams()
110 public VideoEncoderIntraFrameIntervalTest(String encoder, String mediaType, in VideoEncoderIntraFrameIntervalTest()
DVideoEncoderQualityRegressionTestBase.java65 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
DVideoEncoderFrameRateTest.java63 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams()
102 public VideoEncoderFrameRateTest(String encoder, String mediaType, in VideoEncoderFrameRateTest()
DVideoEncoderPsnrTest.java67 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams()
102 public VideoEncoderPsnrTest(String encoder, String mediaType, EncoderConfigParams cfgParams, in VideoEncoderPsnrTest()
DVideoEncoderMultiResTest.java67 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int width, in getVideoEncoderCfgParams()
145 public VideoEncoderMultiResTest(String encoder, String mediaType, EncoderConfigParams cfgParams, in VideoEncoderMultiResTest()
DVideoEncoderTargetBitrateTest.java71 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/
DTestArgs.java47 public static boolean shouldSkipMediaType(String mediaType) { in shouldSkipMediaType()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java426 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 …]

12345