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

Method setDefaultLumaCoefs

src/OpenColorIO/Config.cpp:4459–4469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4457}
4458
4459void Config::setDefaultLumaCoefs(const double * c3)
4460{
4461 if (!c3)
4462 {
4463 throw Exception("setDefaultLumaCoefs: c3 must not be null.");
4464 }
4465 memcpy(&getImpl()->m_defaultLumaCoefs[0], c3, 3*sizeof(double));
4466
4467 AutoMutex lock(getImpl()->m_cacheidMutex);
4468 getImpl()->resetCacheIDs();
4469}
4470
4471///////////////////////////////////////////////////////////////////////////
4472

Callers 8

test_interfaceMethod · 0.95
_set_valueMethod · 0.45
loadFunction · 0.45
handlePreferInputMethod · 0.45
handlePreferBaseMethod · 0.45
handleInputOnlyMethod · 0.45
handleBaseOnlyMethod · 0.45
OCIO_ADD_TESTFunction · 0.45

Calls 2

resetCacheIDsMethod · 0.80
getImplFunction · 0.50

Tested by 2

test_interfaceMethod · 0.76
OCIO_ADD_TESTFunction · 0.36