aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/cx2341x
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/video4linux/cx2341x')
-rw-r--r--Documentation/video4linux/cx2341x/fw-decoder-regs.txt12
-rw-r--r--Documentation/video4linux/cx2341x/fw-encoder-api.txt19
-rw-r--r--Documentation/video4linux/cx2341x/fw-osd-api.txt12
3 files changed, 27 insertions, 16 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-encoder-api.txt b/Documentation/video4linux/cx2341x/fw-encoder-api.txt
index 242104ce5b61..5dd3109a8b3f 100644
--- a/Documentation/video4linux/cx2341x/fw-encoder-api.txt
+++ b/Documentation/video4linux/cx2341x/fw-encoder-api.txt
@@ -663,12 +663,13 @@ Param[0]
663 663
664------------------------------------------------------------------------------- 664-------------------------------------------------------------------------------
665 665
666Name CX2341X_ENC_UNKNOWN 666Name CX2341X_ENC_SET_VERT_CROP_LINE
667Enum 219/0xDB 667Enum 219/0xDB
668Description 668Description
669 Unknown API, it's used by Hauppauge though. 669 Something to do with 'Vertical Crop Line'
670Param[0] 670Param[0]
671 0 This is the value Hauppauge uses, Unknown what it means. 671 If saa7114 and raw VBI capture and 60 Hz, then set to 10001.
672 Else 0.
672 673
673------------------------------------------------------------------------------- 674-------------------------------------------------------------------------------
674 675
@@ -682,11 +683,9 @@ Param[0]
682 Command number: 683 Command number:
683 1=set initial SCR value when starting encoding (works). 684 1=set initial SCR value when starting encoding (works).
684 2=set quality mode (apparently some test setting). 685 2=set quality mode (apparently some test setting).
685 3=setup advanced VIM protection handling (supposedly only for the cx23416 686 3=setup advanced VIM protection handling.
686 for raw YUV). 687 Always 1 for the cx23416 and 0 for cx23415.
687 Actually it looks like this should be 0 for saa7114/5 based card and 1 688 4=generate DVD compatible PTS timestamps
688 for cx25840 based cards.
689 4=generate artificial PTS timestamps
690 5=USB flush mode 689 5=USB flush mode
691 6=something to do with the quantization matrix 690 6=something to do with the quantization matrix
692 7=set navigation pack insertion for DVD: adds 0xbf (private stream 2) 691 7=set navigation pack insertion for DVD: adds 0xbf (private stream 2)
@@ -698,7 +697,9 @@ Param[0]
698 9=set history parameters of the video input module 697 9=set history parameters of the video input module
699 10=set input field order of VIM 698 10=set input field order of VIM
700 11=set quantization matrix 699 11=set quantization matrix
701 12=reset audio interface 700 12=reset audio interface after channel change or input switch (has no argument).
701 Needed for the cx2584x, not needed for the mspx4xx, but it doesn't seem to
702 do any harm calling it regardless.
702 13=set audio volume delay 703 13=set audio volume delay
703 14=set audio delay 704 14=set audio delay
704 705
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