CGEFrameRecorderpublic class CGEFrameRenderer
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected long |
mNativeAddress |
| Modifier | Constructor | Description |
|---|---|---|
|
CGEFrameRenderer() |
|
protected |
CGEFrameRenderer(int dummy) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
bindImageFBO() |
|
void |
drawCache() |
|
long |
getImageHandler() |
|
boolean |
init(int srcWidth,
int srcHeight,
int dstWidth,
int dstHeight) |
|
protected void |
nativeBindImageFBO(long holder) |
|
protected long |
nativeCreateRenderer() |
|
protected void |
nativeDrawCache(long holder) |
|
protected long |
nativeGetImageHandler(long holder) |
|
protected boolean |
nativeInit(long holder,
int srcWidth,
int srcHeight,
int dstWidth,
int dstHeight) |
|
protected void |
nativeProcessWithFilter(long holder,
long nativeFilter) |
|
protected int |
nativeQueryBufferTexture(long holder) |
|
protected void |
nativeRelease(long holder) |
|
protected void |
nativeRender(long holder,
int x,
int y,
int width,
int height) |
|
protected void |
nativeRunProc(long holder) |
|
protected void |
nativeSetFilterIntensity(long holder,
float value) |
|
protected void |
nativeSetFilterWithAddr(long holder,
long filter) |
|
protected void |
nativeSetFilterWithConfig(long holder,
java.lang.String config) |
|
protected void |
nativeSetMaskFlipScale(long holder,
float x,
float y) |
|
protected void |
nativeSetMaskRotation(long holder,
float value) |
|
protected void |
nativeSetMaskTexture(long holder,
int texID,
float aspectRatio) |
|
protected void |
nativeSetMaskTextureRatio(long holder,
float aspectRatio) |
|
protected void |
nativeSetRenderFlipScale(long holder,
float x,
float y) |
|
protected void |
nativeSetRenderRotation(long holder,
float rad) |
|
protected void |
nativeSetSrcFlipScale(long holder,
float x,
float y) |
|
protected void |
nativeSetSrcRotation(long holder,
float rad) |
|
protected void |
nativeSrcResize(long holder,
int width,
int height) |
|
protected void |
nativeSwapBufferFBO(long holder) |
|
protected void |
nativeUpdate(long holder,
int externalTexture,
float[] transformMatrix) |
|
void |
processWithFilter(long nativeFilter) |
|
int |
queryBufferTexture() |
|
void |
release() |
|
void |
render(int x,
int y,
int width,
int height) |
|
void |
runProc() |
|
void |
setFilterIntensity(float value) |
|
void |
setFilterWidthConfig(java.lang.String config) |
|
void |
setMaskFlipScale(float x,
float y) |
|
void |
setMaskRotation(float rot) |
|
void |
setMaskTexture(int texID,
float aspectRatio) |
|
void |
setMaskTextureRatio(float aspectRatio) |
|
void |
setNativeFilter(long nativeFilter) |
|
void |
setRenderFlipScale(float x,
float y) |
|
void |
setRenderRotation(float rad) |
|
void |
setSrcFlipScale(float x,
float y) |
|
void |
setSrcRotation(float rad) |
|
void |
srcResize(int width,
int height) |
|
void |
swapImageFBO() |
|
void |
update(int externalTexture,
float[] transformMatrix) |
public CGEFrameRenderer()
protected CGEFrameRenderer(int dummy)
public boolean init(int srcWidth,
int srcHeight,
int dstWidth,
int dstHeight)
public void update(int externalTexture,
float[] transformMatrix)
public void runProc()
public void render(int x,
int y,
int width,
int height)
public void drawCache()
public void setSrcRotation(float rad)
public void setSrcFlipScale(float x,
float y)
public void setRenderRotation(float rad)
public void setRenderFlipScale(float x,
float y)
public void setFilterWidthConfig(java.lang.String config)
public void setMaskRotation(float rot)
public void setMaskFlipScale(float x,
float y)
public void setFilterIntensity(float value)
public void srcResize(int width,
int height)
public void release()
public void setMaskTexture(int texID,
float aspectRatio)
public void setMaskTextureRatio(float aspectRatio)
public int queryBufferTexture()
public long getImageHandler()
public void bindImageFBO()
public void swapImageFBO()
public void processWithFilter(long nativeFilter)
public void setNativeFilter(long nativeFilter)
protected long nativeCreateRenderer()
protected boolean nativeInit(long holder,
int srcWidth,
int srcHeight,
int dstWidth,
int dstHeight)
protected void nativeUpdate(long holder,
int externalTexture,
float[] transformMatrix)
protected void nativeRunProc(long holder)
protected void nativeRender(long holder,
int x,
int y,
int width,
int height)
protected void nativeDrawCache(long holder)
protected void nativeSetSrcRotation(long holder,
float rad)
protected void nativeSetSrcFlipScale(long holder,
float x,
float y)
protected void nativeSetRenderRotation(long holder,
float rad)
protected void nativeSetRenderFlipScale(long holder,
float x,
float y)
protected void nativeSetFilterWithConfig(long holder,
java.lang.String config)
protected void nativeSetFilterIntensity(long holder,
float value)
protected void nativeSetMaskRotation(long holder,
float value)
protected void nativeSetMaskFlipScale(long holder,
float x,
float y)
protected void nativeSrcResize(long holder,
int width,
int height)
protected void nativeSetMaskTexture(long holder,
int texID,
float aspectRatio)
protected void nativeSetMaskTextureRatio(long holder,
float aspectRatio)
protected void nativeRelease(long holder)
protected int nativeQueryBufferTexture(long holder)
protected long nativeGetImageHandler(long holder)
protected void nativeBindImageFBO(long holder)
protected void nativeSwapBufferFBO(long holder)
protected void nativeProcessWithFilter(long holder,
long nativeFilter)
protected void nativeSetFilterWithAddr(long holder,
long filter)