MeiCam SDK For Android  3.14.0
Public Member Functions | List of all members
com.meicam.sdk.NvsCustomVideoFx.RendererWithClearCache Interface Reference

Custom video effects' clearCacheResources interface base on render interface. \User-implemented custom video effects can implement this interface to clear cache. More...

Inheritance diagram for com.meicam.sdk.NvsCustomVideoFx.RendererWithClearCache:
com.meicam.sdk.NvsCustomVideoFx.Renderer

Public Member Functions

void onClearCacheResources ()
 Meishe SDK calls this method on custom video effects to allow clear some cache resources. More...
 
- Public Member Functions inherited from com.meicam.sdk.NvsCustomVideoFx.Renderer
void onInit ()
 Meishe SDK calls this method on custom video effects to let the user initialize some resources. More...
 
void onCleanup ()
 Meishe SDK calls this method on custom video effects to let users clean up resources. More...
 
void onPreloadResources ()
 Meishe SDK calls this method on custom video effects to allow preprocessing of some resources. More...
 
void onRender (RenderContext renderContext)
 Meishe SDK calls this method on custom video effects to apply effect special effects on input video frames. More...
 

Detailed Description

Custom video effects' clearCacheResources interface base on render interface. \User-implemented custom video effects can implement this interface to clear cache.

Member Function Documentation

◆ onClearCacheResources()

void com.meicam.sdk.NvsCustomVideoFx.RendererWithClearCache.onClearCacheResources ( )

Meishe SDK calls this method on custom video effects to allow clear some cache resources.

This method is called when user call clearCacheResource method in streamContext. This method is called in the effect rendering thread of Meishe SDK, and the current thread has already bound an EGL Context.


The documentation for this interface was generated from the following file: