Bug 1667155 [wpt PR 25777] - [AspectRatio] Fix bug in flex-aspect-ratio-024 test...
[gecko.git] / third_party / dav1d / CONTRIBUTING.md
blob347741f32907c821853d0f04155229f366c2d807
1 # dav1d contribution guide
3 ## CoC
4 The [VideoLAN Code of Conduct](https://wiki.videolan.org/CoC) applies fully to this project.
6 ## ToDo
8 The todo list can be found [on the wiki](https://code.videolan.org/videolan/dav1d/wikis/task-list).
10 ## Codebase language
12 The codebase is developed with the following assumptions:
14 For the library:
15 - C language with C99 version, without the VLA or the Complex (*\_\_STDC_NO_COMPLEX__*) features, and without compiler extension,
16 - x86 asm in .asm files, using the NASM syntax,
17 - arm/arm64 in .S files, using the GAS syntax limited to subset llvm 5.0's internal assembler supports,
18 - no C++ is allowed, whatever the version.
20 For the tools and utils:
21 - C *(see above for restrictions)*
22 - Rust
23 - C++ is only allowed for the MFT.
25 If you want to use *Threads* or *Atomic* features, please conform to the **C11**/**POSIX** semantic and use a wrapper for older compilers/platforms *(like done in VLC)*.
27 Please use modern standard POSIX functions *(strscpy, asprintf, tdestroy)*, and provide a compatibility fallback *(like done in VLC)*.
29 We will make reasonable efforts for compilers that are a bit older, but we won't support gcc 3 or MSVC 2012.
31 ## Authorship
33 Please provide a correct authorship for your commit logs, with a name and a valid email.
35 We will reject anonymous contributions for now. As an exception, known pseudonyms from the multimedia community are accepted.
37 This project is respecting **Copyright** and **Droit d'auteur**. There is no copyright attribution or CLA.
39 ## Commit logs
41 Please read [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/).
43 ## Submit requests (WIP)
45 - Code,
46 - [Compile](https://xkcd.com/303/),
47 - Check your [code style](https://code.videolan.org/videolan/dav1d/wikis/Coding-style),
48 - Test,
49 - Try,
50 - Submit patches through merge requests,
51 - Check that this passes the CI.
53 ## Patent license
55 You need to read, understand, and agree to the [AV1 patents license](doc/PATENTS), before committing.