code wiki / (root) / nx_h264_chroma.nx

nx_h264_chroma.nx

buildroot/runtime/nx_h264_chroma.nx

1932 B52 linesdepth 3pulls 3 transitivereach 8 importersview sourcekind librarytopic h264
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_h264_idct.nx nx_h264_chroma.nx nx_h264_brecon.nx nx_h264_chroma_dc_gate.nx nx_h264_chroma_gate.nx nx_h264_decode_frame.nx nx_h264_iframe.nx nx_h264_pframe_recon.nx

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

14func nx_h264_hadamard2x2(c: *i64) -> i64
27func nx_h264_chroma_qp(qPi: i64) -> i64
40func nx_h264_chroma_dc_scale(c: *i64, qPc: i64, out: *i64) -> i64