VLC  4.0.0-dev
Macros | Functions
vlc_cpu.h File Reference

This file provides CPU features detection. More...

Include dependency graph for vlc_cpu.h:

Go to the source code of this file.

Macros

#define HAVE_FPU   0
 Are single precision floating point operations "fast"? If this preprocessor constant is zero, floating point should be avoided (especially relevant for audio codecs). More...
 

Functions

unsigned vlc_CPU (void)
 Retrieves pre-computed CPU capability flags. More...
 

Detailed Description

This file provides CPU features detection.

Macro Definition Documentation

◆ HAVE_FPU

#define HAVE_FPU   0

Are single precision floating point operations "fast"? If this preprocessor constant is zero, floating point should be avoided (especially relevant for audio codecs).

Function Documentation

◆ vlc_CPU()

unsigned vlc_CPU ( void  )

Retrieves pre-computed CPU capability flags.

References cpu_flags, vlc_CPU_init(), vlc_once(), and VLC_STATIC_ONCE.