[x264-devel] avoiding copying x264_picture_t

Jason Garrett-Glaser darkshikari at gmail.com
Mon Aug 30 22:49:59 CEST 2010


On Mon, Aug 30, 2010 at 1:40 PM, Dennis Munsie <dmunsie at gmail.com> wrote:
> that would be less than ideal in my case -- I am currently receiving the
> pictures to encode over shared memory, so if I had to copy the picture into
> x264s buffer, I wouldn't gain anything.  Another strike against me is that
> my pictures are coming in as YV12, not NV12.
> it sounds as though I wouldn't be able to get this working easily, so I'll
> have to live with the overhead of copying.
> Thanks!
> dennis

The passing a buffer is feasible, just harder to implement than x264
giving you a buffer.  The NV12 part is mandatory, as that's how x264
stores its data internally.

Dark Shikari


More information about the x264-devel mailing list