Home
last modified time | relevance | path

Searched refs:codecName (Results 1 – 13 of 13) sorted by relevance

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaPerfUtils.java55 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()
DMediaUtils.java198 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/
DCodecInfo.java58 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/
DMediaCodecListTest.java311 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()
DMediaCodecTunneledPlayer.java246 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()
DVpxCodecTestBase.java99 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 …]
DDecodeEditEncodeTest.java198 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()
DExtractDecodeEditEncodeMuxTest.java619 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()
DDecodeAccuracyTestBase.java152 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()
DAdaptivePlaybackTest.java844 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);
DEncodeVirtualDisplayWithCompositionTest.java660 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/
DStagefrightTest.java1220 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/
DMediaBitstreamsTest.java115 ConformanceEntry(String path, String codecName, String status) { in ConformanceEntry() argument
117 mCodecName = codecName; in ConformanceEntry()