Lines Matching defs:ei
72 static int get_event_info(const char *line, struct event_info *ei)
77 ei->x1 = ei->x2 = ei->y1 = ei->y2 = ei->duration = -1;
78 ei->pts = AV_NOPTS_VALUE;
79 ei->pos = -1;
84 &ei->x1, &ei->x2, &ei->y1, &ei->y2) >= 8) {
87 ei->duration = end - start;
88 ei->pts = start;
95 const struct event_info *ei, int append_cache)
109 sub->pos = ei->pos;
110 sub->pts = ei->pts;
111 sub->duration = ei->duration;
112 if (ei->x1 != -1) {
115 AV_WL32(p, ei->x1);
116 AV_WL32(p + 4, ei->y1);
117 AV_WL32(p + 8, ei->x2);
118 AV_WL32(p + 12, ei->y2);
134 struct event_info ei;
187 res = add_event(&srt->q, &buf, line_cache, &ei, !buf.len && !standalone_number);
194 ei = tmp_ei;
202 res = add_event(&srt->q, &buf, line_cache, &ei, 1);