code wiki / (root) / nx_h264_chroma_pred_gate.nx

nx_h264_chroma_pred_gate.nx

buildroot/runtime/nx_h264_chroma_pred_gate.nx

4892 B121 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_chroma_pred_gate.nx -- validate intra chroma 8x8 prediction (4 modes). plane(3): neighbours on plane p=base+gx*(x-3)+gy*(y-3) -> pred==p exactly (64/64) horiz(1)/vert(2): exact copy DC(0): per-quadrant with hand-computed expected (both-avail + top-only fallback) Exit 0/1. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_h264_chroma_pred.nx nx_h264_chroma_pred_gate.nx

imports: nx_syscalls.nxnx_h264_chroma_pred.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_openat_append gp sys_write plane_recover sys_mmap nx_intra_chroma_pred sum4 fill_quad asr gp ↻ gnum sys_mmap ↻ sys_write ↻ sys_mmap ↻ nx_intra_chroma_pred ↻ gnum ↻ quad_is sys_close sys_exit

structs

none

consts

none

functions

9func gp(fd: i64, s: *u8) -> i64
called by 2: plane_recovermain calls 1: sys_write
15func gnum(fd: i64, v: i64) -> i64
called by 2: plane_recovermain calls 2: sys_mmapsys_write
27func plane_recover(fd: i64, base: i64, gx: i64, gy: i64) -> i64
51func quad_is(pred: *i64, qx: i64, qy: i64, want: i64) -> i64
called by 1: main
61func main() -> i64