MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / lin2log

Method lin2log

PLogLin/PLogLin.cpp:194–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 double lin2log(double xLin,
195 int c)
196 {
197 return (_logRef[c] + std::log10((std::max)(xLin, 1e-10) / _linRef[c]) * _nGamma[c] / _density[c]) / 1023.;
198 }
199
200public:
201 PLogLinProcessorBase(ImageEffect &instance,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected