public class XMediaDec
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
E_DEC_ERROR_GET_INPUT |
static int |
E_DEC_ERROR_INIT |
static int |
E_DEC_ERROR_INPUT |
static int |
E_DEC_ERROR_OUTPUT |
static int |
E_DEC_ERROR_START |
static int |
E_DEC_OK |
| 构造器和说明 |
|---|
XMediaDec() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CloseDec() |
byte[] |
Decode(int[] nDecRet,
int[] pFrameInfo,
byte[] pBuffer) |
static byte[] |
Decode(int nId,
int[] nDecRet,
int[] pFrameInfo,
byte[] pBuffer) |
static void |
DestoryDecoder(int nId) |
int |
GetHeight() |
int |
GetWidth() |
int |
InputData(int[] pFrameInfo,
byte[] pBuffer) |
static int |
NewDecoder() |
void |
SetSurfacTexture(android.graphics.SurfaceTexture videoTexture) |
public static final int E_DEC_OK
public static final int E_DEC_ERROR_INIT
public static final int E_DEC_ERROR_START
public static final int E_DEC_ERROR_GET_INPUT
public static final int E_DEC_ERROR_INPUT
public static final int E_DEC_ERROR_OUTPUT
public static int NewDecoder()
public static void DestoryDecoder(int nId)
public static byte[] Decode(int nId,
int[] nDecRet,
int[] pFrameInfo,
byte[] pBuffer)
public int GetWidth()
public int GetHeight()
public void SetSurfacTexture(android.graphics.SurfaceTexture videoTexture)
public int InputData(int[] pFrameInfo,
byte[] pBuffer)
public byte[] Decode(int[] nDecRet,
int[] pFrameInfo,
byte[] pBuffer)
public void CloseDec()