Agora C++ API Reference for All Platforms
|
Public Types | |
enum | LIGHTENING_CONTRAST_LEVEL { LIGHTENING_CONTRAST_LOW = 0, LIGHTENING_CONTRAST_NORMAL = 1, LIGHTENING_CONTRAST_HIGH = 2 } |
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 |
Image enhancement options.
|
inline |
|
inline |
LIGHTENING_CONTRAST_LEVEL agora::rtc::BeautyOptions::lighteningContrastLevel |
The contrast level, used with the lighteningLevel
parameter. The larger the value, the greater the contrast between light and dark. See LIGHTENING_CONTRAST_LEVEL.
float agora::rtc::BeautyOptions::lighteningLevel |
The brightness level. The value ranges from 0.0 (original) to 1.0. The default value is 0.0. The greater the value, the greater the degree of whitening.
float agora::rtc::BeautyOptions::smoothnessLevel |
The value ranges from 0.0 (original) to 1.0. The default value is 0.0. The greater the value, the greater the degree of skin grinding.
float agora::rtc::BeautyOptions::rednessLevel |
The redness level. The value ranges from 0.0 (original) to 1.0. The default value is 0.0. The larger the value, the greater the rosy degree.
float agora::rtc::BeautyOptions::sharpnessLevel |
The sharpness level. The value ranges from 0.0 (original) to 1.0. The default value is 0.0. The larger the value, the greater the sharpening degree.