aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorIan Armstrong <ian@iarmst.demon.co.uk>2007-03-16 06:40:48 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:44:47 -0400
commit59fc7f52898fb35eb053bc7b54430d81629b5966 (patch)
tree3f2ea4fb8fdbf941ddbf3deab52b634e7900b922 /Documentation
parent31a7c549eda6bf0a38d8fc12c903a8535a9f27ca (diff)
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: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/video4linux/cx2341x/fw-decoder-regs.txt12
-rw-r--r--Documentation/video4linux/cx2341x/fw-osd-api.txt12
2 files changed, 17 insertions, 7 deletions
diff --git a/Documentation/video4linux/cx2341x/fw-decoder-regs.txt b/Documentation/video4linux/cx2341x/fw-decoder-regs.txt
index db2366c634e8..cf52c8f20b9e 100644
--- a/Documentation/video4linux/cx2341x/fw-decoder-regs.txt
+++ b/Documentation/video4linux/cx2341x/fw-decoder-regs.txt
@@ -624,11 +624,11 @@ out what values are bad when it hangs.
6242A00 6242A00
625 bits 0:2 625 bits 0:2
626 osd colour mode 626 osd colour mode
627 000 = 8 bit indexed
627 001 = 16 bit (565) 628 001 = 16 bit (565)
628 010 = 15 bit (555) 629 010 = 15 bit (555)
629 011 = 12 bit (444) 630 011 = 12 bit (444)
630 100 = 32 bit (8888) 631 100 = 32 bit (8888)
631 101 = 8 bit indexed
632 632
633 bits 4:5 633 bits 4:5
634 osd display bpp 634 osd display bpp
@@ -676,9 +676,11 @@ out what values are bad when it hangs.
676 completely transparent. When using 565, 555 or 444 colour modes, the 676 completely transparent. When using 565, 555 or 444 colour modes, the
677 colour key is always 16 bits wide. The colour to key on is set in Reg 2A18. 677 colour key is always 16 bits wide. The colour to key on is set in Reg 2A18.
678 678
679 Local alpha is a per-pixel 256 step transparency, with 0 being transparent 679 Local alpha works differently depending on the colour mode. For 32bpp & 8
680 and 255 being solid. This is only available in 32 bit & 8 bit indexed 680 bit indexed, local alpha is a per-pixel 256 step transparency, with 0 being
681 colour modes. 681 transparent and 255 being solid. For the 16bpp modes 555 & 444, the unused
682 bit(s) act as a simple transparency switch, with 0 being solid & 1 being
683 fully transparent. There is no local alpha support for 16bit 565.
682 684
683 Global alpha is a 256 step transparency that applies to the entire osd, 685 Global alpha is a 256 step transparency that applies to the entire osd,
684 with 0 being transparent & 255 being solid. 686 with 0 being transparent & 255 being solid.
@@ -811,5 +813,5 @@ out what values are bad when it hangs.
811 813
812-------------------------------------------------------------------------------- 814--------------------------------------------------------------------------------
813 815
814v0.3 - 2 February 2007 - Ian Armstrong (ian@iarmst.demon.co.uk) 816v0.4 - 12 March 2007 - Ian Armstrong (ian@iarmst.demon.co.uk)
815 817
diff --git a/Documentation/video4linux/cx2341x/fw-osd-api.txt b/Documentation/video4linux/cx2341x/fw-osd-api.txt
index 0a602f3e601b..89c4601042c1 100644
--- a/Documentation/video4linux/cx2341x/fw-osd-api.txt
+++ b/Documentation/video4linux/cx2341x/fw-osd-api.txt
@@ -21,7 +21,11 @@ Enum 66/0x42
21Description 21Description
22 Query OSD format 22 Query OSD format
23Result[0] 23Result[0]
24 0=8bit index, 4=AlphaRGB 8:8:8:8 24 0=8bit index
25 1=16bit RGB 5:6:5
26 2=16bit ARGB 1:5:5:5
27 3=16bit ARGB 1:4:4:4
28 4=32bit ARGB 8:8:8:8
25 29
26------------------------------------------------------------------------------- 30-------------------------------------------------------------------------------
27 31
@@ -30,7 +34,11 @@ Enum 67/0x43
30Description 34Description
31 Assign pixel format 35 Assign pixel format
32Param[0] 36Param[0]
33 0=8bit index, 4=AlphaRGB 8:8:8:8 37 0=8bit index
38 1=16bit RGB 5:6:5
39 2=16bit ARGB 1:5:5:5
40 3=16bit ARGB 1:4:4:4
41 4=32bit ARGB 8:8:8:8
34 42
35------------------------------------------------------------------------------- 43-------------------------------------------------------------------------------
36 44