diff options
Diffstat (limited to 'include/linux/dvb/video.h')
-rw-r--r-- | include/linux/dvb/video.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/linux/dvb/video.h b/include/linux/dvb/video.h index bd49c3ebf916..1d750c0fd86e 100644 --- a/include/linux/dvb/video.h +++ b/include/linux/dvb/video.h | |||
@@ -132,12 +132,12 @@ struct video_command { | |||
132 | #define VIDEO_VSYNC_FIELD_PROGRESSIVE (3) | 132 | #define VIDEO_VSYNC_FIELD_PROGRESSIVE (3) |
133 | 133 | ||
134 | struct video_event { | 134 | struct video_event { |
135 | int32_t type; | 135 | __s32 type; |
136 | #define VIDEO_EVENT_SIZE_CHANGED 1 | 136 | #define VIDEO_EVENT_SIZE_CHANGED 1 |
137 | #define VIDEO_EVENT_FRAME_RATE_CHANGED 2 | 137 | #define VIDEO_EVENT_FRAME_RATE_CHANGED 2 |
138 | #define VIDEO_EVENT_DECODER_STOPPED 3 | 138 | #define VIDEO_EVENT_DECODER_STOPPED 3 |
139 | #define VIDEO_EVENT_VSYNC 4 | 139 | #define VIDEO_EVENT_VSYNC 4 |
140 | time_t timestamp; | 140 | __kernel_time_t timestamp; |
141 | union { | 141 | union { |
142 | video_size_t size; | 142 | video_size_t size; |
143 | unsigned int frame_rate; /* in frames per 1000sec */ | 143 | unsigned int frame_rate; /* in frames per 1000sec */ |
@@ -157,25 +157,25 @@ struct video_status { | |||
157 | 157 | ||
158 | struct video_still_picture { | 158 | struct video_still_picture { |
159 | char __user *iFrame; /* pointer to a single iframe in memory */ | 159 | char __user *iFrame; /* pointer to a single iframe in memory */ |
160 | int32_t size; | 160 | __s32 size; |
161 | }; | 161 | }; |
162 | 162 | ||
163 | 163 | ||
164 | typedef | 164 | typedef |
165 | struct video_highlight { | 165 | struct video_highlight { |
166 | int active; /* 1=show highlight, 0=hide highlight */ | 166 | int active; /* 1=show highlight, 0=hide highlight */ |
167 | uint8_t contrast1; /* 7- 4 Pattern pixel contrast */ | 167 | __u8 contrast1; /* 7- 4 Pattern pixel contrast */ |
168 | /* 3- 0 Background pixel contrast */ | 168 | /* 3- 0 Background pixel contrast */ |
169 | uint8_t contrast2; /* 7- 4 Emphasis pixel-2 contrast */ | 169 | __u8 contrast2; /* 7- 4 Emphasis pixel-2 contrast */ |
170 | /* 3- 0 Emphasis pixel-1 contrast */ | 170 | /* 3- 0 Emphasis pixel-1 contrast */ |
171 | uint8_t color1; /* 7- 4 Pattern pixel color */ | 171 | __u8 color1; /* 7- 4 Pattern pixel color */ |
172 | /* 3- 0 Background pixel color */ | 172 | /* 3- 0 Background pixel color */ |
173 | uint8_t color2; /* 7- 4 Emphasis pixel-2 color */ | 173 | __u8 color2; /* 7- 4 Emphasis pixel-2 color */ |
174 | /* 3- 0 Emphasis pixel-1 color */ | 174 | /* 3- 0 Emphasis pixel-1 color */ |
175 | uint32_t ypos; /* 23-22 auto action mode */ | 175 | __u32 ypos; /* 23-22 auto action mode */ |
176 | /* 21-12 start y */ | 176 | /* 21-12 start y */ |
177 | /* 9- 0 end y */ | 177 | /* 9- 0 end y */ |
178 | uint32_t xpos; /* 23-22 button color number */ | 178 | __u32 xpos; /* 23-22 button color number */ |
179 | /* 21-12 start x */ | 179 | /* 21-12 start x */ |
180 | /* 9- 0 end x */ | 180 | /* 9- 0 end x */ |
181 | } video_highlight_t; | 181 | } video_highlight_t; |
@@ -189,17 +189,17 @@ typedef struct video_spu { | |||
189 | 189 | ||
190 | typedef struct video_spu_palette { /* SPU Palette information */ | 190 | typedef struct video_spu_palette { /* SPU Palette information */ |
191 | int length; | 191 | int length; |
192 | uint8_t __user *palette; | 192 | __u8 __user *palette; |
193 | } video_spu_palette_t; | 193 | } video_spu_palette_t; |
194 | 194 | ||
195 | 195 | ||
196 | typedef struct video_navi_pack { | 196 | typedef struct video_navi_pack { |
197 | int length; /* 0 ... 1024 */ | 197 | int length; /* 0 ... 1024 */ |
198 | uint8_t data[1024]; | 198 | __u8 data[1024]; |
199 | } video_navi_pack_t; | 199 | } video_navi_pack_t; |
200 | 200 | ||
201 | 201 | ||
202 | typedef uint16_t video_attributes_t; | 202 | typedef __u16 video_attributes_t; |
203 | /* bits: descr. */ | 203 | /* bits: descr. */ |
204 | /* 15-14 Video compression mode (0=MPEG-1, 1=MPEG-2) */ | 204 | /* 15-14 Video compression mode (0=MPEG-1, 1=MPEG-2) */ |
205 | /* 13-12 TV system (0=525/60, 1=625/50) */ | 205 | /* 13-12 TV system (0=525/60, 1=625/50) */ |