)]}'
{
  "commit": "5ef10cee81dc97b393c3b353ea60710187793d59",
  "tree": "794f58a70082351e9b74bc74ad65f4afff8f58f9",
  "parents": [
    "483ff213fc8d8e0785958578ac85e0eaeefc91a8"
  ],
  "author": {
    "name": "Marco Paniconi",
    "email": "marpan@google.com",
    "time": "Tue Oct 20 22:17:07 2026 +0000"
  },
  "committer": {
    "name": "Marco Paniconi",
    "email": "marpan@google.com",
    "time": "Wed Oct 21 09:49:41 2026 -0700"
  },
  "message": "rtc-svc: Fix initial avg_frame_qindex for VBR mode\n\nIn av1_init_layer_context(), initialize lp_rc-\u003eavg_frame_qindex[INTER_FRAME]\nand lp_rc-\u003eavg_frame_qindex[KEY_FRAME] to\n(lrc-\u003eworst_quality + lrc-\u003ebest_quality) / 2 when rc_cfg.mode \u003d\u003d AOM_VBR,\nmatching av1_primary_rc_init().\n\nPreviously, avg_frame_qindex was initialized to lrc-\u003eworst_quality even\nin VBR mode. In the tests in the issue below (L1T2 and L1T3), the AV1\nencoder defaults to VBR mode and uses fixed SVC mode. Prior to commit\nb7cd5ffb57 (\"rtc-svc: Fix refresh and unused ref_idx in\nset_ref_frame_config\"), refresh_frame.golden_frame was inadvertently set\nto 1 on TL0 inter frames, which boosted quality via get_gf_active_quality()\nand masked the worst_quality initialization. After b7cd5ffb57 set\ngolden_frame to 0 on TL0 frames, rc_pick_q_and_bounds_no_stats() used\ninter_minq[avg_frame_qindex[INTER_FRAME]] for active_best_quality,\nclamping frame Q near worst_quality (QP 53) and causing the SVC frame validation tests to fail.\n\nBug: b:575597357\nChange-Id: I3617f304efa08726eac2220bf66d0abf81b8119c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "732bc22bb9ea149816a43f666f45fab9fac8ed51",
      "old_mode": 33188,
      "old_path": "av1/encoder/svc_layercontext.c",
      "new_id": "1420f47edc6db6c2b2b46930a71cf6cb69f0c5de",
      "new_mode": 33188,
      "new_path": "av1/encoder/svc_layercontext.c"
    }
  ]
}
