Commit 59fc7f52 authored by Ian Armstrong's avatar Ian Armstrong Committed by Mauro Carvalho Chehab

V4L/DVB (5437): Update cx23415 documentation

Adds more osd mode switching information.
Corrects some information regarding mode selection & local alpha operation for
16 bit modes.
Signed-off-by: default avatarIan Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 31a7c549
...@@ -624,11 +624,11 @@ out what values are bad when it hangs. ...@@ -624,11 +624,11 @@ out what values are bad when it hangs.
2A00 2A00
bits 0:2 bits 0:2
osd colour mode osd colour mode
000 = 8 bit indexed
001 = 16 bit (565) 001 = 16 bit (565)
010 = 15 bit (555) 010 = 15 bit (555)
011 = 12 bit (444) 011 = 12 bit (444)
100 = 32 bit (8888) 100 = 32 bit (8888)
101 = 8 bit indexed
bits 4:5 bits 4:5
osd display bpp osd display bpp
...@@ -676,9 +676,11 @@ out what values are bad when it hangs. ...@@ -676,9 +676,11 @@ out what values are bad when it hangs.
completely transparent. When using 565, 555 or 444 colour modes, the completely transparent. When using 565, 555 or 444 colour modes, the
colour key is always 16 bits wide. The colour to key on is set in Reg 2A18. colour key is always 16 bits wide. The colour to key on is set in Reg 2A18.
Local alpha is a per-pixel 256 step transparency, with 0 being transparent Local alpha works differently depending on the colour mode. For 32bpp & 8
and 255 being solid. This is only available in 32 bit & 8 bit indexed bit indexed, local alpha is a per-pixel 256 step transparency, with 0 being
colour modes. transparent and 255 being solid. For the 16bpp modes 555 & 444, the unused
bit(s) act as a simple transparency switch, with 0 being solid & 1 being
fully transparent. There is no local alpha support for 16bit 565.
Global alpha is a 256 step transparency that applies to the entire osd, Global alpha is a 256 step transparency that applies to the entire osd,
with 0 being transparent & 255 being solid. with 0 being transparent & 255 being solid.
...@@ -811,5 +813,5 @@ out what values are bad when it hangs. ...@@ -811,5 +813,5 @@ out what values are bad when it hangs.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
v0.3 - 2 February 2007 - Ian Armstrong (ian@iarmst.demon.co.uk) v0.4 - 12 March 2007 - Ian Armstrong (ian@iarmst.demon.co.uk)
...@@ -21,7 +21,11 @@ Enum 66/0x42 ...@@ -21,7 +21,11 @@ Enum 66/0x42
Description Description
Query OSD format Query OSD format
Result[0] Result[0]
0=8bit index, 4=AlphaRGB 8:8:8:8 0=8bit index
1=16bit RGB 5:6:5
2=16bit ARGB 1:5:5:5
3=16bit ARGB 1:4:4:4
4=32bit ARGB 8:8:8:8
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
...@@ -30,7 +34,11 @@ Enum 67/0x43 ...@@ -30,7 +34,11 @@ Enum 67/0x43
Description Description
Assign pixel format Assign pixel format
Param[0] Param[0]
0=8bit index, 4=AlphaRGB 8:8:8:8 0=8bit index
1=16bit RGB 5:6:5
2=16bit ARGB 1:5:5:5
3=16bit ARGB 1:4:4:4
4=32bit ARGB 8:8:8:8
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment