renderer: better sdr eotf settings (#12812)

This commit is contained in:
UjinT34 2026-02-26 15:01:59 +03:00 committed by GitHub
parent 0e9196867b
commit c71fbd854d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 174 additions and 65 deletions

View 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();
}