3 * Copyright (c) 2003-2015 HandBrake Team
4 * This file is part of the HandBrake source code
5 * Homepage: <http://handbrake.fr/>.
6 * It may be used under the terms of the GNU General Public License v2.
7 * For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
10 #ifndef __DECSSASUB_H__
11 #define __DECSSASUB_H__
17 uint32_t fg_rgb
; // forground color
18 uint32_t alt_rgb
; // secondary color
19 uint32_t ol_rgb
; // outline color
20 uint32_t bg_rgb
; // background color
22 uint32_t fg_alpha
; // forground alpha
23 uint32_t alt_alpha
; // secondary alpha
24 uint32_t ol_alpha
; // outline alpha
25 uint32_t bg_alpha
; // background alpha
26 } hb_subtitle_style_t
;
28 #define HB_STYLE_FLAG_ITALIC 0x0001
29 #define HB_STYLE_FLAG_BOLD 0x0002
30 #define HB_STYLE_FLAG_UNDERLINE 0x0004
32 char * hb_ssa_to_text(char *in
, int *consumed
, hb_subtitle_style_t
*style
);
33 void hb_ssa_style_init(hb_subtitle_style_t
*style
);
35 #endif // __DECSSASUB_H__