Customizing the filter interface. More...
Public Member Functions | |
void | customFilterCreate (long context) |
int | customFilterProcess (int inputTexture, int textureWidth, int textureHeight, float[] textureMatrix, boolean isOES, long extra) |
void | customFilterDestroy () |
Customizing the filter interface.
Definition at line 13 of file AlivcLivePushCustomFilter.java.
void com.alivc.component.custom.AlivcLivePushCustomFilter.customFilterCreate | ( | long | context | ) |
Custom filter creation
context | gl context, return 0 or -1 indicates that there is no gl context callback from sdk |
void com.alivc.component.custom.AlivcLivePushCustomFilter.customFilterDestroy | ( | ) |
custom filter destroy
int com.alivc.component.custom.AlivcLivePushCustomFilter.customFilterProcess | ( | int | inputTexture, |
int | textureWidth, | ||
int | textureHeight, | ||
float[] | textureMatrix, | ||
boolean | isOES, | ||
long | extra | ||
) |
custom filter process
inputTexture | Input texture. Currently, it is Sample2D type in basic live streaming mode, and OES type in live streaming mode |
textureWidth | texture width |
textureHeight | texture height |
textureMatrix | texture matrix |
isOES | is OES |
extra | extra |