diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-08 09:48:43 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-08 09:48:43 +0000 |
commit | 641a7ddabd7bc93e05d603dbbbc9bb506d4c72f2 (patch) | |
tree | 8699307ae6924c12c87a1db21e22161bd75b7ecd /stream/tv.h | |
parent | 72d755e7dd26ce323f7fa70e6f6649e102582353 (diff) | |
download | mpv-641a7ddabd7bc93e05d603dbbbc9bb506d4c72f2.tar.bz2 mpv-641a7ddabd7bc93e05d603dbbbc9bb506d4c72f2.tar.xz |
Implement boxes for subtitle teletext pages.
Text is shown in opaque boxes inside transparent
teletext page.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24364 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.h')
-rw-r--r-- | stream/tv.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/stream/tv.h b/stream/tv.h index f69d8f3371..5e67ef96f6 100644 --- a/stream/tv.h +++ b/stream/tv.h @@ -280,6 +280,7 @@ typedef struct tt_char_s{ unsigned char bg; ///< background color unsigned char gfx; ///< 0-no gfx, 1-solid gfx, 2-separated gfx unsigned char flh; ///< 0-no flash, 1-flash + unsigned char hidden; ///< char is hidden (for subtitle pages) unsigned char ctl; ///< control character unsigned char lng; ///< lang: 0-secondary language,1-primary language unsigned char raw; ///< raw character (as received from device) @@ -296,12 +297,21 @@ typedef struct tt_page_s{ unsigned char primary_lang; ///< primary language code unsigned char secondary_lang; ///< secondary language code unsigned char active; ///< page is complete and ready for rendering - unsigned char flags; ///< page flags, not used + unsigned char flags; ///< page flags unsigned char raw[VBI_ROWS*VBI_COLUMNS]; ///< page data struct tt_page_s* next_subpage; struct tt_link_s links[6]; } tt_page; +#define TT_PGFL_SUPPRESS_HEADER 0x01 +#define TT_PGFL_UPDATE_INDICATOR 0x02 +#define TT_PGFL_INTERRUPTED_SEQ 0x04 +#define TT_PGFL_INHIBIT_DISPLAY 0x08 +#define TT_PGFL_NEWFLASH 0x10 +#define TT_PGFL_SUBTITLE 0x20 +#define TT_PGFL_ERASE_PAGE 0x40 +#define TT_PGFL_MAGAZINE_SERIAL 0x80 + typedef struct tt_stream_props_s{ int sampling_rate; int samples_per_line; |