Download .libs/ffmpeg/linux/include/libavutil/cpu.h from phorcys-git/P.SM.ROOT: direct link, hf CLI and curl.
- Browser
- Download file 6.77 kB
-
https://huggingface.co/phorcys-git/P.SM.ROOT/resolve/main/.libs/ffmpeg/linux/include/libavutil/cpu.h
- Command line
-
hf download hf://phorcys-git/P.SM.ROOT/.libs/ffmpeg/linux/include/libavutil/cpu.h
-
curl -L -o cpu.h https://huggingface.co/phorcys-git/P.SM.ROOT/resolve/main/.libs/ffmpeg/linux/include/libavutil/cpu.h
6.77 kB
| /* | |
| * Copyright (c) 2000, 2001, 2002 Fabrice Bellard | |
| * | |
| * This file is part of FFmpeg. | |
| * | |
| * FFmpeg is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | |
| * | |
| * FFmpeg is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | |
| * | |
| * You should have received a copy of the GNU Lesser General Public | |
| * License along with FFmpeg; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| */ | |
| /* lower 16 bits - CPU features */ | |
| ///< than regular MMX/SSE (e.g. Core1) | |
| ///< than regular MMX/SSE (e.g. Core1) | |
| //Loongarch SIMD extension. | |
| // RISC-V extensions | |
| // WASM extensions | |
| /** | |
| * 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 an application to | |
| * detect the enabled cpu flags. | |
| */ | |
| int av_get_cpu_flags(void); | |
| /** | |
| * Disables cpu detection and forces the specified flags. | |
| * -1 is a special case that disables forcing of specific flags. | |
| */ | |
| void av_force_cpu_flags(int flags); | |
| /** | |
| * Parse CPU caps from a string and update the given AV_CPU_* flags based on that. | |
| * | |
| * @return negative on error. | |
| */ | |
| int av_parse_cpu_caps(unsigned *flags, const char *s); | |
| /** | |
| * @return the number of logical CPU cores present. | |
| */ | |
| int av_cpu_count(void); | |
| /** | |
| * Overrides cpu count detection and forces the specified count. | |
| * Count < 1 disables forcing of specific count. | |
| */ | |
| void av_cpu_force_count(int count); | |
| /** | |
| * Get the maximum data alignment that may be required by FFmpeg. | |
| * | |
| * Note that this is affected by the build configuration and the CPU flags mask, | |
| * so e.g. if the CPU supports AVX, but libavutil has been built with | |
| * --disable-avx or the AV_CPU_FLAG_AVX flag has been disabled through | |
| * av_set_cpu_flags_mask(), then this function will behave as if AVX is not | |
| * present. | |
| */ | |
| size_t av_cpu_max_align(void); | |