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

drivers/video: add support for YUV formats #7754

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

PeterBee97
Copy link
Contributor

Summary

Add definitions for two YUV formats (YUYV and YU12) used by most USB cameras and v4l2loopback.

Impact

Testing

Add YUYV format which is used by most USB Cameras

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Add calc functions for buffer size (yuv420p is 6Byte/4px)

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 87e16c3 into apache:master Dec 2, 2022
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.

2 participants