FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cpu_internal.h File Reference
#include "cpu.h"

Go to the source code of this file.

Macros

#define CPUEXT_SUFFIX(flags, suffix, cpuext)   (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))
 
#define CPUEXT(flags, cpuext)   CPUEXT_SUFFIX(flags, , cpuext)
 

Functions

int ff_get_cpu_flags_aarch64 (void)
 
int ff_get_cpu_flags_arm (void)
 
int ff_get_cpu_flags_ppc (void)
 This function MAY rely on signal() or fork() in order to make sure AltiVec is present.
 
int ff_get_cpu_flags_x86 (void)
 

Macro Definition Documentation

#define CPUEXT_SUFFIX (   flags,
  suffix,
  cpuext 
)    (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext))

Definition at line 24 of file cpu_internal.h.

#define CPUEXT (   flags,
  cpuext 
)    CPUEXT_SUFFIX(flags, , cpuext)

Definition at line 27 of file cpu_internal.h.

Function Documentation

int ff_get_cpu_flags_aarch64 ( void  )

Definition at line 23 of file cpu.c.

Referenced by av_get_cpu_flags().

int ff_get_cpu_flags_arm ( void  )

Definition at line 145 of file cpu.c.

Referenced by av_get_cpu_flags().

int ff_get_cpu_flags_ppc ( void  )

This function MAY rely on signal() or fork() in order to make sure AltiVec is present.

Definition at line 39 of file cpu.c.

Referenced by av_get_cpu_flags().

int ff_get_cpu_flags_x86 ( void  )

Definition at line 90 of file cpu.c.

Referenced by av_get_cpu_flags().