Home
last modified time | relevance | path

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

/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DCodecInfo.java56 String codecName, String mimeType, int w, int h) { in getSupportedFormatInfo() argument
59 codec = MediaCodec.createByCodecName(codecName); in getSupportedFormatInfo()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java171 public static boolean supports(String codecName, String mime, int w, int h) { in supports() argument
174 codec = MediaCodec.createByCodecName(codecName); in supports()
190 Log.w(TAG, "not a video codec: " + codecName); in supports()
482 public static VideoCapabilities getVideoCapabilities(String codecName, String mime) { in getVideoCapabilities() argument
484 if (!info.getName().equalsIgnoreCase(codecName)) { in getVideoCapabilities()
500 String codecName, String mimeType, int width, int height) { in getAchievableFrameRatesFor() argument
501 VideoCapabilities cap = getVideoCapabilities(codecName, mimeType); in getAchievableFrameRatesFor()
/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()
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.java855 public Decoder(String codecName) {
858 codec = MediaCodec.createByCodecName(codecName);
860 throw new RuntimeException("couldn't create codec " + codecName, e);
1168 String codecName, MediaCodecInfo codecInfo, Media media, int eosframe, TestSurface s)
1170 Decoder codec = new Decoder(codecName);
1442 public CodecByName(Context context, String mime, String codecName, int ... resources) {
1443 for (Codec c: new CodecFamily(context, mime, codecName, resources)) {
1444 if (c.name.equals(codecName)) {
1464 protected boolean hasCodec(String codecName) {
1467 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()
DMediaCodecListTest.java302 String codecName = isEncoder in codecCanBeFound() local
305 return codecName != null; in codecCanBeFound()
DExtractDecodeEditEncodeMuxTest.java554 String codecName, in createVideoEncoder() argument
558 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createVideoEncoder()
585 private MediaCodec createAudioEncoder(String codecName, MediaFormat format) in createAudioEncoder() argument
587 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createAudioEncoder()
DDecoderTest.java1943 String codecName = mcl.findDecoderForFormat(format); in isVideoFeatureSupported() local
1944 return (codecName == null) ? false : true; in isVideoFeatureSupported()