code wiki / (root) / nx_vp8_pred.nx

nx_vp8_pred.nx

buildroot/runtime/nx_vp8_pred.nx

18144 B450 linesdepth 2pulls 2 transitivereach 42 importersview sourcekind librarytopic vp8
docsdependenciesstructsconstsfunctions

about

nx_vp8_pred.nx -- Performs inverse DCT and intra prediction for VP8 keyframes in the Nishi sovereign ecosystem.

dependencies 1 imports · 3 importers

nx_syscalls.nx nx_vp8_pred.nx nx_vp8_kf.nx nx_vp8_kf_gate.nx nx_vp8probe.nx

imports: nx_syscalls.nx

imported by: nx_vp8_kf.nxnx_vp8_kf_gate.nxnx_vp8probe.nx

structs

none

consts

23const NX_VP8P_C1: i64 = 20091
24const NX_VP8P_C2: i64 = 35468

functions

26func vp8p_clamp(x: i64) -> i64 { if x < 0 { return 0 } if x > 255 { return 255 } return x }
29func vp8p_sr16(x: i64) -> i64
33func vp8p_sr3(x: i64) -> i64
38func vp8p_px(pl: *u8, o: i64) -> i64 { return (pl[o] as i64) & 255 }
42func vp8p_walsh(inp: *i64, inb: i64, outp: *i64) -> i64
called by 1: nx_vp8_kf_decode calls 1: vp8p_sr3
74func vp8p_idct_add(pl: *u8, off: i64, stride: i64, cf: *i64, cfb: i64, tmp: *i64) -> i64
105func vp8p_pred_dc(pl: *u8, off: i64, stride: i64, n: i64) -> i64
124func vp8p_pred_h(pl: *u8, off: i64, stride: i64, n: i64) -> i64
called by 1: vp8p_mode_dispatch calls 1: vp8p_px
135func vp8p_pred_v(pl: *u8, off: i64, stride: i64, n: i64) -> i64
called by 1: vp8p_mode_dispatch
145func vp8p_pred_tm(pl: *u8, off: i64, stride: i64, n: i64) -> i64
163func vp8p_a(pl: *u8, off: i64, stride: i64, k: i64) -> i64 { return vp8p_px(pl, off - stride + k) }
164func vp8p_l(pl: *u8, off: i64, stride: i64, r: i64) -> i64 { return vp8p_px(pl, off - 1 + r*stride) }
166func vp8p_pred_ve4(pl: *u8, off: i64, stride: i64) -> i64
called by 1: vp8p_bpred_dispatch calls 1: vp8p_a
182func vp8p_pred_he4(pl: *u8, off: i64, stride: i64) -> i64
called by 1: vp8p_bpred_dispatch calls 2: vp8p_pxvp8p_l
203func vp8p_pred_ld4(pl: *u8, off: i64, stride: i64) -> i64
called by 1: vp8p_bpred_dispatch calls 1: vp8p_a
226func vp8p_pred_rd4(pl: *u8, off: i64, stride: i64) -> i64
250func vp8p_pred_vr4(pl: *u8, off: i64, stride: i64) -> i64
276func vp8p_pred_vl4(pl: *u8, off: i64, stride: i64) -> i64
called by 1: vp8p_bpred_dispatch calls 1: vp8p_a
302func vp8p_pred_hd4(pl: *u8, off: i64, stride: i64) -> i64
328func vp8p_pred_hu4(pl: *u8, off: i64, stride: i64) -> i64
called by 1: vp8p_bpred_dispatch calls 1: vp8p_l
349func vp8p_fixup_left(pl: *u8, off: i64, width: i64, stride: i64, row: i64, mode: i64) -> i64
called by 1: nx_vp8_kf_decode
360func vp8p_fixup_above(pl: *u8, off: i64, width: i64, stride: i64, col: i64, mode: i64) -> i64
called by 1: nx_vp8_kf_decode
377func vp8p_copy_down(pl: *u8, off: i64, stride: i64) -> i64
called by 1: vp8p_recon_luma
393func vp8p_bpred_dispatch(pl: *u8, off: i64, stride: i64, m: i64) -> i64
406func vp8p_mode_dispatch(pl: *u8, off: i64, stride: i64, m: i64, n: i64) -> i64
413func vp8p_recon_luma(pl: *u8, off: i64, stride: i64, ymode: i64, bmodes: *u8,
435func vp8p_recon_chroma(pu: *u8, uoff: i64, pv: *u8, voff: i64, stride: i64,