nx_intra.nx
buildroot/runtime/nx_intra.nx
about
nx_intra.nx -- sovereign INTRA PREDICTION (V-R7, the q/bit gap-closer). Instead of coding raw pixels-128, an
intra block is predicted from its already-reconstructed neighbours (the row above, the column to the left) and
only the small RESIDUAL is transform-coded -> far fewer bits at the same quality. This is the H.264/VP9 intra
technique; we ship the 3 highest-value modes and pick the cheapest per block. 4x4 blocks, 8bpp. license_tier: ORIGINAL
dependencies 0 imports · 2 importers
imports: none
imported by: nx_intra_gate.nxnx_rd_intra_gate.nx
structs
| none |
consts
| 6 | const IN_DC: i64 = 0 |
| 7 | const IN_VERT: i64 = 1 // copy the top row down (good for vertical structure) |
| 8 | const IN_HORIZ: i64 = 2 // copy the left column across (good for horizontal structure) |
functions
| 11 | func in_predict(mode: i64, top: *i64, left: *i64, has_top: i64, has_left: i64, pred: *i64) -> i64 called by 1: in_best |
| 23 | func in_sad(block: *i64, pred: *i64) -> i64 |
| 29 | func in_best(block: *i64, top: *i64, left: *i64, has_top: i64, has_left: i64, pred: *i64) -> i64 |