/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 55 DeviceReportLog log, String message, int round, String codecName, in addPerformanceHeadersToLog() argument 62 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 73 message += " codec=" + codecName + " round=" + round + " configFormat=" + configFormat in addPerformanceHeadersToLog() 77 MediaUtils.getVideoCapabilities(codecName, mime) in addPerformanceHeadersToLog()
|
D | MediaUtils.java | 198 public static boolean isGoogle(String codecName) { in isGoogle() argument 199 codecName = codecName.toLowerCase(); in isGoogle() 200 return codecName.startsWith("omx.google.") in isGoogle() 201 || codecName.startsWith("c2.android.") in isGoogle() 202 || codecName.startsWith("c2.google."); in isGoogle() 306 public static boolean supports(String codecName, String mime, int w, int h) { in supports() argument 311 VideoCapabilities vidCap = getVideoCapabilities(codecName, mime); in supports() 322 public static boolean supports(String codecName, MediaFormat format) { in supports() argument 325 codec = MediaCodec.createByCodecName(codecName); in supports() 327 Log.w(TAG, "codec not found: " + codecName); in supports() [all …]
|
/cts/tests/video/src/android/video/cts/ |
D | CodecInfo.java | 58 String codecName, String mimeType, int w, int h, int maxFps) { in getSupportedFormatInfo() argument 61 codec = MediaCodec.createByCodecName(codecName); in getSupportedFormatInfo()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecListTest.java | 311 String codecName = isEncoder in codecCanBeFound() local 314 return codecName != null; in codecCanBeFound() 425 String codecName = mRegularCodecs.findDecoderForFormat(format); in testFindDecoderWithAacProfile() local 426 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile() 443 String codecName = mRegularCodecs.findEncoderForFormat(format); in testFindEncoderWithAacProfile() local 444 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindEncoderWithAacProfile()
|
D | MediaCodecTunneledPlayer.java | 246 String codecName = mcl.findDecoderForFormat(format); in addTrack() local 247 if (codecName == null) { in addTrack() 253 codec = MediaCodec.createByCodecName(codecName); in addTrack() 256 codecName+"!"); in addTrack()
|
D | VpxCodecTestBase.java | 99 CodecProperties(String codecName, int colorFormat) { in CodecProperties() argument 100 this.codecName = codecName; in CodecProperties() 104 return MediaUtils.isGoogle(codecName); in isGoogleCodec() 107 public final String codecName; // OpenMax component name for VPx codec. field in VpxCodecTestBase.CodecProperties 168 Log.v(TAG, "Found target codec " + codecProperties.codecName + in getVpxCodecProperties() 557 Log.d(TAG, "Creating decoder " + properties.codecName + in decode() 562 MediaCodec decoder = MediaCodec.createByCodecName(properties.codecName); in decode() 1315 Log.d(TAG, "Creating encoder " + properties.codecName + in encode() 1325 codec.createCodec(0, properties.codecName, format, in encode() 1490 Log.d(TAG, "Creating encoder " + properties.codecName + in encodeAsync() [all …]
|
D | DecodeEditEncodeTest.java | 198 String codecName = selectCodec(format); in generateVideoFile() local 199 if (codecName == null) { in generateVideoFile() 204 if (VERBOSE) Log.d(TAG, "found codec: " + codecName); in generateVideoFile() 218 encoder = MediaCodec.createByCodecName(codecName); in generateVideoFile()
|
D | ExtractDecodeEditEncodeMuxTest.java | 619 String codecName, in createVideoEncoder() argument 623 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createVideoEncoder() 650 private MediaCodec createAudioEncoder(String codecName, MediaFormat format) in createAudioEncoder() argument 652 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createAudioEncoder()
|
D | DecodeAccuracyTestBase.java | 152 private final String codecName; field in DecodeAccuracyTestBase.SimplePlayer 163 public SimplePlayer(Context context, String codecName) { in SimplePlayer() argument 165 this.codecName = codecName; in SimplePlayer() 390 if (codecName != null) { in createDecoder() 391 decoder = MediaCodec.createByCodecName(codecName); in createDecoder()
|
D | AdaptivePlaybackTest.java | 844 public Decoder(String codecName) { 847 codec = MediaCodec.createByCodecName(codecName); 849 throw new RuntimeException("couldn't create codec " + codecName, e); 1159 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s) 1161 Decoder codec = new Decoder(codecName);
|
D | EncodeVirtualDisplayWithCompositionTest.java | 660 String codecName = null; in doEncoding() local 661 if ((codecName = mcl.findEncoderForFormat(format)) == null) { in doEncoding() 666 mEncoder = MediaCodec.createByCodecName(codecName); in doEncoding()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 1220 for (String codecName: matchingCodecs) { in doStagefrightTestMediaCodec() 1221 Log.i(TAG, "Decoding track " + t + " using codec " + codecName); in doStagefrightTestMediaCodec() 1223 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestMediaCodec() 1502 for (String codecName: matchingCodecs) { in doStagefrightTestRawBlob() 1503 Log.i(TAG, "Decoding blob " + rname + " using codec " + codecName); in doStagefrightTestRawBlob() 1504 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestRawBlob() 1616 for (String codecName: matchingCodecs) { in doStagefrightTestRawBlob() 1617 Log.i(TAG, "Decoding blob " + rname + " using codec " + codecName); in doStagefrightTestRawBlob() 1618 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestRawBlob() 1624 Log.i(TAG, "Exception from codec " + codecName); in doStagefrightTestRawBlob()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | MediaBitstreamsTest.java | 115 ConformanceEntry(String path, String codecName, String status) { in ConformanceEntry() argument 117 mCodecName = codecName; in ConformanceEntry()
|