Skip to content

fix: Change 'yuv' from -full to -video range#4032

Open
mrousavy wants to merge 1 commit into
mainfrom
fix/default-420v
Open

fix: Change 'yuv' from -full to -video range#4032
mrousavy wants to merge 1 commit into
mainfrom
fix/default-420v

Conversation

@mrousavy

Copy link
Copy Markdown
Owner

Based on the discussion with @wcandillon in #4022, I discovered that the de-facto default on iOS is actually kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, not kCVPixelFormatType_420YpCbCr8BiPlanarFullRange.

So in this PR we change that - if you pass 'yuv' to your FrameOutput it now represents video range, not full range 8-bit YUV 4:2:0 buffers.

Technically a breaking change, although pretty much all libraries handle both full and video range. So I doubt anybody will notice anything.

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-vision-camera-docs Ready Ready Preview, Comment Jun 22, 2026 1:20pm

Request Review

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