Home
last modified time | relevance | path

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

/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/libs/deviceutil/src/android/cts/util/
DMediaPerfUtils.java55 DeviceReportLog log, String message, int round, String codecName, in addPerformanceHeadersToLog() argument
58 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog()
72 message += " codec=" + codecName + " round=" + round + " configFormat=" + configFormat in addPerformanceHeadersToLog()
DMediaUtils.java277 public static boolean supports(String codecName, String mime, int w, int h) { in supports() argument
282 VideoCapabilities vidCap = getVideoCapabilities(codecName, mime); in supports()
293 public static boolean supports(String codecName, MediaFormat format) { in supports() argument
296 codec = MediaCodec.createByCodecName(codecName); in supports()
298 Log.w(TAG, "codec not found: " + codecName); in supports()
549 public static VideoCapabilities getVideoCapabilities(String codecName, String mime) { in getVideoCapabilities() argument
551 if (!info.getName().equalsIgnoreCase(codecName)) { in getVideoCapabilities()
564 Log.w(TAG, "not a video codec: " + codecName); in getVideoCapabilities()
568 Log.w(TAG, "codec not found: " + codecName); in getVideoCapabilities()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecListTest.java302 String codecName = isEncoder in codecCanBeFound() local
305 return codecName != null; in codecCanBeFound()
416 String codecName = mRegularCodecs.findDecoderForFormat(format); in testFindDecoderWithAacProfile() local
417 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile()
434 String codecName = mRegularCodecs.findEncoderForFormat(format); in testFindEncoderWithAacProfile() local
435 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()
DVp8CodecTestBase.java97 CodecProperties(String codecName, int colorFormat) { in CodecProperties() argument
98 this.codecName = codecName; in CodecProperties()
102 return codecName.toLowerCase().startsWith(GOOGLE_CODEC_PREFIX); in isGoogleCodec()
105 public final String codecName; // OpenMax component name for VP8 codec. field in Vp8CodecTestBase.CodecProperties
167 Log.v(TAG, "Found target codec " + codecProperties.codecName + in getVpxCodecProperties()
546 Log.d(TAG, "Creating decoder " + properties.codecName + in decode()
551 MediaCodec decoder = MediaCodec.createByCodecName(properties.codecName); in decode()
1299 Log.d(TAG, "Creating encoder " + properties.codecName + in encode()
1309 codec.createCodec(0, properties.codecName, format, in encode()
1472 Log.d(TAG, "Creating encoder " + properties.codecName + in encodeAsync()
[all …]
DAdaptivePlaybackTest.java861 public Decoder(String codecName) {
864 codec = MediaCodec.createByCodecName(codecName);
866 throw new RuntimeException("couldn't create codec " + codecName, e);
1174 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s)
1176 Decoder codec = new Decoder(codecName);
1463 public CodecByName(Context context, String mime, String codecName, int ... resources) {
1464 for (Codec c: new CodecFamily(context, mime, codecName, resources)) {
1465 if (c.name.equals(codecName)) {
1485 protected boolean hasCodec(String codecName) {
1488 if (codecName.equals(info.getName())) {
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.java617 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()
DEncodeVirtualDisplayWithCompositionTest.java547 String codecName = null; in doEncoding() local
548 if ((codecName = mcl.findEncoderForFormat(format)) == null) { in doEncoding()
552 mEncoder = MediaCodec.createByCodecName(codecName); in doEncoding()
DDecoderTest.java2646 String codecName = mcl.findDecoderForFormat(format);
2647 return (codecName == null) ? false : true;
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java377 for (String codecName: matchingCodecs) { in doStagefrightTestMediaCodec()
378 Log.i(TAG, "Decoding track " + t + " using codec " + codecName); in doStagefrightTestMediaCodec()
380 MediaCodec codec = MediaCodec.createByCodecName(codecName); in doStagefrightTestMediaCodec()