Skip to content

Fix some NV12 and NV21 format related issues#1399

Merged
davidplowman merged 1 commit into
nextfrom
nv12-fix
Jul 1, 2026
Merged

Fix some NV12 and NV21 format related issues#1399
davidplowman merged 1 commit into
nextfrom
nv12-fix

Conversation

@davidplowman

Copy link
Copy Markdown
Collaborator

Fix an NV12 reshape/slice bug, and add some NV21 support - though still seems colour-swapped in libcamera.

The array reshaping for NV12 was incorrect.

Some extra support is added for NV21, although there still appear to
be some libcamera-internal problems with it, so it isn't recommended
for now.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
@davidplowman
davidplowman merged commit dbfdd19 into next Jul 1, 2026
3 checks passed
@davidplowman
davidplowman deleted the nv12-fix branch July 1, 2026 16:11
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