[Cogl] [PATCH 1/3] cogl-gst: video-sink: add NV12 support

Lionel Landwerlin llandwerlin at gmail.com
Wed Jan 29 02:10:29 PST 2014


This patch looks good to me.

-
Lionel

On 21/01/14 17:33, Neil Roberts wrote:
> 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
> ---
>   cogl-gst/cogl-gst-video-sink.c | 117 ++++++++++++++++++++++++++++++++++++++---
>   1 file changed, 111 insertions(+), 6 deletions(-)
>



More information about the Cogl mailing list