code wiki / (root) / nx_h264_pmvfield.nx

nx_h264_pmvfield.nx

buildroot/runtime/nx_h264_pmvfield.nx

13443 B243 linesdepth 5pulls 16 transitivereach 2 importersview sourcekind librarytopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_pmvfield.nx -- decode a P-slice's per-4x4 L0 MOTION-VECTOR FIELD (gref/gmvx/gmvy) by the proven P entropy walk (skip-MV derivation, P mb_types incl 8x8 sub-partitions, mvp via the grid + mvd, residual decoded only to keep entropy in sync). Used to obtain the CO-LOCATED motion of the future anchor that B-slice spatial-direct prediction (8.4.1.2.2) reads. The caller pre-inits the grids to -2 (undecoded). genealogy_id: itu_t_h264_pslice_mv_field license_tier: ORIGINAL

dependencies 10 imports · 2 importers

nx_syscalls.nx nx_h264_bits.nx nx_h264_mb.nx nx_h264_mb_pred.nx nx_h264_coeff_token.nx nx_h264_cavlc_level.nx nx_h264_residual.nx nx_h264_nc.nx nx_h264_pmb.nx nx_h264_mvgrid.nx nx_h264_pmvfield.nx nx_h264_brecon.nx nx_h264_colmv_gate.nx

imports: nx_syscalls.nxnx_h264_bits.nxnx_h264_mb.nxnx_h264_mb_pred.nxnx_h264_coeff_token.nxnx_h264_cavlc_level.nxnx_h264_residual.nxnx_h264_nc.nxnx_h264_pmb.nxnx_h264_mvgrid.nx

imported by: nx_h264_brecon.nxnx_h264_colmv_gate.nx

structs

none

consts

none

functions

17func pmv_dec_luma(br: *BitReader, lumaTC: *i64, lbW: i64, bx: i64, by: i64, maxc: i64, coeff: *i64) -> i64
29func pmv_dec_cac(br: *BitReader, cTC: *i64, cbW: i64, cbx: i64, cby: i64, coeff: *i64) -> i64
41func pmv_read_ref(sbr: *BitReader, num_ref: i64) -> i64
49func nx_h264_pslice_mvfield(sbr: *BitReader, qp0: i64, num_ref: i64, mbW: i64, mbH: i64,