FFmpeg
|
Go to the source code of this file.
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) |
#define AV_CPU_FLAG_AMD3DNOW AV_CPU_FLAG_3DNOW |
#define AV_CPU_FLAG_AMD3DNOWEXT AV_CPU_FLAG_3DNOWEXT |
Definition at line 31 of file cpu.h.
Referenced by sws_init_context().
Definition at line 32 of file cpu.h.
Referenced by ff_qpeldsp_init_x86().
#define X86_SSE2_FAST | ( | flags | ) | CPUEXT_FAST(flags, SSE2) |
#define X86_SSE2_SLOW | ( | flags | ) | CPUEXT_SLOW(flags, SSE2) |
#define X86_SSE3_FAST | ( | flags | ) | CPUEXT_FAST(flags, SSE3) |
#define X86_SSE3_SLOW | ( | flags | ) | CPUEXT_SLOW(flags, SSE3) |
#define X86_AVX_FAST | ( | flags | ) | CPUEXT_FAST(flags, AVX) |
#define X86_AVX_SLOW | ( | flags | ) | CPUEXT_SLOW(flags, AVX) |
#define EXTERNAL_AMD3DNOW | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOW) |
Definition at line 51 of file cpu.h.
Referenced by ff_ac3dsp_init_x86(), ff_fft_init_x86(), ff_h264chroma_init_x86(), ff_hpeldsp_init_x86(), ff_rv40dsp_init_x86(), ff_vc1dsp_init_x86(), ff_videodsp_init_x86(), and ff_vorbisdsp_init_x86().
#define EXTERNAL_AMD3DNOWEXT | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, AMD3DNOWEXT) |
Definition at line 52 of file cpu.h.
Referenced by ff_fft_init_x86(), and ff_float_dsp_init_x86().
#define EXTERNAL_MMX | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, MMX) |
Definition at line 53 of file cpu.h.
Referenced by D(), ff_ac3dsp_init_x86(), ff_audio_convert_init_x86(), ff_audiodsp_init_x86(), ff_blockdsp_init_x86(), ff_diracdsp_init_mmx(), ff_fspp_init_x86(), ff_h263dsp_init_x86(), ff_h264chroma_init_x86(), ff_h264dsp_init_x86(), ff_huffyuvdsp_init_x86(), ff_idctdsp_init_x86(), ff_idet_init_x86(), ff_llviddsp_init_x86(), ff_mpegvideoencdsp_init_x86(), ff_pixblockdsp_init_x86(), ff_pixelutils_sad_init_x86(), ff_pngdsp_init_x86(), ff_pp7_init_x86(), ff_pullup_init_x86(), ff_rv34dsp_init_x86(), ff_rv40dsp_init_x86(), ff_svq1enc_init_x86(), ff_sws_init_swscale_x86(), ff_vc1dsp_init_x86(), ff_videodsp_init_x86(), ff_vp3dsp_init_x86(), ff_vp6dsp_init_x86(), ff_vp78dsp_init_x86(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_x86(), ff_xvid_idct_init_x86(), PRED4x4(), and swri_audio_convert_init_x86().
#define EXTERNAL_MMXEXT | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, MMXEXT) |
Definition at line 54 of file cpu.h.
Referenced by ff_ac3dsp_init_x86(), ff_audiodsp_init_x86(), ff_cavsdsp_init_x86(), ff_diracdsp_init_mmx(), ff_gradfun_init_x86(), ff_h264chroma_init_x86(), ff_h264dsp_init_x86(), ff_h264qpel_init_x86(), ff_hevc_dsp_init_x86(), ff_hpeldsp_init_x86(), ff_huffyuvdsp_init_x86(), ff_idet_init_x86(), ff_llauddsp_init_x86(), ff_llviddsp_init_x86(), ff_mpegvideoencdsp_init_x86(), ff_pixelutils_sad_init_x86(), ff_pngdsp_init_x86(), ff_rv34dsp_init_x86(), ff_rv40dsp_init_x86(), ff_sws_init_swscale_x86(), ff_vc1dsp_init_x86(), ff_videodsp_init_x86(), ff_vp3dsp_init_x86(), ff_vp78dsp_init_x86(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_x86(), ff_xvid_idct_init_x86(), ff_yadif_init_x86(), PRED4x4(), and swri_resample_dsp_x86_init().
#define EXTERNAL_SSE | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, SSE) |
Definition at line 55 of file cpu.h.
Referenced by D(), ff_ac3dsp_init_x86(), ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_audiodsp_init_x86(), ff_blockdsp_init_x86(), ff_dcadsp_init_x86(), ff_dct_init_x86(), ff_fft_init_x86(), ff_float_dsp_init_x86(), ff_fmt_convert_init_x86(), ff_jpeg2000dsp_init_x86(), ff_mpadsp_init_x86(), ff_psdsp_init_x86(), ff_sbrdsp_init_x86(), ff_synth_filter_init_x86(), ff_videodsp_init_x86(), ff_vorbisdsp_init_x86(), ff_vp78dsp_init_x86(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_x86(), PRED4x4(), swri_audio_convert_init_x86(), and swri_resample_dsp_x86_init().
#define EXTERNAL_SSE2 | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, SSE2) |
Definition at line 56 of file cpu.h.
Referenced by D(), ff_ac3dsp_init_x86(), ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_audiodsp_init_x86(), ff_bswapdsp_init_x86(), ff_cavsdsp_init_x86(), ff_dcadsp_init_x86(), ff_dct_init_x86(), ff_diracdsp_init_mmx(), ff_dither_init_x86(), ff_dnxhdenc_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_hpeldsp_init_x86(), ff_huffyuvdsp_init_x86(), ff_idctdsp_init_x86(), ff_idet_init_x86(), ff_init_lls_x86(), ff_interlace_init_x86(), ff_jpeg2000dsp_init_x86(), ff_llauddsp_init_x86(), ff_llviddsp_init_x86(), ff_mpadsp_init_x86(), ff_mpegvideoencdsp_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_rv40dsp_init_x86(), ff_sbrdsp_init_x86(), ff_svq1enc_init_x86(), ff_sws_init_swscale_x86(), ff_synth_filter_init_x86(), ff_tinterlace_init_x86(), ff_vc1dsp_init_x86(), ff_videodsp_init_x86(), ff_volume_init_x86(), ff_vp3dsp_init_x86(), ff_vp6dsp_init_x86(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_x86(), ff_xvid_idct_init_x86(), ff_yadif_init_x86(), PRED4x4(), swri_audio_convert_init_x86(), and swri_resample_dsp_x86_init().
#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) |
Definition at line 59 of file cpu.h.
Referenced by ff_mpadsp_init_x86(), ff_psdsp_init_x86(), and ff_sbrdsp_init_x86().
#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) |
Definition at line 62 of file cpu.h.
Referenced by ff_ac3dsp_init_x86(), ff_audio_convert_init_x86(), ff_bswapdsp_init_x86(), ff_gradfun_init_x86(), ff_h264chroma_init_x86(), ff_h264dsp_init_x86(), ff_h264qpel_init_x86(), ff_hevc_dsp_init_x86(), ff_hpeldsp_init_x86(), ff_huffyuvdsp_init_x86(), ff_llauddsp_init_x86(), ff_llviddsp_init_x86(), ff_mpadsp_init_x86(), ff_pngdsp_init_x86(), ff_rv40dsp_init_x86(), ff_ssim_init_x86(), ff_sws_init_swscale_x86(), ff_ttadsp_init_x86(), ff_v210enc_init_x86(), ff_vc1dsp_init_x86(), ff_volume_init_x86(), ff_vp78dsp_init_x86(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_x86(), ff_yadif_init_x86(), PRED4x4(), and swri_audio_convert_init_x86().
#define EXTERNAL_SSE4 | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, SSE4) |
Definition at line 63 of file cpu.h.
Referenced by ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_audiodsp_init_x86(), ff_dcadsp_init_x86(), ff_flacdsp_init_x86(), ff_h264dsp_init_x86(), ff_hevc_dsp_init_x86(), ff_llviddsp_init_x86(), ff_mlpdsp_init_x86(), ff_rv34dsp_init_x86(), ff_ssim_init_x86(), ff_sws_init_swscale_x86(), ff_ttadsp_init_x86(), ff_vc1dsp_init_x86(), ff_vp8dsp_init_x86(), and ff_yadif_init_x86().
#define EXTERNAL_SSE42 | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, SSE42) |
#define EXTERNAL_AVX | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, AVX) |
Definition at line 65 of file cpu.h.
Referenced by ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_flacdsp_init_x86(), ff_h264chroma_init_x86(), ff_h264dsp_init_x86(), ff_h264qpel_init_x86(), ff_hevc_dsp_init_x86(), ff_interlace_init_x86(), ff_mpadsp_init_x86(), ff_proresdsp_init_x86(), ff_sws_init_swscale_x86(), ff_tinterlace_init_x86(), ff_v210enc_init_x86(), ff_vp9dsp_init_x86(), PRED4x4(), and swri_audio_convert_init_x86().
#define EXTERNAL_AVX_FAST | ( | flags | ) | CPUEXT_SUFFIX_FAST(flags, _EXTERNAL, AVX) |
Definition at line 66 of file cpu.h.
Referenced by D(), ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_dct_init_x86(), ff_dither_init_x86(), ff_fft_init_x86(), ff_float_dsp_init_x86(), ff_init_lls_x86(), ff_jpeg2000dsp_init_x86(), ff_synth_filter_init_x86(), ff_volume_init_x86(), ff_vp9dsp_init_x86(), swri_audio_convert_init_x86(), and swri_resample_dsp_x86_init().
#define EXTERNAL_AVX_SLOW | ( | flags | ) | CPUEXT_SUFFIX_SLOW(flags, _EXTERNAL, AVX) |
#define EXTERNAL_XOP | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, XOP) |
Definition at line 68 of file cpu.h.
Referenced by ff_flacdsp_init_x86(), ff_mpegvideoencdsp_init_x86(), ff_ssim_init_x86(), and swri_resample_dsp_x86_init().
#define EXTERNAL_FMA3 | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, FMA3) |
Definition at line 69 of file cpu.h.
Referenced by ff_dcadsp_init_x86(), ff_float_dsp_init_x86(), ff_synth_filter_init_x86(), and swri_resample_dsp_x86_init().
#define EXTERNAL_FMA4 | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, FMA4) |
Definition at line 70 of file cpu.h.
Referenced by swri_resample_dsp_x86_init().
#define EXTERNAL_AVX2 | ( | flags | ) | CPUEXT_SUFFIX(flags, _EXTERNAL, AVX2) |
Definition at line 71 of file cpu.h.
Referenced by ff_hevc_dsp_init_x86(), ff_jpeg2000dsp_init_x86(), ff_mlpdsp_init_x86(), ff_videodsp_init_x86(), ff_vp9dsp_init_x86(), and swri_audio_convert_init_x86().
#define INLINE_AMD3DNOW | ( | flags | ) | CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOW) |
Definition at line 73 of file cpu.h.
Referenced by ff_cavsdsp_init_x86(), ff_mpegvideoencdsp_init_x86(), rgb2rgb_init_x86(), and sws_init_context().
#define INLINE_AMD3DNOWEXT | ( | flags | ) | CPUEXT_SUFFIX(flags, _INLINE, AMD3DNOWEXT) |
#define INLINE_MMX | ( | flags | ) | CPUEXT_SUFFIX(flags, _INLINE, MMX) |
Definition at line 75 of file cpu.h.
Referenced by ff_dct_encode_init_x86(), ff_fdctdsp_init_x86(), ff_hpeldsp_init_x86(), ff_huffyuvencdsp_init_x86(), ff_idctdsp_init_x86(), ff_mlpdsp_init_x86(), ff_mpegvideodsp_init_x86(), ff_mpegvideoencdsp_init_x86(), ff_mpv_common_init_x86(), ff_noise_init_x86(), ff_rv40dsp_init_x86(), ff_sws_init_swscale_x86(), ff_vc1dsp_init_x86(), ff_yuv2rgb_init_x86(), rgb2rgb_init_x86(), and sws_init_context().
#define INLINE_MMXEXT | ( | flags | ) | CPUEXT_SUFFIX(flags, _INLINE, MMXEXT) |
Definition at line 76 of file cpu.h.
Referenced by ff_cavsdsp_init_x86(), ff_dct_encode_init_x86(), ff_fdctdsp_init_x86(), ff_huffyuvencdsp_init_x86(), ff_noise_init_x86(), ff_sws_init_swscale_x86(), ff_vc1dsp_init_x86(), ff_yuv2rgb_init_x86(), rgb2rgb_init_x86(), and sws_init_context().
#define INLINE_SSE | ( | flags | ) | CPUEXT_SUFFIX(flags, _INLINE, SSE) |
Definition at line 77 of file cpu.h.
Referenced by ff_ac3dsp_init_x86(), and ff_mpadsp_init_x86().
#define INLINE_SSE2 | ( | flags | ) | CPUEXT_SUFFIX(flags, _INLINE, SSE2) |
Definition at line 78 of file cpu.h.
Referenced by ff_dct_encode_init_x86(), ff_fdctdsp_init_x86(), and rgb2rgb_init_x86().
#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) |
Definition at line 84 of file cpu.h.
Referenced by ff_dct_encode_init_x86(), and ff_mpegvideoencdsp_init_x86().
#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) |
Definition at line 87 of file cpu.h.
Referenced by rgb2rgb_init_x86().
#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) |
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 | ) |