How Gstreamer stores data (images) in guint

Hamdi Rakkez hamdi.rakez.selotec at gmail.com
Mon Jun 8 11:12:52 PDT 2015


\o/

Very interesting answer, but now I want to know the difference between :
Planar, packet, semi-planar and complex ...

Thanks

On Mon, Jun 8, 2015 at 6:59 PM, Tim Müller <tim at centricular.com> wrote:

> On Mon, 2015-06-08 at 18:39 +0100, Hamdi Rakkez wrote:
>
> > Thanks but not literary as ordered in memory but how Gstreamer stores
> > it in data containers such guint8 or others.
>
> GStreamer can store image data in a number of different ways: different
> color spaces (RGB, YUV, ...), pixel layouts (I420, YUY2, RGBx, xRGB,
> RGB, BGR, etc.). How the data is layed out in memory (guint8) depends on
> the pixel format and whether it is planar or packed or semi-planar or
> complex, or ...
>
> In the case of format=RGB it would be:
>
>  RGBRGBRGB...
>
> In the case of format=RGBx it would be:
>
>  RGBxRGBxRGBx...
>
> "Stored in guint8" = as ordered in memory really.
>
>  Cheers
>   -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150608/521ed9a0/attachment.html>


More information about the gstreamer-devel mailing list