nx_h264_bmb.nx
buildroot/runtime/nx_h264_bmb.nx
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
imports: nx_syscalls.nx
imported by: nx_h264_bframe_walk.nxnx_h264_brecon.nx
structs
| none |
consts
| none |
functions
| 10 | func nx_h264_bmb_kind(mb_type: i64) -> i64 |
| 15 | func nx_h264_bmb_is_direct(bt: i64) -> i64 { if bt == 0 { return 1 } return 0 } called by 1: main |
| 16 | func nx_h264_bmb_is_8x8(bt: i64) -> i64 { if bt == 22 { return 1 } return 0 } |
| 18 | func nx_h264_bmb_nparts(bt: i64) -> i64 |
| 25 | func nx_h264_bmb_is_16x8(bt: i64) -> i64 called by 1: main |
| 32 | func nx_h264_bmb_partmode(bt: i64, part: i64) -> i64 |
| 45 | func nx_h264_mode_uses_l0(mode: i64) -> i64 { if mode == 0 { return 1 } if mode == 2 { return 1 } return 0 } |
| 46 | func nx_h264_mode_uses_l1(mode: i64) -> i64 { if mode == 1 { return 1 } if mode == 2 { return 1 } return 0 } |
| 51 | func nx_h264_bsub_is_direct(sub: i64) -> i64 { if sub == 0 { return 1 } return 0 } |
| 53 | func nx_h264_bsub_nparts(sub: i64) -> i64 called by 1: main |
| 60 | func nx_h264_bsub_mode(sub: i64) -> i64 |