Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/cpu.h
AgeCommit message (Collapse)Author
2022-09-30Specify hidden visibility for global data symbol declarationsHenrik Gramner
'-fvisibility=hidden' only applies to definitions, not declarations, so the compiler has to be conservative about how references to global data symbols are performed. Explicitly specifying the visibility allows for better code generation.
2022-07-06Eliminate unused C DSP functions at compile timeHenrik Gramner
When compiling with asm enabled there's no point in compiling C versions of DSP functions that have asm implementations using instruction sets that the compiler can unconditionally use. E.g. when compiling with -mssse3 we can remove the C version of all functions with SSSE3 implementations. This is accomplished using the compiler's dead code elimination functionality. Can be configured using the new 'trim_dsp' meson option, which by default is enabled when compiling in release mode.
2022-07-06cpu: Inline dav1d_get_cpu_flags()Henrik Gramner
2021-09-21Avoid leaking a dependency on stdatomic.h outside of the main libraryMartin Storsjö
This fixes building with MSVC (and probably old GCC too) after 9636af88b892703ed13ce9216723c63029b6dd1a. That commit made src/cpu.h include src/internal.h. src/internal.h includes stdatomic.h and thus requires declaring the dependency on stdatomic_dependencies. Instead of adding that dependency in all other build targets that include src/cpu.h (most tests and tools), avoid leaking the dependency in this particular header.
2021-09-20Add automatic thread count selectionHenrik Gramner
Supports Linux, MacOS, and Windows.
2019-12-14Fix potential race condition in dav1d_get_cpu_flags()Henrik Gramner
2019-06-10Initial PowerPC supportLuca Barbato
Limited to PowerPC64 LE for now.
2019-05-10Add __attribute__((cold)) to rarely used functionsHenrik Gramner
2019-02-13Remove leading double underscores from include guard definesMartin Storsjö
A symbol starting with two leading underscores is reserved for the compiler/standard library implementation. Also remove the trailing two double underscores for consistency and symmetry.
2018-11-21mark dav1d_set_cpu_flags_mask visibleJanne Grunau
2018-09-29build: add support for arm/aarch64 asm and integrate checkasmJanne Grunau
2018-09-28Add 'checkasm' asm testing/benchmarking frameworkHenrik Gramner
Some of the code originally written by, or based by code written by, the following authors who have agreed to relicense it to 2-clause BSD: Anton Mitrofanov Diego Biurrun Janne Grunau Loren Merritt Luca Barbato Martin Storsjö Michael Niedermayer