在
示例:
CVPixelBuffer
对象中,有一个或多个平面。(参考)
我们有方法来获取平面的数量、高度和基地址。
那么平面到底是什么?它是如何在 CVPixelBuffer
中构建的呢?示例:
<CVPixelBuffer 0x1465f8b30 width=1280 height=720 pixelFormat=420v iosurface=0x14a000008 planes=2>
<Plane 0 width=1280 height=720 bytesPerRow=1280>
<Plane 1 width=640 height=360 bytesPerRow=1280>