diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /third_party/dav1d/CONTRIBUTING.md | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | third_party/dav1d/CONTRIBUTING.md | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/third_party/dav1d/CONTRIBUTING.md b/third_party/dav1d/CONTRIBUTING.md new file mode 100644 index 0000000000..cdbc98be53 --- /dev/null +++ b/third_party/dav1d/CONTRIBUTING.md @@ -0,0 +1,56 @@ +# dav1d contribution guide + +## CoC +The [VideoLAN Code of Conduct](https://wiki.videolan.org/CoC) applies fully to this project. + +## ToDo + +The todo list can be found [on the wiki](https://code.videolan.org/videolan/dav1d/wikis/task-list). + +## Codebase language + +The codebase is developed with the following assumptions: + +For the library: +- C language with C99 version, without the VLA or the Complex (*\_\_STDC_NO_COMPLEX__*) features, and without compiler extensions. Anonymous structures and unions are the only allowed compiler extensions for internal code. +- x86 asm in .asm files, using the NASM syntax, +- arm/arm64 in .S files, using the GAS syntax limited to subset llvm 5.0's internal assembler supports, +- no C++ is allowed, whatever the version. + +For the tools and utils: +- C *(see above for restrictions)* +- Rust +- C++ is only allowed for the MFT. + +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)*. + +Please use modern standard POSIX functions *(strscpy, asprintf, tdestroy)*, and provide a compatibility fallback *(like done in VLC)*. + +We will make reasonable efforts for compilers that are a bit older, but we won't support gcc 3 or MSVC 2012. + +## Authorship + +Please provide a correct authorship for your commit logs, with a name and a valid email. + +We will reject anonymous contributions for now. As an exception, known pseudonyms from the multimedia community are accepted. + +This project is respecting **Copyright** and **Droit d'auteur**. There is no copyright attribution or CLA. + +## Commit logs + +Please read [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/). + +## Submit requests (WIP) + +- Code, +- [Compile](https://xkcd.com/303/), +- Check your [code style](https://code.videolan.org/videolan/dav1d/wikis/Coding-style), +- Test, +- Try, +- Submit patches through merge requests, +- Check that this passes the CI. + +## Patent license + +You need to read, understand, and agree to the [AV1 patents license](doc/PATENTS), before committing. + |