Home
last modified time | relevance | path

Searched refs:isEncoder (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java329 String mime, boolean isEncoder, int profile, int level) { in supports() argument
332 if (isEncoder != info.isEncoder()) { in supports()
378 if (info.isEncoder()) { in testHaveAdaptiveVideoDecoderForAllSupportedFormats()
410 if (info.isEncoder()) { in testAllVideoDecodersAreAdaptive()
455 boolean isEncoder = info.isEncoder(); in testSecureCodecsAdvertiseSecurePlayback()
456 if (isEncoder || !info.getName().endsWith(".secure")) { in testSecureCodecsAdvertiseSecurePlayback()
478 boolean isEncoder = info.isEncoder(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
505 format = createReasonableVideoFormat(caps, mime, isEncoder, 176, 144); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
511 isEncoder ? codec.CONFIGURE_FLAG_ENCODE : 0); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
513 isEncoder ? codec.getInputFormat() : codec.getOutputFormat(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
[all …]
DMediaCodecListTest.java53 CodecType(String type, boolean isEncoder, MediaFormat sampleFormat) { in CodecType() argument
55 mIsEncoder = isEncoder; in CodecType()
79 AudioCodec(String mime, boolean isEncoder, int sampleRate) { in AudioCodec() argument
80 super(mime, isEncoder, MediaFormat.createAudioFormat( in AudioCodec()
86 VideoCodec(String mime, boolean isEncoder) { in VideoCodec() argument
88 super(mime, isEncoder, MediaFormat.createVideoFormat( in VideoCodec()
153 assertEquals(big.isEncoder(), tiny.isEncoder()); in assertEqualsOrSuperset()
177 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testComponentInstantiation()
210 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testGetCapabilities()
301 private boolean codecCanBeFound(boolean isEncoder, MediaFormat format) { in codecCanBeFound() argument
[all …]
DMediaCodecTest.java120 private static MediaCodec createCodecByType(String type, boolean isEncoder) in createCodecByType() argument
122 if (isEncoder) { in createCodecByType()
138 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException() argument
141 if (!supportsCodec(mimeType, isEncoder)) { in verifyException()
142 Log.i(TAG, "No " + (isEncoder ? "encoder" : "decoder") in verifyException()
151 final String methodName = isEncoder ? "createEncoderByType" : "createDecoderByType"; in verifyException()
153 codec = createCodecByType(null, isEncoder); in verifyException()
158 codec = createCodecByType("foobarplan9", isEncoder); // invalid type in verifyException()
168 codec = createCodecByType(format.getString(MediaFormat.KEY_MIME), isEncoder); in verifyException()
215 isEncoder ? 0 : MediaCodec.CONFIGURE_FLAG_ENCODE /* flags */); in verifyException()
[all …]
DResourceManagerTestActivityBase.java85 boolean isEncoder = false; in getTestCodecInfo()
89 if (info.isEncoder() != isEncoder) { in getTestCodecInfo()
DVp8CodecTestBase.java124 boolean isEncoder, in getVpxCodecProperties() argument
134 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties()
180 + (isEncoder ? "encoder " : "decoder ") + "found for " + format); in getVpxCodecProperties()
DMediaCodecClearKeyPlayer.java361 if (info.isEncoder()) { in getSecureDecoderNameForMime()
DImageReaderDecoderTest.java322 if (info.isEncoder() in decoders()
DExtractDecodeEditEncodeMuxTest.java1217 if (!codecInfo.isEncoder()) { in selectCodec()
DVideoEncoderTest.java153 if (info.isEncoder()) { in playAll()
1158 if (!info.isEncoder() in encoders()
DAdaptivePlaybackTest.java1428 if (codecInfo.isEncoder()) {
DDecoderTest.java2726 if (codecInfo.isEncoder()) {
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java189 boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in getCodecNames() argument
193 if (info.isEncoder() != isEncoder) { in getCodecNames()
238 int count, boolean isEncoder, Boolean isGoog, MediaFormat... formats) { in verifyNumCodecs() argument
239 String desc = (isEncoder ? "encoders" : "decoders") + " for " in verifyNumCodecs()
245 String[] codecs = getCodecNames(isEncoder, isGoog, formats); in verifyNumCodecs()
452 if (encoder != info.isEncoder()) { in hasCodecForDomain()
473 if (encoder != info.isEncoder()) { in hasCodecForMime()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMediaDeviceInfo.java47 store.addResult("encoder", info.isEncoder()); in collectDeviceInfo()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java359 if (info.isEncoder()) { in doStagefrightTestMediaCodec()