<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Correction for 1.5*width/height: 1.5 * width * height of course<div><br class=""><blockquote type="cite" class=""><div class="">Am 15.07.2019 um 19:46 schrieb Neil Young <<a href="mailto:foreverneilyoung@googlemail.com" class="">foreverneilyoung@googlemail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I'm referring to this documentation</div><div class=""><br class=""></div><div class=""><a href="https://gstreamer.freedesktop.org/documentation/additional/design/mediatype-video-raw.html?gi-language=c" class="">https://gstreamer.freedesktop.org/documentation/additional/design/mediatype-video-raw.html?gi-language=c</a></div><div class=""><br class=""></div><div class="">Up to now I received namely I420 buffers with a size of 1.5*width/height, as expected default YUV size. </div><div class=""><br class=""></div><div class=""><span style="font-family: TrebuchetMS;" class="">video/x-raw, format=(string)I420, width=(int)720, height=(int)540, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)0/1;</span></div><div class=""><br class=""></div><div class="">Frame buffer size is 583200 byte.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Today for the first time I got this:</div><div class=""><br class=""></div><div class=""><div class="">video/x-raw(memory:VASurface), format=(string)NV12, width=(int)720, height=(int)540, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1</div></div><div class=""><br class=""></div><div class="">with a frame buffer size of 622080 byte, which is cleary more than 1.5 * w * h.</div><div class=""><br class=""></div><div class="">Now I'm wondering, how to understand the values of rstride and pstride in the above document. Could somebody help please?</div><div class=""><br class=""></div><div class="">TIA</div></div></div></blockquote></div><br class=""></body></html>