/third_party/ffmpeg/libavfilter/ |
D | graphdump.c | 41 av_bprintf(buf, "[%dx%d %d:%d %s]", link->w, link->h, in print_link_prop() 51 av_bprintf(buf, "[%dHz %s:%s]", in print_link_prop() 56 av_bprintf(buf, "?"); in print_link_prop() 94 av_bprintf(buf, "+"); in avfilter_graph_dump_to_buf() 96 av_bprintf(buf, "+\n"); in avfilter_graph_dump_to_buf() 105 av_bprintf(buf, "%s:%s", l->src->name, l->srcpad->name); in avfilter_graph_dump_to_buf() 111 av_bprintf(buf, "%s", l->dstpad->name); in avfilter_graph_dump_to_buf() 117 av_bprintf(buf, "|"); in avfilter_graph_dump_to_buf() 120 av_bprintf(buf, "%*s%-*s", x, "", width - x, filter->name); in avfilter_graph_dump_to_buf() 123 av_bprintf(buf, "%*s(%s)%*s", x, "", filter->filter->name, in avfilter_graph_dump_to_buf() [all …]
|
D | vf_tonemap_opencl.c | 175 av_bprintf(&header, "__constant const float tone_param = %.4ff;\n", in tonemap_opencl_init() 177 av_bprintf(&header, "__constant const float desat_param = %.4ff;\n", in tonemap_opencl_init() 179 av_bprintf(&header, "__constant const float target_peak = %.4ff;\n", in tonemap_opencl_init() 181 av_bprintf(&header, "__constant const float sdr_avg = %.4ff;\n", sdr_avg); in tonemap_opencl_init() 182 av_bprintf(&header, "__constant const float scene_threshold = %.4ff;\n", in tonemap_opencl_init() 184 av_bprintf(&header, "#define TONE_FUNC %s\n", tonemap_func[ctx->tonemap]); in tonemap_opencl_init() 185 av_bprintf(&header, "#define DETECTION_FRAMES %d\n", DETECTION_FRAMES); in tonemap_opencl_init() 192 av_bprintf(&header, "#define FULL_RANGE_IN\n"); in tonemap_opencl_init() 195 av_bprintf(&header, "#define FULL_RANGE_OUT\n"); in tonemap_opencl_init() 197 av_bprintf(&header, "#define chroma_loc %d\n", (int)ctx->chroma_loc); in tonemap_opencl_init() [all …]
|
D | vf_curves.c | 390 av_bprintf(&ptstr, "%f/%f ", x / 255., y / 255.); in parse_psfile() 432 av_bprintf(&buf, "set xtics 0.1\n"); in dump_curves() 433 av_bprintf(&buf, "set ytics 0.1\n"); in dump_curves() 434 av_bprintf(&buf, "set size square\n"); in dump_curves() 435 av_bprintf(&buf, "set grid\n"); in dump_curves() 438 av_bprintf(&buf, "%s'-' using 1:2 with lines lc '%s' title ''", in dump_curves() 441 av_bprintf(&buf, ", '-' using 1:2 with points pointtype 3 lc '%s' title ''", in dump_curves() 444 av_bprintf(&buf, "\n"); in dump_curves() 451 av_bprintf(&buf, "%f %f\n", x * scale, graph[i][x] * scale); in dump_curves() 452 av_bprintf(&buf, "e\n"); in dump_curves() [all …]
|
D | opencl.c | 345 av_bprintf(buf, "__constant float %s[9] = {\n", name_str); in ff_opencl_print_const_matrix_3x3() 348 av_bprintf(buf, " %.5ff,", mat[i][j]); in ff_opencl_print_const_matrix_3x3() 349 av_bprintf(buf, "\n"); in ff_opencl_print_const_matrix_3x3() 351 av_bprintf(buf, "};\n"); in ff_opencl_print_const_matrix_3x3()
|
D | vulkan.h | 38 #define GLSLC(N, S) av_bprintf(&shd->src, C(N, S)) 39 #define GLSLA(...) av_bprintf(&shd->src, __VA_ARGS__) 40 #define GLSLF(N, S, ...) av_bprintf(&shd->src, C(N, S), __VA_ARGS__)
|
/third_party/ffmpeg/libavcodec/ |
D | jacosubdec.c | 38 av_bprintf(dst, "%s", arg); in insert_text() 50 av_bprintf(dst, "%s", buf); in insert_datetime() 122 case ALIGN_VB | ALIGN_JL: av_bprintf(dst, "{\\an1}"); break; // bottom left in jacosub_to_ass() 123 case ALIGN_VB | ALIGN_JC: av_bprintf(dst, "{\\an2}"); break; // bottom center in jacosub_to_ass() 124 case ALIGN_VB | ALIGN_JR: av_bprintf(dst, "{\\an3}"); break; // bottom right in jacosub_to_ass() 125 case ALIGN_VM | ALIGN_JL: av_bprintf(dst, "{\\an4}"); break; // middle left in jacosub_to_ass() 126 case ALIGN_VM | ALIGN_JC: av_bprintf(dst, "{\\an5}"); break; // middle center in jacosub_to_ass() 127 case ALIGN_VM | ALIGN_JR: av_bprintf(dst, "{\\an6}"); break; // middle right in jacosub_to_ass() 128 case ALIGN_VT | ALIGN_JL: av_bprintf(dst, "{\\an7}"); break; // top left in jacosub_to_ass() 129 case ALIGN_VT | ALIGN_JC: av_bprintf(dst, "{\\an8}"); break; // top center in jacosub_to_ass() [all …]
|
D | htmlsubtitles.c | 173 av_bprintf(dst, "\\N"); in ff_htmlmarkup_to_ass() 234 av_bprintf(dst, "{\\fs}"); in ff_htmlmarkup_to_ass() 236 av_bprintf(dst, "{\\fs%d}", last_tag->size); in ff_htmlmarkup_to_ass() 241 av_bprintf(dst, "{\\c}"); in ff_htmlmarkup_to_ass() 243 av_bprintf(dst, "{\\c&H%"PRIX32"&}", last_tag->color & 0xffffff); in ff_htmlmarkup_to_ass() 248 av_bprintf(dst, "{\\fn}"); in ff_htmlmarkup_to_ass() 250 av_bprintf(dst, "{\\fn%s}", last_tag->face); in ff_htmlmarkup_to_ass() 261 av_bprintf(dst, "{\\fs%u}", new_tag->size); in ff_htmlmarkup_to_ass() 268 av_bprintf(dst, "{\\c&H%"PRIX32"&}", new_tag->color & 0xffffff); in ff_htmlmarkup_to_ass() 277 av_bprintf(dst, "{\\fn%s}", new_tag->face); in ff_htmlmarkup_to_ass() [all …]
|
D | microdvddec.c | 213 av_bprintf(new_line, "{\\%c1}", MICRODVD_STYLES[sidx]); in microdvd_open_tags() 217 av_bprintf(new_line, "{\\c&H%06"PRIX32"&}", tags[i].data1); in microdvd_open_tags() 221 av_bprintf(new_line, "{\\fn%.*s}", in microdvd_open_tags() 226 av_bprintf(new_line, "{\\fs%"PRId32"}", tags[i].data1); in microdvd_open_tags() 231 av_bprintf(new_line, "{\\an8}"); in microdvd_open_tags() 235 av_bprintf(new_line, "{\\pos(%"PRId32",%"PRId32")}", in microdvd_open_tags() 257 av_bprintf(new_line, "{\\%c0}", MICRODVD_STYLES[sidx]); in microdvd_close_no_persistent_tags() 261 av_bprintf(new_line, "{\\c}"); in microdvd_close_no_persistent_tags() 265 av_bprintf(new_line, "{\\fn}"); in microdvd_close_no_persistent_tags() 269 av_bprintf(new_line, "{\\fs}"); in microdvd_close_no_persistent_tags() [all …]
|
D | mpl2dec.c | 41 if (*p == '/') av_bprintf(buf, "{\\i1}"); in mpl2_event_to_ass() 42 else if (*p == '\\') av_bprintf(buf, "{\\b1}"); in mpl2_event_to_ass() 43 else if (*p == '_') av_bprintf(buf, "{\\u1}"); in mpl2_event_to_ass() 56 av_bprintf(buf, "{\\r}"); in mpl2_event_to_ass() 57 av_bprintf(buf, "\\N"); in mpl2_event_to_ass()
|
D | movtextdec.c | 346 av_bprintf(buf, "{\\q1}"); /* End of line wrap */ in text_to_ass() 348 av_bprintf(buf, "{\\q2}"); /* No wrap */ in text_to_ass() 358 av_bprintf(buf, "{\\r}"); in text_to_ass() 365 av_bprintf(buf, "{\\b%d}", style->bold); in text_to_ass() 367 av_bprintf(buf, "{\\i%d}", style->italic); in text_to_ass() 369 av_bprintf(buf, "{\\u%d}", style->underline); in text_to_ass() 371 av_bprintf(buf, "{\\fs%d}", style->fontsize); in text_to_ass() 375 av_bprintf(buf, "{\\fn%s}", m->ftab[i].font); in text_to_ass() 379 av_bprintf(buf, "{\\1c&H%X&}", RGB_TO_BGR(color)); in text_to_ass() 382 av_bprintf(buf, "{\\1a&H%02X&}", 255 - style->alpha); in text_to_ass() [all …]
|
D | libaribb24.c | 238 av_bprintf(&buf, "{\\1c&H%06x&}", foreground_bgr_color); in libaribb24_handle_regions() 241 av_bprintf(&buf, "{\\1a&H%02x&}", region->i_foreground_alpha); in libaribb24_handle_regions() 244 av_bprintf(&buf, "{\\3c&H%06x&}", background_bgr_color); in libaribb24_handle_regions() 247 av_bprintf(&buf, "{\\3a&H%02x&}", region->i_background_alpha); in libaribb24_handle_regions() 252 av_bprintf(&buf, "{\\fscx%"PRId64"\\fscy%"PRId64"}", in libaribb24_handle_regions() 263 av_bprintf(&buf, "{\\r}"); in libaribb24_handle_regions()
|
D | samidec.c | 71 av_bprintf(dst, "\\N"); in sami_paragraph_to_ass() 98 av_bprintf(dst, "\\N"); in sami_paragraph_to_ass() 122 av_bprintf(&sami->full, "{\\i1}%s{\\i0}\\N", sami->encoded_source.str); in sami_paragraph_to_ass() 127 av_bprintf(&sami->full, "%s", sami->encoded_content.str); in sami_paragraph_to_ass()
|
D | tiff_common.c | 100 av_bprintf(&bp, "%s%7"PRId32":%-7"PRId32, auto_sep(count, sep, i, 4), nom, denom); in ff_tadd_rational_metadata() 131 av_bprintf(&bp, "%s%7i", auto_sep(count, sep, i, 8), ff_tget_long(gb, le)); in ff_tadd_long_metadata() 162 av_bprintf(&bp, "%s%.15g", auto_sep(count, sep, i, 4), ff_tget_double(gb, le)); in ff_tadd_doubles_metadata() 194 av_bprintf(&bp, "%s%5i", auto_sep(count, sep, i, 8), v); in ff_tadd_shorts_metadata() 226 av_bprintf(&bp, "%s%3i", auto_sep(count, sep, i, 16), v); in ff_tadd_bytes_metadata()
|
D | ass.c | 157 av_bprintf(buf, "\\N"); in ff_ass_bprint_text_event() 162 av_bprintf(buf, "\\%c", *p); in ff_ass_bprint_text_event() 173 av_bprintf(buf, "\\N"); in ff_ass_bprint_text_event()
|
D | subviewerdec.c | 35 av_bprintf(buf, "\\N"); in subviewer_event_to_ass() 39 av_bprintf(buf, "\\N"); in subviewer_event_to_ass()
|
D | webvttdec.c | 55 av_bprintf(buf, "%s", webvtt_tag_replace[i].to); in webvtt_event_to_ass() 74 av_bprintf(buf, "\\N"); in webvtt_event_to_ass()
|
D | libzvbi-teletextdec.c | 204 av_bprintf(&buf, "\n"); in gen_sub_text() 208 av_bprintf(&buf, "%s\n", vbi_text); in gen_sub_text() 238 av_bprintf(buf, "{\\%s&H%02X%02X%02X&}", type, b, g, r); in bprint_color() 282 av_bprintf(buf, "\\h"); in decode_string() 284 av_bprintf(buf, "\\%c", (char)out); in decode_string() 362 av_bprintf(&buf, "{\\an%d}", alignment + vertical_align * 3); in gen_sub_ass() 369 av_bprintf(&buf, " \\N"); in gen_sub_ass() 379 av_bprintf(&buf, " \\N"); in gen_sub_ass() 388 av_bprintf(&buf, " \\N"); in gen_sub_ass()
|
D | srtdec.c | 43 av_bprintf(dst, "{\\an5}{\\pos(%d,%d)}", scaled_x, scaled_y); in srt_to_ass() 48 av_bprintf(dst, "{\\an1}{\\pos(%d,%d)}", scaled_x, scaled_y); in srt_to_ass()
|
/third_party/ffmpeg/libavformat/ |
D | uncodedframecrcenc.c | 55 av_bprintf(bp, ", %d x %d", frame->width, frame->height); in video_frame_cksum() 57 av_bprintf(bp, ", unknown"); in video_frame_cksum() 62 av_bprintf(bp, ", %s", desc->name); in video_frame_cksum() 73 av_bprintf(bp, ", 0x%08x", cksum); in video_frame_cksum() 89 av_bprintf(bp, ", %d samples", frame->nb_samples); in audio_frame_cksum() 90 av_bprintf(bp, ", %s", name ? name : "unknown"); in audio_frame_cksum() 118 av_bprintf(bp, ", 0x%08"PRIx32, cksum); in audio_frame_cksum() 139 av_bprintf(&bp, "%d, %10"PRId64"", in write_frame() 143 av_bprintf(&bp, ", %s", type_name ? type_name : "unknown"); in write_frame()
|
D | http.c | 1327 av_bprintf(&request, "%s ", method); in http_connect() 1329 av_bprintf(&request, " HTTP/1.1\r\n"); in http_connect() 1332 av_bprintf(&request, "Transfer-Encoding: chunked\r\n"); in http_connect() 1335 av_bprintf(&request, "User-Agent: %s\r\n", s->user_agent); in http_connect() 1339 av_bprintf(&request, "Referer: %s\r\n", s->referer); in http_connect() 1342 av_bprintf(&request, "Accept: */*\r\n"); in http_connect() 1347 av_bprintf(&request, "Range: bytes=%"PRIu64"-", s->off); in http_connect() 1349 av_bprintf(&request, "%"PRId64, s->end_off - 1); in http_connect() 1350 av_bprintf(&request, "\r\n"); in http_connect() 1353 av_bprintf(&request, "Expect: 100-continue\r\n"); in http_connect() [all …]
|
D | srtdec.c | 98 av_bprintf(buf, "%s\n", line_cache); in add_event() 168 av_bprintf(&buf, "%s\n", line_cache); in srt_read_header() 177 av_bprintf(&buf, "%s\n", line); in srt_read_header()
|
/third_party/ffmpeg/libavutil/ |
D | bprint.c | 94 void av_bprintf(AVBPrint *buf, const char *fmt, ...) in av_bprintf() function 200 av_bprintf(buf, "%s", buf2); in av_bprint_strftime() 279 av_bprintf(dstbuf, "'\\''"); in av_bprint_escape() 294 case '&' : av_bprintf(dstbuf, "%s", "&"); break; in av_bprint_escape() 295 case '<' : av_bprintf(dstbuf, "%s", "<"); break; in av_bprint_escape() 296 case '>' : av_bprintf(dstbuf, "%s", ">"); break; in av_bprint_escape() 301 av_bprintf(dstbuf, "%s", "'"); in av_bprint_escape() 307 av_bprintf(dstbuf, "%s", """); in av_bprint_escape()
|
D | channel_layout.c | 194 av_bprintf(bp, "%s", channel_layout_map[i].name); in av_bprint_channel_layout() 198 av_bprintf(bp, "%d channels", nb_channels); in av_bprint_channel_layout() 201 av_bprintf(bp, " ("); in av_bprint_channel_layout() 207 av_bprintf(bp, "+"); in av_bprint_channel_layout() 208 av_bprintf(bp, "%s", name); in av_bprint_channel_layout() 213 av_bprintf(bp, ")"); in av_bprint_channel_layout()
|
/third_party/ffmpeg/libavutil/tests/ |
D | bprint.c | 33 av_bprintf(b, "%8d\n", 1); in bprint_pascal() 39 av_bprintf(b, "%8d", p[j]); in bprint_pascal() 40 av_bprintf(b, "\n"); in bprint_pascal()
|
/third_party/ffmpeg/fftools/ |
D | ffprobe.c | 539 av_bprintf(bp, "0X"); in bprint_bytes() 541 av_bprintf(bp, "%02X", ubuf[i]); in bprint_bytes() 719 av_bprintf(&dstbuf, "%s", wctx->string_validation_replacement); in validate_string() 783 av_bprintf(&buf, "%d%c%d", q.num, sep, q.den); in writer_print_rational() 820 av_bprintf(&bp, "\n"); in writer_print_data() 822 av_bprintf(&bp, "%08x: ", offset); in writer_print_data() 825 av_bprintf(&bp, "%02x", data[i]); in writer_print_data() 827 av_bprintf(&bp, " "); in writer_print_data() 832 av_bprintf(&bp, "\n"); in writer_print_data() 864 av_bprintf(&bp, "\n"); in writer_print_integers() [all …]
|