Lines Matching refs:OCIO

51         _config = OCIO::Config::CreateFromFile( _path.c_str() );  in OpenColorIO_PS_Context()
61OCIO::ConstColorSpaceRcPtr colorSpace = _config->getColorSpace( colorSpaceName.c_str() ); in OpenColorIO_PS_Context()
73 OCIO::ConstColorSpaceRcPtr defaultInput = _config->getColorSpace(OCIO::ROLE_SCENE_LINEAR); in OpenColorIO_PS_Context()
75 _defaultColorSpace = (defaultInput ? defaultInput->getName() : OCIO::ROLE_SCENE_LINEAR); in OpenColorIO_PS_Context()
89 _config = OCIO::Config::Create(); in OpenColorIO_PS_Context()
92 OCIO::FileTransformRcPtr forwardTransform = OCIO::FileTransform::Create(); in OpenColorIO_PS_Context()
95 forwardTransform->setInterpolation(OCIO::INTERP_LINEAR); in OpenColorIO_PS_Context()
96 forwardTransform->setDirection(OCIO::TRANSFORM_DIR_FORWARD); in OpenColorIO_PS_Context()
98 OCIO::ConstProcessorRcPtr forwardProcessor = _config->getProcessor(forwardTransform); in OpenColorIO_PS_Context()
106 OCIO::FileTransformRcPtr inverseTransform = OCIO::FileTransform::Create(); in OpenColorIO_PS_Context()
109 inverseTransform->setInterpolation(OCIO::INTERP_LINEAR); in OpenColorIO_PS_Context()
110 inverseTransform->setDirection(OCIO::TRANSFORM_DIR_INVERSE); in OpenColorIO_PS_Context()
112 OCIO::ConstProcessorRcPtr inverseProcessor = _config->getProcessor(inverseTransform); in OpenColorIO_PS_Context()
121 OCIO::ConstProcessorRcPtr
126 OCIO::ColorSpaceTransformRcPtr transform = OCIO::ColorSpaceTransform::Create(); in getConvertProcessor()
130 transform->setDirection(OCIO::TRANSFORM_DIR_FORWARD); in getConvertProcessor()
132 OCIO::ConstProcessorRcPtr processor = _config->getProcessor(transform); in getConvertProcessor()
138 OCIO::ConstProcessorRcPtr
143 OCIO::DisplayTransformRcPtr ocio_transform = OCIO::DisplayTransform::Create(); in getDisplayProcessor()
149 OCIO::ConstProcessorRcPtr processor = _config->getProcessor(ocio_transform); in getDisplayProcessor()
155 OCIO::ConstProcessorRcPtr
156 OpenColorIO_PS_Context::getLUTProcessor(OCIO::Interpolation interpolation, OCIO::TransformDirection… in getLUTProcessor()
160 OCIO::FileTransformRcPtr transform = OCIO::FileTransform::Create(); in getLUTProcessor()
166 OCIO::ConstProcessorRcPtr processor = _config->getProcessor(transform); in getLUTProcessor()
172 OCIO::BakerRcPtr
177 OCIO::BakerRcPtr baker = OCIO::Baker::Create(); in getConvertBaker()
187 OCIO::BakerRcPtr
192 OCIO::ConfigRcPtr editableConfig = _config->createEditableCopy(); in getDisplayBaker()
194 OCIO::ColorSpaceRcPtr inputColorSpace = OCIO::ColorSpace::Create(); in getDisplayBaker()
200 OCIO::ColorSpaceRcPtr outputColorSpace = OCIO::ColorSpace::Create(); in getDisplayBaker()
204 OCIO::DisplayTransformRcPtr transformPtr = OCIO::DisplayTransform::Create(); in getDisplayBaker()
210 outputColorSpace->setTransform(transformPtr, OCIO::COLORSPACE_DIR_FROM_REFERENCE); in getDisplayBaker()
215 OCIO::BakerRcPtr baker = OCIO::Baker::Create(); in getDisplayBaker()
225 OCIO::BakerRcPtr
226 OpenColorIO_PS_Context::getLUTBaker(OCIO::Interpolation interpolation, OCIO::TransformDirection dir… in getLUTBaker()
230 OCIO::ConfigRcPtr editableConfig = OCIO::Config::Create(); in getLUTBaker()
232 OCIO::ColorSpaceRcPtr inputColorSpace = OCIO::ColorSpace::Create(); in getLUTBaker()
238 OCIO::ColorSpaceRcPtr outputColorSpace = OCIO::ColorSpace::Create(); in getLUTBaker()
242 OCIO::FileTransformRcPtr transform = OCIO::FileTransform::Create(); in getLUTBaker()
244 transform = OCIO::FileTransform::Create(); in getLUTBaker()
249 outputColorSpace->setTransform(transform, OCIO::COLORSPACE_DIR_FROM_REFERENCE); in getLUTBaker()
254 OCIO::BakerRcPtr baker = OCIO::Baker::Create(); in getLUTBaker()