nx_vcodec_color.nx
buildroot/runtime/nx_vcodec_color.nx
about
nx_vcodec_color.nx -- sovereign COLOR foundation for the s-class video codec (operator 2026-06-23:
"s class exceed no matter the investment, from the hardware rung up, no third-party"). The luma-128
codec is grayscale; s-class is COLOR. Color starts here: integer BT.601 RGB<->YCbCr (no float, built
straight on the ALU/integer hardware rung). The codec encodes the Y/Cb/Cr planes; the camera gives RGB,
the display wants RGB, so this is the gateway both ways. Pure integer, sovereign, our own. license_tier: ORIGINAL
dependencies 1 imports · 2 importers
imports: nx_syscalls.nx
imported by: nx_vcodec_color_frame.nxnx_vcodec_color_test.nx
structs
| none |
consts
| none |
functions
| 8 | func clamp8(v: i64) -> i64 { if v < 0 { return 0 } if v > 255 { return 255 } return v } |
| 11 | func rgb_to_ycbcr(r: i64, g: i64, b: i64, out: *i64) -> i64 |
| 18 | func ycbcr_to_rgb(y: i64, cb: i64, cr: i64, out: *i64) -> i64 |
| 28 | func rgb_frame_to_yuv(rgb: *u8, n: i64, yp: *u8, up: *u8, vp: *u8) -> i64 |
| 39 | func main() -> i64 { return 0 } |