
Go to the source code of this file.
Data Structures | |
| struct | image_attach_t |
| struct | ssa_style_t |
| struct | decoder_sys_t |
Defines | |
| #define | DEFAULT_NAME "Default" |
| #define | MAX_LINE 8192 |
| #define | NO_BREAKING_SPACE " " |
Enumerations | |
| enum | { ATTRIBUTE_ALIGNMENT = (1 << 0), ATTRIBUTE_X = (1 << 1), ATTRIBUTE_X_PERCENT = (1 << 2), ATTRIBUTE_Y = (1 << 3), ATTRIBUTE_Y_PERCENT = (1 << 4) } |
Functions | |
| char * | GotoNextLine (char *psz_text) |
| void | ParseSSAHeader (decoder_t *) |
| void | ParseSSAString (decoder_t *, char *, subpicture_t *) |
| #define DEFAULT_NAME "Default" |
| #define MAX_LINE 8192 |
| #define NO_BREAKING_SPACE " " |
Referenced by CreateHtmlSubtitle().
| anonymous enum |
| char* GotoNextLine | ( | char * | psz_text | ) |
Referenced by ParseSSAHeader().
| void ParseSSAHeader | ( | decoder_t * | ) |
References decoder_sys_t::b_ass, decoder_t::fmt_in, ssa_style_t::font_style, GotoNextLine(), ssa_style_t::i_align, text_style_t::i_background_alpha, text_style_t::i_background_color, es_format_t::i_extra, text_style_t::i_font_alpha, text_style_t::i_font_color, text_style_t::i_font_size, text_style_t::i_karaoke_background_alpha, text_style_t::i_karaoke_background_color, ssa_style_t::i_margin_h, ssa_style_t::i_margin_percent_h, ssa_style_t::i_margin_percent_v, ssa_style_t::i_margin_v, decoder_sys_t::i_original_height, decoder_sys_t::i_original_width, text_style_t::i_outline_alpha, text_style_t::i_outline_color, text_style_t::i_outline_width, text_style_t::i_shadow_alpha, text_style_t::i_shadow_color, text_style_t::i_shadow_width, text_style_t::i_spacing, decoder_sys_t::i_ssa_styles, text_style_t::i_style_flags, MAX_LINE, msg_Dbg, msg_Warn, es_format_t::p_extra, decoder_t::p_sys, p_sys, ParseColor(), decoder_sys_t::pp_ssa_styles, text_style_t::psz_fontname, ssa_style_t::psz_stylename, strcasecmp(), strcasestr(), strdup(), strncasecmp(), STYLE_BACKGROUND, STYLE_BOLD, STYLE_ITALIC, STYLE_OUTLINE, STYLE_STRIKEOUT, STYLE_UNDERLINE, SUBPICTURE_ALIGN_BOTTOM, SUBPICTURE_ALIGN_LEFT, SUBPICTURE_ALIGN_RIGHT, SUBPICTURE_ALIGN_TOP, and TAB_APPEND.
Referenced by OpenDecoder().
| void ParseSSAString | ( | decoder_t * | , | |
| char * | , | |||
| subpicture_t * | ||||
| ) |
References __MAX, ssa_style_t::font_style, i, ssa_style_t::i_align, decoder_sys_t::i_align, subpicture_region_t::i_align, ssa_style_t::i_margin_h, ssa_style_t::i_margin_v, decoder_sys_t::i_ssa_styles, subpicture_region_t::i_x, subpicture_region_t::i_y, msg_Dbg, subpicture_t::p_region, subpicture_region_t::p_style, decoder_t::p_sys, p_sys, decoder_sys_t::pp_ssa_styles, subpicture_region_t::psz_html, ssa_style_t::psz_stylename, subpicture_region_t::psz_text, strndup(), SUBPICTURE_ALIGN_BOTTOM, SUBPICTURE_ALIGN_LEFT, SUBPICTURE_ALIGN_RIGHT, and text_style_Duplicate().
Referenced by ParseText().
1.5.6