public class ScreenShot
extends java.lang.Object
| Constructor and Description |
|---|
ScreenShot(android.content.Context ctx,
VideoLiveFilterContext videoLiveFilterContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
deInit() |
void |
notifyBitmap(android.graphics.Bitmap bitmap) |
void |
notifyError(java.lang.Throwable e) |
boolean |
processMediaSample(YYMediaSample sample) |
void |
setCallback(ScreenShotCallback callback)
截图回调方法
|
void |
take(javax.microedition.khronos.opengles.GL10 gl,
int width,
int height)
OpenGL有图时调用这个方法
|
void |
take(int width,
int height) |
void |
take2(int width,
int height) |
void |
take2RGBA(int width,
int height) |
public ScreenShot(android.content.Context ctx,
VideoLiveFilterContext videoLiveFilterContext)
public void deInit()
public boolean processMediaSample(YYMediaSample sample)
public void setCallback(ScreenShotCallback callback)
callback - public void take(javax.microedition.khronos.opengles.GL10 gl,
int width,
int height)
gl - width - height - public void take(int width,
int height)
public void take2(int width,
int height)
public void take2RGBA(int width,
int height)
public void notifyBitmap(android.graphics.Bitmap bitmap)
public void notifyError(java.lang.Throwable e)