... | @@ -2,6 +2,8 @@ The dav1d AV1 decoder uses the [Meson build system][meson]. To compile dav1d, ** |
... | @@ -2,6 +2,8 @@ The dav1d AV1 decoder uses the [Meson build system][meson]. To compile dav1d, ** |
|
|
|
|
|
## Basic compilation
|
|
## Basic compilation
|
|
|
|
|
|
|
|
### Linux native compilation
|
|
|
|
|
|
Check out the source code using git:
|
|
Check out the source code using git:
|
|
|
|
|
|
```
|
|
```
|
... | @@ -22,6 +24,18 @@ cd build |
... | @@ -22,6 +24,18 @@ cd build |
|
ninja
|
|
ninja
|
|
```
|
|
```
|
|
|
|
|
|
|
|
### Windows native compilation
|
|
|
|
|
|
|
|
Install [msys2](https://www.msys2.org/), follow the instructions on the page.
|
|
|
|
|
|
|
|
Open a mingw64 msys2 shell and install the required packages:
|
|
|
|
|
|
|
|
```
|
|
|
|
pacman -S git mingw-w64-x86_64-meson mingw-w64-x86_64-ninja gcc nasm
|
|
|
|
```
|
|
|
|
|
|
|
|
Then follow the [Linux native compilation](https://code.videolan.org/videolan/dav1d/-/wikis/Compilation-Guide#linux-native-compilation) steps.
|
|
|
|
|
|
## Run tests
|
|
## Run tests
|
|
|
|
|
|
To run the tests, such as checkasm, use the meson test subcommand from the build dir:
|
|
To run the tests, such as checkasm, use the meson test subcommand from the build dir:
|
... | | ... | |