NV12 input for encoder

305 views
Skip to first unread message

Alexander Voronov

unread,
Jul 22, 2013, 1:24:43 PM7/22/13
to webm-d...@webmproject.org
Hello,

I work with hardware decoder which provides output in NV12 format ( http://www.fourcc.org/yuv.php#NV12 ). To avoid extra memory copy for conversion from NV12 to I420 I added support of NV12 into libvpx, conversion is performed with borders extension. I attached a small patch implementing these changes. The most of changes are in extend.c and vp9_extend.c and since encoder works only with extended planes, other files with encoder logic are not affected. To test this functionality support of NV12 was added into vpxenc, and there is another patch for this.

I would like to ask, is it possible to add this functionality to the main repo?
0001-Support-of-NV12-input-for-libvpx-encoder.patch
0002-vpxenc-supports-nv12-input.patch

Johann Koenig

unread,
Jul 25, 2013, 3:54:54 PM7/25/13
to webm-d...@webmproject.org
On Mon, Jul 22, 2013 at 10:24 AM, Alexander Voronov <ru.x...@gmail.com> wrote:
> I would like to ask, is it possible to add this functionality to the main
> repo?

That's very likely. I haven't had a chance to dig through the patches
yet but if you push them to gerrit:
http://www.webmproject.org/code/contribute/submitting-patches/
then I will be happy to take a look.
Reply all
Reply to author
Forward
0 new messages