Home
last modified time | relevance | path

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

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java199 public static boolean isGoogle(String codecName) { in isGoogle() argument
200 codecName = codecName.toLowerCase(); in isGoogle()
201 return codecName.startsWith("omx.google.") in isGoogle()
202 || codecName.startsWith("c2.android.") in isGoogle()
203 || codecName.startsWith("c2.google."); in isGoogle()
307 public static boolean supports(String codecName, String mime, int w, int h) { in supports() argument
312 VideoCapabilities vidCap = getVideoCapabilities(codecName, mime); in supports()
323 public static boolean supports(String codecName, MediaFormat format) { in supports() argument
326 codec = MediaCodec.createByCodecName(codecName); in supports()
328 Log.w(TAG, "codec not found: " + codecName); in supports()
[all …]
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()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java200 public static boolean isGoogle(String codecName) { in isGoogle() argument
201 codecName = codecName.toLowerCase(); in isGoogle()
202 return codecName.startsWith("omx.google.") in isGoogle()
203 || codecName.startsWith("c2.android.") in isGoogle()
204 || codecName.startsWith("c2.google."); in isGoogle()
386 public static boolean supports(String codecName, String mime, int w, int h) { in supports() argument
391 VideoCapabilities vidCap = getVideoCapabilities(codecName, mime); in supports()
402 public static boolean supports(String codecName, MediaFormat format) { in supports() argument
405 codec = MediaCodec.createByCodecName(codecName); in supports()
407 Log.w(TAG, "codec not found: " + codecName); in supports()
[all …]
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()
/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/
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.java98 CodecProperties(String codecName, int colorFormat) { in CodecProperties() argument
99 this.codecName = codecName; in CodecProperties()
102 public final String codecName; // OpenMax component name for VPx codec. field in VpxCodecTestBase.CodecProperties
162 Log.v(TAG, "Found target codec " + codecProperties.codecName + in getVpxCodecProperties()
558 Log.d(TAG, "Creating decoder " + properties.codecName + in decode()
563 MediaCodec decoder = MediaCodec.createByCodecName(properties.codecName); in decode()
1338 Log.d(TAG, "Creating encoder " + properties.codecName + in encode()
1348 codec.createCodec(0, properties.codecName, format, in encode()
1513 Log.d(TAG, "Creating encoder " + properties.codecName + in encodeAsync()
1528 codec.createCodec(0, properties.codecName, format, in encodeAsync()
[all …]
DMediaCodecListTest.java329 String codecName = isEncoder in codecCanBeFound() local
332 return codecName != null; in codecCanBeFound()
445 String codecName = mRegularCodecs.findDecoderForFormat(format); in testFindDecoderWithAacProfile() local
446 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile()
463 String codecName = mRegularCodecs.findEncoderForFormat(format); in testFindEncoderWithAacProfile() local
464 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindEncoderWithAacProfile()
DDecodeEditEncodeTest.java199 String codecName = selectCodec(format); in generateVideoFile() local
200 if (codecName == null) { in generateVideoFile()
205 if (VERBOSE) Log.d(TAG, "found codec: " + codecName); in generateVideoFile()
219 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.java149 private final String codecName; field in DecodeAccuracyTestBase.SimplePlayer
160 public SimplePlayer(Context context, String codecName) { in SimplePlayer() argument
162 this.codecName = codecName; in SimplePlayer()
387 if (codecName != null) { in createDecoder()
388 decoder = MediaCodec.createByCodecName(codecName); in createDecoder()
DAdaptivePlaybackTest.java894 public Decoder(String codecName) {
897 codec = MediaCodec.createByCodecName(codecName);
899 throw new RuntimeException("couldn't create codec " + codecName, e);
1209 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s)
1211 Decoder codec = new Decoder(codecName);
DEncodeVirtualDisplayWithCompositionTest.java655 String codecName = null; in doEncoding() local
656 if ((codecName = mcl.findEncoderForFormat(format)) == null) { in doEncoding()
661 mEncoder = MediaCodec.createByCodecName(codecName); in doEncoding()
DDecoderTest.java3219 String codecName = mcl.findDecoderForFormat(format);
3220 return (codecName == null) ? false : true;
/cts/hostsidetests/securitybulletin/securityPatch/includes/
DomxUtils.cpp113 status_t omxUtilsInit(char *codecName) { in omxUtilsInit() argument
122 status_t ret = mOMX->allocateNode(codecName, observer, &mOMXNode); in omxUtilsInit()
DomxUtils.h70 status_t omxUtilsInit(char *codecName);
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1966 for (String codecName: matchingCodecs) { in doStagefrightTestMediaCodec()
1967 Log.i(TAG, "Decoding track " + t + " using codec " + codecName); in doStagefrightTestMediaCodec()
1969 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestMediaCodec()
2327 for (String codecName: matchingCodecs) { in doStagefrightTestRawBlob()
2328 Log.i(TAG, "Decoding blob " + rname + " using codec " + codecName); in doStagefrightTestRawBlob()
2329 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestRawBlob()
2447 for (String codecName: matchingCodecs) { in doStagefrightTestRawBlob()
2448 Log.i(TAG, "Decoding blob " + rname + " using codec " + codecName); in doStagefrightTestRawBlob()
2449 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestRawBlob()
2455 Log.i(TAG, "Exception from codec " + codecName); in doStagefrightTestRawBlob()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java121 ConformanceEntry(String path, String codecName, String status) { in ConformanceEntry() argument
123 mCodecName = codecName; in ConformanceEntry()