MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / getDefaultLumaCoefs

Method getDefaultLumaCoefs

src/OpenColorIO/Config.cpp:4450–4457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4448///////////////////////////////////////////////////////////////////////////
4449
4450void Config::getDefaultLumaCoefs(double * c3) const
4451{
4452 if (!c3)
4453 {
4454 throw Exception("getDefaultLumaCoefs: c3 must not be null.");
4455 }
4456 memcpy(c3, &getImpl()->m_defaultLumaCoefs[0], 3*sizeof(double));
4457}
4458
4459void Config::setDefaultLumaCoefs(const double * c3)
4460{

Callers 12

test_interfaceMethod · 0.95
main.cppFile · 0.45
_get_valueMethod · 0.45
update_ocio_procMethod · 0.45
__init__Method · 0.45
update_ocio_procMethod · 0.45
saveFunction · 0.45
handlePreferInputMethod · 0.45
handlePreferBaseMethod · 0.45
handleInputOnlyMethod · 0.45
handleBaseOnlyMethod · 0.45
OCIO_ADD_TESTFunction · 0.45

Calls 1

getImplFunction · 0.50

Tested by 2

test_interfaceMethod · 0.76
OCIO_ADD_TESTFunction · 0.36