FileDocCategorySizeDatePackage
MediaCodec.javaAPI DocAndroid 5.1 API6608Sat Mar 14 14:09:36 GMT 2015android.media

MediaCodec

public final class MediaCodec extends Object

Fields Summary
public static final int
BUFFER_FLAG_CODEC_CONFIG
public static final int
BUFFER_FLAG_END_OF_STREAM
public static final int
BUFFER_FLAG_KEY_FRAME
public static final int
BUFFER_FLAG_SYNC_FRAME
public static final int
CONFIGURE_FLAG_ENCODE
public static final int
CRYPTO_MODE_AES_CTR
public static final int
CRYPTO_MODE_UNENCRYPTED
public static final int
INFO_OUTPUT_BUFFERS_CHANGED
public static final int
INFO_OUTPUT_FORMAT_CHANGED
public static final int
INFO_TRY_AGAIN_LATER
public static final String
PARAMETER_KEY_REQUEST_SYNC_FRAME
public static final String
PARAMETER_KEY_SUSPEND
public static final String
PARAMETER_KEY_VIDEO_BITRATE
public static final int
VIDEO_SCALING_MODE_SCALE_TO_FIT
public static final int
VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
Constructors Summary
MediaCodec()

 throw new RuntimeException("Stub!"); 
Methods Summary
public voidconfigure(android.media.MediaFormat format, android.view.Surface surface, android.media.MediaCrypto crypto, int flags)

 throw new RuntimeException("Stub!"); 
public static android.media.MediaCodeccreateByCodecName(java.lang.String name)

 throw new RuntimeException("Stub!"); 
public static android.media.MediaCodeccreateDecoderByType(java.lang.String type)

 throw new RuntimeException("Stub!"); 
public static android.media.MediaCodeccreateEncoderByType(java.lang.String type)

 throw new RuntimeException("Stub!"); 
public final native android.view.SurfacecreateInputSurface()

public final intdequeueInputBuffer(long timeoutUs)

 throw new RuntimeException("Stub!"); 
public final intdequeueOutputBuffer(android.media.MediaCodec$BufferInfo info, long timeoutUs)

 throw new RuntimeException("Stub!"); 
protected voidfinalize()

 throw new RuntimeException("Stub!"); 
public final voidflush()

 throw new RuntimeException("Stub!"); 
public android.media.MediaCodecInfogetCodecInfo()

 throw new RuntimeException("Stub!"); 
public java.nio.ByteBuffergetInputBuffer(int index)

 throw new RuntimeException("Stub!"); 
public java.nio.ByteBuffer[]getInputBuffers()

 throw new RuntimeException("Stub!"); 
public final android.media.MediaFormatgetInputFormat()

 throw new RuntimeException("Stub!"); 
public android.media.ImagegetInputImage(int index)

 throw new RuntimeException("Stub!"); 
public final native java.lang.StringgetName()

public java.nio.ByteBuffergetOutputBuffer(int index)

 throw new RuntimeException("Stub!"); 
public java.nio.ByteBuffer[]getOutputBuffers()

 throw new RuntimeException("Stub!"); 
public final android.media.MediaFormatgetOutputFormat()

 throw new RuntimeException("Stub!"); 
public final android.media.MediaFormatgetOutputFormat(int index)

 throw new RuntimeException("Stub!"); 
public android.media.ImagegetOutputImage(int index)

 throw new RuntimeException("Stub!"); 
public final voidqueueInputBuffer(int index, int offset, int size, long presentationTimeUs, int flags)

 throw new RuntimeException("Stub!"); 
public final voidqueueSecureInputBuffer(int index, int offset, android.media.MediaCodec$CryptoInfo info, long presentationTimeUs, int flags)

 throw new RuntimeException("Stub!"); 
public final voidrelease()

 throw new RuntimeException("Stub!"); 
public final voidreleaseOutputBuffer(int index, boolean render)

 throw new RuntimeException("Stub!"); 
public final voidreleaseOutputBuffer(int index, long renderTimestampNs)

 throw new RuntimeException("Stub!"); 
public final voidreset()

 throw new RuntimeException("Stub!"); 
public voidsetCallback(android.media.MediaCodec$Callback cb)

 throw new RuntimeException("Stub!"); 
public final voidsetParameters(android.os.Bundle params)

 throw new RuntimeException("Stub!"); 
public final native voidsetVideoScalingMode(int mode)

public final native voidsignalEndOfInputStream()

public final voidstart()

 throw new RuntimeException("Stub!"); 
public final voidstop()

 throw new RuntimeException("Stub!");