GNOME Bugzilla – Bug 667220
dvdspu: add NV12 support
Last modified: 2012-10-02 17:37:15 UTC
add support for NV12 format, to avoid unnecessary conversion NV12 -> I420 before dvdspu, and back to NV12 after, in cases where display and decoder are natively using NV12. Since NV12 is similar to I420, it is fairly trivial to make dvdspu support both, and since NV12 seems common w/ hw accel decoders, seems like a good thing to support. patch attached
Created attachment 204527 [details] [review] dvdspu: add NV12 support
I would prefer to see support for the video blend API in GstVideoOverlayComposition instead, which should cover even more formats (has other overheads of course, but I'm not sure if it matters in practice.)
Thanks, applied to 0.10: commit 61bebbd5144d06534491ac6f0746d6a4e7db07f7 Author: Rob Clark <rob@ti.com> Date: Mon Dec 26 22:04:04 2011 -0600 dvdspu: add NV12 support https://bugzilla.gnome.org/show_bug.cgi?id=667220 and ported to 1.0, where it was trivially easy to add YV12 too: commit 4dc648d3430b67592cf1413ccef415f70889d71e Author: Rob Clark <rob@ti.com> Date: Mon Dec 26 22:04:04 2011 -0600 dvdspu: add YV12 and NV12 support https://bugzilla.gnome.org/show_bug.cgi?id=667220 Conflicts: gst/dvdspu/gstdvdspu.c gst/dvdspu/gstdvdspu.h gst/dvdspu/gstspu-pgs.c gst/dvdspu/gstspu-vobsub-render.c