google / jetpack-camera-app

Apache License 2.0
116 stars 25 forks source link

Support Ultra HDR image capture #206

Closed heytsai closed 1 month ago

heytsai commented 1 month ago

This makes Ultra HDR image capture became available when HDR is enabled in quick settings if the device supports Ultra HDR:

VideoCapture is currently disabled when Ultra HDR is enabled for following reasons:

  1. For single stream mode, CameraEffect does not support HDR related processing.
  2. For multiple stream mode, "Preview + Ultra HDR ImageCapture + VideoCapture" will trigger. StreamSharing, which makes it not exactly multiple-stream.

Also for the above reasons, Ultra HDR and Single Stream Mode features are set to be mutually exclusive. An error message will be shown when trying to enable both of them:

heytsai commented 1 month ago

Also, displays HDR icon text in QuickSettings as HDR instead of HLG10.

heytsai commented 1 month ago

Thank you Trevor!

IIRC, lab has devices that support Ultra HDR, but you would need some setups and also connect to the device. I will share the information in chat in case you need.

heytsai commented 1 month ago

Updated for fixing merge conflicts.

heytsai commented 1 month ago

Sorry, found code and string resource that are not used, so I add an update to remove them.