public class H264DecRender extends HardDecRender
HardDecRender.IDecoderDataOutCallBack, HardDecRender.MediaCodecErrorType, HardDecRender.OnDecoderYUVListener| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
crashTsFirst |
static java.lang.String |
crashTsSecond |
mCrashTsFirst, mCrashTsSecond, mDecoder, mDumpFrameName, mDumpIDRFrame, mDumpSpsPps, mFormat, mGroupId, mHeight, mInfo, mInitialized, mInputBuffers, mInputIndex, mIsExceptionOccured, mMediaCodecStopState, mNeedConfig, mNoFrameCnt, mOutputBuffers, mSecondTsWriten, mStreamId, mStride, mSurface, mWidth| Constructor and Description |
|---|
H264DecRender(android.view.Surface surface) |
H264DecRender(android.view.Surface surface,
int width,
int height) |
H264DecRender(android.view.Surface surface,
int width,
int height,
long groupId,
long streamId) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getCodecName() |
static void |
getDecodeInfoAsync() |
static boolean |
IsAvailable() |
long |
PushFrame(android.view.Surface surface,
byte[] bf,
long pts,
boolean isHeader) |
int |
reset() |
int |
reset(android.view.Surface surface,
int width,
int height) |
static boolean |
upDateCodecIgnoreCodecWhiteList() |
awaitUninterruptibly, ConfigDone, dumpIDRFrame, EndofStream, findCodecName, GetAndClearExceptionFlag, getCacheFrame, getMediaCodecStopState, IsAvailable, IsNeedConfig, PushFrame, release, reset, setDecoderDataOutCallBack, setGroupId, setOnDecoderYUVListener, setStreamIdpublic static final java.lang.String crashTsFirst
public static final java.lang.String crashTsSecond
public H264DecRender(android.view.Surface surface,
int width,
int height)
public H264DecRender(android.view.Surface surface,
int width,
int height,
long groupId,
long streamId)
public H264DecRender(android.view.Surface surface)
public static void getDecodeInfoAsync()
public static boolean upDateCodecIgnoreCodecWhiteList()
public static boolean IsAvailable()
public static java.lang.String getCodecName()
public int reset()
reset in class HardDecRenderpublic int reset(android.view.Surface surface,
int width,
int height)
reset in class HardDecRenderpublic long PushFrame(android.view.Surface surface,
byte[] bf,
long pts,
boolean isHeader)
PushFrame in class HardDecRender