summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_csc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_csc.h')
-rw-r--r--src/gallium/auxiliary/vl/vl_csc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_csc.h b/src/gallium/auxiliary/vl/vl_csc.h
index 7a31dd4eb26..4e36e0b0eda 100644
--- a/src/gallium/auxiliary/vl/vl_csc.h
+++ b/src/gallium/auxiliary/vl/vl_csc.h
@@ -30,6 +30,8 @@
#include "pipe/p_compiler.h"
+typedef float vl_csc_matrix[3][4];
+
struct vl_procamp
{
float brightness;
@@ -51,6 +53,6 @@ extern const struct vl_procamp vl_default_procamp;
void vl_csc_get_matrix(enum VL_CSC_COLOR_STANDARD cs,
struct vl_procamp *procamp,
bool full_range,
- float *matrix);
+ vl_csc_matrix *matrix);
#endif /* vl_csc_h */