MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / opt_cpuflags

Function opt_cpuflags

fftools/opt_common.c:1066–1076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1064}
1065
1066int opt_cpuflags(void *optctx, const char *opt, const char *arg)
1067{
1068 int ret;
1069 unsigned flags = av_get_cpu_flags();
1070
1071 if ((ret = av_parse_cpu_caps(&flags, arg)) < 0)
1072 return ret;
1073
1074 av_force_cpu_flags(flags);
1075 return 0;
1076}
1077
1078int opt_cpucount(void *optctx, const char *opt, const char *arg)
1079{

Callers

nothing calls this directly

Calls 3

av_get_cpu_flagsFunction · 0.85
av_parse_cpu_capsFunction · 0.85
av_force_cpu_flagsFunction · 0.85

Tested by

no test coverage detected