public static interface TXUGCRecord.VideoCustomProcessListener
Modifier and Type | Method and Description |
---|---|
void |
onDetectFacePoints(float[] points)
增值版回调人脸坐标
|
int |
onTextureCustomProcess(int textureId,
int width,
int height)
在OpenGL线程中回调,在这里可以进行采集图像的二次处理
|
void |
onTextureDestroyed()
在OpenGL线程中回调,可以在这里释放创建的OpenGL资源
|
void onDetectFacePoints(float[] points)
points
- 归一化人脸坐标,每两个值表示某点P的X,Y值。值域[0.f,1.f]int onTextureCustomProcess(int textureId, int width, int height)
textureId
- 纹理IDwidth
- 纹理的宽度height
- 纹理的高度说明:SDK回调出来的纹理类型是GLES20.GL_TEXTURE_2D,接口返回给SDK的纹理类型也必须是GLES20.GL_TEXTURE_2D
void onTextureDestroyed()