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

Camera(Android): Chroma plane(s) shifted #11114

Open
Green-Sky opened this issue Oct 7, 2024 · 0 comments
Open

Camera(Android): Chroma plane(s) shifted #11114

Green-Sky opened this issue Oct 7, 2024 · 0 comments
Milestone

Comments

@Green-Sky
Copy link
Contributor

Green-Sky commented Oct 7, 2024

I took a look at the camera code and there is nothing obvious wrong with it, however we are not taking into account the stride of the planes and the crop rect(?).

The color format is yuv NV12, displayed unchanged, but it was copied (SurfaceDuplicated).
Both front-facing and back-facing cameras are affected, all resolutions I tried too.

It is also not the upload to texture code that is wrong, as converting it to IYUV and sending it over the wire looks the same.

image

@slouken slouken added this to the 3.2.0 milestone Oct 7, 2024
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

No branches or pull requests

2 participants