FFmpeg  4.0
Macros | Functions
cpu.h File Reference
#include "libavutil/cpu.h"
#include "libavutil/cpu_internal.h"

Go to the source code of this file.

Macros

#define AV_CPU_FLAG_AMD3DNOW   AV_CPU_FLAG_3DNOW
 
#define AV_CPU_FLAG_AMD3DNOWEXT   AV_CPU_FLAG_3DNOWEXT
 
#define X86_AMD3DNOW(flags)   CPUEXT(flags, AMD3DNOW)
 
#define X86_AMD3DNOWEXT(flags)   CPUEXT(flags, AMD3DNOWEXT)
 
#define X86_MMX(flags)   CPUEXT(flags, MMX)
 
#define X86_MMXEXT(flags)   CPUEXT(flags, MMXEXT)
 
#define X86_SSE(flags)   CPUEXT(flags, SSE)
 
#define X86_SSE2(flags)   CPUEXT(flags, SSE2)
 
#define X86_SSE2_FAST(flags)   CPUEXT_FAST(flags, SSE2)
 
#define X86_SSE2_SLOW(flags)   CPUEXT_SLOW(flags, SSE2)
 
#define X86_SSE3(flags)   CPUEXT(flags, SSE3)
 
#define X86_SSE3_FAST(flags)   CPUEXT_FAST(flags, SSE3)
 
#define X86_SSE3_SLOW(flags)   CPUEXT_SLOW(flags, SSE3)
 
#define X86_SSSE3(flags)   CPUEXT(flags, SSSE3)
 
#define X86_SSSE3_FAST(flags)   CPUEXT_FAST(flags, SSSE3)
 
#define X86_SSSE3_SLOW(flags)   CPUEXT_SLOW(flags, SSSE3)
 
#define X86_SSE4(flags)   CPUEXT(flags, SSE4)
 
#define X86_SSE42(flags)   CPUEXT(flags, SSE42)
 
#define X86_AVX(flags)   CPUEXT(flags, AVX)
 
#define X86_AVX_FAST(flags)   CPUEXT_FAST(flags, AVX)
 
#define X86_AVX_SLOW(flags)   CPUEXT_SLOW(flags, AVX)
 
#define X86_XOP(flags)   CPUEXT(flags, XOP)
 
#define X86_FMA3(flags)   CPUEXT(flags, FMA3)
 
#define X86_FMA4(flags)   CPUEXT(flags, FMA4)
 
#define X86_AVX2(flags)   CPUEXT(flags, AVX2)
 
#define X86_AESNI(flags)   CPUEXT(flags, AESNI)
 
#define X86_AVX512(flags)   CPUEXT(flags, AVX512)
 
#define EXTERNAL_AMD3DNOW(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOW)
 
#define EXTERNAL_AMD3DNOWEXT(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOWEXT)
 
#define EXTERNAL_MMX(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, MMX)
 
#define EXTERNAL_MMXEXT(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, MMXEXT)
 
#define EXTERNAL_SSE(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, SSE)
 
#define EXTERNAL_SSE2(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, SSE2)
 
#define EXTERNAL_SSE2_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, SSE2)
 
#define EXTERNAL_SSE2_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, SSE2)
 
#define EXTERNAL_SSE3(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, SSE3)
 
#define EXTERNAL_SSE3_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, SSE3)
 
#define EXTERNAL_SSE3_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, SSE3)
 
#define EXTERNAL_SSSE3(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, SSSE3)
 
#define EXTERNAL_SSSE3_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, SSSE3)
 
#define EXTERNAL_SSSE3_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, SSSE3)
 
#define EXTERNAL_SSE4(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, SSE4)
 
#define EXTERNAL_SSE42(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, SSE42)
 
#define EXTERNAL_AVX(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, AVX)
 
#define EXTERNAL_AVX_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, AVX)
 
#define EXTERNAL_AVX_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, AVX)
 
#define EXTERNAL_XOP(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, XOP)
 
#define EXTERNAL_FMA3(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, FMA3)
 
#define EXTERNAL_FMA3_FAST(flags)   CPUEXT_SUFFIX_FAST2(flags, _EXTERNAL, FMA3, AVX)
 
#define EXTERNAL_FMA3_SLOW(flags)   CPUEXT_SUFFIX_SLOW2(flags, _EXTERNAL, FMA3, AVX)
 
#define EXTERNAL_FMA4(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, FMA4)
 
#define EXTERNAL_AVX2(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, AVX2)
 
#define EXTERNAL_AVX2_FAST(flags)   CPUEXT_SUFFIX_FAST2(flags, _EXTERNAL, AVX2, AVX)
 
#define EXTERNAL_AVX2_SLOW(flags)   CPUEXT_SUFFIX_SLOW2(flags, _EXTERNAL, AVX2, AVX)
 
#define EXTERNAL_AESNI(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, AESNI)
 
#define EXTERNAL_AVX512(flags)   CPUEXT_SUFFIX(flags, _EXTERNAL, AVX512)
 
#define INLINE_AMD3DNOW(flags)   CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOW)
 
#define INLINE_AMD3DNOWEXT(flags)   CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOWEXT)
 
#define INLINE_MMX(flags)   CPUEXT_SUFFIX(flags, _INLINE, MMX)
 
#define INLINE_MMXEXT(flags)   CPUEXT_SUFFIX(flags, _INLINE, MMXEXT)
 
#define INLINE_SSE(flags)   CPUEXT_SUFFIX(flags, _INLINE, SSE)
 
#define INLINE_SSE2(flags)   CPUEXT_SUFFIX(flags, _INLINE, SSE2)
 
#define INLINE_SSE2_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _INLINE, SSE2)
 
#define INLINE_SSE2_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _INLINE, SSE2)
 
#define INLINE_SSE3(flags)   CPUEXT_SUFFIX(flags, _INLINE, SSE3)
 
#define INLINE_SSE3_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _INLINE, SSE3)
 
#define INLINE_SSE3_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _INLINE, SSE3)
 
#define INLINE_SSSE3(flags)   CPUEXT_SUFFIX(flags, _INLINE, SSSE3)
 
#define INLINE_SSSE3_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _INLINE, SSSE3)
 
#define INLINE_SSSE3_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _INLINE, SSSE3)
 
#define INLINE_SSE4(flags)   CPUEXT_SUFFIX(flags, _INLINE, SSE4)
 
#define INLINE_SSE42(flags)   CPUEXT_SUFFIX(flags, _INLINE, SSE42)
 
#define INLINE_AVX(flags)   CPUEXT_SUFFIX(flags, _INLINE, AVX)
 
#define INLINE_AVX_FAST(flags)   CPUEXT_SUFFIX_FAST(flags, _INLINE, AVX)
 
#define INLINE_AVX_SLOW(flags)   CPUEXT_SUFFIX_SLOW(flags, _INLINE, AVX)
 
#define INLINE_XOP(flags)   CPUEXT_SUFFIX(flags, _INLINE, XOP)
 
#define INLINE_FMA3(flags)   CPUEXT_SUFFIX(flags, _INLINE, FMA3)
 
#define INLINE_FMA4(flags)   CPUEXT_SUFFIX(flags, _INLINE, FMA4)
 
#define INLINE_AVX2(flags)   CPUEXT_SUFFIX(flags, _INLINE, AVX2)
 
#define INLINE_AESNI(flags)   CPUEXT_SUFFIX(flags, _INLINE, AESNI)
 

Functions

void ff_cpu_cpuid (int index, int *eax, int *ebx, int *ecx, int *edx)
 
void ff_cpu_xgetbv (int op, int *eax, int *edx)
 
int ff_cpu_cpuid_test (void)
 

Macro Definition Documentation

◆ AV_CPU_FLAG_AMD3DNOW

#define AV_CPU_FLAG_AMD3DNOW   AV_CPU_FLAG_3DNOW

Definition at line 25 of file cpu.h.

◆ AV_CPU_FLAG_AMD3DNOWEXT

#define AV_CPU_FLAG_AMD3DNOWEXT   AV_CPU_FLAG_3DNOWEXT

Definition at line 26 of file cpu.h.

◆ X86_AMD3DNOW

#define X86_AMD3DNOW (   flags)    CPUEXT(flags, AMD3DNOW)

Definition at line 28 of file cpu.h.

◆ X86_AMD3DNOWEXT

#define X86_AMD3DNOWEXT (   flags)    CPUEXT(flags, AMD3DNOWEXT)

Definition at line 29 of file cpu.h.

◆ X86_MMX

#define X86_MMX (   flags)    CPUEXT(flags, MMX)

Definition at line 30 of file cpu.h.

Referenced by ff_cavsdsp_init_x86(), and sws_init_context().

◆ X86_MMXEXT

#define X86_MMXEXT (   flags)    CPUEXT(flags, MMXEXT)

Definition at line 31 of file cpu.h.

Referenced by ff_qpeldsp_init_x86().

◆ X86_SSE

#define X86_SSE (   flags)    CPUEXT(flags, SSE)

Definition at line 32 of file cpu.h.

◆ X86_SSE2

#define X86_SSE2 (   flags)    CPUEXT(flags, SSE2)

Definition at line 33 of file cpu.h.

◆ X86_SSE2_FAST

#define X86_SSE2_FAST (   flags)    CPUEXT_FAST(flags, SSE2)

Definition at line 34 of file cpu.h.

◆ X86_SSE2_SLOW

#define X86_SSE2_SLOW (   flags)    CPUEXT_SLOW(flags, SSE2)

Definition at line 35 of file cpu.h.

◆ X86_SSE3

#define X86_SSE3 (   flags)    CPUEXT(flags, SSE3)

Definition at line 36 of file cpu.h.

◆ X86_SSE3_FAST

#define X86_SSE3_FAST (   flags)    CPUEXT_FAST(flags, SSE3)

Definition at line 37 of file cpu.h.

◆ X86_SSE3_SLOW

#define X86_SSE3_SLOW (   flags)    CPUEXT_SLOW(flags, SSE3)

Definition at line 38 of file cpu.h.

◆ X86_SSSE3

#define X86_SSSE3 (   flags)    CPUEXT(flags, SSSE3)

Definition at line 39 of file cpu.h.

◆ X86_SSSE3_FAST

#define X86_SSSE3_FAST (   flags)    CPUEXT_FAST(flags, SSSE3)

Definition at line 40 of file cpu.h.

◆ X86_SSSE3_SLOW

#define X86_SSSE3_SLOW (   flags)    CPUEXT_SLOW(flags, SSSE3)

Definition at line 41 of file cpu.h.

◆ X86_SSE4

#define X86_SSE4 (   flags)    CPUEXT(flags, SSE4)

Definition at line 42 of file cpu.h.

◆ X86_SSE42

#define X86_SSE42 (   flags)    CPUEXT(flags, SSE42)

Definition at line 43 of file cpu.h.

◆ X86_AVX

#define X86_AVX (   flags)    CPUEXT(flags, AVX)

Definition at line 44 of file cpu.h.

◆ X86_AVX_FAST

#define X86_AVX_FAST (   flags)    CPUEXT_FAST(flags, AVX)

Definition at line 45 of file cpu.h.

◆ X86_AVX_SLOW

#define X86_AVX_SLOW (   flags)    CPUEXT_SLOW(flags, AVX)

Definition at line 46 of file cpu.h.

◆ X86_XOP

#define X86_XOP (   flags)    CPUEXT(flags, XOP)

Definition at line 47 of file cpu.h.

◆ X86_FMA3

#define X86_FMA3 (   flags)    CPUEXT(flags, FMA3)

Definition at line 48 of file cpu.h.

◆ X86_FMA4

#define X86_FMA4 (   flags)    CPUEXT(flags, FMA4)

Definition at line 49 of file cpu.h.

◆ X86_AVX2

#define X86_AVX2 (   flags)    CPUEXT(flags, AVX2)

Definition at line 50 of file cpu.h.

◆ X86_AESNI

#define X86_AESNI (   flags)    CPUEXT(flags, AESNI)

Definition at line 51 of file cpu.h.

◆ X86_AVX512

#define X86_AVX512 (   flags)    CPUEXT(flags, AVX512)

Definition at line 52 of file cpu.h.

◆ EXTERNAL_AMD3DNOW

#define EXTERNAL_AMD3DNOW (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOW)

◆ EXTERNAL_AMD3DNOWEXT

#define EXTERNAL_AMD3DNOWEXT (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOWEXT)

Definition at line 55 of file cpu.h.

Referenced by ff_fft_init_x86(), and ff_float_dsp_init_x86().

◆ EXTERNAL_MMX

#define EXTERNAL_MMX (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, MMX)

◆ EXTERNAL_MMXEXT

#define EXTERNAL_MMXEXT (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, MMXEXT)

◆ EXTERNAL_SSE

#define EXTERNAL_SSE (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, SSE)

◆ EXTERNAL_SSE2

#define EXTERNAL_SSE2 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, SSE2)

Definition at line 59 of file cpu.h.

Referenced by D(), ff_aac_dsp_init_x86(), ff_ac3dsp_init_x86(), ff_alacdsp_init_x86(), ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_audiodsp_init_x86(), ff_blend_init_x86(), ff_bswapdsp_init_x86(), ff_bwdif_init_x86(), ff_cavsdsp_init_x86(), ff_colorspacedsp_x86_init(), ff_dcadsp_init_x86(), ff_dct_init_x86(), ff_diracdsp_init_x86(), ff_dither_init_x86(), ff_dnxhdenc_init_x86(), ff_exrdsp_init_x86(), ff_fixed_dsp_init_x86(), ff_flacdsp_init_x86(), ff_float_dsp_init_x86(), ff_fmt_convert_init_x86(), ff_g722dsp_init_x86(), ff_gradfun_init_x86(), ff_h264chroma_init_x86(), ff_h264dsp_init_x86(), ff_h264qpel_init_x86(), ff_hevc_dsp_init_x86(), ff_huffyuvdsp_init_x86(), ff_huffyuvencdsp_init_x86(), ff_idctdsp_init_x86(), ff_idet_init_x86(), ff_init_lls_x86(), ff_interlace_init_x86(), ff_jpeg2000dsp_init_x86(), ff_limiter_init_x86(), ff_llauddsp_init_x86(), ff_llviddsp_init_x86(), ff_llvidencdsp_init_x86(), ff_maskedmerge_init_x86(), ff_mpadsp_init_x86(), ff_mpegvideoencdsp_init_x86(), ff_opus_dsp_init_x86(), ff_pixblockdsp_init_x86(), ff_pixelutils_sad_init_x86(), ff_pngdsp_init_x86(), ff_proresdsp_init_x86(), ff_psnr_init_x86(), ff_removegrain_init_x86(), ff_rv34dsp_init_x86(), ff_rv40dsp_init_x86(), ff_sbrdsp_init_x86(), ff_svq1enc_init_x86(), ff_sws_init_swscale_x86(), ff_synth_filter_init_x86(), ff_takdsp_init_x86(), ff_tinterlace_init_x86(), ff_utvideodsp_init_x86(), ff_vc1dsp_init_x86(), ff_videodsp_init_x86(), ff_volume_init_x86(), ff_vp3dsp_init_x86(), ff_vp6dsp_init_x86(), ff_vp78dsp_init_x86(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_16bpp_x86(), ff_vp9dsp_init_x86(), ff_w3fdif_init_x86(), ff_xvid_idct_init_x86(), ff_yadif_init_x86(), hadamard_func(), INIT_FUNC(), PRED4x4(), swri_audio_convert_init_x86(), and swri_resample_dsp_x86_init().

◆ EXTERNAL_SSE2_FAST

#define EXTERNAL_SSE2_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, SSE2)

Definition at line 60 of file cpu.h.

Referenced by ff_ac3dsp_init_x86(), ff_h264qpel_init_x86(), and ff_hpeldsp_init_x86().

◆ EXTERNAL_SSE2_SLOW

#define EXTERNAL_SSE2_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, SSE2)

Definition at line 61 of file cpu.h.

Referenced by ff_vp78dsp_init_x86(), and ff_vp8dsp_init_x86().

◆ EXTERNAL_SSE3

#define EXTERNAL_SSE3 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, SSE3)

◆ EXTERNAL_SSE3_FAST

#define EXTERNAL_SSE3_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, SSE3)

Definition at line 63 of file cpu.h.

◆ EXTERNAL_SSE3_SLOW

#define EXTERNAL_SSE3_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, SSE3)

Definition at line 64 of file cpu.h.

◆ EXTERNAL_SSSE3

#define EXTERNAL_SSSE3 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, SSSE3)

◆ EXTERNAL_SSSE3_FAST

#define EXTERNAL_SSSE3_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, SSSE3)

Definition at line 66 of file cpu.h.

Referenced by ff_llviddsp_init_x86().

◆ EXTERNAL_SSSE3_SLOW

#define EXTERNAL_SSSE3_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, SSSE3)

Definition at line 67 of file cpu.h.

◆ EXTERNAL_SSE4

#define EXTERNAL_SSE4 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, SSE4)

◆ EXTERNAL_SSE42

#define EXTERNAL_SSE42 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, SSE42)

Definition at line 69 of file cpu.h.

◆ EXTERNAL_AVX

#define EXTERNAL_AVX (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, AVX)

◆ EXTERNAL_AVX_FAST

#define EXTERNAL_AVX_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, AVX)

◆ EXTERNAL_AVX_SLOW

#define EXTERNAL_AVX_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, AVX)

Definition at line 72 of file cpu.h.

◆ EXTERNAL_XOP

#define EXTERNAL_XOP (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, XOP)

◆ EXTERNAL_FMA3

#define EXTERNAL_FMA3 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, FMA3)

Definition at line 74 of file cpu.h.

Referenced by ff_dcadsp_init_x86().

◆ EXTERNAL_FMA3_FAST

#define EXTERNAL_FMA3_FAST (   flags)    CPUEXT_SUFFIX_FAST2(flags, _EXTERNAL, FMA3, AVX)

◆ EXTERNAL_FMA3_SLOW

#define EXTERNAL_FMA3_SLOW (   flags)    CPUEXT_SUFFIX_SLOW2(flags, _EXTERNAL, FMA3, AVX)

Definition at line 76 of file cpu.h.

◆ EXTERNAL_FMA4

#define EXTERNAL_FMA4 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, FMA4)

Definition at line 77 of file cpu.h.

Referenced by ff_jpeg2000dsp_init_x86(), and swri_resample_dsp_x86_init().

◆ EXTERNAL_AVX2

#define EXTERNAL_AVX2 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, AVX2)

Definition at line 78 of file cpu.h.

Referenced by ff_hevc_dsp_init_x86(), ff_v210enc_init_x86(), ff_videodsp_init_x86(), and PRED4x4().

◆ EXTERNAL_AVX2_FAST

#define EXTERNAL_AVX2_FAST (   flags)    CPUEXT_SUFFIX_FAST2(flags, _EXTERNAL, AVX2, AVX)

◆ EXTERNAL_AVX2_SLOW

#define EXTERNAL_AVX2_SLOW (   flags)    CPUEXT_SUFFIX_SLOW2(flags, _EXTERNAL, AVX2, AVX)

Definition at line 80 of file cpu.h.

◆ EXTERNAL_AESNI

#define EXTERNAL_AESNI (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, AESNI)

Definition at line 81 of file cpu.h.

◆ EXTERNAL_AVX512

#define EXTERNAL_AVX512 (   flags)    CPUEXT_SUFFIX(flags, _EXTERNAL, AVX512)

Definition at line 82 of file cpu.h.

◆ INLINE_AMD3DNOW

#define INLINE_AMD3DNOW (   flags)    CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOW)

◆ INLINE_AMD3DNOWEXT

#define INLINE_AMD3DNOWEXT (   flags)    CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOWEXT)

Definition at line 85 of file cpu.h.

◆ INLINE_MMX

#define INLINE_MMX (   flags)    CPUEXT_SUFFIX(flags, _INLINE, MMX)

◆ INLINE_MMXEXT

#define INLINE_MMXEXT (   flags)    CPUEXT_SUFFIX(flags, _INLINE, MMXEXT)

◆ INLINE_SSE

#define INLINE_SSE (   flags)    CPUEXT_SUFFIX(flags, _INLINE, SSE)

Definition at line 88 of file cpu.h.

Referenced by ff_mpadsp_init_x86().

◆ INLINE_SSE2

#define INLINE_SSE2 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, SSE2)

◆ INLINE_SSE2_FAST

#define INLINE_SSE2_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _INLINE, SSE2)

Definition at line 90 of file cpu.h.

◆ INLINE_SSE2_SLOW

#define INLINE_SSE2_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _INLINE, SSE2)

Definition at line 91 of file cpu.h.

Referenced by ff_lpc_init_x86().

◆ INLINE_SSE3

#define INLINE_SSE3 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, SSE3)

Definition at line 92 of file cpu.h.

◆ INLINE_SSE3_FAST

#define INLINE_SSE3_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _INLINE, SSE3)

Definition at line 93 of file cpu.h.

◆ INLINE_SSE3_SLOW

#define INLINE_SSE3_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _INLINE, SSE3)

Definition at line 94 of file cpu.h.

◆ INLINE_SSSE3

#define INLINE_SSSE3 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, SSSE3)

Definition at line 95 of file cpu.h.

Referenced by ff_dct_encode_init_x86(), and ff_mpegvideoencdsp_init_x86().

◆ INLINE_SSSE3_FAST

#define INLINE_SSSE3_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _INLINE, SSSE3)

Definition at line 96 of file cpu.h.

◆ INLINE_SSSE3_SLOW

#define INLINE_SSSE3_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _INLINE, SSSE3)

Definition at line 97 of file cpu.h.

◆ INLINE_SSE4

#define INLINE_SSE4 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, SSE4)

Definition at line 98 of file cpu.h.

◆ INLINE_SSE42

#define INLINE_SSE42 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, SSE42)

Definition at line 99 of file cpu.h.

◆ INLINE_AVX

#define INLINE_AVX (   flags)    CPUEXT_SUFFIX(flags, _INLINE, AVX)

Definition at line 100 of file cpu.h.

Referenced by rgb2rgb_init_x86().

◆ INLINE_AVX_FAST

#define INLINE_AVX_FAST (   flags)    CPUEXT_SUFFIX_FAST(flags, _INLINE, AVX)

Definition at line 101 of file cpu.h.

◆ INLINE_AVX_SLOW

#define INLINE_AVX_SLOW (   flags)    CPUEXT_SUFFIX_SLOW(flags, _INLINE, AVX)

Definition at line 102 of file cpu.h.

◆ INLINE_XOP

#define INLINE_XOP (   flags)    CPUEXT_SUFFIX(flags, _INLINE, XOP)

Definition at line 103 of file cpu.h.

◆ INLINE_FMA3

#define INLINE_FMA3 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, FMA3)

Definition at line 104 of file cpu.h.

◆ INLINE_FMA4

#define INLINE_FMA4 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, FMA4)

Definition at line 105 of file cpu.h.

◆ INLINE_AVX2

#define INLINE_AVX2 (   flags)    CPUEXT_SUFFIX(flags, _INLINE, AVX2)

Definition at line 106 of file cpu.h.

◆ INLINE_AESNI

#define INLINE_AESNI (   flags)    CPUEXT_SUFFIX(flags, _INLINE, AESNI)

Definition at line 107 of file cpu.h.

Function Documentation

◆ ff_cpu_cpuid()

void ff_cpu_cpuid ( int  index,
int eax,
int ebx,
int ecx,
int edx 
)

◆ ff_cpu_xgetbv()

void ff_cpu_xgetbv ( int  op,
int eax,
int edx 
)

◆ ff_cpu_cpuid_test()

int ff_cpu_cpuid_test ( void  )