FFmpeg
Macros | Functions
cpu.c File Reference
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"

Go to the source code of this file.

Macros

#define AT_HWCAP   16
 
#define AT_HWCAP2   26
 
#define HWCAP_PPC_VSX   (1U << 7)
 
#define HWCAP_PPC_ALTIVEC   (1U << 28)
 
#define HWCAP2_PPC_ARCH_2_07   (1U << 31)
 

Functions

int ff_get_cpu_flags_ppc (void)
 This function MAY rely on signal() or fork() in order to make sure AltiVec is present. More...
 
size_t ff_get_cpu_max_align_ppc (void)
 

Macro Definition Documentation

◆ AT_HWCAP

#define AT_HWCAP   16

Definition at line 50 of file cpu.c.

◆ AT_HWCAP2

#define AT_HWCAP2   26

Definition at line 53 of file cpu.c.

◆ HWCAP_PPC_VSX

#define HWCAP_PPC_VSX   (1U << 7)

Definition at line 56 of file cpu.c.

◆ HWCAP_PPC_ALTIVEC

#define HWCAP_PPC_ALTIVEC   (1U << 28)

Definition at line 57 of file cpu.c.

◆ HWCAP2_PPC_ARCH_2_07

#define HWCAP2_PPC_ARCH_2_07   (1U << 31)

Definition at line 58 of file cpu.c.

Function Documentation

◆ ff_get_cpu_flags_ppc()

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 64 of file cpu.c.

Referenced by get_cpu_flags().

◆ ff_get_cpu_max_align_ppc()

size_t ff_get_cpu_max_align_ppc ( void  )

Definition at line 179 of file cpu.c.

Referenced by av_cpu_max_align().