Class android.media.MediaCodec
| Added Methods | |
|---|---|
ByteBuffer getInputBuffer(int) |
|
MediaFormat getInputFormat() |
|
Image getInputImage(int) |
|
ByteBuffer getOutputBuffer(int) |
|
MediaFormat getOutputFormat(int) |
|
Image getOutputImage(int) |
|
void releaseOutputBuffer(int, |
|
void reset() |
|
void setCallback(Callback) |
|
| Changed Methods | ||
|---|---|---|
MediaCodec createByCodecName(String) |
Change in exceptions thrown from no exceptions to java.io.IOException. |
|
MediaCodec createDecoderByType(String) |
Change in exceptions thrown from no exceptions to java.io.IOException. |
|
MediaCodec createEncoderByType(String) |
Change in exceptions thrown from no exceptions to java.io.IOException. |
|
ByteBuffer[] getInputBuffers() |
Now deprecated. |
|
ByteBuffer[] getOutputBuffers() |
Now deprecated. |
|
| Added Fields | |
|---|---|
int BUFFER_FLAG_KEY_FRAME |
|
| Changed Fields | ||
|---|---|---|
int BUFFER_FLAG_SYNC_FRAME |
Now deprecated. |
|
int INFO_OUTPUT_BUFFERS_CHANGED |
Now deprecated. |
|
