changeset 13992:702acff80c44

4 and 8 bit formats work with a palette.
author reimar
date Sat, 20 Nov 2004 10:53:04 +0000
parents 28a6f0847c58
children 9e331a5299b2
files DOCS/tech/colorspaces.txt
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/colorspaces.txt	Sat Nov 20 10:51:13 2004 +0000
+++ b/DOCS/tech/colorspaces.txt	Sat Nov 20 10:53:04 2004 +0000
@@ -120,6 +120,12 @@
 5B6G5R                  IMGFMT_RGB16
 1A5R5G5B                IMGFMT_BGR15
 1A5B5G5R                IMGFMT_RGB15
+
+The following are palettized formats, the palette is in the second plane.
+When they come out of the swscaler (this can be different when they
+come from a codec!), their palette is organized in such a way,
+that you actually get:
+
 3R3G2B                  IMGFMT_BGR8
 2B3G3R                  IMGFMT_RGB8
 1R2G1B                  IMGFMT_BGR4_CHAR