AllocationVars?


Ciaran <ciaran...@...>
 

Could anybody say a little about what ColorSpace::setAllocation() and ColorSpace::setAllocationVars() do?

I'm starting to get up and running writing my own luts into the spi1d format for converting from float scene-linear to various outputs, which makes sense so far.  I was cribbing from the spi-vfx python script which sets these and I've found fiddling with the numbers drastically alters the quality of my output.  I'm guessing this affects the resolution of some internal data used for HDR->LDR but browsing the code doesn't make it clear how it works.  And what is the origin of the [-15.0, 6.0] values used in spi-vfx?

Join ocio-dev@lists.aswf.io to automatically receive all group messages.