nx_h264_mb_pred.nx
buildroot/runtime/nx_h264_mb_pred.nx
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
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
| 19 | func nx_h264_cbp_intra_map(code_num: i64) -> i64 |
| 33 | func nx_h264_cbp_intra_unmap(cbp: i64) -> i64 |
| 42 | func nx_h264_decode_cbp_intra(br: *BitReader) -> i64 |
| 49 | func nx_h264_cbp_inter_map(code_num: i64) -> i64 |
| 61 | func nx_h264_decode_cbp_inter(br: *BitReader) -> i64 |
| 65 | func nx_h264_encode_cbp_intra(bw: *BitWriter, cbp: i64) -> i64 |
| 73 | func nx_h264_parse_inxn_predmodes(br: *BitReader, modes: *i64) -> i64 called by 10: mainmainmainnx_h264_decode_iframemainmain+4 calls 3: br_read_bitbr_read_bitsbr_read_ue |
| 84 | func nx_h264_encode_inxn_predmodes(bw: *BitWriter, modes: *i64) -> i64 |