/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 | 288 public static boolean supports(String codecName, String mime, int w, int h) { in supports() argument 293 VideoCapabilities vidCap = getVideoCapabilities(codecName, mime); in supports() 304 public static boolean supports(String codecName, MediaFormat format) { in supports() argument 307 codec = MediaCodec.createByCodecName(codecName); in supports() 309 Log.w(TAG, "codec not found: " + codecName); in supports() 571 public static VideoCapabilities getVideoCapabilities(String codecName, String mime) { in getVideoCapabilities() argument 573 if (!info.getName().equalsIgnoreCase(codecName)) { in getVideoCapabilities() 586 Log.w(TAG, "not a video codec: " + codecName); in getVideoCapabilities() 590 Log.w(TAG, "codec not found: " + codecName); in getVideoCapabilities()
|
/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 | 307 String codecName = isEncoder in codecCanBeFound() local 310 return codecName != null; in codecCanBeFound() 421 String codecName = mRegularCodecs.findDecoderForFormat(format); in testFindDecoderWithAacProfile() local 422 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile() 439 String codecName = mRegularCodecs.findEncoderForFormat(format); in testFindEncoderWithAacProfile() local 440 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 | 98 CodecProperties(String codecName, int colorFormat) { in CodecProperties() argument 99 this.codecName = codecName; in CodecProperties() 103 return codecName.toLowerCase().startsWith(GOOGLE_CODEC_PREFIX); in isGoogleCodec() 106 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 | AdaptivePlaybackTest.java | 861 public Decoder(String codecName) { 864 codec = MediaCodec.createByCodecName(codecName); 866 throw new RuntimeException("couldn't create codec " + codecName, e); 1176 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s) 1178 Decoder codec = new Decoder(codecName); 1465 public CodecByName(Context context, String mime, String codecName, int ... resources) { 1466 for (Codec c: new CodecFamily(context, mime, codecName, resources)) { 1467 if (c.name.equals(codecName)) { 1487 protected boolean hasCodec(String codecName) { 1490 if (codecName.equals(info.getName())) {
|
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 | 617 String codecName, in createVideoEncoder() argument 621 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createVideoEncoder() 648 private MediaCodec createAudioEncoder(String codecName, MediaFormat format) in createAudioEncoder() argument 650 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createAudioEncoder()
|
D | DecodeAccuracyTestBase.java | 149 private final String codecName; field in DecodeAccuracyTestBase.SimplePlayer 160 public SimplePlayer(Context context, String codecName) { in SimplePlayer() argument 162 this.codecName = codecName; in SimplePlayer() 385 if (codecName != null) { in createDecoder() 386 decoder = MediaCodec.createByCodecName(codecName); in createDecoder()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 554 String codecName = null; in doEncoding() local 555 if ((codecName = mcl.findEncoderForFormat(format)) == null) { in doEncoding() 560 mEncoder = MediaCodec.createByCodecName(codecName); in doEncoding()
|
D | DecoderTest.java | 2730 String codecName = mcl.findDecoderForFormat(format); 2731 return (codecName == null) ? false : true;
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 637 for (String codecName: matchingCodecs) { in doStagefrightTestMediaCodec() 638 Log.i(TAG, "Decoding track " + t + " using codec " + codecName); in doStagefrightTestMediaCodec() 640 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestMediaCodec()
|