renderer: better sdr eotf settings (#12812)
This commit is contained in:
parent
0e9196867b
commit
c71fbd854d
9 changed files with 174 additions and 65 deletions
19
src/helpers/TransferFunction.hpp
Normal file
19
src/helpers/TransferFunction.hpp
Normal file
|
|
@ -0,0 +1,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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue