AI Effects
On this page

Enum

ZegoEffectsDeviceLevelZegoEffectsMosaicType
ZegoEffectsScaleModeZegoEffectsTextureFormat
ZegoEffectsVideoFrameFormat

ZegoEffectsDeviceLevel

Device performance level enumeration

Details

Device performance level enumeration

Declared in enums/ZegoEffectsScaleMode.java

Properties

EXACTLY_LOW

EXACTLY_LOW
EXACTLY_LOW=(0)

The equipment performance level is extremely low

LOW

LOW
LOW=(1)

The equipment performance level is low

MIDDLE

MIDDLE
MIDDLE=(2)

The equipment performance level

HIGH

HIGH
HIGH=(3)

The high-performance-level equipment

ZegoEffectsMosaicType

Mosaic type.

Details

Mosaic type.

Declared in enums/ZegoEffectsMosaicType.java

Properties

square

square
square=(0)

square.

triangle

triangle
triangle=(1)

trilangle.

hexagon

hexagon
hexagon=(2)

hexagon.

ZegoEffectsScaleMode

Displayed scale mode.

Details

Displayed scale mode.

Declared in enums/ZegoEffectsScaleMode.java

Properties

aspectFit

aspectFit
aspectFit=(0)

The proportional scaling up, there may be black borders.

aspectFill

aspectFill
aspectFill=(1)

The proportional zoom fills the entire View and may be partially cut.

scaleToFill

scaleToFill
scaleToFill=(2)

Fill the entire view, the image may be stretched.

ZegoEffectsTextureFormat

Texture format type.

Details

Texture format type.

Declared in enums/ZegoEffectsTextureFormat.java

Properties

texture_2d

texture_2d
texture_2d=(0)

OpenGL 2d texutre.

texture_oes

texture_oes
texture_oes=(1)

Android OpenGL OES texture.

ZegoEffectsVideoFrameFormat

Video frame data format.

Details

Video frame data format.

Declared in enums/ZegoEffectsVideoFrameFormat.java

Properties

unknown

unknown
unknown=(0)

Unknown format, will take platform default.

bgra32

bgra32
bgra32=(1)

BGRA32 format.

rgba32

rgba32
rgba32=(2)

RGBA32 format.

i420

i420
i420=(3)

I420 format.

yv12

yv12
yv12=(4)

YV12 format.

nv21

nv21
nv21=(5)

NV21 format.

nv12

nv12
nv12=(6)

NV12 format.

Previous

Struct

On this page

Back to top