From: Wim Taymans Date: Thu, 13 Sep 2012 10:00:08 +0000 (+0200) Subject: docs: fix formats a little X-Git-Tag: RELEASE-0.11.94~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76c127a0b9c49d57398739de4b525387f1aa0ad8;p=platform%2Fupstream%2Fgstreamer.git docs: fix formats a little --- diff --git a/docs/pwg/advanced-types.xml b/docs/pwg/advanced-types.xml index 810ce7a..a5b25b5 100644 --- a/docs/pwg/advanced-types.xml +++ b/docs/pwg/advanced-types.xml @@ -259,76 +259,18 @@ plugin_init (GstPlugin *plugin) - audio/x-raw-int - - Unstructured and uncompressed raw fixed-integer audio data. - - endianness - integer - G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234) + audio/x-raw - The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234) - means little-endian (byte-order is least - significant byte first). The value G_BIG_ENDIAN (4321) - means big-endian (byte order is most - significant byte first). + Unstructured and uncompressed raw audio data. - - - signed - boolean - TRUE or FALSE + format + string - Whether the values of the integer samples are signed or not. - Signed samples use one bit to indicate sign (negative or - positive) of the value. Unsigned samples are always positive. + S8 U8 S16LE S16BE U16LE U16BE S24_32LE S24_32BE U24_32LE U24_32BE S32LE S32BE U32LE U32BE + S24LE S24BE U24LE U24BE S20LE S20BE U20LE U20BE S18LE S18BE U18LE U18BE F32LE F32BE F64LE F64BE - - - width - integer - greater than 0 - Number of bits allocated per sample. - - - - depth - integer - greater than 0 - - The number of bits used per sample. This must be less than or - equal to the width: If the depth is less than the width, the - low bits are assumed to be the ones used. For example, a width - of 32 and a depth of 24 means that each sample is stored in a - 32 bit word, but only the low 24 bits are actually used. - - - - - - - audio/x-raw-float - - Unstructured and uncompressed raw floating-point audio data. - - endianness - integer - G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234) - - The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234) - means little-endian (byte-order is least - significant byte first). The value G_BIG_ENDIAN (4321) - means big-endian (byte order is most - significant byte first). - - - - width - integer - greater than 0 - - The amount of bits used and allocated per sample. + The format of the sample data. @@ -753,13 +695,15 @@ plugin_init (GstPlugin *plugin) - video/x-raw-yuv - YUV (or Y'Cb'Cr) video format. + video/x-raw + Unstructured and uncompressed raw video data. format - fourcc + string - YUY2, YVYU, UYVY, Y41P, IYU2, Y42B, YV12, I420, Y41B, YUV9, YVU9, - Y800 + I420 YV12 YUY2 UYVY AYUV RGBx BGRx xRGB xBGR RGBA BGRA ARGB ABGR RGB BGR Y41B Y42B + YVYU Y444 v210 v216 NV12 NV21 GRAY8 GRAY16_BE GRAY16_LE + v308 RGB16 BGR16 RGB15 BGR15 UYVP A420 RGB8P YUV9 YVU9 + IYU1 ARGB64 AYUV64 r210 I420_10LE I420_10BE I422_10LE I422_10BE The layout of the video. See - - video/x-raw-rgb - Red-Green-Blue (RGB) video. - bpp - integer - greater than 0 - - The number of bits allocated per pixel. This is usually 16, 24 - or 32. - - - - - depth - integer - greater than 0 - - The number of bits used per pixel by the R/G/B components. This - is usually 15, 16 or 24. - - - - - endianness - integer - G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234) - - The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234) - means little-endian (byte-order is least - significant byte first). The value G_BIG_ENDIAN (4321) - means big-endian (byte order is most - significant byte first). For 24/32bpp, this should always - be big endian because the byte order can be given in both. - - - - - red_mask, green_mask and blue_mask - integer - any - - The masks that cover all the bits used by each of the samples. - The mask should be given in the endianness specified above. This - means that for 24/32bpp, the masks might be opposite to host byte - order (if you are working on little-endian computers). - - - diff --git a/docs/pwg/intro-basics.xml b/docs/pwg/intro-basics.xml index c52eee6..9b05369 100644 --- a/docs/pwg/intro-basics.xml +++ b/docs/pwg/intro-basics.xml @@ -322,49 +322,18 @@ - audio/x-raw-int - - Unstructured and uncompressed raw integer audio data. - - endianness - integer - G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234) - - The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234) - means little-endian (byte-order is least - significant byte first). The value G_BIG_ENDIAN (4321) - means big-endian (byte order is most - significant byte first). - - - - signed - boolean - TRUE or FALSE + audio/x-raw - Whether the values of the integer samples are signed or not. - Signed samples use one bit to indicate sign (negative or - positive) of the value. Unsigned samples are always positive. + Unstructured and uncompressed raw integer audio data. - - - width - integer - greater than 0 + format + string - Number of bits allocated per sample. + S8 U8 S16LE S16BE U16LE U16BE S24_32LE S24_32BE U24_32LE U24_32BE S32LE S32BE U32LE U32BE + S24LE S24BE U24LE U24BE S20LE S20BE U20LE U20BE S18LE S18BE U18LE U18BE F32LE F32BE F64LE F64BE - - - depth - integer - greater than 0 - The number of bits used per sample. This must be less than or - equal to the width: If the depth is less than the width, the - low bits are assumed to be the ones used. For example, a width - of 32 and a depth of 24 means that each sample is stored in a - 32 bit word, but only the low 24 bits are actually used. + The format of the sample data.