diff options
-rw-r--r-- | Documentation/video4linux/cx2341x/fw-encoder-api.txt | 19 | ||||
-rw-r--r-- | include/media/cx2341x.h | 2 |
2 files changed, 11 insertions, 10 deletions
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 | ||
666 | Name CX2341X_ENC_UNKNOWN | 666 | Name CX2341X_ENC_SET_VERT_CROP_LINE |
667 | Enum 219/0xDB | 667 | Enum 219/0xDB |
668 | Description | 668 | Description |
669 | Unknown API, it's used by Hauppauge though. | 669 | Something to do with 'Vertical Crop Line' |
670 | Param[0] | 670 | Param[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/include/media/cx2341x.h b/include/media/cx2341x.h index 583b0621ff43..38c12fed7535 100644 --- a/include/media/cx2341x.h +++ b/include/media/cx2341x.h | |||
@@ -166,7 +166,7 @@ void cx2341x_log_status(struct cx2341x_mpeg_params *p, const char *prefix); | |||
166 | #define CX2341X_ENC_SET_PLACEHOLDER 0xd7 | 166 | #define CX2341X_ENC_SET_PLACEHOLDER 0xd7 |
167 | #define CX2341X_ENC_MUTE_VIDEO 0xd9 | 167 | #define CX2341X_ENC_MUTE_VIDEO 0xd9 |
168 | #define CX2341X_ENC_MUTE_AUDIO 0xda | 168 | #define CX2341X_ENC_MUTE_AUDIO 0xda |
169 | #define CX2341X_ENC_UNKNOWN 0xdb | 169 | #define CX2341X_ENC_SET_VERT_CROP_LINE 0xdb |
170 | #define CX2341X_ENC_MISC 0xdc | 170 | #define CX2341X_ENC_MISC 0xdc |
171 | 171 | ||
172 | /* OSD API, specific to the cx23415 */ | 172 | /* OSD API, specific to the cx23415 */ |