public class VideoDenoiserOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
denoiserLevel
The video noise reduction level:
-
VIDEO_DENOISER_LEVEL_FAST(0) : (Default) Promotes video quality during video noise reduction. |
int |
denoiserMode
The video noise reduction mode:
-
VIDEO_DENOISER_AUTO(0) :
(Default) Automatic mode. |
static int |
VIDEO_DENOISER_AUTO
`0`: (Default) Automatic mode.
|
static int |
VIDEO_DENOISER_LEVEL_FAST
`1`: Promotes reducing performance consumption during video noise reduction.
|
static int |
VIDEO_DENOISER_LEVEL_HIGH_QUALITY
`0`: (Default) Promotes video quality during video noise reduction.
|
static int |
VIDEO_DENOISER_LEVEL_STRENGTH
`2`: Enhanced video noise reduction.
|
static int |
VIDEO_DENOISER_MANUAL
`1`: Manual mode.
|
Constructor and Description |
---|
VideoDenoiserOptions() |
VideoDenoiserOptions(int mode,
int level) |
public static final int VIDEO_DENOISER_AUTO
public static final int VIDEO_DENOISER_MANUAL
public static final int VIDEO_DENOISER_LEVEL_HIGH_QUALITY
public static final int VIDEO_DENOISER_LEVEL_FAST
public static final int VIDEO_DENOISER_LEVEL_STRENGTH
public int denoiserMode
VIDEO_DENOISER_AUTO(0)
:
(Default) Automatic mode. The SDK automatically enables or disables the video noise reduction
feature according to the ambient light.
- VIDEO_DENOISER_MANUAL(1)
: Manual mode. Users need to enable or disable the video noise
reduction feature manually.public int denoiserLevel
VIDEO_DENOISER_LEVEL_FAST(0)
: (Default) Promotes video quality during video noise reduction.
`HIGH_QUALITY` balances performance consumption and video noise reduction quality. The
performance consumption is moderate, the video noise reduction speed is moderate, and the
overall video quality is optimal.
- VIDEO_DENOISER_LEVEL_HIGH_QUALITY(1)
: Promotes reducing performance consumption during video
noise reduction. `FAST` prioritizes reducing performance consumption over video noise reduction
quality. The performance consumption is lower, and the video noise reduction speed is faster.
To avoid a noticeable shadowing effect (shadows trailing behind moving objects) in the
processed video, Agora recommends that you use `FAST` when the camera is fixed.
- VIDEO_DENOISER_LEVEL_STRENGTH(2)
: Enhanced video noise reduction. `STRENGTH` prioritizes video
noise reduction quality over reducing performance consumption. The performance consumption is
higher, the video noise reduction speed is slower, and the video noise reduction quality is
better. If `HIGH_QUALITY` is not enough for your video noise reduction needs, you can use
`STRENGTH`.