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

Is there some way of converting RGB vasuface to NV12 vasurface in vaapi? #210

Open
lugui2009 opened this issue May 16, 2018 · 3 comments
Open
Assignees

Comments

@lugui2009
Copy link

I have looked through all the funcions of vaapi ,but it seems that there are no such convertion functions . And I don't want to convert through CPU .is there someone who can tell me how to do it through vaapi? Thank you very much.

@xhaihao
Copy link
Contributor

xhaihao commented May 16, 2018

You should use the va_vpp video processing API for CSC, please refer to the comments and example in va_vpp.h. As for RGB support, it depends on the driver you are using. RGB is not supported if you are using https://github.com/intel/intel-vaapi-driver, you should use RGBX instead.

@lugui2009
Copy link
Author

@xhaihao thank you so much .I will go to read the comments and examples.

@FurongZhang
Copy link
Contributor

@lugui2009 Does @xhaihao answer your questions?If yes, can we close this issue? Thanks a lot in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants