Record the measured OBMC min-4 dead end at the chroma blend site
Browse files at this commit07b88ab6a23ada693108222164bb041f4e9499e0Parent: 86dc1a6- docs
- record the measured OBMC min-4 dead end at the chroma blend site
1 changed file +7 -0
crates/ec-av1/src/decode.rsmodified+7 -0
| @@ -19559,6 +19559,13 @@ fn obmc_blend( | |||
| 19559 | let tmp_y = obmc_neighbour_pred(ny, px + ox, py, nb.mv, bw, bh, true, h_kind, v_kind, nb_scale); | 19559 | let tmp_y = obmc_neighbour_pred(ny, px + ox, py, nb.mv, bw, bh, true, h_kind, v_kind, nb_scale); |
| 19560 | obmc_blend_v(pred_y, side, ox, 0, bw, bh, &tmp_y); | 19560 | obmc_blend_v(pred_y, side, ox, 0, bw, bh, &tmp_y); |
| 19561 | if !skip_chroma_above { | 19561 | if !skip_chroma_above { |
| 19562 | + // lane-t900 r13 (measured, NOT a defect): libaom's min-4 clamp | ||
| 19563 | + // (`dec_build_prediction_by_above_pred`) sizes only the OBMC | ||
| 19564 | + // PREDICTION buffer; the blend length is the plain half | ||
| 19565 | + // (`build_obmc_inter_pred_above`: `overlap >> ss_y`), so flooring | ||
| 19566 | + // this at 4 blends rows libaom never blends -- on a 10-bit | ||
| 19567 | + // 1920x792 cut that went 36 differing frames -> 266, worst | ||
| 19568 | + // 13 B -> 11007 B. | ||
| 19562 | let (cbw, cbh, cox) = (bw / 2, overlap_above / 2, ox / 2); | 19569 | let (cbw, cbh, cox) = (bw / 2, overlap_above / 2, ox / 2); |
| 19563 | let tmp_u = obmc_neighbour_pred(nu, cpx + cox, cpy, nb.mv, cbw, cbh, false, h_kind, v_kind, nb_scale); | 19570 | let tmp_u = obmc_neighbour_pred(nu, cpx + cox, cpy, nb.mv, cbw, cbh, false, h_kind, v_kind, nb_scale); |
| 19564 | obmc_blend_v(pred_u, chroma_side, cox, 0, cbw, cbh, &tmp_u); | 19571 | obmc_blend_v(pred_u, chroma_side, cox, 0, cbw, cbh, &tmp_u); |