Lines Matching defs:dst
69 static void handle_open_brace(AVBPrint *dst, const char **inp, int *an, int *closing_brace_missing)
87 av_bprint_chars(dst, *in, 1);
129 int ff_htmlmarkup_to_ass(void *log_ctx, AVBPrint *dst, const char *in)
172 rstrip_spaces_buf(dst);
173 av_bprintf(dst, "\\N");
178 av_bprint_chars(dst, *in, 1);
181 handle_open_brace(dst, &in, &an, &closing_brace_missing);
192 av_bprint_chars(dst, '<', 1);
234 av_bprintf(dst, "{\\fs}");
236 av_bprintf(dst, "{\\fs%d}", last_tag->size);
241 av_bprintf(dst, "{\\c}");
243 av_bprintf(dst, "{\\c&H%"PRIX32"&}", last_tag->color & 0xffffff);
248 av_bprintf(dst, "{\\fn}");
250 av_bprintf(dst, "{\\fn%s}", last_tag->face);
261 av_bprintf(dst, "{\\fs%u}", new_tag->size);
268 av_bprintf(dst, "{\\c&H%"PRIX32"&}", new_tag->color & 0xffffff);
277 av_bprintf(dst, "{\\fn%s}", new_tag->face);
285 av_bprintf(dst, "{\\%c%d}", (char)av_tolower(tagname[0]), !tag_close);
289 av_bprintf(dst, "\\N");
296 av_bprint_chars(dst, '<', 1);
299 av_bprint_chars(dst, *in, 1);
303 av_bprint_chars(dst, *in, 1);
310 if (!av_bprint_is_complete(dst))
313 while (dst->len >= 2 && !strncmp(&dst->str[dst->len - 2], "\\N", 2))
314 dst->len -= 2;
315 dst->str[dst->len] = 0;
316 rstrip_spaces_buf(dst);