CVOpenGLESTextureCacheCreateTextureFromImage returns error 6683

前端 未结 3 1012
情深已故
情深已故 2020-12-15 12:58

I am currently attempting to draw an image in openGL using YUV420 format (bi-planar). I receive raw data, and am attempting to parse it into a CVPixelBuffer, and then pass

3条回答
  •  长情又很酷
    2020-12-15 13:36

    I don't try the following approach on YUV, but it works on RGB case

    https://developer.apple.com/library/ios/qa/qa1781/_index.html

    add __bridge before CFDictionaryRef if ARC enabled.

提交回复
热议问题