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

UIImage转CVPixelBufferRef #4

Open
LittleLittleKang opened this issue May 30, 2019 · 0 comments
Open

UIImage转CVPixelBufferRef #4

LittleLittleKang opened this issue May 30, 2019 · 0 comments

Comments

@LittleLittleKang
Copy link

你好, 我最近在学习你的VR全景视频demo. 在LYOpenGLView中只支持传入CVPixelBufferRef, 如果我的数据格式是UIImage,应当怎样做呢?
我找了很多资料关于UIImage转CVPixelBufferRef的, 但均没能成功转成kCVPixelFormatType_420YpCbCr8BiPlanarFullRange格式的CVPixelBufferRef.
求解, 谢谢大神了!

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

1 participant