public class H265DecRender 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, mSurface, mWidth| Constructor and Description |
|---|
H265DecRender(android.view.Surface surface,
int width,
int height) |
H265DecRender(android.view.Surface surface,
int width,
int height,
long groupId,
long streamID) |
H265DecRender(android.view.Surface surface,
PlayNotify playNotify) |
| 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 H265DecRender(android.view.Surface surface,
int width,
int height)
public H265DecRender(android.view.Surface surface,
int width,
int height,
long groupId,
long streamID)
public H265DecRender(android.view.Surface surface,
PlayNotify playNotify)
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