code wiki / (root) / nx_vp8_tables.nx

nx_vp8_tables.nx

buildroot/runtime/nx_vp8_tables.nx

17835 B502 linesdepth 2pulls 2 transitivereach 42 importersview sourcekind librarytopic vp8
docsdependenciesstructsconstsfunctions

about

nx_vp8_tables.nx -- VP8 keyframe constant tables, GENERATED from RFC 6386 by gen_vp8_tables.py (counts asserted at generation: 128+128 quant, 900 kf b-mode probs, 1056+1056 coefficient prob tables). u16 tables are 2 bytes LE per entry; prob tables are 1 byte per entry. DO NOT hand-edit values. genealogy_id: vp8_rfc6386 lineage_id: nx_vp8_tables_v1 license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_vp8_tables.nx nx_vp8_kf.nx

imports: nx_syscalls.nx

imported by: nx_vp8_kf.nx

structs

none

consts

12const NX_VP8T_DCQ_BYTES: i64 = 264
13const NX_VP8T_ACQ_BYTES: i64 = 264
14const NX_VP8T_KFB_BYTES: i64 = 912
15const NX_VP8T_CUP_BYTES: i64 = 1064
16const NX_VP8T_CDP_BYTES: i64 = 1064

functions

18func vp8t_p8(t: *u8, o: i64, v: i64) -> i64
31func vp8t_u16(t: *u8, i: i64) -> i64 { return ((t[i*2] as i64)&255) | (((t[i*2+1] as i64)&255)<<8) }
called by 1: nx_vp8_kf_decode
34func vp8t_fill_dcq(t: *u8) -> i64
called by 1: nx_vp8_kf_decode calls 1: vp8t_p8
72func vp8t_fill_acq(t: *u8) -> i64
called by 1: nx_vp8_kf_decode calls 1: vp8t_p8
110func vp8t_fill_kfb(t: *u8) -> i64
called by 1: nx_vp8_kf_decode calls 1: vp8t_p8
229func vp8t_fill_cup(t: *u8) -> i64
called by 1: nx_vp8_kf_decode calls 1: vp8t_p8
367func vp8t_fill_cdp(t: *u8) -> i64
called by 1: nx_vp8_kf_decode calls 1: vp8t_p8