nx_h264_intra_recon.nx
buildroot/runtime/nx_h264_intra_recon.nx
about
nx_h264_intra_recon.nx -- H.264 INTRA luma reconstruction kernels, shared by the I-frame decoder
(nx_h264_decode_frame) and the P-frame decoder (intra-coded MBs inside a P-slice). Pure functions over
a luma plane + decoded coefficients; no entropy/bitstream state. Extracted verbatim from the proven
I-decoder (DRY) so intra-in-P reuses the exact, bit-exact-verified reconstruction path.
i16_dc_scale : inv-zigzag + Hadamard + DC level-scale of the 16 luma-DC coeffs (8.5.10).
recon_i16_luma : full I_16x16 luma MB (V/H/DC/Plane pred + per-4x4 AC residual + injected DC).
recon_i4_block : one I_4x4 luma block (9-mode pred + residual), availabilities passed by caller.
genealogy_id: itu_t_h264_sec8_3_intra_luma_reconstruction license_tier: ORIGINAL
dependencies 7 imports · 2 importers
imports: nx_syscalls.nxnx_h264_zigzag.nxnx_h264_hadamard.nxnx_h264_dequant.nxnx_h264_idct.nxnx_h264_intra16.nxnx_h264_intra.nx
imported by: nx_h264_brecon.nxnx_h264_pframe_recon.nx
structs
| none |
consts
| none |
functions
| 17 | func i16_dc_scale(dcblk: *i64, qp: i64, dcY: *i64) -> i64 |
| 38 | func recon_i16_luma(yf: *u8, W: i64, px: i64, py: i64, predMode: i64, dcY: *i64, acstore: *i64, qp: i64) -> i64 called by 2: mainmain calls 5: sys_mmapnx_intra16x16_pred_fullnx_h264_inv_zigzag4x4nx_h264_dequant4x4nx_idct4x4 |
| 95 | func recon_i4_block(yf: *u8, W: i64, bpx: i64, bpy: i64, mode: i64, aT: i64, aL: i64, aTL: i64, aTR: i64, coeffscan: *i64, qp: i64) -> i64 called by 2: mainmain calls 5: sys_mmapnx_intra4x4_pred_fullnx_h264_inv_zigzag4x4nx_h264_dequant4x4nx_idct4x4 |