docs: fix constants for G_LITTLE_ENDIAN and G_BIG_ENDIAN

We got the constants for G_LITTLE_ENDIAN and G_BIG_ENDIAN the wrong way around in some docs (fixes: #572392). Also mention
G_BYTE_ORDER in the audio types section.
This commit is contained in:
Tim-Philipp Müller 2009-02-19 11:18:07 +00:00
parent 1005fb0971
commit acb98b0938
3 changed files with 14 additions and 14 deletions

View file

@ -265,11 +265,11 @@ plugin_init (GstPlugin *plugin)
</entry> </entry>
<entry>endianness</entry> <entry>endianness</entry>
<entry>integer</entry> <entry>integer</entry>
<entry>G_BIG_ENDIAN (1234) or G_LITTLE_ENDIAN (4321)</entry> <entry>G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234)</entry>
<entry> <entry>
The order of bytes in a sample. The value G_LITTLE_ENDIAN (4321) The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234)
means <quote>little-endian</quote> (byte-order is <quote>least means <quote>little-endian</quote> (byte-order is <quote>least
significant byte first</quote>). The value G_BIG_ENDIAN (1234) significant byte first</quote>). The value G_BIG_ENDIAN (4321)
means <quote>big-endian</quote> (byte order is <quote>most means <quote>big-endian</quote> (byte order is <quote>most
significant byte first</quote>). significant byte first</quote>).
</entry> </entry>
@ -314,11 +314,11 @@ plugin_init (GstPlugin *plugin)
</entry> </entry>
<entry>endianness</entry> <entry>endianness</entry>
<entry>integer</entry> <entry>integer</entry>
<entry>G_BIG_ENDIAN (1234) or G_LITTLE_ENDIAN (4321)</entry> <entry>G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234)</entry>
<entry> <entry>
The order of bytes in a sample. The value G_LITTLE_ENDIAN (4321) The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234)
means <quote>little-endian</quote> (byte-order is <quote>least means <quote>little-endian</quote> (byte-order is <quote>least
significant byte first</quote>). The value G_BIG_ENDIAN (1234) significant byte first</quote>). The value G_BIG_ENDIAN (4321)
means <quote>big-endian</quote> (byte order is <quote>most means <quote>big-endian</quote> (byte order is <quote>most
significant byte first</quote>). significant byte first</quote>).
</entry> </entry>
@ -797,11 +797,11 @@ plugin_init (GstPlugin *plugin)
<row> <row>
<entry>endianness</entry> <entry>endianness</entry>
<entry>integer</entry> <entry>integer</entry>
<entry>G_BIG_ENDIAN (1234) or G_LITTLE_ENDIAN (4321)</entry> <entry>G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234)</entry>
<entry> <entry>
The order of bytes in a sample. The value G_LITTLE_ENDIAN (4321) The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234)
means <quote>little-endian</quote> (byte-order is <quote>least means <quote>little-endian</quote> (byte-order is <quote>least
significant byte first</quote>). The value G_BIG_ENDIAN (1234) significant byte first</quote>). The value G_BIG_ENDIAN (4321)
means <quote>big-endian</quote> (byte order is <quote>most means <quote>big-endian</quote> (byte order is <quote>most
significant byte first</quote>). For 24/32bpp, this should always significant byte first</quote>). For 24/32bpp, this should always
be big endian because the byte order can be given in both. be big endian because the byte order can be given in both.

View file

@ -328,11 +328,11 @@
</entry> </entry>
<entry>endianness</entry> <entry>endianness</entry>
<entry>integer</entry> <entry>integer</entry>
<entry>G_BIG_ENDIAN (1234) or G_LITTLE_ENDIAN (4321)</entry> <entry>G_BIG_ENDIAN (4321) or G_LITTLE_ENDIAN (1234)</entry>
<entry> <entry>
The order of bytes in a sample. The value G_LITTLE_ENDIAN (4321) The order of bytes in a sample. The value G_LITTLE_ENDIAN (1234)
means <quote>little-endian</quote> (byte-order is <quote>least means <quote>little-endian</quote> (byte-order is <quote>least
significant byte first</quote>). The value G_BIG_ENDIAN (1234) significant byte first</quote>). The value G_BIG_ENDIAN (4321)
means <quote>big-endian</quote> (byte order is <quote>most means <quote>big-endian</quote> (byte order is <quote>most
significant byte first</quote>). significant byte first</quote>).
</entry> </entry>

View file

@ -538,7 +538,7 @@ height = 1 - MAXINT (INT)
2 - Raw video (RGB) 2 - Raw video (RGB)
MIME type: video/x-raw-rgb MIME type: video/x-raw-rgb
Properties: endianness = 1234/4321 (INT) <- use G_LITTLE/BIG_ENDIAN Properties: endianness = 1234/4321 (INT) <- use G_LITTLE_ENDIAN/G_BIG_ENDIAN
depth = 15/16/24 (INT, color depth) depth = 15/16/24 (INT, color depth)
bpp = 16/24/32 (INT, bits used to store each pixel) bpp = 16/24/32 (INT, bits used to store each pixel)
red_mask = bitmask (0x..) (INT) red_mask = bitmask (0x..) (INT)
@ -585,7 +585,7 @@ format-specific properties:
rate = 1 - MAXINT (INT, sampling rate) rate = 1 - MAXINT (INT, sampling rate)
channels = 1 - MAXINT (INT, number of audio channels) channels = 1 - MAXINT (INT, number of audio channels)
endianness = 1234/4321 (INT) <- use G_BIG/LITTLE_ENDIAN endianness = 1234/4321 (INT) <- use G_LITTLE_ENDIAN/G_BIG_ENDIAN/G_BYTE_ORDER
3 - Raw audio (integer format) 3 - Raw audio (integer format)
MIME type: audio/x-raw-int MIME type: audio/x-raw-int