| 4457 | } |
| 4458 | |
| 4459 | void 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 |