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

Function av_get_cpu_flags

libavutil/cpu.c:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109int av_get_cpu_flags(void)
110{
111 int flags = atomic_load_explicit(&cpu_flags, memory_order_relaxed);
112 if (flags == -1) {
113 flags = get_cpu_flags();
114 atomic_store_explicit(&cpu_flags, flags, memory_order_relaxed);
115 }
116 return flags;
117}
118
119int av_parse_cpu_caps(unsigned *flags, const char *s)
120{

Callers 15

swri_rematrix_init_x86Function · 0.85
PROTO4Function · 0.85
ff_tx_decompose_lengthFunction · 0.85
ff_tx_init_subtxFunction · 0.85
emms_cFunction · 0.85
ff_float_dsp_init_ppcFunction · 0.85

Calls 1

get_cpu_flagsFunction · 0.85

Tested by 4

thread_mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68