diff options
author | John Stebbins <[email protected]> | 2019-01-07 10:52:28 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-01-14 13:36:08 -0800 |
commit | 1f52f52337028b977a83a0e1061b4cc36918c34f (patch) | |
tree | 7066a5ec5e4bc760ddfac69206eda40611bd7166 /libhb/decssasub.h | |
parent | 31e676d288bb1be2f1d6096b26159ac92c7e143f (diff) |
ssa: improve SSA to TX3G conversion
We were only applying SSA inline override tags. With this patch we now
parse SSA style descritions in the SSA header and apply them per event.
Diffstat (limited to 'libhb/decssasub.h')
-rw-r--r-- | libhb/decssasub.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libhb/decssasub.h b/libhb/decssasub.h index 174f056f6..19c7ce633 100644 --- a/libhb/decssasub.h +++ b/libhb/decssasub.h @@ -10,26 +10,4 @@ #ifndef __DECSSASUB_H__ #define __DECSSASUB_H__ -typedef struct -{ - uint32_t flags; - - uint32_t fg_rgb; // foreground color - uint32_t alt_rgb; // secondary color - uint32_t ol_rgb; // outline color - uint32_t bg_rgb; // background color - - uint32_t fg_alpha; // foreground alpha - uint32_t alt_alpha; // secondary alpha - uint32_t ol_alpha; // outline alpha - uint32_t bg_alpha; // background alpha -} hb_subtitle_style_t; - -#define HB_STYLE_FLAG_ITALIC 0x0001 -#define HB_STYLE_FLAG_BOLD 0x0002 -#define HB_STYLE_FLAG_UNDERLINE 0x0004 - -char * hb_ssa_to_text(char *in, int *consumed, hb_subtitle_style_t *style); -void hb_ssa_style_init(hb_subtitle_style_t *style); - #endif // __DECSSASUB_H__ |