aboutsummaryrefslogtreecommitdiffstats
path: root/core/cubic_tables.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-02-10 01:57:54 -0800
committerChris Robinson <[email protected]>2023-02-10 01:57:54 -0800
commiteb5e48f133de94e706f67c7d5388e5c45b43f338 (patch)
tree3cd6d6d13ba631ccfb4f99e723640f7194229aa0 /core/cubic_tables.h
parent1564cfe48f681a75521b32dc908773caf4e8b79b (diff)
Use a span to hold the cubic table reference
Diffstat (limited to 'core/cubic_tables.h')
-rw-r--r--core/cubic_tables.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/cubic_tables.h b/core/cubic_tables.h
index 297aa89e..88097ae2 100644
--- a/core/cubic_tables.h
+++ b/core/cubic_tables.h
@@ -1,11 +1,12 @@
#ifndef CORE_CUBIC_TABLES_H
#define CORE_CUBIC_TABLES_H
+#include "alspan.h"
#include "cubic_defs.h"
struct CubicTable {
- const CubicCoefficients *Tab;
+ al::span<const CubicCoefficients,CubicPhaseCount> Tab;
};
/* A Catmull-Rom spline. The spline passes through the center two samples,