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

【Question】What is ArImage YUV Format exactly? #561

Closed
wuzeqin opened this issue Sep 12, 2018 · 3 comments
Closed

【Question】What is ArImage YUV Format exactly? #561

wuzeqin opened this issue Sep 12, 2018 · 3 comments
Labels

Comments

@wuzeqin
Copy link

wuzeqin commented Sep 12, 2018

Thank you very much for your help 👍 . I learn so much. Another problem occur to me which I get AImage (use this method - ArImage_getNdkImage)from ArImage , and get AImage Data , such as format is YUV_420_888 , plane is 3 and so on. I serched many and I found the ArImage no NV12, no NV21, no I420. I guess it is YUV-420-PackedSemiPlanar according to the log
45370818-9a115700-b61b-11e8-9142-040d45b913f1

. I know the first plane is Y data , the second is UV interleaved , my question is that what the third plane is . How can I change this to NV12 or NV 21 or I420.

@wuzeqin
Copy link
Author

wuzeqin commented Sep 12, 2018

hi , inio, thank you once again. I want to ask for your help, when anthoer wired problem happen to me. In Galaxy S9 or HUAWEI Honor 10 ,when I create ARSession on the second time,it crashs.
45371572-8109a580-b61d-11e8-8f2c-c1d98919d040

Please give me some suggestion , I have no idea to deal with it. Thank you @inio

@inio
Copy link

inio commented Sep 12, 2018

To your first question: The interleaved U and V planes are described as two planes with identical row and pixel strides and base addresses off by 1 byte.

For your second question: We've seen this a couple times. I've filed #563 to track it.

@inio
Copy link

inio commented Sep 24, 2018

Closing for inactivity.

@inio inio closed this as completed Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants