开发者

Writing YUV data into a CGContext

开发者 https://www.devze.com 2022-12-08 05:20 出处:网络
How can I write a YUV frame data i开发者_开发知识库nto a CGContext?Convert it to RGB, then create a CGImage with it, then draw that into the context.

How can I write a YUV frame data i开发者_开发知识库nto a CGContext?


Convert it to RGB, then create a CGImage with it, then draw that into the context.

Alternatively, create a CGColorSpace that maps YUV into RGB, then create a CGImage with it, then draw that into the context. (I have no idea whether this is possible, but you may want to look into it.)

0

精彩评论

暂无评论...
验证码 换一张
取 消