AI 美颜
当前页

Enum

zego_effects_mosaic_typezego_effects_scale_mode
zego_effects_texture_formatzego_effects_video_frame_format

zego_effects_mosaic_type

马赛克类型。

详情

马赛克类型。

Declared in zego_effects_defines.h

属性

zego_effects_mosaic_type_square

zego_effects_mosaic_type_square
zego_effects_mosaic_type_square=(0)

正方形。

zego_effects_mosaic_type_triangle

zego_effects_mosaic_type_triangle
zego_effects_mosaic_type_triangle=(1)

三角形。

zego_effects_mosaic_type_hexagon

zego_effects_mosaic_type_hexagon
zego_effects_mosaic_type_hexagon=(2)

六边形。

zego_effects_scale_mode

显示的比例模式。

详情

显示的比例具体模式。

Declared in zego_effects_defines.h

属性

zego_effects_scale_mode_aspect_fit

zego_effects_scale_mode_aspect_fit
zego_effects_scale_mode_aspect_fit=(0)

等比缩放,可能有黑边。

zego_effects_scale_mode_aspect_fill

zego_effects_scale_mode_aspect_fill
zego_effects_scale_mode_aspect_fill=(1)

等比缩放填充整个 View,可能有部分被裁减。

zego_effects_scale_mode_scale_to_fill

zego_effects_scale_mode_scale_to_fill
zego_effects_scale_mode_scale_to_fill=(2)

填充整个 View,图像可能被拉伸。

zego_effects_texture_format

视频纹理的格式。

详情

视频纹理的格式。

Declared in zego_effects_defines.h

属性

zego_effects_texture_format_2d

zego_effects_texture_format_2d
zego_effects_texture_format_2d=(0)

OpenGL 2D纹理。

zego_effects_texture_format_oes

zego_effects_texture_format_oes
zego_effects_texture_format_oes=(1)

Android 的 OES 格式纹理。

zego_effects_video_frame_format

视频帧数据格式。

详情

视频帧数据具体格式。

Declared in zego_effects_defines.h

属性

zego_effects_video_frame_format_unknown

zego_effects_video_frame_format_unknown
zego_effects_video_frame_format_unknown=(0)

未知格式,将取平台默认值。

zego_effects_video_frame_format_bgra32

zego_effects_video_frame_format_bgra32
zego_effects_video_frame_format_bgra32=(1)

BGRA32 格式。

zego_effects_video_frame_format_rgba32

zego_effects_video_frame_format_rgba32
zego_effects_video_frame_format_rgba32=(2)

RGBA32 格式。

zego_effects_video_frame_format_i420

zego_effects_video_frame_format_i420
zego_effects_video_frame_format_i420=(3)

I420 格式。

zego_effects_video_frame_format_yv12

zego_effects_video_frame_format_yv12
zego_effects_video_frame_format_yv12=(4)

YV12 格式。

zego_effects_video_frame_format_nv21

zego_effects_video_frame_format_nv21
zego_effects_video_frame_format_nv21=(5)

NV21 格式。

zego_effects_video_frame_format_nv12

zego_effects_video_frame_format_nv12
zego_effects_video_frame_format_nv12=(6)

NV12 格式。

上一篇

Struct

当前页

返回到顶部