Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
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 …]
DMediaCodecCapabilitiesTest.java326 String mime, boolean isEncoder, int profile, int level) { in supports() argument
329 if (isEncoder != info.isEncoder()) { in supports()
375 if (info.isEncoder()) { in testHaveAdaptiveVideoDecoderForAllSupportedFormats()
407 if (info.isEncoder()) { in testAllVideoDecodersAreAdaptive()
452 boolean isEncoder = info.isEncoder(); in testSecureCodecsAdvertiseSecurePlayback()
453 if (isEncoder || !info.getName().endsWith(".secure")) { in testSecureCodecsAdvertiseSecurePlayback()
475 boolean isEncoder = info.isEncoder(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
502 format = createReasonableVideoFormat(caps, mime, isEncoder, 176, 144); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
508 isEncoder ? codec.CONFIGURE_FLAG_ENCODE : 0); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
510 isEncoder ? codec.getInputFormat() : codec.getOutputFormat(); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
[all …]
DMediaCodecTest.java118 private static MediaCodec createCodecByType(String type, boolean isEncoder) in createCodecByType() argument
120 if (isEncoder) { in createCodecByType()
136 private static boolean verifyException(MediaFormat format, boolean isEncoder) in verifyException() argument
139 if (!supportsCodec(mimeType, isEncoder)) { in verifyException()
140 Log.i(TAG, "No " + (isEncoder ? "encoder" : "decoder") in verifyException()
149 final String methodName = isEncoder ? "createEncoderByType" : "createDecoderByType"; in verifyException()
151 codec = createCodecByType(null, isEncoder); in verifyException()
156 codec = createCodecByType("foobarplan9", isEncoder); // invalid type in verifyException()
166 codec = createCodecByType(format.getString(MediaFormat.KEY_MIME), isEncoder); in verifyException()
213 isEncoder ? 0 : MediaCodec.CONFIGURE_FLAG_ENCODE /* flags */); in verifyException()
[all …]
DResourceManagerTestActivityBase.java85 boolean isEncoder = false; in getTestCodecInfo()
89 if (info.isEncoder() != isEncoder) { in getTestCodecInfo()
DEncoderTest.java140 if (!info.isEncoder()) { in getEncoderNamesForType()
DMediaCodecCencPlayer.java331 if (info.isEncoder()) { in getSecureDecoderNameForMime()
DVp8CodecTestBase.java124 boolean isEncoder, in getVpxCodecProperties() argument
134 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties()
180 + (isEncoder ? "encoder " : "decoder ") + "found for " + format); in getVpxCodecProperties()
DVideoDecoderPerfTest.java85 if (info.isEncoder() || in getDecoderName()
DImageReaderDecoderTest.java322 if (info.isEncoder() in decoders()
DVideoEncoderTest.java149 if (info.isEncoder()) { in playAll()
1020 if (!info.isEncoder() in encoders()
DAdaptivePlaybackTest.java1407 if (codecInfo.isEncoder()) {
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
DVideoEncoderDecoderTest.java153 private String getCodecName(String mime, boolean isEncoder) { in getCodecName() argument
156 if (info.isEncoder() != isEncoder) { in getCodecName()
178 private String[] getCodecName(String mime, boolean isGoog, boolean isEncoder) { in getCodecName() argument
182 if (info.isEncoder() != isEncoder in getCodecName()
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java342 if (encoder != info.isEncoder()) { in hasCodecForMime()