Commit 503a7c7921 for aom
commit 503a7c7921de0236cb6d4031e53f2e58d247ac10
Author: Qiu Jianlin <jianlin.qiu@intel.com>
Date: Tue Aug 11 09:04:09 2026 +0800
Fix comments about AV1 10/12 bit loop filter selection.
AV1 10/12 bit filter level slope is not correctly documented. Update to
align with the actual selected slopes.
Bug: 537818862
Change-Id: I25abab0347aec820686ab6b8758af8919704df3c
diff --git a/av1/encoder/picklpf.c b/av1/encoder/picklpf.c
index d7333aaedf..36ed5d6709 100644
--- a/av1/encoder/picklpf.c
+++ b/av1/encoder/picklpf.c
@@ -295,8 +295,11 @@ void av1_pick_filter_level(const YV12_BUFFER_CONFIG *sd, AV1_COMP *cpi,
// Keyframes: filt_guess = q * 0.06699 - 1.60817
// Other frames: filt_guess = q * inter_frame_multiplier + 2.48225
//
- // And high bit depth separately:
- // filt_guess = q * 0.316206 + 3.87252
+ // 10 bit depth:
+ // filt_guess = q * 0.01976 + 3.87252
+ //
+ // 12 bit depth:
+ // filt_guess = q * 0.00494 + 3.87252
int filt_guess;
switch (seq_params->bit_depth) {
case AOM_BITS_8: