|
MeiCam SDK For iOS
3.14.4
|
Auxiliary method interface for custom video effects. More...
#import <NvsCustomVideoTransition.h>
Instance Methods | |
| (int) | - allocateRGBATexture: |
| Users of custom video effects call this method to request a RGBA texture. More... | |
| (int) | - allocateRGBATexture:format: |
| Users of custom video effects call this method to request a RGBA texture. More... | |
| (void) | - reclaimTexture: |
| Users which using custom video special effects call this method to reclaim a previously applied texture. More... | |
| (BOOL) | - uploadHostBufferToOpenGLTexture:textureId: |
| Users which using custom video effects call this method to upload a Host buffer to the OpenGL texture. More... | |
Auxiliary method interface for custom video effects.
| - (int) allocateRGBATexture: | (NvsSize) | texSize |
Users of custom video effects call this method to request a RGBA texture.
Note: The texture requested in this method must be recycled by calling reclaimTexture, otherwise there will be a leak!
| texSize | Applies for the size of the texture |
| - (int) allocateRGBATexture: | (NvsSize) | texSize | |
| format: | (NvsGpuVideoFrameFormat) | fmt | |
Users of custom video effects call this method to request a RGBA texture.
Note: The texture requested in this method must be recycled by calling reclaimTexture, otherwise there will be a leak!
| texSize | Applies for the size of the texture |
| fmt | Applies for format of the texture |
| - (void) reclaimTexture: | (int) | texId |
Users which using custom video special effects call this method to reclaim a previously applied texture.
| texId | The texture ID to release |
| - (BOOL) uploadHostBufferToOpenGLTexture: | (NvsVideoFrameInfo *) | hostBuffer | |
| textureId: | (int) | tId | |
Users which using custom video effects call this method to upload a Host buffer to the OpenGL texture.
| hostBuffer | Host buffer uploading |
| tId | The texture ID of uploading. |
1.8.18