MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / update_benchmark

Function update_benchmark

ffmpeg-single-cmd/src/main/cpp/ffmpeg_mod.c:646–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646static void update_benchmark(const char *fmt, ...)
647{
648 if (do_benchmark_all) {
649 int64_t t = getutime();
650 va_list va;
651 char buf[1024];
652
653 if (fmt) {
654 va_start(va, fmt);
655 vsnprintf(buf, sizeof(buf), fmt, va);
656 va_end(va);
657 av_log(NULL, AV_LOG_INFO, "bench: %8"PRIu64" %s \n", t - current_time, buf);
658 }
659 current_time = t;
660 }
661}
662
663static void close_all_output_streams(OutputStream *ost, OSTFinished this_stream, OSTFinished others)
664{

Callers 5

do_audio_outFunction · 0.85
do_video_outFunction · 0.85
flush_encodersFunction · 0.85
decode_audioFunction · 0.85
decode_videoFunction · 0.85

Calls 1

getutimeFunction · 0.85

Tested by

no test coverage detected