| 325 | } |
| 326 | |
| 327 | void BaseLut3DRenderer::updateData(ConstLut3DOpDataRcPtr & lut) |
| 328 | { |
| 329 | m_dim = lut->getArray().getLength(); |
| 330 | |
| 331 | m_step = ((float)m_dim - 1.0f); |
| 332 | |
| 333 | #if OCIO_USE_SSE2 |
| 334 | Platform::AlignedFree(m_optLut); |
| 335 | m_components = 4; |
| 336 | #else |
| 337 | m_components = 3; |
| 338 | free(m_optLut); |
| 339 | #endif |
| 340 | m_optLut = createOptLut(lut->getArray().getValues()); |
| 341 | } |
| 342 | |
| 343 | #if OCIO_USE_SSE2 |
| 344 | // Creates a LUT aligned to a 16 byte boundary with RGB and 0 for alpha |
nothing calls this directly
no test coverage detected