Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop binary integration test from coverage #3398

Merged
merged 2 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,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'
Expand Down
2 changes: 1 addition & 1 deletion src/rate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ impl QuantizerParameters {

// delta_q only gets 6 bits + a sign bit, so it can differ by 63 at most.
let min_qi = base_q_idx.saturating_sub(63).max(1);
let max_qi = base_q_idx.saturating_add(63).min(255);
let max_qi = base_q_idx.saturating_add(63);
let clamp_qi = |qi: u8| qi.clamp(min_qi, max_qi);

QuantizerParameters {
Expand Down