Can someone explain the `strides` parameter of YuvImage?
I'm trying to read a byte array into a YuvImage, but am having trouble understandi开发者_如何学Pythonng what the strides
parameter means. Can anyone help (preferably with an example?) Thanks.
Here is an description of stride for yuv videos: http://msdn.microsoft.com/en-us/library/aa473780(v=vs.85).aspx
Maybe that helps. If you don't know whether the pictures you want to read has such a stride (or which size it is) it might be a problem...I have no idea how common it is or not...
good luck :-)
精彩评论