Go to the source code of this file.
Defines | |
#define | AV_CPU_FLAG_FORCE 0x80000000 |
#define | AV_CPU_FLAG_MMX 0x0001 |
standard MMX | |
#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_IWMMXT 0x0100 |
XScale IWMMXT. | |
#define | AV_CPU_FLAG_ALTIVEC 0x0001 |
standard | |
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. | |
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) |
#define AV_CPU_FLAG_3DNOW 0x0004 |
AMD 3DNOW.
Definition at line 29 of file cpu.h.
Referenced by DECLARE_ASM_CONST(), dsputil_init_mmx(), dsputil_init_pix_mmx(), dsputilenc_init_mmx(), ff_ac3dsp_init_x86(), ff_cavsdsp_init_mmx(), ff_fft_init_mmx(), ff_fmt_convert_init_x86(), ff_get_cpu_flags_x86(), ff_rv40dsp_init_x86(), ff_vc1dsp_init_mmx(), and sws_init_context().
#define AV_CPU_FLAG_3DNOWEXT 0x0020 |
AMD 3DNowExt.
Definition at line 33 of file cpu.h.
Referenced by dsputil_init_mmx(), ff_fft_init_mmx(), ff_fmt_convert_init_x86(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_ALTIVEC 0x0001 |
standard
Definition at line 44 of file cpu.h.
Referenced by dsputil_h264_init_ppc(), dsputil_init_ppc(), ff_get_cpu_flags_ppc(), ff_h264dsp_init_ppc(), ff_sws_init_swScale_altivec(), ff_swscale_get_unscaled_altivec(), ff_vc1dsp_init_altivec(), ff_vp8dsp_init_altivec(), ff_yuv2rgb_init_altivec(), initFilter(), MPV_common_init_altivec(), sws_init_context(), and sws_setColorspaceDetails().
#define AV_CPU_FLAG_ATOM 0x10000000 |
Atom processor, some SSSE3 instructions are slower.
Definition at line 37 of file cpu.h.
Referenced by dsputil_init_mmx(), ff_ac3dsp_init_x86(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_AVX 0x4000 |
AVX functions: requires OS support even if YMM registers aren't used.
Definition at line 40 of file cpu.h.
Referenced by dsputil_init_mmx(), ff_fft_init_mmx(), ff_get_cpu_flags_x86(), ff_h264dsp_init_x86(), ff_mpadsp_init_mmx(), ff_proresdsp_x86_init(), ff_sws_init_swScale_mmx(), PRED4x4(), and v210_x86_init().
#define AV_CPU_FLAG_FMA4 0x0800 |
Bulldozer FMA4 functions.
Definition at line 42 of file cpu.h.
Referenced by ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_FORCE 0x80000000 |
Definition at line 24 of file cpu.h.
Referenced by dsputil_init_mmx(), dsputil_init_ppc(), ff_dsputil_init_iwmmxt(), and main().
#define AV_CPU_FLAG_IWMMXT 0x0100 |
XScale IWMMXT.
Definition at line 43 of file cpu.h.
Referenced by ff_dsputil_init_iwmmxt(), ff_get_cpu_flags_arm(), and MPV_common_init_iwmmxt().
#define AV_CPU_FLAG_MMX 0x0001 |
standard MMX
Definition at line 27 of file cpu.h.
Referenced by DECLARE_ASM_CONST(), dsputil_init_mmx(), dsputil_init_pix_mmx(), dsputilenc_init_mmx(), ff_ac3dsp_init_x86(), ff_dwt_init_x86(), ff_fmt_convert_init_x86(), ff_get_cpu_flags_x86(), ff_h263_decode_frame(), ff_h264dsp_init_x86(), ff_rv40dsp_init_x86(), ff_spatial_idwt_init_mmx(), ff_sws_init_swScale_mmx(), ff_vc1dsp_init_mmx(), ff_vp56dsp_init_x86(), ff_vp8dsp_init_x86(), init(), initFilter(), main(), mmx_emms(), MPV_common_init_mmx(), PRED4x4(), and sws_init_context().
#define AV_CPU_FLAG_MMX2 0x0002 |
SSE integer functions or AMD MMX ext.
Definition at line 28 of file cpu.h.
Referenced by DECLARE_ASM_CONST(), dsputil_init_mmx(), dsputil_init_pix_mmx(), dsputilenc_init_mmx(), ff_ac3dsp_init_x86(), ff_cavsdsp_init_mmx(), ff_diracdsp_init_mmx(), ff_dwt_init_x86(), ff_get_cpu_flags_x86(), ff_h264dsp_init_x86(), ff_png_init_mmx(), ff_rv40dsp_init_x86(), ff_sws_init_swScale_mmx(), ff_vc1dsp_init_mmx(), ff_vp8dsp_init_x86(), init(), main(), MPV_common_init_mmx(), PRED4x4(), sws_init_context(), and swScale().
#define AV_CPU_FLAG_SSE 0x0008 |
SSE functions.
Definition at line 30 of file cpu.h.
Referenced by dsputil_init_mmx(), ff_ac3dsp_init_x86(), ff_fft_init_mmx(), ff_fmt_convert_init_x86(), ff_get_cpu_flags_x86(), ff_mpadsp_init_mmx(), ff_vp8dsp_init_x86(), and PRED4x4().
#define AV_CPU_FLAG_SSE2 0x0010 |
PIV SSE2 functions.
Definition at line 31 of file cpu.h.
Referenced by DECLARE_ASM_CONST(), dsputil_init_mmx(), dsputil_init_pix_mmx(), dsputilenc_init_mmx(), ff_ac3dsp_init_x86(), ff_diracdsp_init_mmx(), ff_dnxhd_init_mmx(), ff_dwt_init_x86(), ff_fmt_convert_init_x86(), ff_get_cpu_flags_x86(), ff_h264dsp_init_x86(), ff_lpc_init_x86(), ff_mpadsp_init_mmx(), ff_proresdsp_x86_init(), ff_spatial_idwt_init_mmx(), ff_sws_init_swScale_mmx(), ff_vc1dsp_init_mmx(), ff_vp56dsp_init_x86(), ff_vp8dsp_init_x86(), init(), MPV_common_init_mmx(), PRED4x4(), and swScale().
#define AV_CPU_FLAG_SSE2SLOW 0x40000000 |
SSE2 supported, but usually not faster.
Definition at line 32 of file cpu.h.
Referenced by dsputil_init_mmx(), ff_ac3dsp_init_x86(), ff_get_cpu_flags_x86(), ff_lpc_init_x86(), and ff_vp8dsp_init_x86().
#define AV_CPU_FLAG_SSE3 0x0040 |
Prescott SSE3 functions.
Definition at line 34 of file cpu.h.
Referenced by ff_get_cpu_flags_x86(), ff_mpadsp_init_mmx(), and ff_sws_init_swScale_mmx().
#define AV_CPU_FLAG_SSE3SLOW 0x20000000 |
SSE3 supported, but usually not faster.
Definition at line 35 of file cpu.h.
Referenced by ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_SSE4 0x0100 |
Penryn SSE4.1 functions.
Definition at line 38 of file cpu.h.
Referenced by dsputil_init_mmx(), ff_get_cpu_flags_x86(), ff_h264dsp_init_x86(), ff_proresdsp_x86_init(), ff_sws_init_swScale_mmx(), ff_vc1dsp_init_mmx(), and ff_vp8dsp_init_x86().
#define AV_CPU_FLAG_SSE42 0x0200 |
Nehalem SSE4.2 functions.
Definition at line 39 of file cpu.h.
Referenced by dsputil_init_mmx(), and ff_get_cpu_flags_x86().
#define AV_CPU_FLAG_SSSE3 0x0080 |
Conroe SSSE3 functions.
Definition at line 36 of file cpu.h.
Referenced by dsputil_init_mmx(), dsputilenc_init_mmx(), ff_ac3dsp_init_x86(), ff_get_cpu_flags_x86(), ff_h264dsp_init_x86(), ff_mpadsp_init_mmx(), ff_png_init_mmx(), ff_spatial_idwt_init_mmx(), ff_sws_init_swScale_mmx(), ff_vc1dsp_init_mmx(), ff_vp8dsp_init_x86(), init(), MPV_common_init_mmx(), PRED4x4(), and v210_x86_init().
#define AV_CPU_FLAG_XOP 0x0400 |
void av_force_cpu_flags | ( | int | flags | ) |
int av_get_cpu_flags | ( | void | ) |
Return the flags which specify extensions supported by the CPU.
Definition at line 29 of file cpu.c.
Referenced by DECLARE_ASM_CONST(), dsputil_h264_init_ppc(), dsputil_init_mmx(), dsputil_init_pix_mmx(), dsputil_init_ppc(), dsputilenc_init_mmx(), ff_ac3dsp_init_x86(), ff_cavsdsp_init_mmx(), ff_diracdsp_init_mmx(), ff_dnxhd_init_mmx(), ff_dwt_init_x86(), ff_fft_init_mmx(), ff_fmt_convert_init_x86(), ff_h263_decode_frame(), ff_h264dsp_init_ppc(), ff_h264dsp_init_x86(), ff_lpc_init_x86(), ff_mpadsp_init_mmx(), ff_png_init_mmx(), ff_proresdsp_x86_init(), ff_rv40dsp_init_x86(), ff_spatial_idwt_init_mmx(), ff_sws_init_swScale_altivec(), ff_sws_init_swScale_mmx(), ff_swscale_get_unscaled_altivec(), ff_vc1dsp_init_altivec(), ff_vc1dsp_init_mmx(), ff_vp56dsp_init_x86(), ff_vp8dsp_init_altivec(), ff_vp8dsp_init_x86(), ff_yuv2rgb_init_altivec(), init(), main(), MPV_common_init_altivec(), MPV_common_init_mmx(), PRED4x4(), sws_init_context(), sws_setColorspaceDetails(), swScale(), and v210_x86_init().
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.
Definition at line 38 of file cpu.c.
Referenced by av_get_cpu_flags().
int ff_get_cpu_flags_x86 | ( | void | ) |