Lines Matching defs:buf
213 AVBPrint buf = { 0 };
216 av_bprint_init(&buf, 0, AV_BPRINT_SIZE_UNLIMITED);
239 av_bprintf(&buf, "{\\1c&H%06x&}", foreground_bgr_color);
242 av_bprintf(&buf, "{\\1a&H%02x&}", region->i_foreground_alpha);
245 av_bprintf(&buf, "{\\3c&H%06x&}", background_bgr_color);
248 av_bprintf(&buf, "{\\3a&H%02x&}", region->i_background_alpha);
253 av_bprintf(&buf, "{\\fscx%"PRId64"\\fscy%"PRId64"}",
262 av_bprint_append_data(&buf, region->p_start, region_length);
264 av_bprintf(&buf, "{\\r}");
270 if (!av_bprint_is_complete(&buf))
275 buf.str);
277 ret = ff_ass_add_rect(sub, buf.str, b24->read_order++,
281 av_bprint_finalize(&buf, NULL);