Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Split videoHdr and photoHdr into two settings #2161

Merged
merged 8 commits into from
Nov 15, 2023
Merged

Conversation

mrousavy
Copy link
Owner

What

Splits hdr into two separate props:

  • videoHdr: Enables or disables HDR Video Streaming for Preview, Video and Frame Processor via a 10-bit wide-color pixel format.
  • photoHdr: Enables or disables HDR Photo Capture via a double capture routine that combines low- and high exposure photos.

The hdr prop will be removed, and CameraFormat.photoHDR/CameraFormat.videoHDR will be renamed to camel case ...Hdr.

Changes

Tested on

Related issues

Copy link

vercel bot commented Nov 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2023 5:34pm

@mrousavy mrousavy marked this pull request as ready for review November 15, 2023 17:33
@mrousavy mrousavy merged commit c5dfb6c into main Nov 15, 2023
13 checks passed
@mrousavy mrousavy deleted the feat/split-hdr branch November 15, 2023 17:33
isaaccolson pushed a commit to isaaccolson/deliveries-mobile that referenced this pull request Oct 30, 2024
* feat: Split `videoHdr` and `photoHdr` into two settings

* fix: Rename all `hdr`

* fix: Fix HDR on Android

* Update CameraDeviceDetails.kt

* Update CameraDeviceDetails.kt

* fix: Correctly configure `pixelFormat` AFTER `format`

* Update CameraSession+Configuration.swift

* fix: Also after format changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant