FFmpeg
|
#include "attributes.h"
Go to the source code of this file.
Macros | |
#define | AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ |
#define | AV_CPU_FLAG_MMX 0x0001 |
standard MMX | |
#define | AV_CPU_FLAG_MMXEXT 0x0002 |
SSE integer functions or AMD MMX ext. | |
#define | AV_CPU_FLAG_MMX2 0x0002 |
SSE integer functions or AMD MMX ext. | |
#define | AV_CPU_FLAG_3DNOW 0x0004 |
AMD 3DNOW. | |
#define | AV_CPU_FLAG_SSE 0x0008 |
SSE functions. | |
#define | AV_CPU_FLAG_SSE2 0x0010 |
PIV SSE2 functions. | |
#define | AV_CPU_FLAG_SSE2SLOW 0x40000000 |
SSE2 supported, but usually not faster. | |
#define | AV_CPU_FLAG_3DNOWEXT 0x0020 |
AMD 3DNowExt. | |
#define | AV_CPU_FLAG_SSE3 0x0040 |
Prescott SSE3 functions. | |
#define | AV_CPU_FLAG_SSE3SLOW 0x20000000 |
SSE3 supported, but usually not faster. | |
#define | AV_CPU_FLAG_SSSE3 0x0080 |
Conroe SSSE3 functions. | |
#define | AV_CPU_FLAG_ATOM 0x10000000 |
Atom processor, some SSSE3 instructions are slower. | |
#define | AV_CPU_FLAG_SSE4 0x0100 |
Penryn SSE4.1 functions. | |
#define | AV_CPU_FLAG_SSE42 0x0200 |
Nehalem SSE4.2 functions. | |
#define | AV_CPU_FLAG_AVX 0x4000 |
AVX functions: requires OS support even if YMM registers aren't used. | |
#define | AV_CPU_FLAG_XOP 0x0400 |
Bulldozer XOP functions. | |
#define | AV_CPU_FLAG_FMA4 0x0800 |
Bulldozer FMA4 functions. | |
#define | AV_CPU_FLAG_CMOV 0x1001000 |
supports cmov instruction | |
#define | AV_CPU_FLAG_AVX2 0x8000 |
AVX2 functions: requires OS support even if YMM registers aren't used. | |
#define | AV_CPU_FLAG_FMA3 0x10000 |
Haswell FMA3 functions. | |
#define | AV_CPU_FLAG_BMI1 0x20000 |
Bit Manipulation Instruction Set 1. | |
#define | AV_CPU_FLAG_BMI2 0x40000 |
Bit Manipulation Instruction Set 2. | |
#define | AV_CPU_FLAG_ALTIVEC 0x0001 |
standard | |
#define | AV_CPU_FLAG_ARMV5TE (1 << 0) |
#define | AV_CPU_FLAG_ARMV6 (1 << 1) |
#define | AV_CPU_FLAG_ARMV6T2 (1 << 2) |
#define | AV_CPU_FLAG_VFP (1 << 3) |
#define | AV_CPU_FLAG_VFPV3 (1 << 4) |
#define | AV_CPU_FLAG_NEON (1 << 5) |
#define | AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ |
#define | AV_CPU_FLAG_MMX 0x0001 |
standard MMX | |
#define | AV_CPU_FLAG_MMXEXT 0x0002 |
SSE integer functions or AMD MMX ext. | |
#define | AV_CPU_FLAG_MMX2 0x0002 |
SSE integer functions or AMD MMX ext. | |
#define | AV_CPU_FLAG_3DNOW 0x0004 |
AMD 3DNOW. | |
#define | AV_CPU_FLAG_SSE 0x0008 |
SSE functions. | |
#define | AV_CPU_FLAG_SSE2 0x0010 |
PIV SSE2 functions. | |
#define | AV_CPU_FLAG_SSE2SLOW 0x40000000 |
SSE2 supported, but usually not faster. | |
#define | AV_CPU_FLAG_3DNOWEXT 0x0020 |
AMD 3DNowExt. | |
#define | AV_CPU_FLAG_SSE3 0x0040 |
Prescott SSE3 functions. | |
#define | AV_CPU_FLAG_SSE3SLOW 0x20000000 |
SSE3 supported, but usually not faster. | |
#define | AV_CPU_FLAG_SSSE3 0x0080 |
Conroe SSSE3 functions. | |
#define | AV_CPU_FLAG_ATOM 0x10000000 |
Atom processor, some SSSE3 instructions are slower. | |
#define | AV_CPU_FLAG_SSE4 0x0100 |
Penryn SSE4.1 functions. | |
#define | AV_CPU_FLAG_SSE42 0x0200 |
Nehalem SSE4.2 functions. | |
#define | AV_CPU_FLAG_AVX 0x4000 |
AVX functions: requires OS support even if YMM registers aren't used. | |
#define | AV_CPU_FLAG_XOP 0x0400 |
Bulldozer XOP functions. | |
#define | AV_CPU_FLAG_FMA4 0x0800 |
Bulldozer FMA4 functions. | |
#define | AV_CPU_FLAG_CMOV 0x1001000 |
supports cmov instruction | |
#define | AV_CPU_FLAG_AVX2 0x8000 |
AVX2 functions: requires OS support even if YMM registers aren't used. | |
#define | AV_CPU_FLAG_FMA3 0x10000 |
Haswell FMA3 functions. | |
#define | AV_CPU_FLAG_BMI1 0x20000 |
Bit Manipulation Instruction Set 1. | |
#define | AV_CPU_FLAG_BMI2 0x40000 |
Bit Manipulation Instruction Set 2. | |
#define | AV_CPU_FLAG_ALTIVEC 0x0001 |
standard | |
#define | AV_CPU_FLAG_ARMV5TE (1 << 0) |
#define | AV_CPU_FLAG_ARMV6 (1 << 1) |
#define | AV_CPU_FLAG_ARMV6T2 (1 << 2) |
#define | AV_CPU_FLAG_VFP (1 << 3) |
#define | AV_CPU_FLAG_VFPV3 (1 << 4) |
#define | AV_CPU_FLAG_NEON (1 << 5) |
#define | AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ |
#define | AV_CPU_FLAG_MMX 0x0001 |
standard MMX | |
#define | AV_CPU_FLAG_MMXEXT 0x0002 |
SSE integer functions or AMD MMX ext. | |
#define | AV_CPU_FLAG_MMX2 0x0002 |
SSE integer functions or AMD MMX ext. | |
#define | AV_CPU_FLAG_3DNOW 0x0004 |
AMD 3DNOW. | |
#define | AV_CPU_FLAG_SSE 0x0008 |
SSE functions. | |
#define | AV_CPU_FLAG_SSE2 0x0010 |
PIV SSE2 functions. | |
#define | AV_CPU_FLAG_SSE2SLOW 0x40000000 |
SSE2 supported, but usually not faster. | |
#define | AV_CPU_FLAG_3DNOWEXT 0x0020 |
AMD 3DNowExt. | |
#define | AV_CPU_FLAG_SSE3 0x0040 |
Prescott SSE3 functions. | |
#define | AV_CPU_FLAG_SSE3SLOW 0x20000000 |
SSE3 supported, but usually not faster. | |
#define | AV_CPU_FLAG_SSSE3 0x0080 |
Conroe SSSE3 functions. | |
#define | AV_CPU_FLAG_ATOM 0x10000000 |
Atom processor, some SSSE3 instructions are slower. | |
#define | AV_CPU_FLAG_SSE4 0x0100 |
Penryn SSE4.1 functions. | |
#define | AV_CPU_FLAG_SSE42 0x0200 |
Nehalem SSE4.2 functions. | |
#define | AV_CPU_FLAG_AVX 0x4000 |
AVX functions: requires OS support even if YMM registers aren't used. | |
#define | AV_CPU_FLAG_XOP 0x0400 |
Bulldozer XOP functions. | |
#define | AV_CPU_FLAG_FMA4 0x0800 |
Bulldozer FMA4 functions. | |
#define | AV_CPU_FLAG_CMOV 0x1001000 |
supports cmov instruction | |
#define | AV_CPU_FLAG_AVX2 0x8000 |
AVX2 functions: requires OS support even if YMM registers aren't used. | |
#define | AV_CPU_FLAG_FMA3 0x10000 |
Haswell FMA3 functions. | |
#define | AV_CPU_FLAG_BMI1 0x20000 |
Bit Manipulation Instruction Set 1. | |
#define | AV_CPU_FLAG_BMI2 0x40000 |
Bit Manipulation Instruction Set 2. | |
#define | AV_CPU_FLAG_ALTIVEC 0x0001 |
standard | |
#define | AV_CPU_FLAG_ARMV5TE (1 << 0) |
#define | AV_CPU_FLAG_ARMV6 (1 << 1) |
#define | AV_CPU_FLAG_ARMV6T2 (1 << 2) |
#define | AV_CPU_FLAG_VFP (1 << 3) |
#define | AV_CPU_FLAG_VFPV3 (1 << 4) |
#define | AV_CPU_FLAG_NEON (1 << 5) |
Functions | |
int | av_get_cpu_flags (void) |
Return the flags which specify extensions supported by the CPU. | |
void | av_force_cpu_flags (int flags) |
Disables cpu detection and forces the specified flags. | |
attribute_deprecated void | av_set_cpu_flags_mask (int mask) |
Set a mask on flags returned by av_get_cpu_flags(). | |
attribute_deprecated int | av_parse_cpu_flags (const char *s) |
Parse CPU flags from a string. | |
int | av_parse_cpu_caps (unsigned *flags, const char *s) |
Parse CPU caps from a string and update the given AV_CPU_* flags based on that. | |
int | av_cpu_count (void) |
#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ |
#define AV_CPU_FLAG_MMX 0x0001 |
standard MMX
Definition at line 19024 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), ff_diracdsp_init_mmx(), ff_dwt_init_x86(), ff_get_cpu_flags_x86(), ff_mpeg4_workaround_bugs(), ff_spatial_idwt_init_mmx(), ff_spp_init_x86(), init(), initFilter(), main(), postProcess(), pp_get_context(), swri_audio_convert_init_x86(), and swri_rematrix_init_x86().
#define AV_CPU_FLAG_MMXEXT 0x0002 |
SSE integer functions or AMD MMX ext.
Definition at line 19025 of file avcodec.h.
Referenced by ff_dwt_init_x86(), ff_get_cpu_flags_x86(), ff_sws_init_swscale_x86(), init(), main(), postProcess(), pp_get_context(), and swscale().
#define AV_CPU_FLAG_MMX2 0x0002 |
SSE integer functions or AMD MMX ext.
Definition at line 19026 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_diracdsp_init_mmx(), init(), and multiple_resample().
#define AV_CPU_FLAG_3DNOW 0x0004 |
AMD 3DNOW.
Definition at line 19027 of file avcodec.h.
Referenced by av_parse_cpu_caps(), dsputil_init_mmxext(), dsputil_init_ssse3(), ff_dsputil_init_pix_mmx(), ff_get_cpu_flags_x86(), init(), postProcess(), and pp_get_context().
#define AV_CPU_FLAG_SSE 0x0008 |
SSE functions.
Definition at line 19028 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_get_cpu_flags_x86(), init(), and swri_rematrix_init_x86().
#define AV_CPU_FLAG_SSE2 0x0010 |
PIV SSE2 functions.
Definition at line 19029 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_diracdsp_init_mmx(), ff_dwt_init_x86(), ff_get_cpu_flags_x86(), ff_lpc_init_x86(), ff_spatial_idwt_init_mmx(), ff_vp8dsp_init_x86(), init(), postProcess(), swri_audio_convert_init_x86(), swri_rematrix_init_x86(), and swscale().
#define AV_CPU_FLAG_SSE2SLOW 0x40000000 |
SSE2 supported, but usually not faster.
than regular MMX/SSE (e.g. Core1)
Definition at line 19030 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_ac3dsp_init_x86(), ff_audio_convert_init_x86(), ff_get_cpu_flags_x86(), ff_h264qpel_init_x86(), ff_lpc_init_x86(), ff_vp8dsp_init_x86(), and hpeldsp_init_sse2().
#define AV_CPU_FLAG_3DNOWEXT 0x0020 |
AMD 3DNowExt.
Definition at line 19032 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_get_cpu_flags_x86(), and init().
#define AV_CPU_FLAG_SSE3 0x0040 |
Prescott SSE3 functions.
Definition at line 19033 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_get_cpu_flags_x86(), ff_sws_init_swscale_x86(), and init().
#define AV_CPU_FLAG_SSE3SLOW 0x20000000 |
SSE3 supported, but usually not faster.
than regular MMX/SSE (e.g. Core1)
Definition at line 19034 of file avcodec.h.
Referenced by av_parse_cpu_caps(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_SSSE3 0x0080 |
Conroe SSSE3 functions.
Definition at line 19036 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_get_cpu_flags_x86(), ff_spatial_idwt_init_mmx(), init(), multiple_resample(), swri_audio_convert_init_x86(), and v210_x86_init().
#define AV_CPU_FLAG_ATOM 0x10000000 |
Atom processor, some SSSE3 instructions are slower.
Definition at line 19037 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), dsputil_init_sse2(), ff_ac3dsp_init_x86(), ff_get_cpu_flags_x86(), and ff_volume_init_x86().
#define AV_CPU_FLAG_SSE4 0x0100 |
Penryn SSE4.1 functions.
Definition at line 19038 of file avcodec.h.
Referenced by av_parse_cpu_caps(), dsputil_init_ssse3(), ff_get_cpu_flags_x86(), init(), and swri_audio_convert_init_x86().
#define AV_CPU_FLAG_SSE42 0x0200 |
Nehalem SSE4.2 functions.
Definition at line 19039 of file avcodec.h.
Referenced by av_parse_cpu_caps(), dsputil_init_ssse3(), ff_get_cpu_flags_x86(), and init().
#define AV_CPU_FLAG_AVX 0x4000 |
AVX functions: requires OS support even if YMM registers aren't used.
Definition at line 19040 of file avcodec.h.
Referenced by av_parse_cpu_caps(), ff_get_cpu_flags_x86(), init(), swri_audio_convert_init_x86(), swri_rematrix_init_x86(), and v210_x86_init().
#define AV_CPU_FLAG_XOP 0x0400 |
Bulldozer XOP functions.
Definition at line 19041 of file avcodec.h.
Referenced by av_parse_cpu_caps(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_FMA4 0x0800 |
Bulldozer FMA4 functions.
Definition at line 19042 of file avcodec.h.
Referenced by av_parse_cpu_caps(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_CMOV 0x1001000 |
supports cmov instruction
Definition at line 19044 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), ff_dsputil_init_x86(), ff_get_cpu_flags_x86(), ff_h264dsp_init_x86(), and PRED4x4().
#define AV_CPU_FLAG_AVX2 0x8000 |
AVX2 functions: requires OS support even if YMM registers aren't used.
Definition at line 19048 of file avcodec.h.
Referenced by av_parse_cpu_caps(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_FMA3 0x10000 |
Haswell FMA3 functions.
Definition at line 19049 of file avcodec.h.
Referenced by av_parse_cpu_caps(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_BMI1 0x20000 |
Bit Manipulation Instruction Set 1.
Definition at line 19050 of file avcodec.h.
Referenced by av_parse_cpu_caps(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_BMI2 0x40000 |
Bit Manipulation Instruction Set 2.
Definition at line 19051 of file avcodec.h.
Referenced by av_parse_cpu_caps(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_ALTIVEC 0x0001 |
standard
Definition at line 19053 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), ff_fft_init_ppc(), ff_fmt_convert_init_ppc(), ff_get_cpu_flags_ppc(), ff_get_unscaled_swscale_ppc(), ff_h264chroma_init_ppc(), ff_h264dsp_init_ppc(), ff_h264qpel_init_ppc(), ff_hpeldsp_init_ppc(), ff_mpadsp_init_ppc(), ff_MPV_common_init_ppc(), ff_sws_init_swscale_ppc(), ff_vc1dsp_init_ppc(), ff_vorbisdsp_init_ppc(), ff_vp3dsp_init_ppc(), ff_vp8dsp_init_ppc(), ff_yuv2rgb_init_ppc(), ff_yuv2rgb_init_tables_ppc(), postProcess(), pp_get_context(), and xvid_encode_init().
#define AV_CPU_FLAG_ARMV5TE (1 << 0) |
Definition at line 19055 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), and ff_get_cpu_flags_arm().
#define AV_CPU_FLAG_ARMV6 (1 << 1) |
Definition at line 19056 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), and ff_get_cpu_flags_arm().
#define AV_CPU_FLAG_ARMV6T2 (1 << 2) |
Definition at line 19057 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), and ff_get_cpu_flags_arm().
#define AV_CPU_FLAG_VFP (1 << 3) |
Definition at line 19058 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), ff_get_cpu_flags_aarch64(), and ff_get_cpu_flags_arm().
#define AV_CPU_FLAG_VFPV3 (1 << 4) |
Definition at line 19059 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), and ff_get_cpu_flags_arm().
#define AV_CPU_FLAG_NEON (1 << 5) |
Definition at line 19060 of file avcodec.h.
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), ff_get_cpu_flags_aarch64(), and ff_get_cpu_flags_arm().
#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ |
#define AV_CPU_FLAG_MMXEXT 0x0002 |
#define AV_CPU_FLAG_MMX2 0x0002 |
#define AV_CPU_FLAG_SSE2SLOW 0x40000000 |
#define AV_CPU_FLAG_SSE3 0x0040 |
#define AV_CPU_FLAG_SSE3SLOW 0x20000000 |
#define AV_CPU_FLAG_SSSE3 0x0080 |
#define AV_CPU_FLAG_ATOM 0x10000000 |
#define AV_CPU_FLAG_SSE4 0x0100 |
#define AV_CPU_FLAG_SSE42 0x0200 |
#define AV_CPU_FLAG_AVX 0x4000 |
#define AV_CPU_FLAG_FMA4 0x0800 |
#define AV_CPU_FLAG_CMOV 0x1001000 |
#define AV_CPU_FLAG_AVX2 0x8000 |
#define AV_CPU_FLAG_FMA3 0x10000 |
#define AV_CPU_FLAG_BMI1 0x20000 |
#define AV_CPU_FLAG_BMI2 0x40000 |
#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */ |
#define AV_CPU_FLAG_MMXEXT 0x0002 |
#define AV_CPU_FLAG_MMX2 0x0002 |
#define AV_CPU_FLAG_SSE2SLOW 0x40000000 |
#define AV_CPU_FLAG_SSE3SLOW 0x20000000 |
#define AV_CPU_FLAG_ATOM 0x10000000 |
#define AV_CPU_FLAG_AVX 0x4000 |
#define AV_CPU_FLAG_AVX2 0x8000 |
#define AV_CPU_FLAG_BMI1 0x20000 |
#define AV_CPU_FLAG_BMI2 0x40000 |
int av_get_cpu_flags | ( | void | ) |
Return the flags which specify extensions supported by the CPU.
The returned value is affected by av_force_cpu_flags() if that was used before. So av_get_cpu_flags() can easily be used in a application to detect the enabled cpu flags.
Definition at line 54 of file cpu.c.
Referenced by av_set_cpu_flags_mask(), ff_ac3dsp_init_arm(), ff_ac3dsp_init_x86(), ff_audio_convert_init_arm(), ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_cavsdsp_init_x86(), ff_dcadsp_init_arm(), ff_dcadsp_init_x86(), ff_dct_encode_init_x86(), ff_dct_init_x86(), ff_diracdsp_init_mmx(), ff_dither_init_x86(), ff_dnxhdenc_init_x86(), ff_dsputil_init_arm(), ff_dsputil_init_pix_mmx(), ff_dsputil_init_ppc(), ff_dsputil_init_x86(), ff_dwt_init_x86(), ff_fft_fixed_init_arm(), ff_fft_init_arm(), ff_fft_init_ppc(), ff_fft_init_x86(), ff_flacdsp_init_x86(), ff_float_dsp_init_arm(), ff_float_dsp_init_ppc(), ff_float_dsp_init_x86(), ff_fmt_convert_init_arm(), ff_fmt_convert_init_ppc(), ff_fmt_convert_init_x86(), ff_get_unscaled_swscale_arm(), ff_get_unscaled_swscale_ppc(), ff_gradfun_init_x86(), ff_h263dsp_init_x86(), ff_h264_pred_init_arm(), ff_h264chroma_init_aarch64(), ff_h264chroma_init_arm(), ff_h264chroma_init_ppc(), ff_h264chroma_init_x86(), ff_h264dsp_init_aarch64(), ff_h264dsp_init_arm(), ff_h264dsp_init_ppc(), ff_h264dsp_init_x86(), ff_h264qpel_init_aarch64(), ff_h264qpel_init_arm(), ff_h264qpel_init_ppc(), ff_h264qpel_init_x86(), ff_hpeldsp_init_aarch64(), ff_hpeldsp_init_arm(), ff_hpeldsp_init_ppc(), ff_hpeldsp_init_x86(), ff_init_lls_x86(), ff_llviddsp_init_x86(), ff_lpc_init_x86(), ff_mlpdsp_init_x86(), ff_mpadsp_init_arm(), ff_mpadsp_init_ppc(), ff_mpadsp_init_x86(), ff_mpeg4_workaround_bugs(), ff_MPV_common_init_arm(), ff_MPV_common_init_ppc(), ff_MPV_common_init_x86(), ff_pngdsp_init_x86(), ff_proresdsp_init_x86(), ff_psdsp_init_arm(), ff_pullup_init_x86(), ff_rv34dsp_init_arm(), ff_rv34dsp_init_x86(), ff_rv40dsp_init_aarch64(), ff_rv40dsp_init_arm(), ff_rv40dsp_init_x86(), ff_sbrdsp_init_arm(), ff_sbrdsp_init_x86(), ff_spatial_idwt_init_mmx(), ff_spp_init_x86(), ff_sws_init_swscale_ppc(), ff_sws_init_swscale_x86(), ff_synth_filter_init_arm(), ff_synth_filter_init_x86(), ff_ttadsp_init_x86(), ff_vc1dsp_init_aarch64(), ff_vc1dsp_init_arm(), ff_vc1dsp_init_ppc(), ff_vc1dsp_init_x86(), ff_videodsp_init_arm(), ff_videodsp_init_x86(), ff_volume_init_x86(), ff_vorbisdsp_init_arm(), ff_vorbisdsp_init_ppc(), ff_vorbisdsp_init_x86(), ff_vp3dsp_init_arm(), ff_vp3dsp_init_ppc(), ff_vp3dsp_init_x86(), ff_vp6dsp_init_arm(), ff_vp6dsp_init_x86(), ff_vp8dsp_init_arm(), ff_vp8dsp_init_ppc(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_x86(), ff_yadif_init_x86(), ff_yuv2rgb_init_ppc(), ff_yuv2rgb_init_tables_ppc(), ff_yuv2rgb_init_x86(), hadamard_func(), init(), main(), multiple_resample(), opt_cpuflags(), pp_get_context(), PRED4x4(), rgb2rgb_init_x86(), swri_audio_convert_init_arm(), swri_audio_convert_init_x86(), swri_rematrix_init_x86(), sws_init_context(), swscale(), v210_x86_init(), and xvid_encode_init().
void av_force_cpu_flags | ( | int | flags | ) |
Disables cpu detection and forces the specified flags.
-1 is a special case that disables forcing of specific flags.
Definition at line 49 of file cpu.c.
Referenced by main(), and opt_cpuflags().
attribute_deprecated void av_set_cpu_flags_mask | ( | int | mask | ) |
Set a mask on flags returned by av_get_cpu_flags().
This function is mainly useful for testing. Please use av_force_cpu_flags() and av_get_cpu_flags() instead which are more flexible
attribute_deprecated int av_parse_cpu_flags | ( | const char * | s | ) |
Parse CPU flags from a string.
The returned flags contain the specified flags as well as related unspecified flags.
This function exists only for compatibility with libav. Please use av_parse_cpu_caps() when possible.
int av_parse_cpu_caps | ( | unsigned * | flags, |
const char * | s | ||
) |
Parse CPU caps from a string and update the given AV_CPU_* flags based on that.
Definition at line 154 of file cpu.c.
Referenced by main(), and opt_cpuflags().
int av_cpu_count | ( | void | ) |
Definition at line 221 of file cpu.c.
Referenced by ff_frame_thread_encoder_init(), ff_frame_thread_init(), ff_slice_thread_init(), and thread_init_internal().