nx_h264_chroma.nx
buildroot/runtime/nx_h264_chroma.nx
about
nx_h264_chroma.nx -- chroma reconstruction kernels: 2x2 DC inverse Hadamard
(spec 8.5.11) + chroma QP mapping (Table 8-15).
H2 = [[1,1],[1,-1]]; f = H2 c H2 (c row-major 2x2 [c00,c01,c10,c11]):
f00=c00+c01+c10+c11 f01=c00-c01+c10-c11 f10=c00+c01-c10-c11 f11=c00-c01-c10+c11
chroma QP: QPc = qPi for qPi<30, else Table 8-15 map[qPi-30].
genealogy_id: itu_t_h264_sec8_5_11_chroma_dc_hadamard + table8_15_qpc
lineage_id: hadamard_2x2 + chroma_qp_map
license_tier: ORIGINAL
dependencies 2 imports · 6 importers
imports: nx_syscalls.nxnx_h264_idct.nx
imported by: nx_h264_brecon.nxnx_h264_chroma_dc_gate.nxnx_h264_chroma_gate.nxnx_h264_decode_frame.nxnx_h264_iframe.nxnx_h264_pframe_recon.nx
structs
| none |
consts
| none |
functions
| 14 | func nx_h264_hadamard2x2(c: *i64) -> i64 |
| 27 | func nx_h264_chroma_qp(qPi: i64) -> i64 |
| 40 | func nx_h264_chroma_dc_scale(c: *i64, qPc: i64, out: *i64) -> i64 |