public class VideoDecodeThread
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
VideoDecodeThread.PlayerThread |
Modifier and Type | Field and Description |
---|---|
private VideoDecoder.FrameCallback |
mFrameCallback |
private boolean |
mHasNotifyFrameCallback |
(package private) int |
mHeight |
private VideoDecodeThread.PlayerThread |
mPlayerThread |
(package private) int |
mWidth |
Constructor and Description |
---|
VideoDecodeThread(VideoDecoder.FrameCallback frameCallback,
int w,
int h) |
Modifier and Type | Method and Description |
---|---|
void |
configureMediaCodec(android.view.Surface surface,
int width,
int height) |
void |
reload(android.view.Surface surface) |
void |
reset() |
void |
setResolution(int w,
int h) |
void |
start(android.view.Surface surface) |
void |
startMediaCodec() |
void |
stop() |
void |
stopMediaCodec() |
private VideoDecodeThread.PlayerThread mPlayerThread
private VideoDecoder.FrameCallback mFrameCallback
private boolean mHasNotifyFrameCallback
int mWidth
int mHeight
public VideoDecodeThread(VideoDecoder.FrameCallback frameCallback, int w, int h)
public void reset()
public void setResolution(int w, int h)
public void stop()
public void start(android.view.Surface surface)
public void reload(android.view.Surface surface)
public void startMediaCodec()
public void stopMediaCodec()
public void configureMediaCodec(android.view.Surface surface, int width, int height)