FVideoDenoiserOptions
视频降噪选项。
C++
USTRUCT(BlueprintType)
struct FVideoDenoiserOptions
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoDenoiserOptions")
EVIDEO_DENOISER_MODE mode = EVIDEO_DENOISER_MODE::VIDEO_DENOISER_AUTO;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoDenoiserOptions")
EVIDEO_DENOISER_LEVEL level = EVIDEO_DENOISER_LEVEL::VIDEO_DENOISER_LEVEL_HIGH_QUALITY;
FVideoDenoiserOptions(){}
FVideoDenoiserOptions(const agora::rtc::VideoDenoiserOptions & AgoraData){
mode = static_cast<EVIDEO_DENOISER_MODE>(AgoraData.mode);
level = static_cast<EVIDEO_DENOISER_LEVEL>(AgoraData.level);
}
agora::rtc::VideoDenoiserOptions CreateAgoraData() const {
agora::rtc::VideoDenoiserOptions AgoraData;
AgoraData.mode = static_cast<agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_MODE>(mode);
AgoraData.level = static_cast<agora::rtc::VideoDenoiserOptions::VIDEO_DENOISER_LEVEL>(level);
return AgoraData;
}
void FreeAgoraData(agora::rtc::VideoDenoiserOptions& AgoraData) const {
}
};
level
视频降噪等级。详见 EVIDEO_DENOISER_LEVEL。
mode
视频降噪模式。详见 EVIDEO_DENOISER_MODE。