Code cleanup, switch to MinimalLut3d for starters

This commit is contained in:
Ian Gulliver
2017-08-08 23:14:11 -07:00
parent 85584cfb5b
commit 6ff7927352
4 changed files with 22 additions and 19 deletions

3
lut.h
View File

@@ -24,6 +24,9 @@ class Lut3d : public std::array<std::array<std::array<Color, B>, G>, R> {
constexpr static uint32_t BlockSize(uint32_t points);
};
// Minimum size LUT
typedef Lut3d<2, 2, 2> MinimalLut3d;
template <uint32_t R, uint32_t G, uint32_t B>
std::unique_ptr<Lut3d<R, G, B>> Lut3d<R, G, B>::Identity() {
auto ret = std::make_unique<Lut3d<R, G, B>>();