
Data Structures | |
| struct | eia608_screen |
| struct | eia608_t |
| struct | decoder_sys_t |
Defines | |
| #define | EIA608_SCREEN_ROWS 15 |
| #define | EIA608_SCREEN_COLUMNS 32 |
| #define | CC_MAX_REORDER_SIZE (64) |
| #define | EIA608_COLOR_DEFAULT EIA608_COLOR_WHITE |
| #define | ON(d2min, d2max, cmd) do { if( d2 >= d2min && d2 <= d2max ) b_changed = cmd; } while(0) |
| #define | E1(c, u) { c, { u, '\0' } } |
| #define | E2(c, u1, u2) { c, { u1, u2, '\0' } } |
| #define | E3(c, u1, u2, u3) { c, { u1, u2, u3, '\0' } } |
| #define | CAT(t) Eia608Strlcat( psz_text, t, i_text_max ) |
Typedefs | |
| typedef struct eia608_screen | eia608_screen |
Enumerations | |
| enum | eia608_mode_t { EIA608_MODE_POPUP = 0, EIA608_MODE_ROLLUP_2 = 1, EIA608_MODE_ROLLUP_3 = 2, EIA608_MODE_ROLLUP_4 = 3, EIA608_MODE_PAINTON = 4, EIA608_MODE_TEXT = 5 } |
| enum | eia608_color_t { EIA608_COLOR_WHITE = 0, EIA608_COLOR_GREEN = 1, EIA608_COLOR_BLUE = 2, EIA608_COLOR_CYAN = 3, EIA608_COLOR_RED = 4, EIA608_COLOR_YELLOW = 5, EIA608_COLOR_MAGENTA = 6, EIA608_COLOR_USERDEFINED = 7 } |
| enum | eia608_font_t { EIA608_FONT_REGULAR = 0x00, EIA608_FONT_ITALICS = 0x01, EIA608_FONT_UNDERLINE = 0x02, EIA608_FONT_UNDERLINE_ITALICS = EIA608_FONT_UNDERLINE | EIA608_FONT_ITALICS } |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void | Eia608Init (eia608_t *) |
| static bool | Eia608Parse (eia608_t *h, int i_channel_selected, const uint8_t data[2]) |
| static char * | Eia608Text (eia608_t *h, bool b_html) |
| static void | Eia608Exit (eia608_t *) |
| static subpicture_t * | Decode (decoder_t *, block_t **) |
| static void | Push (decoder_t *, block_t *) |
| static block_t * | Pop (decoder_t *) |
| static subpicture_t * | Convert (decoder_t *, block_t *) |
| static subpicture_t * | Subtitle (decoder_t *p_dec, char *psz_subtitle, char *psz_html, mtime_t i_pts) |
| static void | Eia608Cursor (eia608_t *h, int dx) |
| static void | Eia608ClearScreenRowX (eia608_t *h, int i_screen, int i_row, int x) |
| static void | Eia608ClearScreenRow (eia608_t *h, int i_screen, int i_row) |
| static void | Eia608ClearScreen (eia608_t *h, int i_screen) |
| static int | Eia608GetWritingScreenIndex (eia608_t *h) |
| static void | Eia608EraseScreen (eia608_t *h, bool b_displayed) |
| static void | Eia608Write (eia608_t *h, const uint8_t c) |
| static void | Eia608Erase (eia608_t *h) |
| static void | Eia608EraseToEndOfRow (eia608_t *h) |
| static void | Eia608RollUp (eia608_t *h) |
| static void | Eia608ParseChannel (eia608_t *h, const uint8_t d[2]) |
| static bool | Eia608ParseTextAttribute (eia608_t *h, uint8_t d2) |
| static bool | Eia608ParseSingle (eia608_t *h, const uint8_t dx) |
| static bool | Eia608ParseDouble (eia608_t *h, uint8_t d2) |
| static bool | Eia608ParseExtended (eia608_t *h, uint8_t d1, uint8_t d2) |
| static bool | Eia608ParseCommand0x14 (eia608_t *h, uint8_t d2) |
| static bool | Eia608ParseCommand0x17 (eia608_t *h, uint8_t d2) |
| static bool | Eia608ParsePac (eia608_t *h, uint8_t d1, uint8_t d2) |
| static bool | Eia608ParseData (eia608_t *h, uint8_t d1, uint8_t d2) |
| static void | Eia608TextUtf8 (char *psz_utf8, uint8_t c) |
| static void | Eia608Strlcat (char *d, const char *s, int i_max) |
| static void | Eia608TextLine (struct eia608_screen *screen, char *psz_text, int i_text_max, int i_row, bool b_html) |
Variables | |
| struct { | |
| eia608_color_t i_color | |
| eia608_font_t i_font | |
| int i_column | |
| } | pac2_attribs [] |
| #define CAT | ( | t | ) | Eia608Strlcat( psz_text, t, i_text_max ) |
Referenced by Eia608TextLine().
| #define CC_MAX_REORDER_SIZE (64) |
Referenced by Push().
| #define E1 | ( | c, | |||
| u | ) | { c, { u, '\0' } } |
Referenced by Eia608TextUtf8().
| #define E2 | ( | c, | |||
| u1, | |||||
| u2 | ) | { c, { u1, u2, '\0' } } |
Referenced by Eia608TextUtf8(), and XdsStringUtf8().
| #define E3 | ( | c, | |||
| u1, | |||||
| u2, | |||||
| u3 | ) | { c, { u1, u2, u3, '\0' } } |
Referenced by Eia608TextUtf8().
| #define EIA608_COLOR_DEFAULT EIA608_COLOR_WHITE |
Referenced by Eia608ClearScreenRowX(), Eia608Init(), Eia608ParseCommand0x14(), and Eia608TextLine().
| #define EIA608_SCREEN_COLUMNS 32 |
Referenced by Eia608ClearScreenRowX(), Eia608Cursor(), Eia608Text(), and Eia608TextLine().
| #define EIA608_SCREEN_ROWS 15 |
Referenced by Eia608ClearScreen(), Eia608Init(), Eia608RollUp(), and Eia608Text().
| #define ON | ( | d2min, | |||
| d2max, | |||||
| cmd | ) | do { if( d2 >= d2min && d2 <= d2max ) b_changed = cmd; } while(0) |
Referenced by Eia608ParseData().
| typedef struct eia608_screen eia608_screen |
| enum eia608_color_t |
| enum eia608_font_t |
| enum eia608_mode_t |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static subpicture_t * Convert | ( | decoder_t * | p_dec, | |
| block_t * | p_block | |||
| ) | [static] |
| static subpicture_t * Decode | ( | decoder_t * | p_dec, | |
| block_t ** | pp_block | |||
| ) | [static] |
| static void Eia608ClearScreen | ( | eia608_t * | h, | |
| int | i_screen | |||
| ) | [static] |
References EIA608_SCREEN_ROWS, and Eia608ClearScreenRow().
Referenced by Eia608EraseScreen(), and Eia608Init().
| static void Eia608ClearScreenRow | ( | eia608_t * | h, | |
| int | i_screen, | |||
| int | i_row | |||
| ) | [static] |
| static void Eia608ClearScreenRowX | ( | eia608_t * | h, | |
| int | i_screen, | |||
| int | i_row, | |||
| int | x | |||
| ) | [static] |
| static void Eia608Cursor | ( | eia608_t * | h, | |
| int | dx | |||
| ) | [static] |
References eia608_t::cursor, EIA608_SCREEN_COLUMNS, and eia608_t::i_column.
Referenced by Eia608Erase(), Eia608ParseCommand0x17(), Eia608ParseExtended(), Eia608ParseTextAttribute(), and Eia608Write().
| static void Eia608Erase | ( | eia608_t * | h | ) | [static] |
References eia608_screen::characters, eia608_t::cursor, EIA608_MODE_TEXT, Eia608Cursor(), Eia608GetWritingScreenIndex(), eia608_t::i_column, i_column, eia608_t::i_row, eia608_t::mode, and eia608_t::screen.
Referenced by Eia608ParseCommand0x14().
| static void Eia608EraseScreen | ( | eia608_t * | h, | |
| bool | b_displayed | |||
| ) | [static] |
| static void Eia608EraseToEndOfRow | ( | eia608_t * | h | ) | [static] |
References eia608_t::cursor, EIA608_MODE_TEXT, Eia608ClearScreenRowX(), Eia608GetWritingScreenIndex(), eia608_t::i_column, eia608_t::i_row, and eia608_t::mode.
Referenced by Eia608ParseCommand0x14().
| static void Eia608Exit | ( | eia608_t * | h | ) | [static] |
References VLC_UNUSED.
| static int Eia608GetWritingScreenIndex | ( | eia608_t * | h | ) | [static] |
References EIA608_MODE_PAINTON, EIA608_MODE_POPUP, EIA608_MODE_ROLLUP_2, EIA608_MODE_ROLLUP_3, EIA608_MODE_ROLLUP_4, eia608_t::i_screen, and eia608_t::mode.
Referenced by Eia608Erase(), Eia608EraseToEndOfRow(), Eia608RollUp(), and Eia608Write().
| static void Eia608Init | ( | eia608_t * | h | ) | [static] |
References eia608_t::color, eia608_t::cursor, eia608_t::d1, eia608_t::d2, EIA608_COLOR_DEFAULT, EIA608_FONT_REGULAR, EIA608_MODE_POPUP, EIA608_SCREEN_ROWS, Eia608ClearScreen(), eia608_t::font, eia608_t::i_channel, eia608_t::i_column, eia608_t::i_row, eia608_t::i_row_rollup, eia608_t::i_screen, eia608_t::last, and eia608_t::mode.
| static bool Eia608Parse | ( | eia608_t * | h, | |
| int | i_channel_selected, | |||
| const uint8_t | data[2] | |||
| ) | [static] |
References eia608_t::d1, eia608_t::d2, Eia608ParseChannel(), Eia608ParseData(), eia608_t::i_channel, and eia608_t::last.
Referenced by Convert().
| static void Eia608ParseChannel | ( | eia608_t * | h, | |
| const uint8_t | d[2] | |||
| ) | [static] |
| static bool Eia608ParseCommand0x14 | ( | eia608_t * | h, | |
| uint8_t | d2 | |||
| ) | [static] |
References eia608_t::color, eia608_t::cursor, EIA608_COLOR_DEFAULT, EIA608_FONT_REGULAR, EIA608_MODE_PAINTON, EIA608_MODE_POPUP, EIA608_MODE_ROLLUP_2, EIA608_MODE_ROLLUP_3, EIA608_MODE_ROLLUP_4, EIA608_MODE_TEXT, Eia608Erase(), Eia608EraseScreen(), Eia608EraseToEndOfRow(), Eia608RollUp(), eia608_t::font, eia608_t::i_column, eia608_t::i_row, eia608_t::i_row_rollup, eia608_t::i_screen, and eia608_t::mode.
Referenced by Eia608ParseData().
| static bool Eia608ParseCommand0x17 | ( | eia608_t * | h, | |
| uint8_t | d2 | |||
| ) | [static] |
| static bool Eia608ParseData | ( | eia608_t * | h, | |
| uint8_t | d1, | |||
| uint8_t | d2 | |||
| ) | [static] |
References Eia608ParseCommand0x14(), Eia608ParseCommand0x17(), Eia608ParseDouble(), Eia608ParseExtended(), Eia608ParsePac(), Eia608ParseSingle(), Eia608ParseTextAttribute(), and ON.
Referenced by Eia608Parse().
| static bool Eia608ParseDouble | ( | eia608_t * | h, | |
| uint8_t | d2 | |||
| ) | [static] |
| static bool Eia608ParseExtended | ( | eia608_t * | h, | |
| uint8_t | d1, | |||
| uint8_t | d2 | |||
| ) | [static] |
| static bool Eia608ParsePac | ( | eia608_t * | h, | |
| uint8_t | d1, | |||
| uint8_t | d2 | |||
| ) | [static] |
References eia608_t::cursor, EIA608_MODE_TEXT, eia608_t::i_column, eia608_t::i_row, eia608_t::i_row_rollup, eia608_t::mode, and pac2_attribs.
Referenced by Eia608ParseData().
| static bool Eia608ParseSingle | ( | eia608_t * | h, | |
| const uint8_t | dx | |||
| ) | [static] |
| static bool Eia608ParseTextAttribute | ( | eia608_t * | h, | |
| uint8_t | d2 | |||
| ) | [static] |
References eia608_t::color, Eia608Cursor(), eia608_t::font, and pac2_attribs.
Referenced by Eia608ParseData().
| static void Eia608RollUp | ( | eia608_t * | h | ) | [static] |
References eia608_screen::characters, eia608_screen::colors, eia608_t::cursor, EIA608_MODE_ROLLUP_2, EIA608_MODE_ROLLUP_3, EIA608_MODE_ROLLUP_4, EIA608_MODE_TEXT, EIA608_SCREEN_ROWS, Eia608ClearScreenRow(), Eia608GetWritingScreenIndex(), eia608_screen::fonts, eia608_t::i_column, eia608_t::i_row, eia608_t::mode, eia608_screen::row_used, and eia608_t::screen.
Referenced by Eia608ParseCommand0x14().
| static void Eia608Strlcat | ( | char * | d, | |
| const char * | s, | |||
| int | i_max | |||
| ) | [static] |
| static char * Eia608Text | ( | eia608_t * | h, | |
| bool | b_html | |||
| ) | [static] |
References EIA608_SCREEN_COLUMNS, EIA608_SCREEN_ROWS, Eia608Strlcat(), Eia608TextLine(), eia608_t::i_screen, eia608_screen::row_used, and eia608_t::screen.
Referenced by Convert().
| static void Eia608TextLine | ( | struct eia608_screen * | screen, | |
| char * | psz_text, | |||
| int | i_text_max, | |||
| int | i_row, | |||
| bool | b_html | |||
| ) | [static] |
References CAT, eia608_screen::characters, eia608_screen::colors, EIA608_COLOR_DEFAULT, EIA608_FONT_ITALICS, EIA608_FONT_UNDERLINE, EIA608_SCREEN_COLUMNS, Eia608TextUtf8(), eia608_screen::fonts, and utf8.
Referenced by Eia608Text().
| static void Eia608TextUtf8 | ( | char * | psz_utf8, | |
| uint8_t | c | |||
| ) | [static] |
| static void Eia608Write | ( | eia608_t * | h, | |
| const uint8_t | c | |||
| ) | [static] |
References eia608_screen::characters, eia608_t::color, eia608_screen::colors, eia608_t::cursor, EIA608_MODE_TEXT, Eia608Cursor(), Eia608GetWritingScreenIndex(), eia608_t::font, eia608_screen::fonts, eia608_t::i_column, i_column, eia608_t::i_row, eia608_t::mode, eia608_screen::row_used, and eia608_t::screen.
Referenced by Eia608ParseDouble(), Eia608ParseExtended(), and Eia608ParseSingle().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.
Todo:
Open the module.
Create an X11 window.
Probe the X server.
This function initializes SDL vout method.
It creates an OpenGL vout display.
This function allocates and initialize the DirectX vout display.
It creates a Direct3D vout display.
This function allocates and initializes a FB vout method.
Find the drawable set by libvlc application.
This function initializes libcaca vout method.
This function allocates and initializes a aa vout method.
This function allocates and initializes a Wall splitter module.
Open the filter.
This function allocates and initializes a Clone splitter module.
Open: initialize and create stuff.
Connect to the sftp server and ask for a file.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
References BLOCK_FLAG_TYPE_B, decoder_sys_t::i_block, block_t::i_flags, block_t::i_pts, decoder_t::p_sys, decoder_sys_t::pp_block, and VLC_TS_INVALID.
Referenced by Decode().
References CC_MAX_REORDER_SIZE, decoder_sys_t::i_block, msg_Warn, decoder_t::p_sys, and decoder_sys_t::pp_block.
Referenced by Decode().
| static subpicture_t* Subtitle | ( | decoder_t * | p_dec, | |
| char * | psz_subtitle, | |||
| char * | psz_html, | |||
| mtime_t | i_pts | |||
| ) | [static] |
References subpicture_t::b_absolute, subpicture_t::b_ephemer, decoder_DeleteSubpicture(), decoder_NewSubpicture(), EnsureUTF8(), subpicture_region_t::i_align, video_format_t::i_chroma, video_format_t::i_height, subpicture_t::i_start, subpicture_t::i_stop, video_format_t::i_width, subpicture_region_t::i_x, video_format_t::i_x_offset, subpicture_region_t::i_y, video_format_t::i_y_offset, msg_Err, msg_Warn, subpicture_t::p_region, subpicture_region_t::psz_html, subpicture_region_t::psz_text, SUBPICTURE_ALIGN_BOTTOM, subpicture_region_New(), VLC_CODEC_TEXT, and VLC_TS_INVALID.
Referenced by Convert().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| int i_column |
Referenced by copy_rect(), Eia608Erase(), Eia608Write(), fill_rect(), raw_line(), RenderImage(), and SVCDSubRenderImage().
struct { ... } pac2_attribs[] [static] |
Referenced by Eia608ParsePac(), and Eia608ParseTextAttribute().
1.5.6