code wiki / (root) / nx_h264_mb_pred.nx

nx_h264_mb_pred.nx

buildroot/runtime/nx_h264_mb_pred.nx

3962 B93 linesdepth 3pulls 4 transitivereach 13 importersview sourcekind librarytopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_mb_pred.nx -- I_NxN macroblock prediction layer (rung 4e, spec 7.3.5.1 + 9.1.2/Table 9-4). Two parts the real I_NxN macroblock needs: intra4x4 pred-mode signalling: per 4x4 block, prev_intra4x4_pred_mode_flag u(1); if 0, rem_intra4x4_pred_mode u(3). (mode derivation from neighbours = recon step.) coded_block_pattern: me(v) -> ue codeNum mapped via Table 9-4 (Intra column). The CBP map is a BIJECTION over codeNum 0..47 <-> cbp 0..47, which is a strong sovereign self-check (a wrong/duplicate entry breaks bijectivity). Plus encode<->decode round-trip. Intra mapping values from ITU-T Table 9-4. genealogy_id: itu_t_h264_sec7_3_5_1_mb_pred + table9_4_codedblockpattern_intra lineage_id: intra4x4_predmode_flags + cbp_me_v_bijection license_tier: ORIGINAL

dependencies 3 imports · 10 importers

nx_syscalls.nx nx_h264_bits.nx nx_h264_bitwriter.nx nx_h264_mb_pred.nx nx_h264_bframe_walk.nx nx_h264_brecon.nx nx_h264_decode_frame.nx nx_h264_iframe.nx nx_h264_mb_pred_gate.nx nx_h264_mv_recon_gate.nx nx_h264_pframe_recon.nx nx_h264_pframe_walk.nx nx_h264_pmvfield.nx nx_h264_slice_extract.nx

imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_bitwriter.nx

imported by: nx_h264_bframe_walk.nxnx_h264_brecon.nxnx_h264_decode_frame.nxnx_h264_iframe.nxnx_h264_mb_pred_gate.nxnx_h264_mv_recon_gate.nxnx_h264_pframe_recon.nxnx_h264_pframe_walk.nxnx_h264_pmvfield.nxnx_h264_slice_extract.nx

structs

none

consts

none

functions

19func nx_h264_cbp_intra_map(code_num: i64) -> i64
33func nx_h264_cbp_intra_unmap(cbp: i64) -> i64
42func nx_h264_decode_cbp_intra(br: *BitReader) -> i64
49func nx_h264_cbp_inter_map(code_num: i64) -> i64
called by 1: nx_h264_decode_cbp_inter calls 1: sys_mmap
61func nx_h264_decode_cbp_inter(br: *BitReader) -> i64
65func nx_h264_encode_cbp_intra(bw: *BitWriter, cbp: i64) -> i64
73func nx_h264_parse_inxn_predmodes(br: *BitReader, modes: *i64) -> i64
84func nx_h264_encode_inxn_predmodes(bw: *BitWriter, modes: *i64) -> i64