Mercurial > mplayer.hg
comparison stream/tv.h @ 24244:e446bad0872c
Implement X/27/0 packet decoding.
It contains information about navigation links.
Modified patch from Otvos Attila oattila at chello dot hu
author | voroshil |
---|---|
date | Tue, 28 Aug 2007 14:10:47 +0000 |
parents | d0290b80e612 |
children | ca7ee5c1b88d |
comparison
equal
deleted
inserted
replaced
24243:aeffa880c7d6 | 24244:e446bad0872c |
---|---|
278 unsigned char ctl; ///< control character | 278 unsigned char ctl; ///< control character |
279 unsigned char lng; ///< lang: 0-lating,1-national | 279 unsigned char lng; ///< lang: 0-lating,1-national |
280 unsigned char raw; ///< raw character (as received from device) | 280 unsigned char raw; ///< raw character (as received from device) |
281 } tt_char; | 281 } tt_char; |
282 | 282 |
283 typedef struct tt_link_s{ | |
284 int pagenum; ///< page number | |
285 int subpagenum; ///< subpage number | |
286 } tt_link_t; | |
287 | |
283 typedef struct tt_page_s{ | 288 typedef struct tt_page_s{ |
284 int pagenum; ///< page number | 289 int pagenum; ///< page number |
285 int subpagenum; ///< subpage number | 290 int subpagenum; ///< subpage number |
286 unsigned char lang; ///< language code | 291 unsigned char lang; ///< language code |
287 unsigned char active; ///< page is complete and ready for rendering | 292 unsigned char active; ///< page is complete and ready for rendering |
288 unsigned char flags; ///< page flags, not used | 293 unsigned char flags; ///< page flags, not used |
289 unsigned char raw[VBI_ROWS*VBI_COLUMNS]; ///< page data | 294 unsigned char raw[VBI_ROWS*VBI_COLUMNS]; ///< page data |
290 struct tt_page_s* next_subpage; | 295 struct tt_page_s* next_subpage; |
296 struct tt_link_s links[6]; | |
291 } tt_page; | 297 } tt_page; |
292 | 298 |
293 typedef struct tt_stream_props_s{ | 299 typedef struct tt_stream_props_s{ |
294 int sampling_rate; | 300 int sampling_rate; |
295 int samples_per_line; | 301 int samples_per_line; |