|
MeiCam SDK For Android
3.14.4
|
Auxiliary method interface for custom video effects. More...
Public Member Functions | |
| int | allocateRGBATexture (int texWidth, int texHeight) |
| Users of custom video effects call this method to apply for an RGBA texture. More... | |
| void | reclaimTexture (int texId) |
| Users of custom video effects call this method to reclaim a previously allocated texture. More... | |
Auxiliary method interface for custom video effects.
| int com.meicam.sdk.NvsCustomVideoFx.RenderHelper.allocateRGBATexture | ( | int | texWidth, |
| int | texHeight | ||
| ) |
Users of custom video effects call this method to apply for an RGBA texture.
Note: The texture requested by this method must be recycled by calling reclaimTexture, otherwise there will be a memory leak!
| texWidth | The width of the requested texture. |
| texHeight | The height of the requested texture. |
| void com.meicam.sdk.NvsCustomVideoFx.RenderHelper.reclaimTexture | ( | int | texId | ) |
Users of custom video effects call this method to reclaim a previously allocated texture.
| texId | the texture ID to release. |
1.8.17