mutter/cogl-gst
Neil Roberts 23044a1047 cogl-gst: video-sink: add NV12 support
This adds a cogl-gst renderer to decode NV12 data. NV12 is split into
two buffers, one for the luma component and another for the two
chrominance components at a quarter of the resolution. The second
buffer is uploaded to a two-component RG texture. RG-component
textures are only supported if COGL_FEATURE_ID_TEXTURE_RG is
advertised by Cogl so the NV12 cap is also only advertised when that
is available.

Based on a patch by Lionel Landwerlin which was in turn based on a
patch from Edward Hervey and Matthieu Bouron for Clutter-Gst:

https://bugzilla.gnome.org/show_bug.cgi?id=712832

Reviewed-by: Robert Bragg <robert@linux.intel.com>
Reviewed-by: Lionel Landwerlin <llandwerlin@gmail.com>
(cherry picked from commit 2c619216964b46aab313be3ef1c405dfc720d258)
2014-01-31 12:42:03 +00:00
..
cogl-gst-1.0.pc.in Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00
cogl-gst-2.0-experimental.pc.in Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00
cogl-gst-plugin.c cogl-gst-plugin: Use a real version number and web address 2013-06-21 19:01:35 +01:00
cogl-gst-video-sink.c cogl-gst: video-sink: add NV12 support 2014-01-31 12:42:03 +00:00
cogl-gst-video-sink.h cogl-gst-video-sink: Premultiply the colors coming from the video 2014-01-31 12:42:03 +00:00
cogl-gst.h Include CoglGst 2013-06-21 18:57:24 +01:00
cogl-gst.pc.in cogl-gst: pedantic typo fix in pkg-config description 2013-06-21 18:59:49 +01:00
Makefile.am Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00