public interface IVideoDecoder extends IInvocable
IVideoDecoder
- video decoder interface.Modifier and Type | Interface and Description |
---|---|
static class |
IVideoDecoder.CallbackAdapter
CallbackAdapter - video decoder callback adapter. |
static interface |
IVideoDecoder.ICallback
ICallback - video decoder callback. |
static class |
IVideoDecoder.Method
Method - methods. |
Modifier and Type | Field and Description |
---|---|
static int |
B_FRAME
B_FRAME - 0x04 : B-frame. |
static int |
CONFIGURATION_FRAME
CONFIGURATION_FRAME - 0x10 : configuration frame. |
static int |
I_FRAME
I_FRAME - 0x01 : I-frame. |
static int |
P_FRAME
P_FRAME - 0x02 : P-frame. |
Modifier and Type | Method and Description |
---|---|
void |
decodeFrame(java.lang.Object tag,
ByteArray data,
IVideoDecoder.ICallback callback)
Decodes the frame.
|
int |
id()
Returns codec id (one of
VideoCodec constants). |
void |
release()
Release resources acquired by decoder.
|
invoke
static final int I_FRAME
I_FRAME
- 0x01 : I-frame.static final int P_FRAME
P_FRAME
- 0x02 : P-frame.static final int B_FRAME
B_FRAME
- 0x04 : B-frame.static final int CONFIGURATION_FRAME
CONFIGURATION_FRAME
- 0x10 : configuration frame.int id()
VideoCodec
constants).void decodeFrame(java.lang.Object tag, ByteArray data, IVideoDecoder.ICallback callback)
tag
- frame tagdata
- encoded frame datacallback
- video decoder callbackvoid release()