Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xiph/rav1e
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: p20240514
Choose a base ref
...
head repository: xiph/rav1e
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on May 21, 2024

  1. Fix clippy lints

    lu-zero committed May 21, 2024
    Copy the full SHA
    1c4fcd8 View commit details

Commits on May 25, 2024

  1. Update to itertool 0.13

    sdroege authored and shssoichiro committed May 25, 2024
    Copy the full SHA
    1d5b285 View commit details
  2. Update nasm-rs to 0.3.0

    FreezyLemon authored and shssoichiro committed May 25, 2024
    Copy the full SHA
    11d0902 View commit details
  3. Update jobserver to 0.1.31

    FreezyLemon authored and shssoichiro committed May 25, 2024
    Copy the full SHA
    0548232 View commit details

Commits on Jun 1, 2024

  1. Expect custom cfgs

    cfgs that are not features or dependencies from Cargo.toml
    (so e.g. cfgs set by build.rs or external tools like cargo-fuzz)
    will cause compiler warnings starting with Rust 1.80.
    FreezyLemon authored and shssoichiro committed Jun 1, 2024
    Copy the full SHA
    554abdf View commit details

Commits on Jun 5, 2024

  1. Copy the full SHA
    953fbb2 View commit details

Commits on Jun 20, 2024

  1. Cleanup custom lints

    - Move custom lints from lib.rs/main.rs into Cargo.toml
    - Remove most custom lints, as this is overkill and difficult to
      maintain
    - Fix new lints from most recent Rust version
    shssoichiro committed Jun 20, 2024
    Copy the full SHA
    c0afbf9 View commit details

Commits on Jul 4, 2024

  1. Copy the full SHA
    e34e772 View commit details

Commits on Aug 14, 2024

  1. Update dependencies and bump minimum rustc to 1.74 (#3359)

    * Update dependencies which do not bump minimum rustc
    
    * Bump to rustc 1.74
    shssoichiro authored Aug 14, 2024
    Copy the full SHA
    2c51344 View commit details

Commits on Aug 15, 2024

  1. Turn get_rect_tx_log_ratio into associated function for TxSize (#3353)

    * Reimplement get_rect_tx_ratio as TxSize::rect_ratio_log2
    
    * Replace call to ILog with more intuitive TxSize fns
    FreezyLemon authored Aug 15, 2024
    Copy the full SHA
    92f506e View commit details
  2. Add benchmarks for motion_compensate function

    This was identified as a hot function, so a benchmark will help us to
    optimize it.
    shssoichiro committed Aug 15, 2024
    Copy the full SHA
    7ab0de1 View commit details

Commits on Sep 14, 2024

  1. Drop binary integration test from coverage

    It causes problems and makes no sense to collect anyways
    because it just calls precompiled binaries from rust code.
    
    We now need two calls to `cargo test` because `--doc` can not
    be combined with any other testing target.
    FreezyLemon authored and lu-zero committed Sep 14, 2024
    Copy the full SHA
    83f949c View commit details
  2. Remove unnecessary .max(255)

    This is a `u8` which has a max value of 255
    FreezyLemon authored and lu-zero committed Sep 14, 2024
    Copy the full SHA
    4cd86ff View commit details

Commits on Sep 17, 2024

  1. Update clap to v4.5

    This was previously locked to 4.4 due to MSRV
    incompatibilities which are now resolved.
    FreezyLemon authored and shssoichiro committed Sep 17, 2024
    Copy the full SHA
    2f8fc0f View commit details

Commits on Sep 23, 2024

  1. Copy the full SHA
    09a4111 View commit details

Commits on Oct 15, 2024

  1. Use the clap v3 style

    lu-zero authored and barrbrain committed Oct 15, 2024
    Copy the full SHA
    0b74316 View commit details

Commits on Dec 26, 2024

  1. Copy the full SHA
    f3355d4 View commit details
  2. Fix clippy lints

    lu-zero committed Dec 26, 2024
    Copy the full SHA
    b4ea23c View commit details
  3. Copy the full SHA
    4810cdc View commit details
  4. Remove the aarch64 cross tests on ubuntu

    The packages are apparently missing in ubuntu
    lu-zero committed Dec 26, 2024
    Copy the full SHA
    62b4888 View commit details

Commits on Feb 23, 2025

  1. Update built to 0.7.7

    for lukaslueg/built#80
    to make reproducible builds easier.
    bmwiedemann authored and lu-zero committed Feb 23, 2025
    Copy the full SHA
    88f8d64 View commit details
  2. Copy the full SHA
    feea1bf View commit details
  3. Address clippy lints

    lu-zero committed Feb 23, 2025
    Copy the full SHA
    e62ceef View commit details
  4. Cargo fmt

    lu-zero committed Feb 23, 2025
    Copy the full SHA
    ccc9a54 View commit details
  5. Update Cargo.lock

    lu-zero committed Feb 23, 2025
    Copy the full SHA
    1954605 View commit details
  6. Bump msrv

    lu-zero committed Feb 23, 2025
    Copy the full SHA
    9d46358 View commit details
  7. Copy the full SHA
    77244ba View commit details
  8. Bump sde version

    lu-zero committed Feb 23, 2025
    Copy the full SHA
    38879ab View commit details
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -114,10 +114,11 @@ jobs:
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_AR: "C:\\msys64\\mingw64\\bin\\ar.exe"
run: |
cargo fetch
cargo cinstall --profile ${{ matrix.profile }} --destdir="C:\" --offline
- name: Rename cargo-c folder
run: Rename-Item "C:\usr\local" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk"
cargo cinstall `
--profile ${{ matrix.profile }} `
--destdir="C:\" `
--libdir lib --prefix /usr/rav1e-windows-${{ matrix.conf }}-sdk `
--offline
- name: Copy LICENSE
run: Copy-Item "LICENSE" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk\LICENSE"
79 changes: 27 additions & 52 deletions .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ on:

jobs:
rustfmt-clippy:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
@@ -27,10 +27,10 @@ jobs:
- name: Run clippy
uses: clechasseur/rs-clippy-check@v3
with:
args: -- -D warnings --verbose -A clippy::wrong-self-convention -A clippy::many_single_char_names -A clippy::upper-case-acronyms
args: -- -D warnings

msrv:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

env:
CARGO_INCREMENTAL: 0
@@ -46,10 +46,10 @@ jobs:
version: 2.15

# Minimum version in Cargo.toml
- name: Install Rust 1.70.0
uses: dtolnay/rust-toolchain@1.70.0
- name: Install Rust 1.83.0
uses: dtolnay/rust-toolchain@1.83.0
with:
targets: wasm32-unknown-unknown, wasm32-wasi
targets: wasm32-unknown-unknown, wasm32-wasip2

- uses: Swatinem/rust-cache@v2
with:
@@ -68,17 +68,17 @@ jobs:
- name: Run cargo check (wasi)
run: >
cargo check
--target wasm32-wasi
--target wasm32-wasip2
--no-default-features
wasi:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [rustfmt-clippy, msrv]

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: '-Dwarnings'
CARGO_TARGET_WASM32_WASI_RUNNER: wasmtime
CARGO_TARGET_WASM32_WASIP2_RUNNER: wasmtime

steps:
- uses: actions/checkout@v4
@@ -89,21 +89,21 @@ jobs:
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-wasi
targets: wasm32-wasip2
- uses: Swatinem/rust-cache@v2

- name: Run tests
run: >
cargo test
--target wasm32-wasi
--target wasm32-wasip2
--no-default-features
build-unix:
strategy:
matrix:
conf:
- beta-build
- 1.70.0-tests
- msrv-tests
- aom-tests
- dav1d-tests
- no-asm-tests
@@ -118,14 +118,12 @@ jobs:
include:
- conf: beta-build
toolchain: beta
- conf: 1.70.0-tests
toolchain: 1.70.0
- conf: msrv-tests
toolchain: 1.83.0
- conf: aom-tests
toolchain: stable
- conf: dav1d-tests
toolchain: stable
- conf: dav1d-tests-arm64
toolchain: stable
- conf: no-asm-tests
toolchain: stable
- conf: grcov-codecov
@@ -152,7 +150,7 @@ jobs:
SCCACHE_DIR: /home/runner/.cache/sccache
SCCACHE_IDLE_TIMEOUT: 0

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [rustfmt-clippy, msrv]

steps:
@@ -173,12 +171,9 @@ jobs:
mv -f $SCCACHE_FILE/sccache $HOME/.local/bin/sccache
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
if: matrix.conf != 'dav1d-tests-arm64'
run: |
sudo sed -i 's/jammy/lunar/g' /etc/apt/sources.list
sudo rm /etc/apt/sources.list.d/*.list
sudo apt update
sudo apt install nasm libaom-dev meson ninja-build nasm
sudo apt install nasm libaom-dev meson ninja-build
- name: Install cargo-c
if: matrix.conf == 'cargo-c'
env:
@@ -195,7 +190,7 @@ jobs:
tar xj -C $HOME/.cargo/bin
- name: Install Intel SDE
if: matrix.conf == 'grcov-codecov'
uses: petarpetrovt/setup-sde@v2.3
uses: petarpetrovt/setup-sde@v2.4
- name: Install ${{ matrix.toolchain }}
uses: dtolnay/rust-toolchain@master
with:
@@ -204,19 +199,6 @@ jobs:
if: matrix.conf == 'grcov-codecov'
run: |
rustup component add llvm-tools-preview
- name: Install aarch64 toolchain, qemu-user and libdav1d deps
if: matrix.conf == 'dav1d-tests-arm64'
env:
LINK: http://ports.ubuntu.com/ubuntu-ports/pool
run: |
rustup target add aarch64-unknown-linux-gnu
{ echo 'deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu lunar main universe'
echo 'deb [arch=amd64] http://azure.archive.ubuntu.com/ubuntu lunar-updates main universe'
echo 'deb [arch=arm64] http://azure.ports.ubuntu.com/ lunar main universe'
} | sudo tee /etc/apt/sources.list
sudo dpkg --add-architecture arm64
sudo apt update
sudo apt install qemu-user gcc-aarch64-linux-gnu meson ninja-build nasm
- name: Generate Cargo.version for cache key
run: |
cargo --version > Cargo.version
@@ -239,8 +221,8 @@ jobs:
- name: Start sccache server
run: |
sccache --start-server
- name: Run 1.70.0 tests
if: matrix.toolchain == '1.70.0' && matrix.conf == '1.70.0-tests'
- name: Run msrv tests
if: matrix.conf == 'msrv-tests'
run: |
cargo test --workspace --verbose \
--features=decode_test,decode_test_dav1d,quick_test,capi
@@ -256,17 +238,6 @@ jobs:
cargo test --workspace --verbose --release \
--features=decode_test_dav1d \
--color=always -- --color=always --ignored
- name: Run dav1d tests (arm64)
if: matrix.conf == 'dav1d-tests-arm64'
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER: qemu-aarch64 -L /usr/aarch64-linux-gnu
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS: -Clinker=aarch64-linux-gnu-gcc
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
PKG_CONFIG_SYSROOT_DIR: /
run: |
cargo test --lib --verbose --release --target=aarch64-unknown-linux-gnu \
--no-default-features --features=asm,decode_test_dav1d -- \
--include-ignored
- name: Run build
if: matrix.conf == 'beta-build'
run: |
@@ -297,7 +268,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --offline
cargo cbuild
- name: Install cargo-fuzz
if: matrix.conf == 'fuzz'
run: |
@@ -325,7 +296,11 @@ jobs:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: >
${{ env.SDE_PATH }}/sde -icx --
run: |
cargo test --workspace --verbose --target x86_64-unknown-linux-gnu \
cargo test --workspace --target x86_64-unknown-linux-gnu \
--lib --test doctests \
--features=decode_test,decode_test_dav1d,quick_test
cargo test --workspace --target x86_64-unknown-linux-gnu \
--doc \
--features=decode_test,decode_test_dav1d,quick_test
- name: Run unit tests
if: matrix.conf == 'no-asm-tests'
@@ -431,7 +406,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --target=${{ matrix.target }} --offline
cargo cbuild --target=${{ matrix.target }}
- name: Stop sccache server
run: |
sccache --stop-server
@@ -513,7 +488,7 @@ jobs:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --offline
cargo cbuild
- name: Stop sccache server
run: |
sccache --stop-server
Loading