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