nx_vp8_pred.nx
buildroot/runtime/nx_vp8_pred.nx
about
nx_vp8_pred.nx -- Performs inverse DCT and intra prediction for VP8 keyframes in the Nishi sovereign ecosystem.
dependencies 1 imports · 3 importers
imports: nx_syscalls.nx
imported by: nx_vp8_kf.nxnx_vp8_kf_gate.nxnx_vp8probe.nx
structs
| none |
consts
| 23 | const NX_VP8P_C1: i64 = 20091 |
| 24 | const NX_VP8P_C2: i64 = 35468 |
functions
| 26 | func vp8p_clamp(x: i64) -> i64 { if x < 0 { return 0 } if x > 255 { return 255 } return x } |
| 29 | func vp8p_sr16(x: i64) -> i64 |
| 33 | func vp8p_sr3(x: i64) -> i64 |
| 38 | func vp8p_px(pl: *u8, o: i64) -> i64 { return (pl[o] as i64) & 255 } |
| 42 | func vp8p_walsh(inp: *i64, inb: i64, outp: *i64) -> i64 |
| 74 | func vp8p_idct_add(pl: *u8, off: i64, stride: i64, cf: *i64, cfb: i64, tmp: *i64) -> i64 |
| 105 | func vp8p_pred_dc(pl: *u8, off: i64, stride: i64, n: i64) -> i64 |
| 124 | func vp8p_pred_h(pl: *u8, off: i64, stride: i64, n: i64) -> i64 |
| 135 | func vp8p_pred_v(pl: *u8, off: i64, stride: i64, n: i64) -> i64 called by 1: vp8p_mode_dispatch |
| 145 | func vp8p_pred_tm(pl: *u8, off: i64, stride: i64, n: i64) -> i64 |
| 163 | func vp8p_a(pl: *u8, off: i64, stride: i64, k: i64) -> i64 { return vp8p_px(pl, off - stride + k) } called by 6: vp8p_pred_ve4vp8p_pred_ld4vp8p_pred_rd4vp8p_pred_vr4vp8p_pred_vl4vp8p_pred_hd4 calls 1: vp8p_px |
| 164 | func vp8p_l(pl: *u8, off: i64, stride: i64, r: i64) -> i64 { return vp8p_px(pl, off - 1 + r*stride) } |
| 166 | func vp8p_pred_ve4(pl: *u8, off: i64, stride: i64) -> i64 |
| 182 | func vp8p_pred_he4(pl: *u8, off: i64, stride: i64) -> i64 |
| 203 | func vp8p_pred_ld4(pl: *u8, off: i64, stride: i64) -> i64 |
| 226 | func vp8p_pred_rd4(pl: *u8, off: i64, stride: i64) -> i64 |
| 250 | func vp8p_pred_vr4(pl: *u8, off: i64, stride: i64) -> i64 |
| 276 | func vp8p_pred_vl4(pl: *u8, off: i64, stride: i64) -> i64 |
| 302 | func vp8p_pred_hd4(pl: *u8, off: i64, stride: i64) -> i64 |
| 328 | func vp8p_pred_hu4(pl: *u8, off: i64, stride: i64) -> i64 |
| 349 | func vp8p_fixup_left(pl: *u8, off: i64, width: i64, stride: i64, row: i64, mode: i64) -> i64 called by 1: nx_vp8_kf_decode |
| 360 | func vp8p_fixup_above(pl: *u8, off: i64, width: i64, stride: i64, col: i64, mode: i64) -> i64 called by 1: nx_vp8_kf_decode |
| 377 | func vp8p_copy_down(pl: *u8, off: i64, stride: i64) -> i64 called by 1: vp8p_recon_luma |
| 393 | func vp8p_bpred_dispatch(pl: *u8, off: i64, stride: i64, m: i64) -> i64 called by 1: vp8p_recon_luma calls 10: vp8p_pred_dcvp8p_pred_tmvp8p_pred_ve4vp8p_pred_he4vp8p_pred_ld4vp8p_pred_rd4+4 |
| 406 | func vp8p_mode_dispatch(pl: *u8, off: i64, stride: i64, m: i64, n: i64) -> i64 called by 2: vp8p_recon_lumavp8p_recon_chroma calls 4: vp8p_pred_dcvp8p_pred_vvp8p_pred_hvp8p_pred_tm |
| 413 | func vp8p_recon_luma(pl: *u8, off: i64, stride: i64, ymode: i64, bmodes: *u8, called by 1: nx_vp8_kf_decode calls 4: vp8p_copy_downvp8p_bpred_dispatchvp8p_idct_addvp8p_mode_dispatch |
| 435 | func vp8p_recon_chroma(pu: *u8, uoff: i64, pv: *u8, voff: i64, stride: i64, |