/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 305 MediaCodec encoder = null; in testCreateInputSurfaceErrors() local 315 encoder = MediaCodec.createByCodecName(codecInfo.getName()); in testCreateInputSurfaceErrors() 320 surface = encoder.createInputSurface(); in testCreateInputSurfaceErrors() 325 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in testCreateInputSurfaceErrors() 328 surface = encoder.createInputSurface(); in testCreateInputSurfaceErrors() 334 encoder.start(); in testCreateInputSurfaceErrors() 337 surface = encoder.createInputSurface(); in testCreateInputSurfaceErrors() 343 if (encoder != null) { in testCreateInputSurfaceErrors() 344 encoder.stop(); in testCreateInputSurfaceErrors() 345 encoder.release(); in testCreateInputSurfaceErrors() [all …]
|
D | DecodeEditEncodeTest.java | 190 MediaCodec encoder = null; in generateVideoFile() local 218 encoder = MediaCodec.createByCodecName(codecName); in generateVideoFile() 219 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in generateVideoFile() 220 inputSurface = new InputSurface(encoder.createInputSurface()); in generateVideoFile() 222 encoder.start(); in generateVideoFile() 224 generateVideoData(encoder, inputSurface, output); in generateVideoFile() 226 if (encoder != null) { in generateVideoFile() 228 encoder.stop(); in generateVideoFile() 229 encoder.release(); in generateVideoFile() 253 private void generateVideoData(MediaCodec encoder, InputSurface inputSurface, in generateVideoData() argument [all …]
|
D | EncodeDecodeTest.java | 351 MediaCodec encoder = null; in encodeDecodeVideoFromBuffer() local 371 encoder = MediaCodec.createByCodecName(codec); in encodeDecodeVideoFromBuffer() 373 int colorFormat = selectColorFormat(encoder.getCodecInfo(), mMimeType); in encodeDecodeVideoFromBuffer() 384 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in encodeDecodeVideoFromBuffer() 385 encoder.start(); in encodeDecodeVideoFromBuffer() 392 doEncodeDecodeVideoFromBuffer(encoder, colorFormat, decoder, toSurface); in encodeDecodeVideoFromBuffer() 395 if (encoder != null) { in encodeDecodeVideoFromBuffer() 396 encoder.stop(); in encodeDecodeVideoFromBuffer() 397 encoder.release(); in encodeDecodeVideoFromBuffer() 415 MediaCodec encoder = null; in encodeDecodeVideoFromSurfaceToSurface() local [all …]
|
D | EncodeVirtualDisplayTest.java | 204 MediaCodec encoder = null; in encodeVirtualDisplayTest() local 226 encoder = MediaCodec.createByCodecName(codec); in encodeVirtualDisplayTest() 227 encoder.configure(encoderFormat, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in encodeVirtualDisplayTest() 228 Surface inputSurface = encoder.createInputSurface(); in encodeVirtualDisplayTest() 229 encoder.start(); in encodeVirtualDisplayTest() 247 doTestEncodeVirtual(encoder, decoder, outputSurface); in encodeVirtualDisplayTest() 257 if (encoder != null) { in encodeVirtualDisplayTest() 258 encoder.stop(); in encodeVirtualDisplayTest() 259 encoder.release(); in encodeVirtualDisplayTest() 271 private void doTestEncodeVirtual(MediaCodec encoder, MediaCodec decoder, in doTestEncodeVirtual() argument [all …]
|
D | ExtractDecodeEditEncodeMuxTest.java | 558 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createVideoEncoder() local 559 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in createVideoEncoder() 561 surfaceReference.set(encoder.createInputSurface()); in createVideoEncoder() 562 encoder.start(); in createVideoEncoder() 563 return encoder; in createVideoEncoder() 587 MediaCodec encoder = MediaCodec.createByCodecName(codecName); in createAudioEncoder() local 588 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in createAudioEncoder() 589 encoder.start(); in createAudioEncoder() 590 return encoder; in createAudioEncoder()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 1375 MediaCodec encoder = null; in isConcurrentEncodingDecodingSupported() local 1391 encoder = MediaCodec.createEncoderByType(MIME_TYPE);; in isConcurrentEncodingDecodingSupported() 1392 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in isConcurrentEncodingDecodingSupported() 1393 encodingSurface = encoder.createInputSurface(); in isConcurrentEncodingDecodingSupported() 1394 encoder.start(); in isConcurrentEncodingDecodingSupported() 1396 encoder.stop(); in isConcurrentEncodingDecodingSupported() 1406 if (encoder != null) { in isConcurrentEncodingDecodingSupported() 1407 encoder.release(); in isConcurrentEncodingDecodingSupported()
|
D | VideoEncoderTest.java | 1524 for (Encoder encoder: encoders) { in extreme() 1525 if (encoder.testExtreme(x, y, flexYUV, near)) { in extreme() 1540 for (Encoder encoder: encoders) { in arbitrary() 1541 if (encoder.testArbitrary(flexYUV, widths)) { in arbitrary() 1565 for (Encoder encoder : encoders) { in specific() 1566 if (encoder.testSpecific(width, height, flexYUV)) { in specific() 1584 for (Encoder encoder : encoders) { in detailed() 1585 if (encoder.testSupport(width, height, frameRate, bitRate)) { in detailed() 1587 encoder.testDetailed(width, height, frameRate, bitRate, flexYUV); in detailed() 1602 for (Encoder encoder : encoders) { in support() [all …]
|
D | MediaCodecCapabilitiesTest.java | 429 CodecCapabilities caps, String mime, boolean encoder, int width, int height) { in createReasonableVideoFormat() argument 432 if (encoder) { in createReasonableVideoFormat()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 340 private static boolean hasCodecForMime(boolean encoder, String mime) { in hasCodecForMime() argument 342 if (encoder != info.isEncoder()) { in hasCodecForMime() 356 private static boolean hasCodecForMimes(boolean encoder, String[] mimes) { in hasCodecForMimes() argument 358 if (!hasCodecForMime(encoder, mime)) { in hasCodecForMimes() 359 Log.i(TAG, "no " + (encoder ? "encoder" : "decoder") + " for mime " + mime); in hasCodecForMimes()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 11348 private java.nio.charset.CharsetEncoder encoder 29621 private java.nio.charset.CharsetEncoder encoder 106405 private static final org.bouncycastle.util.encoders.Encoder encoder 106580 private static final org.bouncycastle.util.encoders.Encoder encoder 106715 private static final org.bouncycastle.util.encoders.Encoder encoder
|