开发者

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 :-)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜