Agora C++ API Reference for All Platforms
agora::rtc::BeautyOptions Struct Reference

#include <IAgoraRtcEngine.h>

Public Types

enum  LIGHTENING_CONTRAST_LEVEL { LIGHTENING_CONTRAST_LOW = 0 , LIGHTENING_CONTRAST_NORMAL , LIGHTENING_CONTRAST_HIGH }
 

Public Member Functions

 BeautyOptions (LIGHTENING_CONTRAST_LEVEL contrastLevel, float lightening, float smoothness, float redness, float sharpness)
 
 BeautyOptions ()
 

Public Attributes

LIGHTENING_CONTRAST_LEVEL lighteningContrastLevel
 
float lighteningLevel
 
float smoothnessLevel
 
float rednessLevel
 
float sharpnessLevel
 

Detailed Description

Image enhancement options.

Member Enumeration Documentation

◆ LIGHTENING_CONTRAST_LEVEL

The contrast level, often used in conjunction with lighteningLevel.

Enumerator
LIGHTENING_CONTRAST_LOW 

0: Low contrast level.

LIGHTENING_CONTRAST_NORMAL 

(Default) Normal contrast level.

LIGHTENING_CONTRAST_HIGH 

High contrast level.

Constructor & Destructor Documentation

◆ BeautyOptions() [1/2]

agora::rtc::BeautyOptions::BeautyOptions ( LIGHTENING_CONTRAST_LEVEL  contrastLevel,
float  lightening,
float  smoothness,
float  redness,
float  sharpness 
)
inline

◆ BeautyOptions() [2/2]

agora::rtc::BeautyOptions::BeautyOptions ( )
inline

Member Data Documentation

◆ lighteningContrastLevel

LIGHTENING_CONTRAST_LEVEL agora::rtc::BeautyOptions::lighteningContrastLevel

The contrast level, often used in conjunction with lighteningLevel. The higher the value, the greater the contrast level. See LIGHTENING_CONTRAST_LEVEL.

◆ lighteningLevel

float agora::rtc::BeautyOptions::lighteningLevel

The brightening level, in the range [0.0,1.0], where 0.0 means the original brightening. The default value is 0.6. The higher the value, the greater the brightening level.

◆ smoothnessLevel

float agora::rtc::BeautyOptions::smoothnessLevel

The smoothness level, in the range [0.0,1.0], where 0.0 means the original smoothness. The default value is 0.5. The higher the value, the greater the smoothness level.

◆ rednessLevel

float agora::rtc::BeautyOptions::rednessLevel

The redness level, in the range [0.0,1.0], where 0.0 means the original redness. The default value is 0.1. The higher the value, the greater the redness level.

◆ sharpnessLevel

float agora::rtc::BeautyOptions::sharpnessLevel

The sharpness level, in the range [0.0,1.0], where 0.0 means the original sharpness. The default value is 0.3. The higher the value, the greater the sharpness level.

Since
v3.6.0