code wiki / (root) / nx_h264_intra16.nx

nx_h264_intra16.nx

buildroot/runtime/nx_h264_intra16.nx

2922 B78 linesdepth 3pulls 3 transitivereach 10 importersview sourcekind librarytopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_intra16.nx -- Intra_16x16 luma prediction (spec 8.3.3), core modes. 0 Vertical : pred[y][x] = top[x] (needs top) 1 Horizontal : pred[y][x] = left[y] (needs left) 2 DC : both -> (sum top16 + sum left16 + 16) >> 5 top-only -> (sum top16 + 8) >> 4 ; left-only -> (sum left16 + 8) >> 4 neither -> 128 (the first MB of a frame: flat 128) (Mode 3 Plane = gradient fit, not yet built -- flagged.) pred is 256 i64 (16x16 raster). genealogy_id: itu_t_h264_sec8_3_3_intra16x16 lineage_id: intra16x16_dc_vertical_horizontal license_tier: ORIGINAL

dependencies 2 imports · 7 importers

nx_syscalls.nx nx_h264_idct.nx nx_h264_intra16.nx nx_h264_decode_frame.nx nx_h264_iframe.nx nx_h264_intra16_gate.nx nx_h264_intra16plane_gate.nx nx_h264_intra_recon.nx nx_h264_pframe_recon.nx nx_h264_slice_extract.nx

imports: nx_syscalls.nxnx_h264_idct.nx

imported by: nx_h264_decode_frame.nxnx_h264_iframe.nxnx_h264_intra16_gate.nxnx_h264_intra16plane_gate.nxnx_h264_intra_recon.nxnx_h264_pframe_recon.nxnx_h264_slice_extract.nx

structs

none

consts

none

functions

15func nx_intra16x16_pred(mode: i64, top: *i64, left: *i64, avail_top: i64, avail_left: i64, pred: *i64) -> i64
41func nx_intra16x16_pred_full(mode: i64, top: *i64, left: *i64, topleft: i64, avail_top: i64, avail_left: i64, pred: *i64) -> i64