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

Custom video effects' Advance 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.RendererExt:
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...
 
FxRequirement onCollectionReq ()
 Meishe SDK calls this method on custom video effects to the SDK to provide the necessary data for custom video effect. 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' Advance 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.RendererExt.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.

◆ onCollectionReq()

FxRequirement com.meicam.sdk.NvsCustomVideoFx.RendererExt.onCollectionReq ( )

Meishe SDK calls this method on custom video effects to the SDK to provide the necessary data for custom video effect.


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