code wiki / (root) / nx_vskip.nx

nx_vskip.nx

buildroot/runtime/nx_vskip.nx

981 B16 linesdepth 0pulls 0 transitivereach 109 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_vskip.nx -- sovereign SKIP-BLOCK coding (V-R6). When a block matches its motion prediction closely (residual SAD below threshold) AND the motion vector is the predicted/zero MV, code it as a single 1-bit "skip" flag -- no MV, no residual. A static scene -> almost every block skips -> a near-static frame costs a handful of bits instead of the ~100 B per-block-overhead floor. This is the skip-MB the live codec needs. license_tier: ORIGINAL

dependencies 0 imports · 2 importers

nx_vskip.nx nx_vcodec.nx nx_vskip_gate.nx

imports: none

imported by: nx_vcodec.nxnx_vskip_gate.nx

structs

none

consts

none

functions

7func vs_skip(residual_sad: i64, mv_dx: i64, mv_dy: i64, sad_thresh: i64) -> i64
14func vs_frame_bits(n_blocks: i64, n_skip: i64, avg_coded_bits: i64) -> i64
called by 1: main