
Functions | |
| void | ParseSSAString (decoder_t *p_dec, char *psz_subtitle, subpicture_t *p_spu_in) |
| static void | ParseColor (char *psz_color, int *pi_color, int *pi_alpha) |
| void | ParseSSAHeader (decoder_t *p_dec) |
| static void ParseColor | ( | char * | psz_color, | |
| int * | pi_color, | |||
| int * | pi_alpha | |||
| ) | [static] |
| void ParseSSAHeader | ( | decoder_t * | p_dec | ) |
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 * | p_dec, | |
| char * | psz_subtitle, | |||
| subpicture_t * | p_spu_in | |||
| ) |
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