summaryrefslogtreecommitdiff
path: root/src/helpers/TransferFunction.hpp
blob: cbf35f37668e8fd0d3c4779a17e17e755dc7f960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <cstdint>
#include <string>

namespace NTransferFunction {
    enum eTF : uint8_t {
        TF_DEFAULT        = 0,
        TF_AUTO           = 1,
        TF_SRGB           = 2,
        TF_GAMMA22        = 3,
        TF_FORCED_GAMMA22 = 4,
    };

    eTF         fromString(const std::string tfName);
    std::string toString(eTF tf);

    eTF         fromConfig();
}