Commits
Commits on
552edc4cede0dfd9bebbc4e344242802802d15ccFiltered to scripts/build-aom-affine-oracle.shClear filter2026-09-01
feat(av1): AFFINE global motion gated and unrefused -- stock aomenc can never write oneAhmet Kaan Gümüş · f0c06d5
feat(av1): AFFINE global motion gated and unrefused -- stock aomenc can never write one Stock libaom pins its encoder-side global-motion model search to ROTZOOM at both ends (av1/encoder/global_motion_facade.c:24-25), so no --enable-global-motion=1 recipe over any content can produce a 6-parameter model -- that is why lane-gm r4/r5/r6 refused AFFINE by name for four rounds rather than gate it. scripts/build-aom-affine-oracle.sh widens exactly that range in a side build (~/.cache/aom-affine, shared oracle untouched); the new gate a_real_affine_global_motion_stream_decodes_pixel_exact encodes rotation plus a progressive anisotropic stretch (the motion a ROTZOOM model cannot express) and decodes it pixel-exact against ffmpeg at 8 and 10 bit, hard- asserting the new affine_gm_hits() counter. No decoder change was needed: read_global_motion_params already reads params 4/5 with their own subexp references and warp.rs's shear validity check plus warp_affine are model-agnostic. Result: 24/24 frames exact both depths, affine_gm_hits 44 (8-bit) / 48 (10-bit).