Merge branch 'lane-av1txdepth' (75a083aa): the 32x32 inter tx-depth search and compound var-tx rebuilt behind knobs
Browse files at this commit7 changed files +579 -45
- crates/ec-av1/src/encode.rs +166 -45
- lanes/native-step1.txt +29 -0
- lanes/native-step2.txt +29 -0
- lanes/pricer-both.txt +147 -0
- lanes/small-base.txt +70 -0
- lanes/small-step1.txt +69 -0
- lanes/small-step2.txt +69 -0
crates/ec-av1/src/encode.rsmodified+166 -45
| @@ -2835,9 +2835,28 @@ pub(crate) fn take_tx_depth_hits() -> [usize; 3] { | ||
| 2835 | 2835 | |
| 2836 | 2836 | /// How many inter blocks resolved to each var-tx depth (0 = one transform |
| 2837 | 2837 | /// over the whole block, 1 = its four halves), the fire count a gate prints |
| 2838 | -/// to see the split search reach its candidates at all. | |
| 2839 | -static INTER_TX_SPLIT_HITS: [std::sync::atomic::AtomicUsize; 2] = | |
| 2840 | - [const { std::sync::atomic::AtomicUsize::new(0) }; 2]; | |
| 2838 | +/// to see the split search reach its candidates at all. Indexed | |
| 2839 | +/// `(block is 32x32) * 4 + (block is compound) * 2 + depth`, so one census | |
| 2840 | +/// says which of the four block classes the split reaches -- the 32x32 root | |
| 2841 | +/// and the compound blocks are this lane's two new ones. | |
| 2842 | +static INTER_TX_SPLIT_HITS: [std::sync::atomic::AtomicUsize; 8] = | |
| 2843 | + [const { std::sync::atomic::AtomicUsize::new(0) }; 8]; | |
| 2844 | + | |
| 2845 | +/// Whether a 32x32 inter winner searches its own var-tx depth (the four | |
| 2846 | +/// 16x16 units against the flat transform) instead of coding depth 0 blind. | |
| 2847 | +/// `EC_AV1_TX32_DEPTH`. | |
| 2848 | +fn tx32_depth_search() -> bool { | |
| 2849 | + crate::envflags::env_flag!("EC_AV1_TX32_DEPTH") | |
| 2850 | +} | |
| 2851 | + | |
| 2852 | +/// Whether a COMPOUND inter winner is offered the var-tx split at all: its | |
| 2853 | +/// trial units have to be predicted from BOTH references | |
| 2854 | +/// ([`mc_trial_compound`]) or the split would re-predict them by single- | |
| 2855 | +/// reference translation, which is not what the decoder reconstructs. | |
| 2856 | +/// `EC_AV1_COMP_VARTX`. | |
| 2857 | +fn compound_var_tx() -> bool { | |
| 2858 | + crate::envflags::env_flag!("EC_AV1_COMP_VARTX") | |
| 2859 | +} | |
| 2841 | 2860 | |
| 2842 | 2861 | /// How many 32x32-and-below inter blocks each reference frame won, indexed by |
| 2843 | 2862 | /// `ref_frame` (`crate::mvstack::LAST_FRAME` = 1 .. `ALTREF_FRAME` = 7), the |
| @@ -2855,7 +2874,7 @@ pub(crate) fn take_ref_frame_hits() -> [usize; 8] { | ||
| 2855 | 2874 | |
| 2856 | 2875 | /// Reads [`INTER_TX_SPLIT_HITS`] and zeroes it. |
| 2857 | 2876 | #[cfg(test)] |
| 2858 | -pub(crate) fn take_inter_tx_split_hits() -> [usize; 2] { | |
| 2877 | +pub(crate) fn take_inter_tx_split_hits() -> [usize; 8] { | |
| 2859 | 2878 | std::array::from_fn(|d| INTER_TX_SPLIT_HITS[d].swap(0, std::sync::atomic::Ordering::Relaxed)) |
| 2860 | 2879 | } |
| 2861 | 2880 | |
| @@ -2905,12 +2924,19 @@ fn commit_inter_luma( | ||
| 2905 | 2924 | reference: (&[u16], usize, usize, usize), |
| 2906 | 2925 | search: &Search, |
| 2907 | 2926 | flat: &Trial, |
| 2908 | - skip: bool, fctx: &crate::decode::FrameCtx, | |
| 2927 | + skip: bool, | |
| 2928 | + // A COMPOUND winner's second half: the vector and reference planes the | |
| 2929 | + // trial units are blended from ([`mc_trial_compound`], the decoder's own | |
| 2930 | + // `comp_group_idx == 0` average). `None` is the single-reference block. | |
| 2931 | + second: Option<((i32, i32), (&[u16], usize, usize, usize))>, | |
| 2932 | + fctx: &crate::decode::FrameCtx, | |
| 2909 | 2933 | ) -> (Vec<i32>, u8, f64) { |
| 2910 | 2934 | let eligible = tx_select() |
| 2911 | 2935 | && tx_select_inter() |
| 2912 | 2936 | && !skip |
| 2913 | 2937 | && side >= 16 |
| 2938 | + && (second.is_none() || compound_var_tx()) | |
| 2939 | + && (side < BLOCK || tx32_depth_search()) | |
| 2914 | 2940 | && x + side <= luma.true_width |
| 2915 | 2941 | && y + side <= luma.true_height; |
| 2916 | 2942 | if !eligible { |
| @@ -2929,10 +2955,16 @@ fn commit_inter_luma( | ||
| 2929 | 2955 | for tu_row in 0..2 { |
| 2930 | 2956 | for tu_col in 0..2 { |
| 2931 | 2957 | let (tu_x, tu_y) = (x + tu_col * tx, y + tu_row * tx); |
| 2932 | - let trial = mc_trial( | |
| 2933 | - luma, tu_x, tu_y, tx, mv, true, reference.0, reference.1, reference.2, | |
| 2934 | - reference.3, false, search.base_q_idx, search.deadzone, set, fctx, | |
| 2935 | - ); | |
| 2958 | + let trial = match second { | |
| 2959 | + Some((mv1, ref1)) => mc_trial_compound( | |
| 2960 | + luma, tu_x, tu_y, tx, (mv, mv1), true, reference, ref1, | |
| 2961 | + search.base_q_idx, search.deadzone, set, fctx, | |
| 2962 | + ), | |
| 2963 | + None => mc_trial( | |
| 2964 | + luma, tu_x, tu_y, tx, mv, true, reference.0, reference.1, reference.2, | |
| 2965 | + reference.3, false, search.base_q_idx, search.deadzone, set, fctx, | |
| 2966 | + ), | |
| 2967 | + }; | |
| 2936 | 2968 | sse += trial.sse; |
| 2937 | 2969 | bits += trial.bits; |
| 2938 | 2970 | for row in 0..tx { |
| @@ -2945,14 +2977,15 @@ fn commit_inter_luma( | ||
| 2945 | 2977 | luma.ctx.tu_split = false; |
| 2946 | 2978 | let split_cost = sse + search.lambda * (bits + txfm_split_bits(side, 1)); |
| 2947 | 2979 | let flat_cost = flat.sse + search.lambda * (flat.bits + txfm_split_bits(side, 0)); |
| 2980 | + let class = usize::from(side == BLOCK) * 4 + usize::from(second.is_some()) * 2; | |
| 2948 | 2981 | if split_cost < flat_cost { |
| 2949 | 2982 | for (tu_x, tu_y, trial) in &units { |
| 2950 | 2983 | luma.commit(*tu_x, *tu_y, tx, trial); |
| 2951 | 2984 | } |
| 2952 | - INTER_TX_SPLIT_HITS[1].fetch_add(1, std::sync::atomic::Ordering::Relaxed); | |
| 2985 | + INTER_TX_SPLIT_HITS[class + 1].fetch_add(1, std::sync::atomic::Ordering::Relaxed); | |
| 2953 | 2986 | return (levels, 1, split_cost - flat_cost); |
| 2954 | 2987 | } |
| 2955 | - INTER_TX_SPLIT_HITS[0].fetch_add(1, std::sync::atomic::Ordering::Relaxed); | |
| 2988 | + INTER_TX_SPLIT_HITS[class].fetch_add(1, std::sync::atomic::Ordering::Relaxed); | |
| 2956 | 2989 | luma.commit(x, y, side, flat); |
| 2957 | 2990 | (flat.levels.clone(), 0, 0.0) |
| 2958 | 2991 | } |
| @@ -4600,14 +4633,39 @@ fn code_square_inter( | ||
| 4600 | 4633 | // An OBMC winner commits the flat trial too: `commit_inter_luma` |
| 4601 | 4634 | // re-predicts each var-tx unit by plain translation, which is not |
| 4602 | 4635 | // the prediction this candidate was priced from. |
| 4603 | - let (levels, tx_depth, dcost) = if info.ref1.is_some() || motion_won != 0 { | |
| 4636 | + // lane-av1txdepth REBUILT the compound trial set at LAMBDA_SCALE | |
| 4637 | + // 0.05 (both rejections above were measured at 0.1, the weight | |
| 4638 | + // the lambda lane showed was 2x too heavy): a compound winner is | |
| 4639 | + // offered the same var-tx split, its units predicted from BOTH | |
| 4640 | + // references (`mc_trial_compound`). RE-MEASURED native: film | |
| 4641 | + // 1080p +16.0/-1.1, film 2160p +46.6/+18.8, screen +51.4/-14.4 | |
| 4642 | + // against the +16.2/-1.1, +46.6/+18.8, +51.3/-14.4 with it off -- | |
| 4643 | + // one row 0.2 down, two flat, short of the two-down-one-flat keep | |
| 4644 | + // rule, so it stays behind `EC_AV1_COMP_VARTX` (default OFF) | |
| 4645 | + // rather than change the default on a single 0.2 row. It fires: | |
| 4646 | + // 37.0% / 11.1% / 32.9% of the compound blocks split. 640x384 for | |
| 4647 | + // the record: +70.5/+84.0/+48.9 and +28.9/+46.2/-3.7 against | |
| 4648 | + // +70.4/+85.3/+48.5 and +28.4/+47.4/-4.0 -- the 4K film row is | |
| 4649 | + // 1.3/1.2 down there, which is where the upgrade path is if this | |
| 4650 | + // is picked up again. | |
| 4651 | + let second = info.ref1.filter(|_| motion_won == 0).and_then(|r| { | |
| 4652 | + refs[r as usize].map(|g| { | |
| 4653 | + ( | |
| 4654 | + info.mv1, | |
| 4655 | + (g.y.as_slice(), g.width, luma.true_width, luma.true_height), | |
| 4656 | + ) | |
| 4657 | + }) | |
| 4658 | + }); | |
| 4659 | + let (levels, tx_depth, dcost) = if motion_won != 0 | |
| 4660 | + || (info.ref1.is_some() && second.is_none()) | |
| 4661 | + { | |
| 4604 | 4662 | luma.commit(x, y, side, &luma_new); |
| 4605 | 4663 | (luma_new.levels.clone(), 0, 0.0) |
| 4606 | 4664 | } else { |
| 4607 | 4665 | commit_inter_luma( |
| 4608 | 4666 | luma, (x, y), side, info.mv, |
| 4609 | 4667 | (ref_luma.0.as_slice(), ref_luma.1, ref_luma.2, ref_luma.3), |
| 4610 | - search, &luma_new, skip_new, fctx, | |
| 4668 | + search, &luma_new, skip_new, second, fctx, | |
| 4611 | 4669 | ) |
| 4612 | 4670 | }; |
| 4613 | 4671 | chroma[0].commit(x / 2, y / 2, side / 2, &u_new); |
| @@ -4642,7 +4700,7 @@ fn code_square_inter( | ||
| 4642 | 4700 | } |
| 4643 | 4701 | if inter_cost < intra_cost { |
| 4644 | 4702 | let (levels, tx_depth, dcost) = commit_inter_luma( |
| 4645 | - luma, (x, y), side, mv, (ref_luma.0.as_slice(), ref_luma.1, ref_luma.2, ref_luma.3), search, &luma_trial, skip, fctx, | |
| 4703 | + luma, (x, y), side, mv, (ref_luma.0.as_slice(), ref_luma.1, ref_luma.2, ref_luma.3), search, &luma_trial, skip, None, fctx, | |
| 4646 | 4704 | ); |
| 4647 | 4705 | chroma[0].commit(x / 2, y / 2, side / 2, &u); |
| 4648 | 4706 | chroma[1].commit(x / 2, y / 2, side / 2, &v); |
| @@ -7156,21 +7214,68 @@ fn search_inter_block( | ||
| 7156 | 7214 | } |
| 7157 | 7215 | } |
| 7158 | 7216 | } |
| 7159 | - // lane-av1txbits BUILT the transform-depth search this path lacks -- a | |
| 7160 | - // 32x32 single-reference winner offered `commit_inter_luma`'s four 16x16 | |
| 7161 | - // units against its flat trial, exactly as a 16x16 winner is -- and | |
| 7162 | - // MEASURED it flat to slightly worse: +78.7/+95.1/+54.6 vs libaom and | |
| 7163 | - // +36.1/+56.2/+1.8 vs rav1e, against the +78.8/+95.1/+54.5 and | |
| 7164 | - // +36.1/+56.4/+1.4 this code scores, while the split fired on 40.2% of | |
| 7165 | - // the film's inter blocks and 17.6% of the screen's. The same shape as | |
| 7166 | - // the compound trial set below: a local RD win that does not convert into | |
| 7167 | - // ladder bytes. The flat 32x32 transform stays. | |
| 7168 | - luma.commit(x, y, BLOCK, &best.luma); | |
| 7217 | + // The transform-depth search of a 32x32 winner (`EC_AV1_TX32_DEPTH`, | |
| 7218 | + // default OFF): the four 16x16 units of `commit_inter_luma` against the | |
| 7219 | + // flat trial, exactly as a 16x16 leaf is offered. lane-av1txbits measured | |
| 7220 | + // it flat-to-worse at LAMBDA_SCALE 0.1; lane-av1txdepth REBUILT it and | |
| 7221 | + // RE-MEASURED it at 0.05, where the rate weight is half of what rejected | |
| 7222 | + // it, and it is worse again on the deciding native table: film 1080p | |
| 7223 | + // +16.6/-0.5, film 2160p +46.6/+18.8, screen +50.9/-14.3 against the | |
| 7224 | + // +16.2/-1.1, +46.6/+18.8, +51.3/-14.4 of the same build with it off -- | |
| 7225 | + // 1080p up 0.4/0.6, one row flat, screen 0.4 down against libaom and 0.1 | |
| 7226 | + // up against rav1e. (640x384 reads it slightly the other way, +70.0/ | |
| 7227 | + // +85.0/+48.4 and +28.3/+47.2/-3.6 against +70.4/+85.3/+48.5 and | |
| 7228 | + // +28.4/+47.4/-4.0 -- the native table decides.) | |
| 7229 | + // | |
| 7230 | + // NOT blindness: the split wins 62.3% of the 1080p film's 32x32 blocks, | |
| 7231 | + // 70.9% of the 4K film's and 53.5% of the screen's. NOT mis-pricing | |
| 7232 | + // either, and the census names the row: the split units' own set | |
| 7233 | + // `Luma16Inter` is priced within 1.4% of what it is written at in every | |
| 7234 | + // bucket from two non-zeros up, and its ZERO bucket (335 units) is priced | |
| 7235 | + // +30.1% ABOVE the written bits -- an error that biases AGAINST splitting, | |
| 7236 | + // so a perfect pricer would split even more, and more splitting is what | |
| 7237 | + // measured worse. The four extra txb_skip/eob symbols simply cost more | |
| 7238 | + // ladder bytes than the local RD saves. The flat 32x32 transform stays. | |
| 7239 | + // lane-av1txdepth REBUILT that search at LAMBDA_SCALE 0.05 (the rejection | |
| 7240 | + // above was measured at 0.1), behind `EC_AV1_TX32_DEPTH`, and gave the | |
| 7241 | + // compound winner the same offer behind `EC_AV1_COMP_VARTX`. An OBMC/warp | |
| 7242 | + // winner still commits flat: `commit_inter_luma` re-predicts each unit by | |
| 7243 | + // plain translation, which is not the prediction it was priced from. | |
| 7244 | + let (levels, tx_depth, dcost) = match best.inter.filter(|_| motion_won == 0) { | |
| 7245 | + Some(info) => { | |
| 7246 | + let own = match extra.iter().find(|(r, _, _)| *r == info.ref_frame) { | |
| 7247 | + Some(&(_, g, _)) => (g.y.as_slice(), g.width, luma.true_width, luma.true_height), | |
| 7248 | + None => (ref_luma.0.as_slice(), ref_luma.1, ref_luma.2, ref_luma.3), | |
| 7249 | + }; | |
| 7250 | + let second = info.ref1.and_then(|r| { | |
| 7251 | + compound.iter().find(|(c, _, _)| *c == r).map(|&(_, g, _)| { | |
| 7252 | + ( | |
| 7253 | + info.mv1, | |
| 7254 | + (g.y.as_slice(), g.width, luma.true_width, luma.true_height), | |
| 7255 | + ) | |
| 7256 | + }) | |
| 7257 | + }); | |
| 7258 | + match info.ref1.is_some() && second.is_none() { | |
| 7259 | + true => { | |
| 7260 | + luma.commit(x, y, BLOCK, &best.luma); | |
| 7261 | + (best.luma.levels.clone(), 0, 0.0) | |
| 7262 | + } | |
| 7263 | + false => commit_inter_luma( | |
| 7264 | + luma, (x, y), BLOCK, info.mv, own, search, &best.luma, best.skip, second, | |
| 7265 | + fctx, | |
| 7266 | + ), | |
| 7267 | + } | |
| 7268 | + } | |
| 7269 | + None => { | |
| 7270 | + luma.commit(x, y, BLOCK, &best.luma); | |
| 7271 | + (best.luma.levels.clone(), 0, 0.0) | |
| 7272 | + } | |
| 7273 | + }; | |
| 7169 | 7274 | chroma[0].commit(x / 2, y / 2, BLOCK / 2, &best.u); |
| 7170 | 7275 | chroma[1].commit(x / 2, y / 2, BLOCK / 2, &best.v); |
| 7171 | 7276 | ( |
| 7172 | 7277 | BlockCoeffs { |
| 7173 | - luma: coeffs(&best.luma.levels, BLOCK), | |
| 7278 | + luma: coeffs(&levels, BLOCK), | |
| 7174 | 7279 | u: coeffs(&best.u.levels, BLOCK / 2), |
| 7175 | 7280 | v: coeffs(&best.v.levels, BLOCK / 2), |
| 7176 | 7281 | mode: best.mode, |
| @@ -7182,9 +7287,9 @@ fn search_inter_block( | ||
| 7182 | 7287 | dv: None, |
| 7183 | 7288 | palette: None, |
| 7184 | 7289 | palette_uv: None, |
| 7185 | - tx_depth: 0, | |
| 7290 | + tx_depth, | |
| 7186 | 7291 | }, |
| 7187 | - best.cost, | |
| 7292 | + best.cost + dcost, | |
| 7188 | 7293 | ) |
| 7189 | 7294 | } |
| 7190 | 7295 | |
| @@ -10359,7 +10464,13 @@ mod tests { | ||
| 10359 | 10464 | (0..5).map(|i| panned_test_card(width, height, i * 3)).collect(); |
| 10360 | 10465 | let _ = take_inter_tx_split_hits(); |
| 10361 | 10466 | let encoded = encode_sequence_with_ctx(&pictures, 100, 0.5, fctx).unwrap(); |
| 10362 | - let split = take_inter_tx_split_hits(); | |
| 10467 | + let raw = take_inter_tx_split_hits(); | |
| 10468 | + // Summed over the four block classes the census keys on (leaf/32x32 x | |
| 10469 | + // single/compound): this assert is about the split firing at all. | |
| 10470 | + let split = [ | |
| 10471 | + raw.iter().step_by(2).sum::<usize>(), | |
| 10472 | + raw.iter().skip(1).step_by(2).sum::<usize>(), | |
| 10473 | + ]; | |
| 10363 | 10474 | eprintln!("inter var-tx: {} blocks flat, {} split", split[0], split[1]); |
| 10364 | 10475 | // [[gate-blind-to-feature]]: with inter `TxMode::Select` on, this |
| 10365 | 10476 | // content splits -- a green round trip in which the split never fires |
| @@ -11991,23 +12102,7 @@ mod tests { | ||
| 11991 | 12102 | .collect::<Vec<_>>() |
| 11992 | 12103 | .join(" ") |
| 11993 | 12104 | ); |
| 11994 | - // And which var-tx depth this clip's INTER blocks resolved to | |
| 11995 | - // (lane-av1tx2): 0 is one transform over the whole block, 1 its | |
| 11996 | - // four halves. | |
| 11997 | - let splits = take_inter_tx_split_hits(); | |
| 11998 | - let split_total: usize = splits.iter().sum(); | |
| 11999 | - eprintln!( | |
| 12000 | - "{name}: inter var-tx depths {}", | |
| 12001 | - splits | |
| 12002 | - .iter() | |
| 12003 | - .enumerate() | |
| 12004 | - .map(|(d, &n)| format!( | |
| 12005 | - "{d}={n} ({:.1}%)", | |
| 12006 | - 100.0 * n as f64 / split_total.max(1) as f64 | |
| 12007 | - )) | |
| 12008 | - .collect::<Vec<_>>() | |
| 12009 | - .join(" ") | |
| 12010 | - ); | |
| 12105 | + print_inter_tx_census(name); | |
| 12011 | 12106 | // lane-av1obmc: how many blocks actually CODED a motion_mode |
| 12012 | 12107 | // symbol and which value they took, by footprint -- "OBMC is on" |
| 12013 | 12108 | // as a measurement rather than a claim (class |
| @@ -12053,6 +12148,31 @@ mod tests { | ||
| 12053 | 12148 | ); |
| 12054 | 12149 | } |
| 12055 | 12150 | } |
| 12151 | + /// Which var-tx depth this clip's INTER blocks resolved to (lane-av1tx2, | |
| 12152 | + /// split by block class in lane-av1txdepth): depth 0 is one transform over | |
| 12153 | + /// the whole block, 1 its four halves; the classes are the 16x16/8x8 | |
| 12154 | + /// leaves and the 32x32 root, each single-reference or compound. A class | |
| 12155 | + /// with no counts at all never reached `commit_inter_luma` -- which is | |
| 12156 | + /// what its knob being off looks like (class `gate-blind-to-feature`). | |
| 12157 | + fn print_inter_tx_census(name: &str) { | |
| 12158 | + let splits = take_inter_tx_split_hits(); | |
| 12159 | + let total: usize = splits.iter().sum(); | |
| 12160 | + let row = |label: &str, base: usize| { | |
| 12161 | + let (n0, n1) = (splits[base], splits[base + 1]); | |
| 12162 | + format!( | |
| 12163 | + "{label} 0={n0} 1={n1} ({:.1}% split)", | |
| 12164 | + 100.0 * n1 as f64 / (n0 + n1).max(1) as f64 | |
| 12165 | + ) | |
| 12166 | + }; | |
| 12167 | + eprintln!( | |
| 12168 | + "{name}: inter var-tx depths of {total} blocks -- {} | {} | {} | {}", | |
| 12169 | + row("leaf single", 0), | |
| 12170 | + row("leaf compound", 2), | |
| 12171 | + row("32x32 single", 4), | |
| 12172 | + row("32x32 compound", 6), | |
| 12173 | + ); | |
| 12174 | + } | |
| 12175 | + | |
| 12056 | 12176 | /// The video stream's coded size, from ffprobe. |
| 12057 | 12177 | fn probe_dims(clip: &str) -> Option<(usize, usize)> { |
| 12058 | 12178 | let out = Command::new("ffprobe") |
| @@ -12244,6 +12364,7 @@ mod tests { | ||
| 12244 | 12364 | 100.0 * (mm[2] + mm[5] + mm[8]) as f64 / mm.iter().sum::<usize>().max(1) as f64, |
| 12245 | 12365 | mm.iter().sum::<usize>(), |
| 12246 | 12366 | ); |
| 12367 | + print_inter_tx_census(name); | |
| 12247 | 12368 | let palette = crate::tile::take_palette_hits(); |
| 12248 | 12369 | let palette_uv = crate::tile::take_palette_uv_hits(); |
| 12249 | 12370 | let ibc = crate::tile::take_intrabc_hits(); |
lanes/native-step1.txtadded+29 -0
| @@ -0,0 +1,29 @@ | ||
| 1 | +Running as unit: run-p1998278-i90034340.scope; invocation ID: 2e6ac6d2635e41319bfbb3444604d202 | |
| 2 | + Finished `release` profile [optimized] target(s) in 0.01s | |
| 3 | + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) | |
| 4 | + | |
| 5 | +running 1 test | |
| 6 | + | |
| 7 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | |
| 8 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | |
| 9 | +|---|---|---|---|---| | |
| 10 | +film 1080p: pricer armings default=14 real=164 | |
| 11 | +film 1080p: motion_mode 32x32 SIMPLE=26771 OBMC=0 WARP=297 | 16x16 SIMPLE=3260 OBMC=0 WARP=223 | 8x8 SIMPLE=15735 OBMC=0 WARP=1837 (0.0% OBMC / 4.9% WARP of 48123 eligible) | |
| 12 | +film 1080p: inter var-tx depths of 6999 blocks -- leaf single 0=2703 1=727 (21.2% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=1347 1=2222 (62.3% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 13 | +film 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | |
| 14 | +test encode::tests::bd_rate_screen_native has been running for over 60 seconds | |
| 15 | +| film 1080p 1920x1024 | 43.81 dB/251862 B, 47.66 dB/372039 B, 51.07 dB/489946 B, 53.77 dB/615887 B | +16.6% | -0.5% | 38.8s:6.6s:16.7s | | |
| 16 | +film 2160p: pricer armings default=15 real=152 | |
| 17 | +film 2160p: motion_mode 32x32 SIMPLE=15503 OBMC=0 WARP=6 | 16x16 SIMPLE=353 OBMC=0 WARP=24 | 8x8 SIMPLE=4344 OBMC=0 WARP=658 (0.0% OBMC / 3.3% WARP of 20888 eligible) | |
| 18 | +film 2160p: inter var-tx depths of 2468 blocks -- leaf single 0=412 1=95 (18.7% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=571 1=1390 (70.9% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 19 | +film 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | |
| 20 | +| film 2160p 1920x1024 | 43.45 dB/303233 B, 47.71 dB/457795 B, 51.38 dB/584752 B, 54.26 dB/704129 B | +46.6% | +18.8% | 34.8s:5.7s:16.1s | | |
| 21 | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=157 real=0 | |
| 22 | +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=76679 OBMC=0 WARP=1901 | 16x16 SIMPLE=2422 OBMC=0 WARP=311 | 8x8 SIMPLE=505 OBMC=0 WARP=461 (0.0% OBMC / 3.2% WARP of 82279 eligible) | |
| 23 | +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 14907 blocks -- leaf single 0=3988 1=2376 (37.3% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=3969 1=4574 (53.5% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 24 | +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 6789 chroma 647; intrabc blocks 0 (searched 0 / valid 0 / won 0) | |
| 25 | +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 44.78 dB/41833 B, 48.14 dB/54344 B, 50.66 dB/70762 B, 53.00 dB/92254 B | +50.9% | -14.3% | 28.3s:8.4s:11.5s | | |
| 26 | +test encode::tests::bd_rate_screen_native ... ok | |
| 27 | + | |
| 28 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 174.48s | |
| 29 | + |
lanes/native-step2.txtadded+29 -0
| @@ -0,0 +1,29 @@ | ||
| 1 | +Running as unit: run-p2119666-i90086399.scope; invocation ID: a6b318e6b4a34fb080d078ad882b03d7 | |
| 2 | + Finished `release` profile [optimized] target(s) in 0.01s | |
| 3 | + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) | |
| 4 | + | |
| 5 | +running 1 test | |
| 6 | + | |
| 7 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | |
| 8 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | |
| 9 | +|---|---|---|---|---| | |
| 10 | +film 1080p: pricer armings default=14 real=167 | |
| 11 | +film 1080p: motion_mode 32x32 SIMPLE=28499 OBMC=0 WARP=303 | 16x16 SIMPLE=4084 OBMC=0 WARP=318 | 8x8 SIMPLE=15557 OBMC=0 WARP=1936 (0.0% OBMC / 5.0% WARP of 50697 eligible) | |
| 12 | +film 1080p: inter var-tx depths of 7112 blocks -- leaf single 0=2898 1=745 (20.5% split) | leaf compound 0=2186 1=1283 (37.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 13 | +film 1080p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | |
| 14 | +test encode::tests::bd_rate_screen_native has been running for over 60 seconds | |
| 15 | +| film 1080p 1920x1024 | 43.82 dB/247279 B, 47.66 dB/370822 B, 51.05 dB/490858 B, 53.78 dB/613266 B | +16.0% | -1.1% | 39.0s:6.7s:16.8s | | |
| 16 | +film 2160p: pricer armings default=15 real=154 | |
| 17 | +film 2160p: motion_mode 32x32 SIMPLE=15534 OBMC=0 WARP=4 | 16x16 SIMPLE=328 OBMC=0 WARP=16 | 8x8 SIMPLE=4547 OBMC=0 WARP=652 (0.0% OBMC / 3.2% WARP of 21081 eligible) | |
| 18 | +film 2160p: inter var-tx depths of 6367 blocks -- leaf single 0=382 1=110 (22.4% split) | leaf compound 0=5221 1=654 (11.1% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 19 | +film 2160p: screen frames on=0 off=4 (0.0% on); palette blocks luma 0 chroma 0; intrabc blocks 0 (searched 0 / valid 0 / won 0) | |
| 20 | +| film 2160p 1920x1024 | 43.46 dB/303386 B, 47.71 dB/457686 B, 51.38 dB/585816 B, 54.26 dB/704290 B | +46.6% | +18.8% | 35.2s:5.6s:16.0s | | |
| 21 | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=159 real=0 | |
| 22 | +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=77534 OBMC=0 WARP=1894 | 16x16 SIMPLE=3725 OBMC=0 WARP=412 | 8x8 SIMPLE=463 OBMC=0 WARP=447 (0.0% OBMC / 3.3% WARP of 84475 eligible) | |
| 23 | +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 13394 blocks -- leaf single 0=4044 1=2401 (37.3% split) | leaf compound 0=4663 1=2286 (32.9% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 24 | +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0 (100.0% on); palette blocks luma 6803 chroma 644; intrabc blocks 0 (searched 0 / valid 0 / won 0) | |
| 25 | +| screen capture (2026-07-25 02-09-04.mkv) 1920x1024 | 44.81 dB/41648 B, 48.13 dB/54166 B, 50.67 dB/70905 B, 52.98 dB/93026 B | +51.4% | -14.4% | 28.3s:8.3s:11.3s | | |
| 26 | +test encode::tests::bd_rate_screen_native ... ok | |
| 27 | + | |
| 28 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 175.09s | |
| 29 | + |
lanes/pricer-both.txtadded+147 -0
| @@ -0,0 +1,147 @@ | ||
| 1 | + Finished `release` profile [optimized] target(s) in 0.01s | |
| 2 | + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) | |
| 3 | + | |
| 4 | +running 1 test | |
| 5 | + | |
| 6 | +## film 1080p (6 frames at 640x384, q=100): screen frames 0, pricer armings default=5 real=20 | |
| 7 | +| set | nz | blocks | priced bits | written bits | error | | |
| 8 | +|---|---|---|---|---|---| | |
| 9 | +| Chroma16 | 0 | 2248 | 559 | 391 | +43.0% | | |
| 10 | +| Chroma16 | 1 | 124 | 788 | 778 | +1.2% | | |
| 11 | +| Chroma16 | 2 | 57 | 1226 | 1186 | +3.4% | | |
| 12 | +| Chroma16 | 3-4 | 30 | 995 | 996 | -0.1% | | |
| 13 | +| Chroma16 | 5-8 | 25 | 1053 | 1001 | +5.2% | | |
| 14 | +| Chroma16 | 9-16 | 32 | 2796 | 2904 | -3.7% | | |
| 15 | +| Chroma16 | 17+ | 142 | 47184 | 46568 | +1.3% | | |
| 16 | +| Chroma4 | 0 | 994 | 960 | 1003 | -4.2% | | |
| 17 | +| Chroma4 | 1 | 295 | 2285 | 2274 | +0.5% | | |
| 18 | +| Chroma4 | 2 | 182 | 2283 | 2290 | -0.3% | | |
| 19 | +| Chroma4 | 3-4 | 242 | 4504 | 4508 | -0.1% | | |
| 20 | +| Chroma4 | 5-8 | 244 | 6811 | 6813 | -0.0% | | |
| 21 | +| Chroma4 | 9-16 | 247 | 11448 | 11285 | +1.4% | | |
| 22 | +| Chroma8 | 0 | 1950 | 1022 | 1323 | -22.7% | | |
| 23 | +| Chroma8 | 1 | 374 | 2596 | 2739 | -5.2% | | |
| 24 | +| Chroma8 | 2 | 133 | 2167 | 2158 | +0.4% | | |
| 25 | +| Chroma8 | 3-4 | 186 | 4505 | 4516 | -0.2% | | |
| 26 | +| Chroma8 | 5-8 | 203 | 8736 | 8253 | +5.8% | | |
| 27 | +| Chroma8 | 9-16 | 272 | 18829 | 17692 | +6.4% | | |
| 28 | +| Chroma8 | 17+ | 430 | 52713 | 49316 | +6.9% | | |
| 29 | +| Luma16 | 0 | 49 | 269 | 159 | +69.4% | | |
| 30 | +| Luma16 | 1 | 70 | 511 | 415 | +23.2% | | |
| 31 | +| Luma16 | 2 | 3 | 80 | 81 | -0.7% | | |
| 32 | +| Luma16 | 3-4 | 6 | 147 | 167 | -11.9% | | |
| 33 | +| Luma16 | 5-8 | 24 | 1075 | 1091 | -1.5% | | |
| 34 | +| Luma16 | 9-16 | 27 | 2305 | 2111 | +9.2% | | |
| 35 | +| Luma16 | 17+ | 109 | 30092 | 29405 | +2.3% | | |
| 36 | +| Luma16Inter | 0 | 335 | 306 | 235 | +30.1% | | |
| 37 | +| Luma16Inter | 1 | 55 | 591 | 532 | +11.0% | | |
| 38 | +| Luma16Inter | 2 | 52 | 946 | 933 | +1.4% | | |
| 39 | +| Luma16Inter | 3-4 | 86 | 2383 | 2394 | -0.4% | | |
| 40 | +| Luma16Inter | 5-8 | 74 | 3640 | 3596 | +1.2% | | |
| 41 | +| Luma16Inter | 9-16 | 100 | 8431 | 8416 | +0.2% | | |
| 42 | +| Luma16Inter | 17+ | 78 | 19629 | 19755 | -0.6% | | |
| 43 | +| Luma32 | 0 | 531 | 475 | 251 | +89.1% | | |
| 44 | +| Luma32 | 1 | 48 | 364 | 258 | +41.2% | | |
| 45 | +| Luma32 | 17+ | 30 | 21950 | 21823 | +0.6% | | |
| 46 | +| Luma32Inter | 0 | 23 | 47 | 21 | +123.6% | | |
| 47 | +| Luma32Inter | 1 | 87 | 626 | 616 | +1.6% | | |
| 48 | +| Luma32Inter | 2 | 15 | 267 | 271 | -1.6% | | |
| 49 | +| Luma32Inter | 3-4 | 7 | 168 | 165 | +1.8% | | |
| 50 | +| Luma32Inter | 5-8 | 2 | 162 | 162 | -0.1% | | |
| 51 | +| Luma32Inter | 17+ | 49 | 17381 | 17388 | -0.0% | | |
| 52 | +| Luma4 | 0 | 2216 | 1174 | 792 | +48.2% | | |
| 53 | +| Luma4 | 1 | 175 | 1703 | 1411 | +20.7% | | |
| 54 | +| Luma4 | 2 | 67 | 884 | 913 | -3.2% | | |
| 55 | +| Luma4 | 3-4 | 99 | 2041 | 2024 | +0.9% | | |
| 56 | +| Luma4 | 5-8 | 313 | 10703 | 10304 | +3.9% | | |
| 57 | +| Luma4 | 9-16 | 294 | 13729 | 13161 | +4.3% | | |
| 58 | +| Luma8 | 0 | 10429 | 2158 | 767 | +181.3% | | |
| 59 | +| Luma8 | 1 | 61 | 528 | 532 | -0.8% | | |
| 60 | +| Luma8 | 2 | 13 | 198 | 208 | -4.9% | | |
| 61 | +| Luma8 | 3-4 | 3 | 56 | 59 | -4.7% | | |
| 62 | +| Luma8 | 5-8 | 19 | 607 | 622 | -2.5% | | |
| 63 | +| Luma8 | 9-16 | 27 | 1814 | 1790 | +1.3% | | |
| 64 | +| Luma8 | 17+ | 66 | 7709 | 7671 | +0.5% | | |
| 65 | +| Luma8Inter | 0 | 254 | 339 | 292 | +15.9% | | |
| 66 | +| Luma8Inter | 1 | 76 | 773 | 778 | -0.7% | | |
| 67 | +| Luma8Inter | 2 | 80 | 1283 | 1335 | -3.9% | | |
| 68 | +| Luma8Inter | 3-4 | 110 | 2601 | 2644 | -1.6% | | |
| 69 | +| Luma8Inter | 5-8 | 110 | 4072 | 4136 | -1.5% | | |
| 70 | +| Luma8Inter | 9-16 | 186 | 10713 | 10787 | -0.7% | | |
| 71 | +| Luma8Inter | 17+ | 293 | 29202 | 29071 | +0.4% | | |
| 72 | +| ALL | | 25161 | 377589 | 367536 | +2.7% | | |
| 73 | + | |
| 74 | +## screen (6 frames at 640x384, q=100): screen frames 6, pricer armings default=21 real=0 | |
| 75 | +| set | nz | blocks | priced bits | written bits | error | | |
| 76 | +|---|---|---|---|---|---| | |
| 77 | +| Chroma16 | 0 | 1463 | 616 | 714 | -13.7% | | |
| 78 | +| Chroma16 | 1 | 280 | 2920 | 2343 | +24.6% | | |
| 79 | +| Chroma16 | 2 | 97 | 1910 | 1618 | +18.0% | | |
| 80 | +| Chroma16 | 3-4 | 62 | 1523 | 1422 | +7.1% | | |
| 81 | +| Chroma16 | 5-8 | 42 | 1606 | 1496 | +7.4% | | |
| 82 | +| Chroma16 | 9-16 | 36 | 2094 | 1955 | +7.1% | | |
| 83 | +| Chroma16 | 17+ | 4 | 325 | 316 | +2.7% | | |
| 84 | +| Chroma4 | 0 | 233 | 94 | 69 | +36.9% | | |
| 85 | +| Chroma4 | 1 | 19 | 131 | 135 | -2.8% | | |
| 86 | +| Chroma4 | 2 | 10 | 117 | 118 | -1.2% | | |
| 87 | +| Chroma4 | 3-4 | 18 | 321 | 330 | -2.6% | | |
| 88 | +| Chroma4 | 5-8 | 7 | 216 | 215 | +0.7% | | |
| 89 | +| Chroma4 | 9-16 | 5 | 183 | 185 | -0.9% | | |
| 90 | +| Chroma8 | 0 | 1579 | 664 | 582 | +14.0% | | |
| 91 | +| Chroma8 | 1 | 222 | 1463 | 1430 | +2.3% | | |
| 92 | +| Chroma8 | 2 | 46 | 652 | 626 | +4.1% | | |
| 93 | +| Chroma8 | 3-4 | 74 | 1507 | 1402 | +7.5% | | |
| 94 | +| Chroma8 | 5-8 | 68 | 2314 | 2268 | +2.0% | | |
| 95 | +| Chroma8 | 9-16 | 27 | 1359 | 1370 | -0.8% | | |
| 96 | +| Chroma8 | 17+ | 2 | 147 | 146 | +0.4% | | |
| 97 | +| Luma16 | 0 | 76 | 478 | 220 | +117.1% | | |
| 98 | +| Luma16 | 1 | 47 | 572 | 480 | +19.1% | | |
| 99 | +| Luma16 | 2 | 20 | 445 | 398 | +11.7% | | |
| 100 | +| Luma16 | 3-4 | 58 | 1774 | 1550 | +14.4% | | |
| 101 | +| Luma16 | 5-8 | 98 | 4270 | 3933 | +8.6% | | |
| 102 | +| Luma16 | 9-16 | 60 | 4050 | 3870 | +4.6% | | |
| 103 | +| Luma16 | 17+ | 22 | 3150 | 3172 | -0.7% | | |
| 104 | +| Luma16Inter | 0 | 921 | 819 | 329 | +149.0% | | |
| 105 | +| Luma16Inter | 1 | 162 | 2116 | 1607 | +31.7% | | |
| 106 | +| Luma16Inter | 2 | 43 | 1028 | 857 | +20.0% | | |
| 107 | +| Luma16Inter | 3-4 | 14 | 443 | 415 | +6.6% | | |
| 108 | +| Luma16Inter | 5-8 | 3 | 148 | 139 | +6.7% | | |
| 109 | +| Luma16Inter | 9-16 | 3 | 269 | 278 | -3.3% | | |
| 110 | +| Luma32 | 0 | 67 | 268 | 117 | +128.9% | | |
| 111 | +| Luma32 | 1 | 2 | 52 | 50 | +3.4% | | |
| 112 | +| Luma32 | 2 | 4 | 110 | 92 | +19.2% | | |
| 113 | +| Luma32 | 3-4 | 8 | 296 | 268 | +10.5% | | |
| 114 | +| Luma32 | 5-8 | 16 | 919 | 910 | +1.0% | | |
| 115 | +| Luma32 | 9-16 | 42 | 3742 | 3614 | +3.5% | | |
| 116 | +| Luma32 | 17+ | 46 | 7478 | 7434 | +0.6% | | |
| 117 | +| Luma32Inter | 0 | 39 | 156 | 127 | +22.7% | | |
| 118 | +| Luma32Inter | 1 | 165 | 2067 | 1014 | +103.9% | | |
| 119 | +| Luma32Inter | 2 | 101 | 2736 | 1965 | +39.3% | | |
| 120 | +| Luma32Inter | 3-4 | 74 | 3101 | 2455 | +26.3% | | |
| 121 | +| Luma32Inter | 5-8 | 38 | 2495 | 2136 | +16.8% | | |
| 122 | +| Luma32Inter | 9-16 | 6 | 528 | 498 | +6.0% | | |
| 123 | +| Luma4 | 0 | 2147 | 1501 | 862 | +74.1% | | |
| 124 | +| Luma4 | 1 | 155 | 1614 | 1427 | +13.1% | | |
| 125 | +| Luma4 | 2 | 110 | 1554 | 1417 | +9.7% | | |
| 126 | +| Luma4 | 3-4 | 159 | 3227 | 2987 | +8.0% | | |
| 127 | +| Luma4 | 5-8 | 180 | 5670 | 5432 | +4.4% | | |
| 128 | +| Luma4 | 9-16 | 209 | 9921 | 9555 | +3.8% | | |
| 129 | +| Luma8 | 0 | 2937 | 1042 | 550 | +89.4% | | |
| 130 | +| Luma8 | 1 | 88 | 1034 | 886 | +16.7% | | |
| 131 | +| Luma8 | 2 | 33 | 569 | 504 | +12.9% | | |
| 132 | +| Luma8 | 3-4 | 44 | 1033 | 972 | +6.3% | | |
| 133 | +| Luma8 | 5-8 | 54 | 1916 | 1788 | +7.2% | | |
| 134 | +| Luma8 | 9-16 | 44 | 2398 | 2356 | +1.8% | | |
| 135 | +| Luma8 | 17+ | 27 | 2842 | 2902 | -2.1% | | |
| 136 | +| Luma8Inter | 0 | 139 | 76 | 55 | +37.7% | | |
| 137 | +| Luma8Inter | 1 | 38 | 511 | 462 | +10.5% | | |
| 138 | +| Luma8Inter | 2 | 11 | 186 | 179 | +3.8% | | |
| 139 | +| Luma8Inter | 3-4 | 6 | 193 | 170 | +13.3% | | |
| 140 | +| Luma8Inter | 5-8 | 17 | 744 | 741 | +0.4% | | |
| 141 | +| Luma8Inter | 9-16 | 19 | 1119 | 1136 | -1.5% | | |
| 142 | +| Luma8Inter | 17+ | 21 | 1841 | 1883 | -2.3% | | |
| 143 | +| ALL | | 12867 | 102660 | 92932 | +10.5% | | |
| 144 | +test encode::tests::pricer_error_census_on_clips ... ok | |
| 145 | + | |
| 146 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 1.95s | |
| 147 | + |
lanes/small-base.txtadded+70 -0
| @@ -0,0 +1,70 @@ | ||
| 1 | + Finished `release` profile [optimized] target(s) in 0.01s | |
| 2 | + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) | |
| 3 | + | |
| 4 | +running 1 test | |
| 5 | + | |
| 6 | +12 frames of each clip at 640x384, gop=12, 1 tile, 1 thread | |
| 7 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e | | |
| 8 | +|---|---|---|---|---| | |
| 9 | +h264-1080p-23.976-8bit.mp4: inter modes NEAREST 9371 (80.7%) NEAR 256 (2.2%) GLOBAL 209 (1.8%) NEW 1782 (15.3%); drl idx 0/1/2/3+ 11268/322/28/0 | |
| 10 | +h264-1080p-23.976-8bit.mp4: compound 13882 of 25500 inter blocks (54.4%); modes NEAREST_NEAREST 10742 NEAR_NEAR 0 NEAREST_NEW 862 NEW_NEAREST 649 GLOBAL_GLOBAL 858 NEW_NEW 771; pairs LAST+GOLDEN 3816 LAST+ALTREF 10066 | |
| 11 | +h264-1080p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 7956 NEAR_NEAR 0 NEAREST_NEW 733 NEW_NEAREST 540 GLOBAL_GLOBAL 680 NEW_NEW 688 | |
| 12 | +h264-1080p-23.976-8bit.mp4: compound by size 8x8 6783 16x16 3814 32x32 3285 | |
| 13 | +h264-1080p-23.976-8bit.mp4: motion search 98026 calls, 5446836 candidate evals (55.6/call, 28.8% of them subpel), 463341 integer rounds (4.73/call); winner within +-1 pel of pred_mv 85.5%, winner = starting seed 65.4% | |
| 14 | +h264-1080p-23.976-8bit.mp4: references LAST 7048 GOLDEN 4288 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 282) | |
| 15 | +h264-1080p-23.976-8bit.mp4: inter 32x32 split into 16s 1627 of 10560 blocks (15.4%); 16x16 leaves split into 8s 1844 of 9112 (20.2%) | |
| 16 | +h264-1080p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.6 chroma 9.1; cdef luma pri 5.1/sec 3.1, chroma pri 3.6/sec 1.8 | |
| 17 | +h264-1080p-23.976-8bit.mp4: cdef_bits frames 6/19/13/10 (0/1/2/3); 949 of 2880 64x64 units on a non-default preset (33.0%) | |
| 18 | +h264-1080p-23.976-8bit.mp4: lr units none=2862 wiener=18 (0.6% restored) | |
| 19 | +h264-1080p-23.976-8bit.mp4: pricer armings default=16 real=181 | |
| 20 | +h264-1080p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes | |
| 21 | +h264-1080p-23.976-8bit.mp4: chroma palette blocks 0 sizes | |
| 22 | +h264-1080p-23.976-8bit.mp4: uv modes DC=15111 (42.7%) V=2562 (7.2%) H=3451 (9.8%) SMOOTH=4360 (12.3%) SMOOTH_V=2146 (6.1%) SMOOTH_H=2790 (7.9%) PAETH=4952 (14.0%) | |
| 23 | +h264-1080p-23.976-8bit.mp4: intra tx depths 0=12296 (34.8%) 1=19811 (56.0%) 2=3265 (9.2%) | |
| 24 | +h264-1080p-23.976-8bit.mp4: inter var-tx depths of 943 blocks -- leaf single 0=557 1=386 (40.9% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 25 | +h264-1080p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6250 OBMC=0 WARP=322 | 16x16 SIMPLE=1180 OBMC=0 WARP=314 | 8x8 SIMPLE=2337 OBMC=0 WARP=529 (0.0% OBMC / 10.7% WARP of 10932 eligible) | |
| 26 | +| h264-1080p-23.976-8bit.mp4 | 43.23 dB/13584 B, 46.27 dB/25939 B, 49.08 dB/44212 B, 51.47 dB/66470 B | +70.4% | +28.4% | 5.6s:1.1s:2.6s | | |
| 27 | +| references | libaom 42.76 dB/7179 B, 44.78 dB/10177 B, 48.45 dB/24647 B, 56.50 dB/94272 B | rav1e 37.98 dB/4274 B, 42.57 dB/8004 B, 45.74 dB/17715 B, 49.20 dB/39938 B | | | | |
| 28 | +h264-2160p-23.976-8bit.mp4: inter modes NEAREST 9033 (84.3%) NEAR 381 (3.6%) GLOBAL 188 (1.8%) NEW 1114 (10.4%); drl idx 0/1/2/3+ 10240/463/13/0 | |
| 29 | +h264-2160p-23.976-8bit.mp4: compound 8384 of 19100 inter blocks (43.9%); modes NEAREST_NEAREST 6759 NEAR_NEAR 0 NEAREST_NEW 465 NEW_NEAREST 231 GLOBAL_GLOBAL 605 NEW_NEW 324; pairs LAST+GOLDEN 1724 LAST+ALTREF 6660 | |
| 30 | +h264-2160p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 4002 NEAR_NEAR 0 NEAREST_NEW 391 NEW_NEAREST 196 GLOBAL_GLOBAL 371 NEW_NEW 274 | |
| 31 | +h264-2160p-23.976-8bit.mp4: compound by size 8x8 2454 16x16 2780 32x32 3150 | |
| 32 | +h264-2160p-23.976-8bit.mp4: motion search 79339 calls, 4356735 candidate evals (54.9/call, 29.1% of them subpel), 369864 integer rounds (4.66/call); winner within +-1 pel of pred_mv 86.5%, winner = starting seed 80.1% | |
| 33 | +h264-2160p-23.976-8bit.mp4: references LAST 5870 GOLDEN 4548 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 298) | |
| 34 | +h264-2160p-23.976-8bit.mp4: inter 32x32 split into 16s 1139 of 10560 blocks (10.8%); 16x16 leaves split into 8s 1027 of 7292 (14.1%) | |
| 35 | +h264-2160p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.2 chroma 6.1; cdef luma pri 1.3/sec 1.4, chroma pri 1.9/sec 1.9 | |
| 36 | +h264-2160p-23.976-8bit.mp4: cdef_bits frames 7/19/17/5 (0/1/2/3); 870 of 2880 64x64 units on a non-default preset (30.2%) | |
| 37 | +h264-2160p-23.976-8bit.mp4: lr units none=2856 wiener=24 (0.8% restored) | |
| 38 | +h264-2160p-23.976-8bit.mp4: pricer armings default=18 real=179 | |
| 39 | +h264-2160p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes | |
| 40 | +h264-2160p-23.976-8bit.mp4: chroma palette blocks 0 sizes | |
| 41 | +h264-2160p-23.976-8bit.mp4: uv modes DC=17714 (61.9%) V=2622 (9.2%) H=1737 (6.1%) SMOOTH=1126 (3.9%) SMOOTH_V=1355 (4.7%) SMOOTH_H=1104 (3.9%) PAETH=2958 (10.3%) | |
| 42 | +h264-2160p-23.976-8bit.mp4: intra tx depths 0=14710 (51.4%) 1=11818 (41.3%) 2=2088 (7.3%) | |
| 43 | +h264-2160p-23.976-8bit.mp4: inter var-tx depths of 940 blocks -- leaf single 0=583 1=357 (38.0% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 44 | +h264-2160p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=7015 OBMC=0 WARP=370 | 16x16 SIMPLE=1077 OBMC=0 WARP=237 | 8x8 SIMPLE=810 OBMC=0 WARP=463 (0.0% OBMC / 10.7% WARP of 9972 eligible) | |
| 45 | +| h264-2160p-23.976-8bit.mp4 | 43.82 dB/9741 B, 47.49 dB/14539 B, 50.21 dB/24019 B, 52.37 dB/36753 B | +85.3% | +47.4% | 4.7s:1.0s:2.2s | | |
| 46 | +| references | libaom 44.31 dB/5833 B, 47.75 dB/9035 B, 51.45 dB/13848 B, 56.50 dB/49099 B | rav1e 39.20 dB/2833 B, 43.62 dB/5536 B, 47.90 dB/10763 B, 50.92 dB/21183 B | | | | |
| 47 | +screen capture (2026-07-25 02-09-04.mkv): inter modes NEAREST 9783 (99.7%) NEAR 8 (0.1%) GLOBAL 0 (0.0%) NEW 19 (0.2%); drl idx 0/1/2/3+ 9802/8/0/0 | |
| 48 | +screen capture (2026-07-25 02-09-04.mkv): compound 5499 of 15309 inter blocks (35.9%); modes NEAREST_NEAREST 5491 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 4 GLOBAL_GLOBAL 2 NEW_NEW 2; pairs LAST+GOLDEN 331 LAST+ALTREF 5168 | |
| 49 | +screen capture (2026-07-25 02-09-04.mkv): leaf (16x16 and below) compound modes NEAREST_NEAREST 1007 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 2 GLOBAL_GLOBAL 0 NEW_NEW 2 | |
| 50 | +screen capture (2026-07-25 02-09-04.mkv): compound by size 8x8 244 16x16 767 32x32 4488 | |
| 51 | +screen capture (2026-07-25 02-09-04.mkv): motion search 105418 calls, 5460569 candidate evals (51.8/call, 30.9% of them subpel), 458533 integer rounds (4.35/call); winner within +-1 pel of pred_mv 98.8%, winner = starting seed 98.3% | |
| 52 | +screen capture (2026-07-25 02-09-04.mkv): references LAST 3868 GOLDEN 5469 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 473) | |
| 53 | +screen capture (2026-07-25 02-09-04.mkv): inter 32x32 split into 16s 426 of 10560 blocks (4.0%); 16x16 leaves split into 8s 281 of 11564 (2.4%) | |
| 54 | +screen capture (2026-07-25 02-09-04.mkv): over 48 frames -- deblock luma mean 4.4 chroma 0.9; cdef luma pri 1.3/sec 0.5, chroma pri 2.8/sec 0.2 | |
| 55 | +screen capture (2026-07-25 02-09-04.mkv): cdef_bits frames 32/4/9/3 (0/1/2/3); 493 of 2880 64x64 units on a non-default preset (17.1%) | |
| 56 | +screen capture (2026-07-25 02-09-04.mkv): lr units none=2878 wiener=2 (0.1% restored) | |
| 57 | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=162 real=0 | |
| 58 | +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0; palette blocks 1563 sizes 3=6 4=512 5=2 8=1043 | |
| 59 | +screen capture (2026-07-25 02-09-04.mkv): chroma palette blocks 202 sizes 4=180 8=22 | |
| 60 | +screen capture (2026-07-25 02-09-04.mkv): uv modes DC=9971 (25.2%) V=958 (2.4%) H=7710 (19.5%) SMOOTH=1779 (4.5%) SMOOTH_V=697 (1.8%) SMOOTH_H=1378 (3.5%) PAETH=17031 (43.1%) | |
| 61 | +screen capture (2026-07-25 02-09-04.mkv): intra tx depths 0=9225 (23.3%) 1=22685 (57.4%) 2=7614 (19.3%) | |
| 62 | +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 2222 blocks -- leaf single 0=1381 1=841 (37.8% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 63 | +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=8009 OBMC=0 WARP=431 | 16x16 SIMPLE=963 OBMC=0 WARP=74 | 8x8 SIMPLE=118 OBMC=0 WARP=147 (0.0% OBMC / 6.7% WARP of 9742 eligible) | |
| 64 | +| screen capture (2026-07-25 02-09-04.mkv) | 41.29 dB/9611 B, 44.53 dB/13909 B, 47.22 dB/19256 B, 49.41 dB/24931 B | +48.5% | -4.0% | 5.6s:1.0s:2.1s | | |
| 65 | +| references | libaom 45.12 dB/10679 B, 49.35 dB/15779 B, 55.26 dB/25633 B, 71.29 dB/52986 B | rav1e 34.51 dB/3233 B, 39.45 dB/7772 B, 44.72 dB/15210 B, 49.31 dB/24915 B | | | | |
| 66 | +test encode::tests::bd_rate_vs_libaom_and_rav1e ... ok | |
| 67 | + | |
| 68 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 28.87s | |
| 69 | + | |
| 70 | +ALLDONE |
lanes/small-step1.txtadded+69 -0
| @@ -0,0 +1,69 @@ | ||
| 1 | + Finished `release` profile [optimized] target(s) in 0.01s | |
| 2 | + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) | |
| 3 | + | |
| 4 | +running 1 test | |
| 5 | + | |
| 6 | +12 frames of each clip at 640x384, gop=12, 1 tile, 1 thread | |
| 7 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e | | |
| 8 | +|---|---|---|---|---| | |
| 9 | +h264-1080p-23.976-8bit.mp4: inter modes NEAREST 9573 (80.6%) NEAR 235 (2.0%) GLOBAL 187 (1.6%) NEW 1875 (15.8%); drl idx 0/1/2/3+ 11492/351/27/0 | |
| 10 | +h264-1080p-23.976-8bit.mp4: compound 13817 of 25687 inter blocks (53.8%); modes NEAREST_NEAREST 10834 NEAR_NEAR 0 NEAREST_NEW 818 NEW_NEAREST 628 GLOBAL_GLOBAL 843 NEW_NEW 694; pairs LAST+GOLDEN 3894 LAST+ALTREF 9923 | |
| 11 | +h264-1080p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 8075 NEAR_NEAR 0 NEAREST_NEW 726 NEW_NEAREST 526 GLOBAL_GLOBAL 661 NEW_NEW 594 | |
| 12 | +h264-1080p-23.976-8bit.mp4: compound by size 8x8 6760 16x16 3822 32x32 3235 | |
| 13 | +h264-1080p-23.976-8bit.mp4: motion search 96827 calls, 5377360 candidate evals (55.5/call, 28.8% of them subpel), 457409 integer rounds (4.72/call); winner within +-1 pel of pred_mv 85.3%, winner = starting seed 65.3% | |
| 14 | +h264-1080p-23.976-8bit.mp4: references LAST 7078 GOLDEN 4444 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 348) | |
| 15 | +h264-1080p-23.976-8bit.mp4: inter 32x32 split into 16s 1587 of 10560 blocks (15.0%); 16x16 leaves split into 8s 1851 of 8912 (20.8%) | |
| 16 | +h264-1080p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.4 chroma 9.1; cdef luma pri 5.4/sec 3.1, chroma pri 4.4/sec 2.0 | |
| 17 | +h264-1080p-23.976-8bit.mp4: cdef_bits frames 6/17/17/8 (0/1/2/3); 950 of 2880 64x64 units on a non-default preset (33.0%) | |
| 18 | +h264-1080p-23.976-8bit.mp4: lr units none=2861 wiener=19 (0.7% restored) | |
| 19 | +h264-1080p-23.976-8bit.mp4: pricer armings default=16 real=182 | |
| 20 | +h264-1080p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes | |
| 21 | +h264-1080p-23.976-8bit.mp4: chroma palette blocks 0 sizes | |
| 22 | +h264-1080p-23.976-8bit.mp4: uv modes DC=15015 (43.0%) V=2566 (7.4%) H=3287 (9.4%) SMOOTH=4343 (12.4%) SMOOTH_V=2043 (5.9%) SMOOTH_H=2740 (7.9%) PAETH=4894 (14.0%) | |
| 23 | +h264-1080p-23.976-8bit.mp4: intra tx depths 0=12065 (34.6%) 1=19537 (56.0%) 2=3286 (9.4%) | |
| 24 | +h264-1080p-23.976-8bit.mp4: inter var-tx depths of 1883 blocks -- leaf single 0=551 1=361 (39.6% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=411 1=560 (57.7% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 25 | +h264-1080p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6713 OBMC=0 WARP=320 | 16x16 SIMPLE=1039 OBMC=0 WARP=309 | 8x8 SIMPLE=2310 OBMC=0 WARP=495 (0.0% OBMC / 10.0% WARP of 11186 eligible) | |
| 26 | +| h264-1080p-23.976-8bit.mp4 | 43.21 dB/13524 B, 46.27 dB/25983 B, 49.08 dB/43986 B, 51.48 dB/66133 B | +70.0% | +28.3% | 5.6s:1.1s:2.6s | | |
| 27 | +| references | libaom 42.76 dB/7179 B, 44.78 dB/10177 B, 48.45 dB/24647 B, 56.50 dB/94272 B | rav1e 37.98 dB/4274 B, 42.57 dB/8004 B, 45.74 dB/17715 B, 49.20 dB/39938 B | | | | |
| 28 | +h264-2160p-23.976-8bit.mp4: inter modes NEAREST 8576 (84.7%) NEAR 334 (3.3%) GLOBAL 174 (1.7%) NEW 1036 (10.2%); drl idx 0/1/2/3+ 9705/409/6/0 | |
| 29 | +h264-2160p-23.976-8bit.mp4: compound 7912 of 18032 inter blocks (43.9%); modes NEAREST_NEAREST 6412 NEAR_NEAR 0 NEAREST_NEW 465 NEW_NEAREST 188 GLOBAL_GLOBAL 548 NEW_NEW 299; pairs LAST+GOLDEN 1594 LAST+ALTREF 6318 | |
| 30 | +h264-2160p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 3758 NEAR_NEAR 0 NEAREST_NEW 377 NEW_NEAREST 167 GLOBAL_GLOBAL 354 NEW_NEW 256 | |
| 31 | +h264-2160p-23.976-8bit.mp4: compound by size 8x8 2328 16x16 2584 32x32 3000 | |
| 32 | +h264-2160p-23.976-8bit.mp4: motion search 79008 calls, 4341056 candidate evals (54.9/call, 29.1% of them subpel), 368587 integer rounds (4.67/call); winner within +-1 pel of pred_mv 86.5%, winner = starting seed 79.6% | |
| 33 | +h264-2160p-23.976-8bit.mp4: references LAST 5455 GOLDEN 4379 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 286) | |
| 34 | +h264-2160p-23.976-8bit.mp4: inter 32x32 split into 16s 1115 of 10560 blocks (10.6%); 16x16 leaves split into 8s 1010 of 7240 (14.0%) | |
| 35 | +h264-2160p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.2 chroma 6.1; cdef luma pri 1.3/sec 1.5, chroma pri 2.1/sec 1.9 | |
| 36 | +h264-2160p-23.976-8bit.mp4: cdef_bits frames 8/21/15/4 (0/1/2/3); 827 of 2880 64x64 units on a non-default preset (28.7%) | |
| 37 | +h264-2160p-23.976-8bit.mp4: lr units none=2862 wiener=18 (0.6% restored) | |
| 38 | +h264-2160p-23.976-8bit.mp4: pricer armings default=18 real=173 | |
| 39 | +h264-2160p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes | |
| 40 | +h264-2160p-23.976-8bit.mp4: chroma palette blocks 0 sizes | |
| 41 | +h264-2160p-23.976-8bit.mp4: uv modes DC=17607 (61.8%) V=2599 (9.1%) H=1734 (6.1%) SMOOTH=1104 (3.9%) SMOOTH_V=1335 (4.7%) SMOOTH_H=1127 (4.0%) PAETH=2974 (10.4%) | |
| 42 | +h264-2160p-23.976-8bit.mp4: intra tx depths 0=14508 (50.9%) 1=11877 (41.7%) 2=2095 (7.4%) | |
| 43 | +h264-2160p-23.976-8bit.mp4: inter var-tx depths of 1913 blocks -- leaf single 0=623 1=365 (36.9% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=468 1=457 (49.4% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 44 | +h264-2160p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6689 OBMC=0 WARP=317 | 16x16 SIMPLE=1037 OBMC=0 WARP=217 | 8x8 SIMPLE=800 OBMC=0 WARP=396 (0.0% OBMC / 9.8% WARP of 9456 eligible) | |
| 45 | +| h264-2160p-23.976-8bit.mp4 | 43.79 dB/9586 B, 47.47 dB/14483 B, 50.20 dB/24077 B, 52.38 dB/36583 B | +85.0% | +47.2% | 4.7s:1.0s:2.2s | | |
| 46 | +| references | libaom 44.31 dB/5833 B, 47.75 dB/9035 B, 51.45 dB/13848 B, 56.50 dB/49099 B | rav1e 39.20 dB/2833 B, 43.62 dB/5536 B, 47.90 dB/10763 B, 50.92 dB/21183 B | | | | |
| 47 | +screen capture (2026-07-25 02-09-04.mkv): inter modes NEAREST 10925 (99.8%) NEAR 6 (0.1%) GLOBAL 0 (0.0%) NEW 19 (0.2%); drl idx 0/1/2/3+ 10944/6/0/0 | |
| 48 | +screen capture (2026-07-25 02-09-04.mkv): compound 5404 of 16354 inter blocks (33.0%); modes NEAREST_NEAREST 5389 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 8 GLOBAL_GLOBAL 7 NEW_NEW 0; pairs LAST+GOLDEN 335 LAST+ALTREF 5069 | |
| 49 | +screen capture (2026-07-25 02-09-04.mkv): leaf (16x16 and below) compound modes NEAREST_NEAREST 933 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 6 GLOBAL_GLOBAL 2 NEW_NEW 0 | |
| 50 | +screen capture (2026-07-25 02-09-04.mkv): compound by size 8x8 276 16x16 665 32x32 4463 | |
| 51 | +screen capture (2026-07-25 02-09-04.mkv): motion search 106783 calls, 5536309 candidate evals (51.8/call, 30.9% of them subpel), 465113 integer rounds (4.36/call); winner within +-1 pel of pred_mv 98.7%, winner = starting seed 98.1% | |
| 52 | +screen capture (2026-07-25 02-09-04.mkv): references LAST 4022 GOLDEN 6178 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 750) | |
| 53 | +screen capture (2026-07-25 02-09-04.mkv): inter 32x32 split into 16s 351 of 10560 blocks (3.3%); 16x16 leaves split into 8s 261 of 12116 (2.2%) | |
| 54 | +screen capture (2026-07-25 02-09-04.mkv): over 48 frames -- deblock luma mean 4.3 chroma 0.9; cdef luma pri 1.1/sec 0.5, chroma pri 2.5/sec 0.2 | |
| 55 | +screen capture (2026-07-25 02-09-04.mkv): cdef_bits frames 27/7/11/3 (0/1/2/3); 612 of 2880 64x64 units on a non-default preset (21.2%) | |
| 56 | +screen capture (2026-07-25 02-09-04.mkv): lr units none=2878 wiener=2 (0.1% restored) | |
| 57 | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=167 real=0 | |
| 58 | +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0; palette blocks 1573 sizes 3=6 4=523 5=2 8=1042 | |
| 59 | +screen capture (2026-07-25 02-09-04.mkv): chroma palette blocks 202 sizes 4=180 8=22 | |
| 60 | +screen capture (2026-07-25 02-09-04.mkv): uv modes DC=9840 (24.7%) V=949 (2.4%) H=7932 (19.9%) SMOOTH=1646 (4.1%) SMOOTH_V=734 (1.8%) SMOOTH_H=1305 (3.3%) PAETH=17474 (43.8%) | |
| 61 | +screen capture (2026-07-25 02-09-04.mkv): intra tx depths 0=9308 (23.3%) 1=22853 (57.3%) 2=7719 (19.4%) | |
| 62 | +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 4055 blocks -- leaf single 0=1400 1=811 (36.7% split) | leaf compound 0=0 1=0 (0.0% split) | 32x32 single 0=1059 1=785 (42.6% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 63 | +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=9238 OBMC=0 WARP=490 | 16x16 SIMPLE=787 OBMC=0 WARP=57 | 8x8 SIMPLE=135 OBMC=0 WARP=163 (0.0% OBMC / 6.5% WARP of 10870 eligible) | |
| 64 | +| screen capture (2026-07-25 02-09-04.mkv) | 41.30 dB/9726 B, 44.53 dB/14028 B, 47.24 dB/19241 B, 49.44 dB/24944 B | +48.4% | -3.6% | 5.7s:1.0s:2.1s | | |
| 65 | +| references | libaom 45.12 dB/10679 B, 49.35 dB/15779 B, 55.26 dB/25633 B, 71.29 dB/52986 B | rav1e 34.51 dB/3233 B, 39.45 dB/7772 B, 44.72 dB/15210 B, 49.31 dB/24915 B | | | | |
| 66 | +test encode::tests::bd_rate_vs_libaom_and_rav1e ... ok | |
| 67 | + | |
| 68 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 28.94s | |
| 69 | + |
lanes/small-step2.txtadded+69 -0
| @@ -0,0 +1,69 @@ | ||
| 1 | + Finished `release` profile [optimized] target(s) in 0.01s | |
| 2 | + Running unittests src/lib.rs (/home/user/.cache/cargo-target-av1txdepth/release/deps/ec_av1-8fef0196ab10338d) | |
| 3 | + | |
| 4 | +running 1 test | |
| 5 | + | |
| 6 | +12 frames of each clip at 640x384, gop=12, 1 tile, 1 thread | |
| 7 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e | | |
| 8 | +|---|---|---|---|---| | |
| 9 | +h264-1080p-23.976-8bit.mp4: inter modes NEAREST 9556 (80.2%) NEAR 252 (2.1%) GLOBAL 216 (1.8%) NEW 1897 (15.9%); drl idx 0/1/2/3+ 11540/360/21/0 | |
| 10 | +h264-1080p-23.976-8bit.mp4: compound 13365 of 25286 inter blocks (52.9%); modes NEAREST_NEAREST 10399 NEAR_NEAR 0 NEAREST_NEW 877 NEW_NEAREST 589 GLOBAL_GLOBAL 763 NEW_NEW 737; pairs LAST+GOLDEN 3747 LAST+ALTREF 9618 | |
| 11 | +h264-1080p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 7637 NEAR_NEAR 0 NEAREST_NEW 761 NEW_NEAREST 505 GLOBAL_GLOBAL 605 NEW_NEW 660 | |
| 12 | +h264-1080p-23.976-8bit.mp4: compound by size 8x8 5510 16x16 4658 32x32 3197 | |
| 13 | +h264-1080p-23.976-8bit.mp4: motion search 97391 calls, 5409075 candidate evals (55.5/call, 28.8% of them subpel), 460223 integer rounds (4.73/call); winner within +-1 pel of pred_mv 85.4%, winner = starting seed 64.9% | |
| 14 | +h264-1080p-23.976-8bit.mp4: references LAST 7216 GOLDEN 4314 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 391) | |
| 15 | +h264-1080p-23.976-8bit.mp4: inter 32x32 split into 16s 1649 of 10560 blocks (15.6%); 16x16 leaves split into 8s 1580 of 8984 (17.6%) | |
| 16 | +h264-1080p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.5 chroma 9.5; cdef luma pri 5.2/sec 3.2, chroma pri 4.2/sec 1.9 | |
| 17 | +h264-1080p-23.976-8bit.mp4: cdef_bits frames 5/18/17/8 (0/1/2/3); 988 of 2880 64x64 units on a non-default preset (34.3%) | |
| 18 | +h264-1080p-23.976-8bit.mp4: lr units none=2861 wiener=19 (0.7% restored) | |
| 19 | +h264-1080p-23.976-8bit.mp4: pricer armings default=16 real=184 | |
| 20 | +h264-1080p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes | |
| 21 | +h264-1080p-23.976-8bit.mp4: chroma palette blocks 0 sizes | |
| 22 | +h264-1080p-23.976-8bit.mp4: uv modes DC=15091 (43.0%) V=2542 (7.2%) H=3387 (9.7%) SMOOTH=4364 (12.4%) SMOOTH_V=2063 (5.9%) SMOOTH_H=2787 (7.9%) PAETH=4846 (13.8%) | |
| 23 | +h264-1080p-23.976-8bit.mp4: intra tx depths 0=11960 (34.1%) 1=19835 (56.5%) 2=3285 (9.4%) | |
| 24 | +h264-1080p-23.976-8bit.mp4: inter var-tx depths of 4169 blocks -- leaf single 0=528 1=399 (43.0% split) | leaf compound 0=2001 1=1241 (38.3% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 25 | +h264-1080p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6516 OBMC=0 WARP=351 | 16x16 SIMPLE=1176 OBMC=0 WARP=354 | 8x8 SIMPLE=2148 OBMC=0 WARP=636 (0.0% OBMC / 12.0% WARP of 11181 eligible) | |
| 26 | +| h264-1080p-23.976-8bit.mp4 | 43.22 dB/13658 B, 46.24 dB/26011 B, 49.08 dB/43896 B, 51.48 dB/66041 B | +70.5% | +28.9% | 5.6s:1.1s:2.6s | | |
| 27 | +| references | libaom 42.76 dB/7179 B, 44.78 dB/10177 B, 48.45 dB/24647 B, 56.50 dB/94272 B | rav1e 37.98 dB/4274 B, 42.57 dB/8004 B, 45.74 dB/17715 B, 49.20 dB/39938 B | | | | |
| 28 | +h264-2160p-23.976-8bit.mp4: inter modes NEAREST 8711 (83.9%) NEAR 357 (3.4%) GLOBAL 192 (1.9%) NEW 1118 (10.8%); drl idx 0/1/2/3+ 9923/439/16/0 | |
| 29 | +h264-2160p-23.976-8bit.mp4: compound 7876 of 18254 inter blocks (43.1%); modes NEAREST_NEAREST 6300 NEAR_NEAR 0 NEAREST_NEW 478 NEW_NEAREST 197 GLOBAL_GLOBAL 582 NEW_NEW 319; pairs LAST+GOLDEN 1520 LAST+ALTREF 6356 | |
| 30 | +h264-2160p-23.976-8bit.mp4: leaf (16x16 and below) compound modes NEAREST_NEAREST 3565 NEAR_NEAR 0 NEAREST_NEW 403 NEW_NEAREST 175 GLOBAL_GLOBAL 380 NEW_NEW 263 | |
| 31 | +h264-2160p-23.976-8bit.mp4: compound by size 8x8 2016 16x16 2770 32x32 3090 | |
| 32 | +h264-2160p-23.976-8bit.mp4: motion search 78480 calls, 4310592 candidate evals (54.9/call, 29.1% of them subpel), 365929 integer rounds (4.66/call); winner within +-1 pel of pred_mv 86.4%, winner = starting seed 79.7% | |
| 33 | +h264-2160p-23.976-8bit.mp4: references LAST 5683 GOLDEN 4417 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 278) | |
| 34 | +h264-2160p-23.976-8bit.mp4: inter 32x32 split into 16s 1143 of 10560 blocks (10.8%); 16x16 leaves split into 8s 939 of 7208 (13.0%) | |
| 35 | +h264-2160p-23.976-8bit.mp4: over 48 frames -- deblock luma mean 9.2 chroma 6.0; cdef luma pri 1.3/sec 1.4, chroma pri 2.0/sec 2.0 | |
| 36 | +h264-2160p-23.976-8bit.mp4: cdef_bits frames 5/22/17/4 (0/1/2/3); 953 of 2880 64x64 units on a non-default preset (33.1%) | |
| 37 | +h264-2160p-23.976-8bit.mp4: lr units none=2862 wiener=18 (0.6% restored) | |
| 38 | +h264-2160p-23.976-8bit.mp4: pricer armings default=18 real=176 | |
| 39 | +h264-2160p-23.976-8bit.mp4: screen frames on=0 off=4; palette blocks 0 sizes | |
| 40 | +h264-2160p-23.976-8bit.mp4: chroma palette blocks 0 sizes | |
| 41 | +h264-2160p-23.976-8bit.mp4: uv modes DC=17521 (61.9%) V=2574 (9.1%) H=1740 (6.2%) SMOOTH=1124 (4.0%) SMOOTH_V=1322 (4.7%) SMOOTH_H=1099 (3.9%) PAETH=2908 (10.3%) | |
| 42 | +h264-2160p-23.976-8bit.mp4: intra tx depths 0=14535 (51.4%) 1=11697 (41.3%) 2=2056 (7.3%) | |
| 43 | +h264-2160p-23.976-8bit.mp4: inter var-tx depths of 2967 blocks -- leaf single 0=571 1=348 (37.9% split) | leaf compound 0=1452 1=596 (29.1% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 44 | +h264-2160p-23.976-8bit.mp4: motion_mode 32x32 SIMPLE=6814 OBMC=0 WARP=310 | 16x16 SIMPLE=1131 OBMC=0 WARP=227 | 8x8 SIMPLE=724 OBMC=0 WARP=497 (0.0% OBMC / 10.7% WARP of 9703 eligible) | |
| 45 | +| h264-2160p-23.976-8bit.mp4 | 43.83 dB/9654 B, 47.50 dB/14414 B, 50.23 dB/24061 B, 52.38 dB/36664 B | +84.0% | +46.2% | 4.7s:1.0s:2.2s | | |
| 46 | +| references | libaom 44.31 dB/5833 B, 47.75 dB/9035 B, 51.45 dB/13848 B, 56.50 dB/49099 B | rav1e 39.20 dB/2833 B, 43.62 dB/5536 B, 47.90 dB/10763 B, 50.92 dB/21183 B | | | | |
| 47 | +screen capture (2026-07-25 02-09-04.mkv): inter modes NEAREST 10744 (99.8%) NEAR 8 (0.1%) GLOBAL 0 (0.0%) NEW 17 (0.2%); drl idx 0/1/2/3+ 10761/8/0/0 | |
| 48 | +screen capture (2026-07-25 02-09-04.mkv): compound 5867 of 16636 inter blocks (35.3%); modes NEAREST_NEAREST 5859 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 6 GLOBAL_GLOBAL 2 NEW_NEW 0; pairs LAST+GOLDEN 333 LAST+ALTREF 5534 | |
| 49 | +screen capture (2026-07-25 02-09-04.mkv): leaf (16x16 and below) compound modes NEAREST_NEAREST 1098 NEAR_NEAR 0 NEAREST_NEW 0 NEW_NEAREST 4 GLOBAL_GLOBAL 0 NEW_NEW 0 | |
| 50 | +screen capture (2026-07-25 02-09-04.mkv): compound by size 8x8 186 16x16 916 32x32 4765 | |
| 51 | +screen capture (2026-07-25 02-09-04.mkv): motion search 106596 calls, 5521979 candidate evals (51.8/call, 30.9% of them subpel), 463707 integer rounds (4.35/call); winner within +-1 pel of pred_mv 98.8%, winner = starting seed 98.3% | |
| 52 | +screen capture (2026-07-25 02-09-04.mkv): references LAST 4318 GOLDEN 5815 (LAST2 0 LAST3 0 BWD 0 ALT2 0 ALT 636) | |
| 53 | +screen capture (2026-07-25 02-09-04.mkv): inter 32x32 split into 16s 456 of 10560 blocks (4.3%); 16x16 leaves split into 8s 218 of 11768 (1.9%) | |
| 54 | +screen capture (2026-07-25 02-09-04.mkv): over 48 frames -- deblock luma mean 4.7 chroma 0.9; cdef luma pri 1.1/sec 0.6, chroma pri 3.1/sec 0.2 | |
| 55 | +screen capture (2026-07-25 02-09-04.mkv): cdef_bits frames 27/6/13/2 (0/1/2/3); 607 of 2880 64x64 units on a non-default preset (21.1%) | |
| 56 | +screen capture (2026-07-25 02-09-04.mkv): lr units none=2878 wiener=2 (0.1% restored) | |
| 57 | +screen capture (2026-07-25 02-09-04.mkv): pricer armings default=167 real=0 | |
| 58 | +screen capture (2026-07-25 02-09-04.mkv): screen frames on=48 off=0; palette blocks 1568 sizes 3=6 4=514 5=2 8=1046 | |
| 59 | +screen capture (2026-07-25 02-09-04.mkv): chroma palette blocks 202 sizes 4=180 8=22 | |
| 60 | +screen capture (2026-07-25 02-09-04.mkv): uv modes DC=10100 (25.3%) V=1028 (2.6%) H=7665 (19.2%) SMOOTH=1844 (4.6%) SMOOTH_V=713 (1.8%) SMOOTH_H=1329 (3.3%) PAETH=17261 (43.2%) | |
| 61 | +screen capture (2026-07-25 02-09-04.mkv): intra tx depths 0=9181 (23.0%) 1=23130 (57.9%) 2=7629 (19.1%) | |
| 62 | +screen capture (2026-07-25 02-09-04.mkv): inter var-tx depths of 4775 blocks -- leaf single 0=1353 1=891 (39.7% split) | leaf compound 0=1743 1=788 (31.1% split) | 32x32 single 0=0 1=0 (0.0% split) | 32x32 compound 0=0 1=0 (0.0% split) | |
| 63 | +screen capture (2026-07-25 02-09-04.mkv): motion_mode 32x32 SIMPLE=8817 OBMC=0 WARP=458 | 16x16 SIMPLE=1091 OBMC=0 WARP=72 | 8x8 SIMPLE=109 OBMC=0 WARP=154 (0.0% OBMC / 6.4% WARP of 10701 eligible) | |
| 64 | +| screen capture (2026-07-25 02-09-04.mkv) | 41.30 dB/9645 B, 44.53 dB/13942 B, 47.22 dB/19327 B, 49.43 dB/25035 B | +48.9% | -3.7% | 5.7s:1.0s:2.1s | | |
| 65 | +| references | libaom 45.12 dB/10679 B, 49.35 dB/15779 B, 55.26 dB/25633 B, 71.29 dB/52986 B | rav1e 34.51 dB/3233 B, 39.45 dB/7772 B, 44.72 dB/15210 B, 49.31 dB/24915 B | | | | |
| 66 | +test encode::tests::bd_rate_vs_libaom_and_rav1e ... ok | |
| 67 | + | |
| 68 | +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 573 filtered out; finished in 28.92s | |
| 69 | + |