nx_quality_metric.nx
buildroot/runtime/nx_quality_metric.nx
about
nx_quality_metric.nx -- Computes video quality metrics like MSE, RMSE, PSNR, and SSIM for rate-distortion analysis in codecs.
dependencies 1 imports · 23 importers
diagram shows first 10 each side; +0 more imports, +13 more importers in the complete lists below.
imports: nx_vecmath.nx
imported by: nx_quality_metric_gate.nxnx_rd_intra_gate.nxnx_rdcurve_gate.nxnx_resid_entropy_gate.nxnx_ssim_gate.nxnx_vcodec_bgop_bench.nxnx_vcodec_drift_bench.nxnx_vcodec_entropy_gap.nxnx_vcodec_exceed_census.nxnx_vcodec_handoff_bench.nxnx_vcodec_live_noise_probe.nxnx_vcodec_mvbits_probe.nxnx_vcodec_nf_gate.nxnx_vcodec_nf_train.nxnx_vcodec_rd_bench.nxnx_vcodec_sigwire_gate.nxnx_vcodec_speed_bench.nxnx_vcodec_stage_bench.nxnx_vcodec_stage_bench_recovery_20260912.nxnx_vcodec_stdseq_gate.nxnx_vcodec_t8noise_gate.nxnx_vdeblock_gate.nxnx_video_h2h.nx
structs
| none |
consts
| 3 | const QM_MAGIC_65536: i64 = 65536 |
| 4 | const QM_MAGIC_131072: i64 = 131072 |
| 5 | const QM_MAGIC_32768: i64 = 32768 |
| 6 | const QM_MAGIC_9900: i64 = 9900 |
| 7 | const QM_MAGIC_65025: i64 = 65025 |
| 8 | const QM_MAGIC_217707: i64 = 217707 |
| 74 | const QM_SSIM_C1: i64 = 6 |
| 75 | const QM_SSIM_C2: i64 = 59 |
functions
| 15 | func qm_mse(a: *u8, b: *u8, n: i64) -> i64 |
| 23 | func qm_isqrt(v: i64) -> i64 { return vm_isqrt(v) } |
| 25 | func qm_rmse(a: *u8, b: *u8, n: i64) -> i64 { return qm_isqrt(qm_mse(a, b, n)) } |
| 28 | func qm_log2_q16(x: i64) -> i64 |
| 48 | func qm_psnr_cdb(a: *u8, b: *u8, n: i64) -> i64 |
| 59 | func qm_psnr_cdb_exact(a: *u8, b: *u8, n: i64) -> i64 |
| 76 | func qm_ssim_milli(a: *u8, b: *u8, W: i64, H: i64) -> i64 |