/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecListTest.java | 53 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 …]
|
D | MediaCodecCapabilitiesTest.java | 326 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 …]
|
D | MediaCodecTest.java | 118 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 …]
|
D | ResourceManagerTestActivityBase.java | 85 boolean isEncoder = false; in getTestCodecInfo() 89 if (info.isEncoder() != isEncoder) { in getTestCodecInfo()
|
D | EncoderTest.java | 140 if (!info.isEncoder()) { in getEncoderNamesForType()
|
D | MediaCodecCencPlayer.java | 331 if (info.isEncoder()) { in getSecureDecoderNameForMime()
|
D | Vp8CodecTestBase.java | 124 boolean isEncoder, in getVpxCodecProperties() argument 134 if (isEncoder != codecInfo.isEncoder()) { in getVpxCodecProperties() 180 + (isEncoder ? "encoder " : "decoder ") + "found for " + format); in getVpxCodecProperties()
|
D | VideoDecoderPerfTest.java | 85 if (info.isEncoder() || in getDecoderName()
|
D | ImageReaderDecoderTest.java | 322 if (info.isEncoder() in decoders()
|
D | VideoEncoderTest.java | 149 if (info.isEncoder()) { in playAll() 1020 if (!info.isEncoder() in encoders()
|
D | AdaptivePlaybackTest.java | 1407 if (codecInfo.isEncoder()) {
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 153 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/ |
D | MediaUtils.java | 342 if (encoder != info.isEncoder()) { in hasCodecForMime()
|