ImageCapturePixelHDRPlus

public class ImageCapturePixelHDRPlus


Workaround that handles turning on/off HDR+ on Pixel devices.

Summary

Public methods

@NonNull void

Turns on or turns off HDR+ on Pixel devices depending on the image capture use case's capture mode.

Public methods

toggleHDRPlus

@NonNull
public void toggleHDRPlus(
    @ImageCapture.CaptureMode @NonNull int captureMode,
    @NonNull Camera2ImplConfig.Builder builder
)

Turns on or turns off HDR+ on Pixel devices depending on the image capture use case's capture mode. When the mode is CAPTURE_MODE_MINIMIZE_LATENCY, HDR+ is turned off by disabling ZSL. When the mode is CAPTURE_MODE_MAXIMIZE_QUALITY, HDR+ is turned on by enabling ZSL.