MeiCam SDK For Android  3.16.4
Classes | Static Public Attributes | List of all members
com.meicam.sdk.NvsCustomVideoFx Class Reference

Custom video effects. More...

Classes

class  BufferRenderContext
 
class  FxRequirement
 
class  NvFxParamVal
 
class  RenderContext
 
interface  Renderer
 Custom video effects' renderer interface. User-implemented custom video effects must implement this interface. More...
 
interface  RendererExt
 Custom video effects' Advance interface base on render interface. \User-implemented custom video effects can implement this interface to clear cache. More...
 
interface  RendererWithClearCache
 Custom video effects' clearCacheResources interface base on render interface. \User-implemented custom video effects can implement this interface to clear cache. More...
 
interface  RenderHelper
 Auxiliary method interface for custom video effects. More...
 
class  VideoFrame
 

Static Public Attributes

static final int NV_VIDEO_FRAME_FORMAT_RGBA8 = 1
 
static final int NV_VIDEO_FRAME_FORMAT_RGBA16F = 2
 The format of the texture is half floating. More...
 
static final String NV_FX_REQUIREMENT_OUTPUT_TEXTURE_COLOR_TRANSFER = "output-texture-color-transfer"
 Output texture must be sdr texture. More...
 
static final String NV_FX_REQUIREMENT_OUTPUT_TEXTURE_COLOR_PRIMARIES = "output-texture-color-primaries"
 Output texture color primaries. More...
 
static final String NV_FX_REQUIREMENT_BUDDY_FRMAE_FORMAT = "buddy-frame-format"
 Output texture must be sdr texture. More...
 
static final String NV_FX_REQUIREMENT_OUTPUT_SIZE_FOLLOW_SINK = "output-size-follow-sink"
 Output size follow sink. More...
 
static final String NV_FX_REQUIREMENT_RENDER_WITH_BUFFER = "render-with-buffer"
 Use buffer to render. More...
 

Detailed Description

Custom video effects.

Customization allows users to write video effects themselves and embed it into the rendering process of Meishe SDK.

Warning
In the NvsCustomVideoFx class, all public APIs are used in the UI thread! ! !

Member Data Documentation

◆ NV_FX_REQUIREMENT_BUDDY_FRMAE_FORMAT

final String com.meicam.sdk.NvsCustomVideoFx.NV_FX_REQUIREMENT_BUDDY_FRMAE_FORMAT = "buddy-frame-format"
static

Output texture must be sdr texture.

◆ NV_FX_REQUIREMENT_OUTPUT_SIZE_FOLLOW_SINK

final String com.meicam.sdk.NvsCustomVideoFx.NV_FX_REQUIREMENT_OUTPUT_SIZE_FOLLOW_SINK = "output-size-follow-sink"
static

Output size follow sink.

◆ NV_FX_REQUIREMENT_OUTPUT_TEXTURE_COLOR_PRIMARIES

final String com.meicam.sdk.NvsCustomVideoFx.NV_FX_REQUIREMENT_OUTPUT_TEXTURE_COLOR_PRIMARIES = "output-texture-color-primaries"
static

Output texture color primaries.

◆ NV_FX_REQUIREMENT_OUTPUT_TEXTURE_COLOR_TRANSFER

final String com.meicam.sdk.NvsCustomVideoFx.NV_FX_REQUIREMENT_OUTPUT_TEXTURE_COLOR_TRANSFER = "output-texture-color-transfer"
static

Output texture must be sdr texture.

◆ NV_FX_REQUIREMENT_RENDER_WITH_BUFFER

final String com.meicam.sdk.NvsCustomVideoFx.NV_FX_REQUIREMENT_RENDER_WITH_BUFFER = "render-with-buffer"
static

Use buffer to render.

◆ NV_VIDEO_FRAME_FORMAT_RGBA16F

final int com.meicam.sdk.NvsCustomVideoFx.NV_VIDEO_FRAME_FORMAT_RGBA16F = 2
static

The format of the texture is half floating.

◆ NV_VIDEO_FRAME_FORMAT_RGBA8

final int com.meicam.sdk.NvsCustomVideoFx.NV_VIDEO_FRAME_FORMAT_RGBA8 = 1
static

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