diff options
Diffstat (limited to 'sdm/include/utils/constants.h')
-rw-r--r-- | sdm/include/utils/constants.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sdm/include/utils/constants.h b/sdm/include/utils/constants.h index ffa8d12b..f97f5397 100644 --- a/sdm/include/utils/constants.h +++ b/sdm/include/utils/constants.h @@ -79,6 +79,12 @@ namespace sdm { const int kPageSize = 4096; const uint32_t kGridSize = 129; // size used for non-linear transformation before Tone-mapping const uint32_t kLutDim = 17; // Dim of the 3d LUT for tone-mapping. + constexpr int kColorTransformMatrixSize = 16; + constexpr float kIdentityMatrix[kColorTransformMatrixSize] = { 1.0, 0.0, 0.0, 0.0, + 0.0, 1.0, 0.0, 0.0, + 0.0, 0.0, 1.0, 0.0, + 0.0, 0.0, 0.0, 1.0 }; + typedef void * Handle; |