Lines Matching defs:new_line
184 static void microdvd_open_tags(AVBPrint *new_line, struct microdvd_tag *tags)
195 av_bprintf(new_line, "{\\%c1}", MICRODVD_STYLES[sidx]);
199 av_bprintf(new_line, "{\\c&H%06X&}", tags[i].data1);
203 av_bprintf(new_line, "{\\fn%.*s}",
208 av_bprintf(new_line, "{\\fs%d}", tags[i].data1);
213 av_bprintf(new_line, "{\\an8}");
217 av_bprintf(new_line, "{\\pos(%d,%d)}",
226 static void microdvd_close_no_persistent_tags(AVBPrint *new_line,
239 av_bprintf(new_line, "{\\%c0}", MICRODVD_STYLES[sidx]);
243 av_bprintf(new_line, "{\\c}");
247 av_bprintf(new_line, "{\\fn}");
251 av_bprintf(new_line, "{\\fs}");
262 AVBPrint new_line;
281 av_bprint_init(&new_line, 0, 2048);
288 microdvd_open_tags(&new_line, tags);
292 av_bprint_chars(&new_line, *line, 1);
298 microdvd_close_no_persistent_tags(&new_line, tags);
299 av_bprintf(&new_line, "\\N");
303 if (new_line.len) {
304 av_bprintf(&new_line, "\r\n");
306 av_bprint_finalize(&new_line, &decoded_sub);