This adds 10-bit HDR video as an option in quicksettings:
Currently this does not take into account per-lens capabilities, so on devices that do not support HDR on one lens, you may not be able to turn on HDR.
ImageCapture is currently disabled when HDR video is enabled since most devices do not support SDR ImageCapture + HDR video. Currently trying to take a capture will simply fail, but new UI constraints will need to be added to better support this in a future PR.
When the device's screen supports an HDR window mode, it will be switched to HDR mode during preview to better expose a WYSIWYG effect.
KI: Single-stream mode will produce strange colors. This will be fixed when #151 is merged.
Individual changes in original PR:
HDR QuickSetting UI
Hook up HDR QuickSetting to CameraXCameraUseCase
Propagate Window ColorMode from Viewfinder to Activity
This adds 10-bit HDR video as an option in quicksettings:
Currently this does not take into account per-lens capabilities, so on devices that do not support HDR on one lens, you may not be able to turn on HDR.
ImageCapture is currently disabled when HDR video is enabled since most devices do not support SDR ImageCapture + HDR video. Currently trying to take a capture will simply fail, but new UI constraints will need to be added to better support this in a future PR.
When the device's screen supports an HDR window mode, it will be switched to HDR mode during preview to better expose a WYSIWYG effect.
KI: Single-stream mode will produce strange colors. This will be fixed when #151 is merged.
Individual changes in original PR: