nx_h264_poc.nx
buildroot/runtime/nx_h264_poc.nx
about
nx_h264_poc.nx -- H.264 Picture Order Count (POC type 0, spec 8.2.1.1) + B-slice reference list
construction (8.2.4.2.3). POC gives display order from decode order; the ref lists L0/L1 give a
B-slice its past/future predictors. Reusable by the B-frame decoder.
poc_type0: state[0]=prevPicOrderCntMsb, state[1]=prevPicOrderCntLsb (from the last REFERENCE pic;
reset to 0 at an IDR). Non-reference pics (B here) read state but do NOT update it.
B ref lists: L0 = {refs POC<curr, desc} ++ {refs POC>curr, asc}; L1 = {POC>curr, asc} ++ {POC<curr, desc}.
genealogy_id: itu_t_h264_sec8_2_poc_and_reflists license_tier: ORIGINAL
dependencies 1 imports · 3 importers
imports: nx_syscalls.nx
imported by: nx_h264_bframe_reflist_gate.nxnx_h264_brecon.nxnx_h264_colmv_gate.nx
structs
| none |
consts
| none |
functions
| 11 | func nx_h264_poc_type0(poc_lsb: i64, max_poc_lsb: i64, is_idr: i64, nal_ref_idc: i64, state: *i64) -> i64 |
| 26 | func nx_h264_build_blists(dpbPoc: *i64, dpbIdx: *i64, n: i64, currPOC: i64, |