comparison libass/ass_types.h @ 19638:a3473d990fed

Better collision detection algorithm. The idea is to keep a subtitle in place when a lower placed one disappears, thus improving readability. As a side effect, layers are supported now.
author eugeni
date Sat, 02 Sep 2006 19:17:32 +0000
parents c8daf3471201
children fa122b7c71c6
comparison
equal deleted inserted replaced
19637:b79f65f98553 19638:a3473d990fed
34 int MarginV; 34 int MarginV;
35 // int AlphaLevel; 35 // int AlphaLevel;
36 int Encoding; 36 int Encoding;
37 } ass_style_t; 37 } ass_style_t;
38 38
39 typedef struct render_priv_s render_priv_t;
40
39 /// ass_event_t corresponds to a single Dialogue line 41 /// ass_event_t corresponds to a single Dialogue line
40 /// Text is stored as-is, style overrides will be parsed later 42 /// Text is stored as-is, style overrides will be parsed later
41 typedef struct ass_event_s { 43 typedef struct ass_event_s {
42 long long Start; // ms 44 long long Start; // ms
43 long long Duration; // ms 45 long long Duration; // ms
49 int MarginL; 51 int MarginL;
50 int MarginR; 52 int MarginR;
51 int MarginV; 53 int MarginV;
52 char* Effect; 54 char* Effect;
53 char* Text; 55 char* Text;
56
57 render_priv_t* render_priv;
54 } ass_event_t; 58 } ass_event_t;
55 59
56 typedef struct parser_priv_s parser_priv_t; 60 typedef struct parser_priv_s parser_priv_t;
57 61
58 /// ass track represent either an external script or a matroska subtitle stream (no real difference between them) 62 /// ass track represent either an external script or a matroska subtitle stream (no real difference between them)