Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ian Armstrong and committed by
Mauro Carvalho Chehab
59fc7f52 31a7c549

+17 -7
+7 -5
Documentation/video4linux/cx2341x/fw-decoder-regs.txt
··· 624 624 2A00 625 625 bits 0:2 626 626 osd colour mode 627 + 000 = 8 bit indexed 627 628 001 = 16 bit (565) 628 629 010 = 15 bit (555) 629 630 011 = 12 bit (444) 630 631 100 = 32 bit (8888) 631 - 101 = 8 bit indexed 632 632 633 633 bits 4:5 634 634 osd display bpp ··· 676 676 completely transparent. When using 565, 555 or 444 colour modes, the 677 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 680 - and 255 being solid. This is only available in 32 bit & 8 bit indexed 681 - colour modes. 679 + Local alpha works differently depending on the colour mode. For 32bpp & 8 680 + bit indexed, local alpha is a per-pixel 256 step transparency, with 0 being 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 685 Global alpha is a 256 step transparency that applies to the entire osd, 684 686 with 0 being transparent & 255 being solid. ··· 813 811 814 812 -------------------------------------------------------------------------------- 815 813 816 - v0.3 - 2 February 2007 - Ian Armstrong (ian@iarmst.demon.co.uk) 814 + v0.4 - 12 March 2007 - Ian Armstrong (ian@iarmst.demon.co.uk) 817 815
+10 -2
Documentation/video4linux/cx2341x/fw-osd-api.txt
··· 21 21 Description 22 22 Query OSD format 23 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 ··· 34 30 Description 35 31 Assign pixel format 36 32 Param[0] 37 - 0=8bit index, 4=AlphaRGB 8:8:8:8 33 + 0=8bit index 34 + 1=16bit RGB 5:6:5 35 + 2=16bit ARGB 1:5:5:5 36 + 3=16bit ARGB 1:4:4:4 37 + 4=32bit ARGB 8:8:8:8 38 38 39 39 ------------------------------------------------------------------------------- 40 40