diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-07-31 13:41:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:54:32 -0400 |
commit | 335961ca2e5098e222fdfbde93de3714899128fd (patch) | |
tree | 5b6ba7a30893e6cc623ab927751e5182bb81c025 /drivers/media/video/saa7164/saa7164-reg.h | |
parent | 9b8b0199b86eaa595e3ccacb413e955a193f1962 (diff) |
[media] saa7164: Add some encoder firmwares message types and structs
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-reg.h')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-reg.h | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-reg.h b/drivers/media/video/saa7164/saa7164-reg.h index 89af6d0ccbec..a4ad55907b91 100644 --- a/drivers/media/video/saa7164/saa7164-reg.h +++ b/drivers/media/video/saa7164/saa7164-reg.h | |||
@@ -162,5 +162,50 @@ | |||
162 | #define SAA_DMASTATE_PAUSE 0x02 | 162 | #define SAA_DMASTATE_PAUSE 0x02 |
163 | #define SAA_DMASTATE_RUN 0x03 | 163 | #define SAA_DMASTATE_RUN 0x03 |
164 | 164 | ||
165 | /* Hardware registers */ | 165 | /* A/V Mux Input Selector */ |
166 | #define SU_INPUT_SELECT_CONTROL 0x01 | ||
167 | |||
168 | /* Encoder Profiles */ | ||
169 | #define EU_PROFILE_PS_DVD 0x06 | ||
170 | #define EU_PROFILE_TS_HQ 0x09 | ||
171 | #define EU_VIDEO_FORMAT_MPEG_2 0x02 | ||
172 | |||
173 | /* Tuner */ | ||
174 | #define TU_AUDIO_MODE_CONTROL 0x17 | ||
175 | |||
176 | /* Video Formats */ | ||
177 | #define TU_STANDARD_CONTROL 0x00 | ||
178 | #define TU_STANDARD_AUTO_CONTROL 0x01 | ||
179 | #define TU_STANDARD_NONE 0x00 | ||
180 | #define TU_STANDARD_NTSC_M 0x01 | ||
181 | #define TU_STANDARD_PAL_I 0x08 | ||
182 | #define TU_STANDARD_MANUAL 0x00 | ||
183 | #define TU_STANDARD_AUTO 0x01 | ||
184 | |||
185 | /* Video Controls */ | ||
186 | #define PU_BRIGHTNESS_CONTROL 0x02 | ||
187 | #define PU_CONTRAST_CONTROL 0x03 | ||
188 | #define PU_HUE_CONTROL 0x06 | ||
189 | #define PU_SATURATION_CONTROL 0x07 | ||
190 | #define PU_SHARPNESS_CONTROL 0x08 | ||
191 | |||
192 | /* Audio Controls */ | ||
193 | #define MUTE_CONTROL 0x01 | ||
194 | #define VOLUME_CONTROL 0x02 | ||
195 | #define AUDIO_DEFAULT_CONTROL 0x0D | ||
196 | |||
197 | /* Default Volume Levels */ | ||
198 | #define TMHW_LEV_ADJ_DECLEV_DEFAULT 0x00 | ||
199 | #define TMHW_LEV_ADJ_MONOLEV_DEFAULT 0x00 | ||
200 | #define TMHW_LEV_ADJ_NICLEV_DEFAULT 0x00 | ||
201 | #define TMHW_LEV_ADJ_SAPLEV_DEFAULT 0x00 | ||
202 | #define TMHW_LEV_ADJ_ADCLEV_DEFAULT 0x00 | ||
203 | |||
204 | /* Encoder Related Commands */ | ||
205 | #define EU_PROFILE_CONTROL 0x00 | ||
206 | #define EU_VIDEO_FORMAT_CONTROL 0x01 | ||
207 | #define EU_VIDEO_BIT_RATE_CONTROL 0x02 | ||
208 | #define EU_VIDEO_INPUT_ASPECT_CONTROL 0x0A | ||
209 | #define EU_AUDIO_FORMAT_CONTROL 0x0C | ||
210 | #define EU_AUDIO_BIT_RATE_CONTROL 0x0D | ||
166 | 211 | ||