How Gstreamer stores data (images) in guint

Chuck Crisler ccrisler at mutualink.net
Mon Jun 8 12:26:07 PDT 2015


google.

https://wiki.videolan.org/YUV

On Mon, Jun 8, 2015 at 2:12 PM, Hamdi Rakkez <hamdi.rakez.selotec at gmail.com>
wrote:

> \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
>>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
___________________________________________________
Name
*Chuck Crisler*

Mutualink, Inc.
3 Lan Dr.
Westford, MA  01886

Direct: (978) 490-3006 <%28866%29%20957-5465> Ext: 118

E-Mail: ccrisler at mutualink.net <employeer at mutualink.net>

Web: www.mutualink.net


The information in this email, and subsequent attachments, may contain
confidential information that is
intended solely for the attention and use of the named addressee(s). This
message or any part thereof
must not be disclosed, copied, distributed or retained by any person
without authorization from the addressee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150608/4be265c6/attachment.html>


More information about the gstreamer-devel mailing list