[vlc-devel] [PATCH] videotoolbox: set kCVPixelBufferBytesPerRowAlignmentKey to 16

Jean-Baptiste Kempf jb at videolan.org
Fri Jul 21 16:17:34 CEST 2017


Hello,

On Mon, 10 Jul 2017, at 05:05, Zhao Zhili wrote:
> On Mon, Jul 10, 2017 at 1:39 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:>> __I'm sorry, but this means a bit more justification, in the commit log, and probably in the code.> 
> 1. Set  kCVPixelBufferBytesPerRowAlignmentKey to 16 makes memory usage smaller on iOS devices.> 2. I didn't find any side effect of this setting.
> 3. I asked on IRC and cannot figure out why set align to i_video_width * 2.
OK. I think it is there since the beginning of this module.

Maybe Felix knows.

--
Jean-Baptiste Kempf -  President
+33 672 704 734
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170721/d9f4dfe6/attachment.html>


More information about the vlc-devel mailing list