summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-20 10:53:04 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-20 10:53:04 +0000
commitc0dbf2e39f1f1a0c60f4271cab104dffacfc3199 (patch)
treec599ec3280f9684d429f6f3692529b02c7f9ef56 /DOCS
parent987c740e5f8caa41b157d2facc1cf17df9724b96 (diff)
downloadmpv-c0dbf2e39f1f1a0c60f4271cab104dffacfc3199.tar.bz2
mpv-c0dbf2e39f1f1a0c60f4271cab104dffacfc3199.tar.xz
4 and 8 bit formats work with a palette.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13993 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/colorspaces.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/tech/colorspaces.txt b/DOCS/tech/colorspaces.txt
index 6fce18271c..98472025fc 100644
--- a/DOCS/tech/colorspaces.txt
+++ b/DOCS/tech/colorspaces.txt
@@ -120,6 +120,12 @@ most significant .. least significant bit
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