code wiki / _hdl_build / nx_vcodec_rc_frame_gate.nx

nx_vcodec_rc_frame_gate.nx

buildroot/runtime/_hdl_build/nx_vcodec_rc_frame_gate.nx

3880 B57 linesdepth 6pulls 17 transitivereach 0 importersview sourcekind gate/prooftopic vcodec
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_gate_base.nx nx_syscalls.nx nx_video_codec_wasm.nx nx_vcodec_rc_frame_gate.nx

imports: nx_gate_base.nxnx_syscalls.nxnx_video_codec_wasm.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write sys_mmap run sys_mmap ↻ vfill vv_enc vc_enc_frame_packed_tf nx_bw_put vc_aq_level vc_mb_mad vc_enc_block_packed vc_enc_block_packed_e vc_enc_block_packed_i vm_sad_zero vc_rdskip_len vc_aq_qp vv_wr_u32 vv_deblock vv_deblock_plane vv_iabs vv_clamp255 vv_enc_rc vc_enc_frame_packed_rc rc_enc_init nx_bw_put ↻ vc_aq_level ↻ vc_mb_mad ↻ vc_enc_block_packed_e ↻ vc_aq_qp ↻ rc_enc_flush rc_shift_low vv_wr_u32 ↻ vv_deblock ↻ gw ↻ vv_dec_rc vv_rd_u32b vc_dec_frame_packed_rc rc_dec_init

structs

none

consts

none

functions

9func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
calls 1: gw
11func gn(v: i64) -> i64
15func eqb(a: *u8, b: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if (a[i]&0xff)!=(b[i]&0xff) { return 0 } i=i+1 } return 1 }
called by 1: run
16func vfill(yuv: *u8, W: i64, H: i64, sh: i64) -> i64
23func run(W: i64, H: i64, qp: i64, key: i64, seedprev: i64, p: *i64, t: *i64) -> i64
49func main() -> i64