code wiki / (root) / nx_h264_pps.nx

nx_h264_pps.nx

buildroot/runtime/nx_h264_pps.nx

2620 B45 linesdepth 3pulls 3 transitivereach 15 importersview sourcekind librarytopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_pps.nx -- H.264 Picture Parameter Set parser (rung 4b, spec 7.3.2.2). Carries the two fields that steer the whole macroblock decode: entropy_coding_mode_flag (0 = CAVLC, 1 = CABAC) -> which residual decoder pic_init_qp = 26 + pic_init_qp_minus26 -> base QP for dequant plus pps_id/sps_id binding, weighted_pred, deblocking-present, constrained-intra. Parses the always-present field run (pps_id .. redundant_pic_cnt_present). HONEST: if num_slice_groups_minus1 > 0 there is a slice-group map in between (rare); fields after it would misalign, so we FLAG it (out[8]=1) rather than silently misread. transform_8x8 / scaling-matrix tail (more_rbsp_data) ignored. genealogy_id: itu_t_h264_sec7_3_2_2_pps lineage_id: exp_golomb_pps_fields + entropy_mode + init_qp license_tier: ORIGINAL

dependencies 2 imports · 15 importers

nx_syscalls.nx nx_h264_bits.nx nx_h264_pps.nx nx_cam_poster.nx nx_h264_bframe_probe.nx nx_h264_bframe_reflist_gate.nx nx_h264_bframe_walk.nx nx_h264_brecon.nx nx_h264_colmv_gate.nx nx_h264_decode_frame.nx nx_h264_mv_recon_gate.nx nx_h264_pframe_probe.nx nx_h264_pframe_recon.nx

diagram shows first 10 each side; +0 more imports, +5 more importers in the complete lists below.

imports: nx_syscalls.nxnx_h264_bits.nx

imported by: nx_cam_poster.nxnx_h264_bframe_probe.nxnx_h264_bframe_reflist_gate.nxnx_h264_bframe_walk.nxnx_h264_brecon.nxnx_h264_colmv_gate.nxnx_h264_decode_frame.nxnx_h264_mv_recon_gate.nxnx_h264_pframe_probe.nxnx_h264_pframe_recon.nxnx_h264_pframe_walk.nxnx_h264_pps_gate.nxnx_h264_slice_extract.nxnx_h264_ts_probe.nxnx_ts_lumadiff.nx

structs

none

consts

none

functions

21func nx_h264_parse_pps(rbsp: *u8, len: i64, out: *i64) -> i64