code wiki / (root) / nx_codec_grade.nx

nx_codec_grade.nx

buildroot/runtime/nx_codec_grade.nx

5502 B159 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind orphan librarytopic codec
docsdependenciesstructsconstsfunctions

about

nx_codec_grade.nx -- sealed-verdict grader card for the NishiVideo + NishiVoice codec stack. Each axis becomes a row; rows that LOSE must carry a named improvement (cardinal feedback-honest-perf- verdict-no-aspirational-claims). Letter grade follows the substrate's existing rubric (see project-self-evolving-grader-s-class memory entry): F = any axis at INCONCLUSIVE / PROTOCOL_ERROR D = >=2 LOSE rows C = 1 LOSE row with named improvement B = no LOSE; <=1 UNMEASURED A = all measured; >=4 WIN S = all measured; >=6 WIN unanimously across both quantitative and triangulated axes Per-axis verdicts: WIN measurable advantage over incumbents LOSE_BY_X measurable disadvantage; X is the named improvement key TIE parity UNMEASURED apparatus not yet built to compare genealogy_id: project-self-evolving-grader-s-class + feedback-honest-perf-verdict + nx_perf_verdict_q10 lineage_id: nishi_codec_grade_q10

dependencies 1 imports · 0 importers

nx_syscalls_x86_64.nx nx_codec_grade.nx

imports: nx_syscalls_x86_64.nx

imported by: nobody (leaf or entry point)

structs

66struct CodecGradeRow
75struct CodecGradeCard

consts

35const NX_CG_AXIS_UNKNOWN: i64 = 0
36const NX_CG_AXIS_PATENT_CLEAN: i64 = 1
37const NX_CG_AXIS_DETERMINISM: i64 = 2
38const NX_CG_AXIS_AUDIT_REPLAY: i64 = 3
39const NX_CG_AXIS_FRAME_REFUSAL: i64 = 4
40const NX_CG_AXIS_COMPRESSION_VS_RAW: i64 = 5
41const NX_CG_AXIS_COMPRESSION_VS_RLE: i64 = 6
42const NX_CG_AXIS_MEMORY_BUDGET: i64 = 7
43const NX_CG_AXIS_TIER_PORTABILITY: i64 = 8
44const NX_CG_AXIS_COLOR_FIDELITY: i64 = 9
45const NX_CG_AXIS_MOTION_COMPENSATION: i64 = 10
46const NX_CG_AXIS_PERCEPTUAL_QUANT: i64 = 11
47const NX_CG_AXIS_DEBLOCKING_FILTER: i64 = 12
48const NX_CG_AXIS_N: i64 = 13
50const NX_CG_VERDICT_UNKNOWN: i64 = 0
51const NX_CG_VERDICT_WIN: i64 = 1
52const NX_CG_VERDICT_LOSE: i64 = 2
53const NX_CG_VERDICT_TIE: i64 = 3
54const NX_CG_VERDICT_UNMEASURED: i64 = 4
55const NX_CG_VERDICT_N: i64 = 5
57const NX_CG_GRADE_F: i64 = 0
58const NX_CG_GRADE_D: i64 = 1
59const NX_CG_GRADE_C: i64 = 2
60const NX_CG_GRADE_B: i64 = 3
61const NX_CG_GRADE_A: i64 = 4
62const NX_CG_GRADE_S: i64 = 5
64const NX_CG_MAX_ROWS: i64 = 32

functions

83func nx_cg_init(c: *CodecGradeCard, rows: *CodecGradeRow,
94func nx_cg_row(c: *CodecGradeCard, axis: i64, verdict: i64,
117func nx_cg_letter(c: *CodecGradeCard) -> i64
150func nx_cg_axis_is_valid(a: i64) -> i64
155func nx_cg_verdict_is_valid(v: i64) -> i64