Home
last modified time | relevance | path

Searched defs:mime (Results 1 – 25 of 53) sorted by relevance

123

/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderConformanceTest.java134 private static List<String> readCodecTestVectors(String mime) throws Exception { in readCodecTestVectors()
140 private List<String> readVectorMD5Sums(String mime, String vectorName) throws Exception { in readVectorMD5Sums()
164 protected static AssetFileDescriptor getAssetFileDescriptorFor(final String res, String mime) in getAssetFileDescriptorFor()
174 private Status decodeTestVector(String mime, String decoderName, String vectorName) in decodeTestVector()
DDecoderLowLatencyTest.java93 private static CodecCapabilities getCodecCapabilitiesForDecoder(String codecName, String mime) { in getCodecCapabilitiesForDecoder()
292 String mime = format.getString(MediaFormat.KEY_MIME); in testLowLatencyVideo() local
DHDRDecoderTest.java289 String mime = format.getString(MediaFormat.KEY_MIME); in testHdrMetadata() local
457 String mime = format.getString(MediaFormat.KEY_MIME); in testHdrToSdr() local
DDecodeOnlyTest.java235 String mime = videoFormat.getString(MediaFormat.KEY_MIME); in testNonTunneledTrickPlay() local
352 String mime = audioFormat.getString(MediaFormat.KEY_MIME); in testTunneledTrickPlay() local
491 String mime = audioFormat.getString(MediaFormat.KEY_MIME); in testTunneledPerfectSeek() local
DDecoderTestAacFormat.java172 String mime = format.getString(MediaFormat.KEY_MIME); in decodeUpdateFormat() local
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecCapabilitiesTest.java416 private boolean checkDecoder(String mime, int profile, int level) { in checkDecoder()
425 private boolean hasDecoder(String mime, int profile, int level) { in hasDecoder()
429 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder()
435 private boolean checkDecodeWithDefaultPlayer(String mime, int profile, int level) { in checkDecodeWithDefaultPlayer()
444 String mime, boolean isEncoder, int profile, int level, in supports()
480 private boolean isVideoMime(String mime) { in isVideoMime()
557 CodecCapabilities caps, String mime, boolean encoder, int width, int height) { in createReasonableVideoFormat()
613 private MediaFormat createVideoFormatForBitrateMode(String mime, int width, int height, in createVideoFormatForBitrateMode()
DMediaCodecResourceTest.java64 CodecInfo(String name, int maxSupportedInstances, String mime, MediaFormat mediaFormat) { in CodecInfo()
72 public final String mime; field in MediaCodecResourceTest.CodecInfo
294 String mime = mediaCodecInfo.getSupportedTypes()[0]; in getFirstVideoHardwareDecoder() local
DMediaCodecInstancesTest.java62 private static MediaFormat createMinFormat(String mime, MediaCodecInfo.CodecCapabilities caps) { in createMinFormat()
88 private int getActualMax(boolean isEncoder, String name, String mime, in getActualMax()
DVideoEncodingStatisticsTest.java112 String encoderName, String mime, boolean isEncoder) { in getCodecCapabilities()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java59 String mime = configFormat.getString(MediaFormat.KEY_MIME); in addPerformanceHeadersToLog() local
151 public static String verifyAchievableFrameRates(String name, String mime, int w, in verifyAchievableFrameRates()
160 public static String verifyAchievableFrameRates(String name, String mime, int w, int h, in verifyAchievableFrameRates()
214 String name, String mime, int w, int h, double... requestedFps) { in areAchievableFrameRates()
DMediaUtils.java241 String mime = format.getString(MediaFormat.KEY_MIME); in getCodecNames() local
276 public static String[] getDecoderNamesForMime(String mime) { in getDecoderNamesForMime()
282 public static String[] getEncoderNamesForMime(String mime) { in getEncoderNamesForMime()
347 String mime = format.getString(MediaFormat.KEY_MIME); in canDecode() local
403 public static boolean supports(String codecName, String mime, int w, int h) { in supports()
438 String mime = format.getString(MediaFormat.KEY_MIME); in supports() local
466 String mime = format.getString(MediaFormat.KEY_MIME).toLowerCase(); in hasCodecsForMedia() local
484 String mime = format.getString(MediaFormat.KEY_MIME); in hasCodecForMediaAndDomain() local
667 private static boolean hasCodecForMime(boolean encoder, String mime) { in hasCodecForMime()
711 public static boolean canDecodeVideo(String mime, int width, int height, float rate) { in canDecodeVideo()
[all …]
/cts/tests/video/src/android/video/cts/
DCodecPerformanceTestBase.java160 static ArrayList<String> selectCodecs(String mime, ArrayList<MediaFormat> formats, in selectCodecs()
165 static ArrayList<String> selectHardwareCodecs(String mime, ArrayList<MediaFormat> formats, in selectHardwareCodecs()
170 static ArrayList<String> selectCodecs(String mime, ArrayList<MediaFormat> formats, in selectCodecs()
293 int getMaxOperatingRate(String codecName, String mime) throws IOException { in getMaxOperatingRate()
316 int getEncoderMinComplexity(String codecName, String mime) throws IOException { in getEncoderMinComplexity()
330 static int getMaxFrameSize(String codecName, String mime) throws IOException { in getMaxFrameSize()
DCodecDecoderPerformanceTest.java100 String mime = format.getString(MediaFormat.KEY_MIME); in input() local
DCodecEncoderPerformanceTestBase.java69 public static float getBitrateScalingFactor(String mime) { in getBitrateScalingFactor()
100 public static MediaFormat setUpEncoderFormat(MediaFormat format, String mime, int bitrate) { in setUpEncoderFormat()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecClearKeyPlayer.java218 String mime = format.getString(MediaFormat.KEY_MIME); in prepareAudio() local
264 String mime = format.getString(MediaFormat.KEY_MIME); in prepareVideo() local
309 String mime = format.getString(android.media.MediaFormat.KEY_MIME); in initCasAndDescrambler() local
405 String mime = format.getString(MediaFormat.KEY_MIME); in addTrack() local
457 protected String getSecureDecoderNameForMime(String mime) { in getSecureDecoderNameForMime()
DMediaCodecCryptoAsyncHelper.java198 String mime = mediaFormat.getString(MediaFormat.KEY_MIME); in runShortClearKeyVideoWithNoCryptoErrorOverride() local
316 String mime = mediaFormat.getString(MediaFormat.KEY_MIME); in runDecodeShortClearKeyVideo() local
444 String mime = mediaFormat.getString(MediaFormat.KEY_MIME); in runDecodeShortVideoUsingBlockModel() local
DMediaCodecTunneledPlayer.java142 String mime = format.getString(MediaFormat.KEY_MIME); in prepareAudio() local
176 String mime = format.getString(MediaFormat.KEY_MIME); in prepareVideo() local
259 String mime = format.getString(MediaFormat.KEY_MIME); in addTrack() local
DMediaCodecAsyncHelper.java85 public static String getDecoderForType(String mime, boolean secure) { in getDecoderForType()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DEncoderTest.java97 static boolean isDefaultCodec(String codecName, String mime) in isDefaultCodec()
177 public EncoderTest(String encodername, String mime, int profile, int bitrate, in EncoderTest()
335 String mime = format.getString(MediaFormat.KEY_MIME); in testEncoder() local
DVideoEncoderTest.java240 String mime = mFormat.getString(MediaFormat.KEY_MIME); in playAll() local
321 String mime = fmt.getString(MediaFormat.KEY_MIME).toLowerCase(); in open() local
982 EncoderSize(String name, String mime, CodecCapabilities caps) { in EncoderSize()
1133 Encoder(String name, String mime, CodecCapabilities caps) { in Encoder()
1254 private static CodecCapabilities getCodecCapabities(String encoderName, String mime, in getCodecCapabities()
1267 private Encoder getEncHandle(String encodername, String mime) { in getEncHandle()
1349 public VideoEncoderTest(String encoderName, String mime, int width, int height, boolean flexYuv, in VideoEncoderTest()
/cts/tests/tests/media/muxer/jni/
Dnative_muxer_jni.cpp47 const char *mime; in Java_android_media_muxer_cts_NativeMuxerTest_testMuxerNative() local
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java140 private static MediaFormat createMediaFormat(String mime, int width, int height, int frameRate, in createMediaFormat()
554 private void testVideoFormatResolverShouldTranscode(String mime, int width, int height, in testVideoFormatResolverShouldTranscode()
591 private void testVideoFormatResolverInvalidArgs(String mime, int width, int height, in testVideoFormatResolverInvalidArgs()
906 String mime = format.getString(MediaFormat.KEY_MIME); in isFormatSupported() local
/cts/tests/tests/drm/src/android/drm/cts/
DDrmSupportInfoTest.java141 String mime = (String) mimes.next(); in checkAddValidMimeType() local
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java94 String mime = format.getString(MediaFormat.KEY_MIME); in fixFormat() local
198 String mime = format.getString(MediaFormat.KEY_MIME); in run() local
/cts/tests/tests/graphics/jni/
DMediaTestHelpers.cpp111 const char *mime; in createMediaCodec() local

123