src/ffmpeg/libavutil/cpu

Consts

AV_CPU_FLAG_3DNOW = 0x00000004
AV_CPU_FLAG_3DNOWEXT = 0x00000020
AV_CPU_FLAG_AESNI = 0x00080000
AV_CPU_FLAG_ALTIVEC = 0x00000001
AV_CPU_FLAG_ATOM = 0x10000000
AV_CPU_FLAG_AVX = 0x00004000
AV_CPU_FLAG_AVX2 = 0x00008000
AV_CPU_FLAG_AVX512 = 0x00100000
AV_CPU_FLAG_AVXSLOW = 0x08000000
AV_CPU_FLAG_BMI1 = 0x00020000
AV_CPU_FLAG_BMI2 = 0x00040000
AV_CPU_FLAG_CMOV = 0x00001000
AV_CPU_FLAG_FMA3 = 0x00010000
AV_CPU_FLAG_FMA4 = 0x00000800
AV_CPU_FLAG_FORCE = 0x0000000080000000'i64
AV_CPU_FLAG_MMX = 0x00000001
AV_CPU_FLAG_MMXEXT = 0x00000002
AV_CPU_FLAG_POWER8 = 0x00000004
AV_CPU_FLAG_SSE = 0x00000008
AV_CPU_FLAG_SSE2 = 0x00000010
AV_CPU_FLAG_SSE2SLOW = 0x40000000
AV_CPU_FLAG_SSE3 = 0x00000040
AV_CPU_FLAG_SSE3SLOW = 0x20000000
AV_CPU_FLAG_SSE4 = 0x00000100
AV_CPU_FLAG_SSE42 = 0x00000200
AV_CPU_FLAG_SSSE3 = 0x00000080
AV_CPU_FLAG_SSSE3SLOW = 0x04000000
AV_CPU_FLAG_VSX = 0x00000002
AV_CPU_FLAG_XOP = 0x00000400

Procs

proc av_cpu_count(): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_cpu_force_count(count: cint) {.importc, cdecl, ...raises: [], tags: [],
                                       forbids: [].}
proc av_cpu_max_align(): csize_t {.importc, cdecl, ...raises: [], tags: [],
                                   forbids: [].}
proc av_force_cpu_flags(flags: cint) {.importc, cdecl, ...raises: [], tags: [],
                                       forbids: [].}
proc av_get_cpu_flags(): cint {.importc, cdecl, ...raises: [], tags: [],
                                forbids: [].}
proc av_parse_cpu_caps(flags: ptr cuint; s: cstring): cint {.importc, cdecl,
    ...raises: [], tags: [], forbids: [].}