code wiki / (root) / nx_h264_bmb.nx

nx_h264_bmb.nx

buildroot/runtime/nx_h264_bmb.nx

3216 B74 linesdepth 2pulls 2 transitivereach 2 importersview sourcekind librarytopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_bmb.nx -- H.264 B-macroblock type tables (Table 7-14 mb_type, 7-18 sub_mb_type). Tells the entropy walk, per partition, which reference lists it predicts from (L0/L1/Bi) so it can read the right number of ref_idx + mvd. Prediction-mode encoding here: 0=L0, 1=L1, 2=Bi, -1=Direct. mb_type: 0=B_Direct_16x16; 1=L0 2=L1 3=Bi (16x16); 4..21 = two-partition 16x8/8x16 combos; 22=B_8x8 (sub_mb_type per 8x8); >=23 = intra (caller uses mb_type-23). genealogy_id: itu_t_h264_table7_14_7_18_b_mb_types license_tier: ORIGINAL

dependencies 1 imports · 2 importers

nx_syscalls.nx nx_h264_bmb.nx nx_h264_bframe_walk.nx nx_h264_brecon.nx

imports: nx_syscalls.nx

imported by: nx_h264_bframe_walk.nxnx_h264_brecon.nx

structs

none

consts

none

functions

10func nx_h264_bmb_kind(mb_type: i64) -> i64
called by 2: mainmain
15func nx_h264_bmb_is_direct(bt: i64) -> i64 { if bt == 0 { return 1 } return 0 }
called by 1: main
16func nx_h264_bmb_is_8x8(bt: i64) -> i64 { if bt == 22 { return 1 } return 0 }
called by 2: mainmain
18func nx_h264_bmb_nparts(bt: i64) -> i64
called by 2: mainmain
25func nx_h264_bmb_is_16x8(bt: i64) -> i64
called by 1: main
32func nx_h264_bmb_partmode(bt: i64, part: i64) -> i64
called by 2: mainmain calls 1: sys_mmap
45func nx_h264_mode_uses_l0(mode: i64) -> i64 { if mode == 0 { return 1 } if mode == 2 { return 1 } return 0 }
called by 2: mainmain
46func nx_h264_mode_uses_l1(mode: i64) -> i64 { if mode == 1 { return 1 } if mode == 2 { return 1 } return 0 }
called by 2: mainmain
51func nx_h264_bsub_is_direct(sub: i64) -> i64 { if sub == 0 { return 1 } return 0 }
called by 2: mainmain
53func nx_h264_bsub_nparts(sub: i64) -> i64
called by 1: main
60func nx_h264_bsub_mode(sub: i64) -> i64
called by 2: mainmain