Skip to content

UIImage转CVPixelBufferRef #4

Description

@LittleLittleKang

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions