code wiki / (root) / nx_vsubpel.nx

nx_vsubpel.nx

buildroot/runtime/nx_vsubpel.nx

6779 B156 linesdepth 0pulls 0 transitivereach 111 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_vsubpel.nx -- Performs half-pel and quarter-pel sub-pixel interpolation for motion compensation in video encoding.

dependencies 0 imports · 5 importers

nx_vsubpel.nx nx_vcodec.nx nx_vcodec_subpel_ceil.nx nx_vcodec_subpel_ceiling.nx nx_vsubpel_gate.nx nx_vsubpel_q_gate.nx

imports: none

imported by: nx_vcodec.nxnx_vcodec_subpel_ceil.nxnx_vcodec_subpel_ceiling.nxnx_vsubpel_gate.nxnx_vsubpel_q_gate.nx

structs

none

consts

2const K_MAGIC_2147483647: i64 = 2147483647

functions

12func sp_interp_block(prev: *u8, W: i64, px: i64, py: i64, hx: i64, hy: i64, T: i64, out: *i64) -> i64
called by 2: sp_refinemain
47func hp_pixel(prev: *u8, W: i64, x: i64, y: i64, hx: i64, hy: i64) -> i64
called by 2: bl_refinemain
64func qp_pixel(prev: *u8, W: i64, x: i64, y: i64, qx: i64, qy: i64) -> i64
77func qp_refine(cur: *u8, prev: *u8, W: i64, H: i64, cx: i64, cy: i64, idx: i64, idy: i64, T: i64, mvq: *i64) -> i64
113func sp_sad(cur: *u8, W: i64, cx: i64, cy: i64, blk: *i64, T: i64) -> i64
called by 2: sp_refinemain
129func sp_refine(cur: *u8, prev: *u8, W: i64, H: i64, cx: i64, cy: i64, idx: i64, idy: i64, T: i64, tmp: *i64, mvh: *i64) -> i64
called by 1: main calls 2: sp_interp_blocksp_sad