diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2006-06-19 16:53:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:23 -0400 |
commit | cc7bc648690d4e6f3992cfadb18a4c7e0181e6ea (patch) | |
tree | 35e50975f6e03449e4337843d88cfff792f52861 /drivers/media/video/cx2341x.c | |
parent | f81cf7533b4b8411a0d2fa943adcede340dfdab6 (diff) |
V4L/DVB (4199): Add cx2341x-specific control array to cx2341x.c
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx2341x.c')
-rw-r--r-- | drivers/media/video/cx2341x.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/media/video/cx2341x.c b/drivers/media/video/cx2341x.c index f4d58d52e355..4c457dc6a403 100644 --- a/drivers/media/video/cx2341x.c +++ b/drivers/media/video/cx2341x.c | |||
@@ -40,6 +40,40 @@ static int debug = 0; | |||
40 | module_param(debug, int, 0644); | 40 | module_param(debug, int, 0644); |
41 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 41 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
42 | 42 | ||
43 | const u32 cx2341x_mpeg_ctrls[] = { | ||
44 | V4L2_CID_MPEG_CLASS, | ||
45 | V4L2_CID_MPEG_STREAM_TYPE, | ||
46 | V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ, | ||
47 | V4L2_CID_MPEG_AUDIO_ENCODING, | ||
48 | V4L2_CID_MPEG_AUDIO_L2_BITRATE, | ||
49 | V4L2_CID_MPEG_AUDIO_MODE, | ||
50 | V4L2_CID_MPEG_AUDIO_MODE_EXTENSION, | ||
51 | V4L2_CID_MPEG_AUDIO_EMPHASIS, | ||
52 | V4L2_CID_MPEG_AUDIO_CRC, | ||
53 | V4L2_CID_MPEG_VIDEO_ENCODING, | ||
54 | V4L2_CID_MPEG_VIDEO_ASPECT, | ||
55 | V4L2_CID_MPEG_VIDEO_B_FRAMES, | ||
56 | V4L2_CID_MPEG_VIDEO_GOP_SIZE, | ||
57 | V4L2_CID_MPEG_VIDEO_GOP_CLOSURE, | ||
58 | V4L2_CID_MPEG_VIDEO_PULLDOWN, | ||
59 | V4L2_CID_MPEG_VIDEO_BITRATE_MODE, | ||
60 | V4L2_CID_MPEG_VIDEO_BITRATE, | ||
61 | V4L2_CID_MPEG_VIDEO_BITRATE_PEAK, | ||
62 | V4L2_CID_MPEG_VIDEO_TEMPORAL_DECIMATION, | ||
63 | V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE, | ||
64 | V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER, | ||
65 | V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE, | ||
66 | V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE, | ||
67 | V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE, | ||
68 | V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER, | ||
69 | V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE, | ||
70 | V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM, | ||
71 | V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP, | ||
72 | V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM, | ||
73 | V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP, | ||
74 | 0 | ||
75 | }; | ||
76 | |||
43 | 77 | ||
44 | /* Map the control ID to the correct field in the cx2341x_mpeg_params | 78 | /* Map the control ID to the correct field in the cx2341x_mpeg_params |
45 | struct. Return -EINVAL if the ID is unknown, else return 0. */ | 79 | struct. Return -EINVAL if the ID is unknown, else return 0. */ |
@@ -864,6 +898,7 @@ EXPORT_SYMBOL(cx2341x_ctrl_get_menu); | |||
864 | EXPORT_SYMBOL(cx2341x_ext_ctrls); | 898 | EXPORT_SYMBOL(cx2341x_ext_ctrls); |
865 | EXPORT_SYMBOL(cx2341x_update); | 899 | EXPORT_SYMBOL(cx2341x_update); |
866 | EXPORT_SYMBOL(cx2341x_log_status); | 900 | EXPORT_SYMBOL(cx2341x_log_status); |
901 | EXPORT_SYMBOL(cx2341x_mpeg_ctrls); | ||
867 | 902 | ||
868 | /* | 903 | /* |
869 | * Local variables: | 904 | * Local variables: |