EnhancementOptions

public final class EnhancementOptions


Properties of a EnhancementSession.

Summary

Public constructors

EnhancementOptions(
    int width,
    int height,
    @EnhancementMode int enhancementMode,
    boolean isTonemappingEnabled,
    boolean isDeblurAndDenoisePhotoEnabled,
    boolean isDeblurAndDenoiseVideoEnabled,
    boolean isUpscalePhotoEnabled,
    boolean isUpscaleVideoEnabled
)

Public methods

final int

Enhancement mode of the session.

final int

Input height of the frames to be processed.

final int

Input width of the frames to be processed.

final boolean

Initial boost mode of the session.

final boolean

Whether deblur and denoise for video is enabled.

final boolean

Whether tonemapping is enabled.

final boolean

Whether upscale for photo is enabled.

final boolean

Whether upscale for video is enabled.

Public constructors

EnhancementOptions

public EnhancementOptions(
    int width,
    int height,
    @EnhancementMode int enhancementMode,
    boolean isTonemappingEnabled,
    boolean isDeblurAndDenoisePhotoEnabled,
    boolean isDeblurAndDenoiseVideoEnabled,
    boolean isUpscalePhotoEnabled,
    boolean isUpscaleVideoEnabled
)

Public methods

getEnhancementMode

public final int getEnhancementMode()

Enhancement mode of the session.

getHeight

public final int getHeight()

Input height of the frames to be processed.

getWidth

public final int getWidth()

Input width of the frames to be processed.

isDeblurAndDenoisePhotoEnabled

public final boolean isDeblurAndDenoisePhotoEnabled()

Initial boost mode of the session.

isDeblurAndDenoiseVideoEnabled

public final boolean isDeblurAndDenoiseVideoEnabled()

Whether deblur and denoise for video is enabled.

isTonemappingEnabled

public final boolean isTonemappingEnabled()

Whether tonemapping is enabled.

isUpscalePhotoEnabled

public final boolean isUpscalePhotoEnabled()

Whether upscale for photo is enabled.

isUpscaleVideoEnabled

public final boolean isUpscaleVideoEnabled()

Whether upscale for video is enabled.