diff options
Diffstat (limited to 'Documentation/video4linux/cx2341x')
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-decoder-regs.txt | 12 | ||||
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-osd-api.txt | 12 |
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. | |||
624 | 2A00 | 624 | 2A00 |
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 | ||
814 | v0.3 - 2 February 2007 - Ian Armstrong (ian@iarmst.demon.co.uk) | 816 | v0.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 | |||
21 | Description | 21 | Description |
22 | Query OSD format | 22 | Query OSD format |
23 | Result[0] | 23 | Result[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 | |||
30 | Description | 34 | Description |
31 | Assign pixel format | 35 | Assign pixel format |
32 | Param[0] | 36 | Param[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 | ||