├── .nojekyll ├── tests ├── data │ ├── __init__.py │ ├── files │ │ ├── clf │ │ │ ├── illegal │ │ │ │ ├── transform_missing.clf │ │ │ │ ├── image_png.clf │ │ │ │ ├── transform_empty.clf │ │ │ │ ├── transform_id_empty.clf │ │ │ │ ├── transform_missing_id.clf │ │ │ │ ├── process_list_missing.clf │ │ │ │ ├── log_bad_style.clf │ │ │ │ ├── array_missing_values.clf │ │ │ │ ├── transform_missing_inbitdepth.clf │ │ │ │ ├── matrix_end_missing.clf │ │ │ │ ├── transform_missing_outbitdepth.clf │ │ │ │ ├── range_empty.clf │ │ │ │ ├── exponent_bad_param.clf │ │ │ │ ├── exponent_bad_value.clf │ │ │ │ ├── log_bad_param.clf │ │ │ │ ├── lut3d_unequal_size.clf │ │ │ │ ├── range_bad_noclamp.clf │ │ │ │ ├── log_bad_version.clf │ │ │ │ ├── array_bad_value.clf │ │ │ │ ├── transform_bad_outdepth.clf │ │ │ │ ├── log_missing_breakpnt.clf │ │ │ │ ├── array_bad_dimension.clf │ │ │ │ ├── range_bad_values.clf │ │ │ │ ├── process_list_bad_version.clf │ │ │ │ ├── range_nonmatching_clamp.clf │ │ │ │ ├── transform_element_end_missing.clf │ │ │ │ ├── cdl_bad_slope.clf │ │ │ │ ├── cdl_bad_sat.clf │ │ │ │ ├── transform_corrupted_tag.clf │ │ │ │ ├── process_list_higher_version.clf │ │ │ │ ├── indexMap_test2.clf │ │ │ │ ├── cdl_bad_power.clf │ │ │ │ ├── cdl_bad_style.clf │ │ │ │ ├── array_too_many_values.clf │ │ │ │ ├── cdl_missing_offset.clf │ │ │ │ ├── cdl_missing_slope.clf │ │ │ │ └── cdl_missing_power.clf │ │ │ ├── matrix_no_newlines.clf │ │ │ ├── matrix_windows.clf │ │ │ ├── range_test1_clamp.clf │ │ │ ├── cdl_missing_sat.clf │ │ │ ├── range_test2.clf │ │ │ ├── cdl_missing_sop.clf │ │ │ ├── matrix_example_utf8.clf │ │ │ ├── lut3d_identity_12i_16f.clf │ │ │ ├── cdl_missing_style.clf │ │ │ ├── matrix_3x4_example.clf │ │ │ └── range_test1_noclamp.clf │ │ ├── error_unknown_format.txt │ │ ├── icc-test-2.pf │ │ ├── rgb-cmy.jpg │ │ ├── icc-test-1.icc │ │ ├── icc-test-3.icm │ │ ├── camera_to_aces.spimtx │ │ ├── iridas_3d.itx │ │ ├── iridas_1d.cube │ │ ├── reference_alias.ctf │ │ ├── nuke_3d.vf │ │ ├── reference_utf8.ctf │ │ ├── pandora_3d.m3d │ │ ├── iridas_3d.cube │ │ ├── reference_nested.ctf │ │ ├── reference_nested_2.ctf │ │ ├── reference_cycle_itself.ctf │ │ ├── reference_cycle_2levels.ctf │ │ ├── reference_cycle_2levels_2.ctf │ │ ├── reference_cycle_3levels.ctf │ │ ├── reference_cycle_3levels_2.ctf │ │ ├── reference_cycle_3levels_3.ctf │ │ ├── exposure_contrast_missing_param.ctf │ │ ├── reference_cycle_path_not_equal.ctf │ │ ├── reference_path_missing_file.ctf │ │ ├── exposure_contrast_no_gamma.ctf │ │ ├── exposure_contrast_bad_style.ctf │ │ ├── fixed_function.ctf │ │ ├── reference_one_matrix.ctf │ │ ├── cdl_test1.cc │ │ ├── gamma_test1.ctf │ │ ├── gamma_test2.ctf │ │ ├── cdl_test_ASC_SAT.cc │ │ ├── cdl_test_ASC_SOP.cc │ │ ├── cdl_test_SATNode.cc │ │ ├── reference_alias_path.ctf │ │ ├── references_same_twice.ctf │ │ ├── gamma_test6.ctf │ │ ├── exposure_contrast_video_dp.ctf │ │ ├── gamma_test4.ctf │ │ ├── cdl_test2.cc │ │ ├── lut1d_hue_adjust_test.ctf │ │ ├── gamma_alpha_test2.ctf │ │ ├── log_logtolinv2.ctf │ │ ├── gamma_test3.ctf │ │ ├── matrix_offsets_example.ctf │ │ ├── lut3by1d_nan_infinity_example.clf │ │ ├── lut1d_hue_adjust_invalid_style.ctf │ │ ├── matrix_offsets_example_1_3.ctf │ │ ├── gamma_alpha_test1.ctf │ │ ├── gamma_alpha_test4.ctf │ │ ├── gamma_alpha_test6.ctf │ │ ├── gamma_test5.ctf │ │ ├── exposure_contrast_video.ctf │ │ ├── gamma_alpha_test3.ctf │ │ ├── exposure_contrast_linear.ctf │ │ └── indexMap_test2_clfv2.clf │ ├── LICENSE.md │ └── README.md ├── python │ ├── __init__.py │ ├── requirements.txt │ └── CMakeLists.txt ├── java │ └── org │ │ └── OpenColorIO │ │ └── test.cc ├── utils │ ├── UnitTestMain.cpp │ └── CMakeLists.txt ├── cmake-consumer │ ├── CMakeLists.txt │ └── consumer.cpp ├── cpu │ └── UnitTestOptimFlags.h ├── osl │ └── UnitTestTypes.h ├── gpu │ └── GPUHelpers.h └── testutils │ └── CMakeLists.txt ├── vendor ├── rv │ ├── Mu │ │ ├── rvload │ │ └── rvload2 │ ├── Packages │ │ ├── .gitignore │ │ └── rvinstall │ ├── Makefile │ └── Python │ │ └── PACKAGE ├── mari │ ├── prototype │ │ └── README │ └── 1.4v1 │ │ └── README ├── CMakeLists.txt ├── aftereffects │ ├── vc │ │ └── vc15 │ │ │ └── utils │ │ │ └── Half.h │ ├── xcode │ │ ├── xcode12 │ │ │ └── utils │ │ │ │ └── Half.h │ │ └── xcode9 │ │ │ └── utils │ │ │ └── Half.h │ ├── win │ │ └── resource.h │ └── mac │ │ └── OpenColorIO_AE_MonitorProfileChooser_Controller.h ├── photoshop │ └── win │ │ └── resource1.h └── openfx │ ├── OCIOMain.cpp │ └── Support │ └── include │ └── ofxsMessage.h ├── share ├── nuke │ ├── ocionuke │ │ └── __init__.py │ └── ocio_icon.png ├── clf │ └── CLF_testImage.exr ├── openfx │ └── resources │ │ ├── OpenColorIO.OCIOColorSpace.png │ │ └── OpenColorIO.OCIODisplayView.png ├── ci │ └── scripts │ │ ├── macos │ │ ├── install_tests_env.sh │ │ ├── install_docs_env.sh │ │ ├── install_bison.sh │ │ ├── install_boost.sh │ │ ├── install_doxygen.sh │ │ └── install_oiio.sh │ │ ├── windows │ │ ├── install_tests_env.sh │ │ ├── install_docs_env.sh │ │ └── install_doxygen.sh │ │ └── linux │ │ ├── apt │ │ ├── install_tests_env.sh │ │ ├── install_docs_env.sh │ │ └── install_doxygen.sh │ │ ├── yum │ │ ├── install_tests_env.sh │ │ ├── install_docs_env.sh │ │ └── install_doxygen.sh │ │ ├── install_numpy.sh │ │ └── run_gcov.sh ├── ocio │ ├── setup_ocio.bat.in │ └── setup_ocio.sh.in └── cmake │ ├── macros │ ├── PackageUtils.cmake │ └── VariableUtils.cmake │ └── scripts │ └── PatchOpenEXR.cmake ├── docs ├── site │ ├── archetypes │ │ └── default.md │ ├── homepage │ │ ├── static │ │ │ └── images │ │ │ │ ├── favicon.png │ │ │ │ ├── ocio_m2x.png │ │ │ │ ├── aswf_aqua.png │ │ │ │ ├── blog │ │ │ │ ├── meghna.jpg │ │ │ │ ├── meghna.webp │ │ │ │ ├── blog-post-1.jpg │ │ │ │ ├── blog-post-1.webp │ │ │ │ ├── blog-post-2.jpg │ │ │ │ ├── blog-post-2.webp │ │ │ │ ├── blog-post-3.jpg │ │ │ │ └── blog-post-3.webp │ │ │ │ ├── ocio_full_w4x.png │ │ │ │ ├── supported_apps │ │ │ │ ├── ae.png │ │ │ │ ├── djv.png │ │ │ │ ├── ps.png │ │ │ │ ├── rv.png │ │ │ │ ├── hiero.png │ │ │ │ ├── krita.png │ │ │ │ ├── mari.png │ │ │ │ ├── maya.png │ │ │ │ ├── mocha.png │ │ │ │ ├── modo.png │ │ │ │ ├── nuke.png │ │ │ │ ├── oiio.png │ │ │ │ ├── vray.png │ │ │ │ ├── arnold.png │ │ │ │ ├── blender.png │ │ │ │ ├── cinesync.png │ │ │ │ ├── clarisse.png │ │ │ │ ├── gaffer.png │ │ │ │ ├── guerilla.png │ │ │ │ ├── houdini.png │ │ │ │ ├── katana.png │ │ │ │ ├── mrviewer.png │ │ │ │ ├── unreal.png │ │ │ │ ├── vegaspro.png │ │ │ │ ├── cryengine.png │ │ │ │ ├── photoflow.png │ │ │ │ ├── silhouette.png │ │ │ │ ├── substance.png │ │ │ │ └── unreallogo.png │ │ │ │ └── SpiderVerse_pmm014.1014_lm_v1_opt.jpg │ │ └── data │ │ │ └── en │ │ │ └── banner.yml │ ├── static │ │ └── plugins │ │ │ ├── slick │ │ │ ├── ajax-loader.gif │ │ │ └── fonts │ │ │ │ ├── slick.eot │ │ │ │ ├── slick.ttf │ │ │ │ └── slick.woff │ │ │ └── themify-icons │ │ │ └── fonts │ │ │ ├── themify.eot │ │ │ ├── themify.ttf │ │ │ └── themify.woff │ └── layouts │ │ ├── partials │ │ └── preloader.html │ │ ├── index.html │ │ ├── _default │ │ ├── baseof.html │ │ └── article.html │ │ └── 404.html ├── google2560df9c4b755196.html ├── requirements.txt ├── tutorials │ ├── _images │ │ ├── psicc_itworks.png │ │ ├── psicc_proof_setup.png │ │ ├── psicc_reveal_profile.png │ │ ├── psicc_select_profile.png │ │ └── psicc_open_current_profile.png │ ├── contributing.rst │ └── _index.rst ├── configurations │ ├── _images │ │ ├── lg8_to_vd8.jpeg │ │ ├── gnf_to_linear_light.jpeg │ │ ├── lgf_to_linear_light.jpeg │ │ ├── gn10_to_linear_light.jpeg │ │ └── lg10_to_linear_light.jpeg │ ├── _index.rst │ ├── ocio_v2_demo.rst │ └── spi_anim.rst ├── concepts │ ├── overview │ │ ├── configuration_files.rst │ │ └── overview.rst │ ├── _index.rst │ └── publications │ │ └── publications.rst ├── api │ ├── python │ │ ├── src │ │ │ ├── pyopencolorio_exception.rst │ │ │ ├── pyopencolorio_getversion.rst │ │ │ ├── pyopencolorio_logmessage.rst │ │ │ ├── pyopencolorio_bitdepthtoint.rst │ │ │ ├── pyopencolorio_boolfromstring.rst │ │ │ ├── pyopencolorio_booltostring.rst │ │ │ ├── pyopencolorio_clearallcaches.rst │ │ │ ├── pyopencolorio_getenvvariable.rst │ │ │ ├── pyopencolorio_getversionhex.rst │ │ │ ├── pyopencolorio_setenvvariable.rst │ │ │ ├── pyopencolorio_bitdepthisfloat.rst │ │ │ ├── pyopencolorio_bitdepthtostring.rst │ │ │ ├── pyopencolorio_cdlstyletostring.rst │ │ │ ├── pyopencolorio_getlogginglevel.rst │ │ │ ├── pyopencolorio_setlogginglevel.rst │ │ │ ├── pyopencolorio_unsetenvvariable.rst │ │ │ ├── pyopencolorio_allocationtostring.rst │ │ │ ├── pyopencolorio_bitdepthfromstring.rst │ │ │ ├── pyopencolorio_cdlstylefromstring.rst │ │ │ ├── pyopencolorio_gpulanguagetostring.rst │ │ │ ├── pyopencolorio_rangestyletostring.rst │ │ │ ├── pyopencolorio_setloggingfunction.rst │ │ │ ├── pyopencolorio_allocationfromstring.rst │ │ │ ├── pyopencolorio_exceptionmissingfile.rst │ │ │ ├── pyopencolorio_gpulanguagefromstring.rst │ │ │ ├── pyopencolorio_gradingstyletostring.rst │ │ │ ├── pyopencolorio_interpolationtostring.rst │ │ │ ├── pyopencolorio_isenvvariablepresent.rst │ │ │ ├── pyopencolorio_loggingleveltostring.rst │ │ │ ├── pyopencolorio_negativestyletostring.rst │ │ │ ├── pyopencolorio_rangestylefromstring.rst │ │ │ ├── pyopencolorio_environmentmodetostring.rst │ │ │ ├── pyopencolorio_gradingstylefromstring.rst │ │ │ ├── pyopencolorio_interpolationfromstring.rst │ │ │ ├── pyopencolorio_logginglevelfromstring.rst │ │ │ ├── pyopencolorio_negativestylefromstring.rst │ │ │ ├── pyopencolorio_resetcomputehashfunction.rst │ │ │ ├── pyopencolorio_setcomputehashfunction.rst │ │ │ ├── pyopencolorio_combinetransformdirections.rst │ │ │ ├── pyopencolorio_environmentmodefromstring.rst │ │ │ ├── pyopencolorio_fixedfunctionstyletostring.rst │ │ │ ├── pyopencolorio_transformdirectiontostring.rst │ │ │ ├── pyopencolorio_exposurecontraststyletostring.rst │ │ │ ├── pyopencolorio_fixedfunctionstylefromstring.rst │ │ │ ├── pyopencolorio_getinversetransformdirection.rst │ │ │ ├── pyopencolorio_resettodefaultloggingfunction.rst │ │ │ ├── pyopencolorio_transformdirectionfromstring.rst │ │ │ ├── pyopencolorio_exposurecontraststylefromstring.rst │ │ │ ├── pyopencolorio_look.rst │ │ │ ├── pyopencolorio_filerules.rst │ │ │ ├── pyopencolorio_imagedesc.rst │ │ │ ├── pyopencolorio_cpuprocessor.rst │ │ │ ├── pyopencolorio_gpuprocessor.rst │ │ │ ├── pyopencolorio_transform.rst │ │ │ ├── pyopencolorio_dynamicproperty.rst │ │ │ ├── pyopencolorio_gradingrgbm.rst │ │ │ ├── pyopencolorio_gradingtone.rst │ │ │ ├── pyopencolorio_gradingprimary.rst │ │ │ ├── pyopencolorio_gradingrgbmsw.rst │ │ │ ├── pyopencolorio_gradingrgbcurve.rst │ │ │ ├── pyopencolorio_gradingcontrolpoint.rst │ │ │ ├── pyopencolorio_legacyviewingpipeline.rst │ │ │ ├── pyopencolorio_packedimagedesc.rst │ │ │ ├── pyopencolorio_planarimagedesc.rst │ │ │ ├── pyopencolorio_cdltransform.rst │ │ │ ├── pyopencolorio_logtransform.rst │ │ │ ├── pyopencolorio_looktransform.rst │ │ │ ├── pyopencolorio_lut1dtransform.rst │ │ │ ├── pyopencolorio_lut3dtransform.rst │ │ │ ├── pyopencolorio_matrixtransform.rst │ │ │ ├── pyopencolorio_rangetransform.rst │ │ │ ├── pyopencolorio_builtintransform.rst │ │ │ ├── pyopencolorio_exponenttransform.rst │ │ │ ├── pyopencolorio_logaffinetransform.rst │ │ │ ├── pyopencolorio_logcameratransform.rst │ │ │ ├── pyopencolorio_allocationtransform.rst │ │ │ ├── pyopencolorio_bitdepth.rst │ │ │ ├── pyopencolorio_cdlstyle.rst │ │ │ ├── pyopencolorio_colorspacetransform.rst │ │ │ ├── pyopencolorio_displayviewtransform.rst │ │ │ ├── pyopencolorio_gradingtonetransform.rst │ │ │ ├── pyopencolorio_viewtype.rst │ │ │ ├── pyopencolorio_allocation.rst │ │ │ ├── pyopencolorio_fixedfunctiontransform.rst │ │ │ ├── pyopencolorio_gpulanguage.rst │ │ │ ├── pyopencolorio_gradingprimarytransform.rst │ │ │ ├── pyopencolorio_rangestyle.rst │ │ │ ├── pyopencolorio_exposurecontrasttransform.rst │ │ │ ├── pyopencolorio_gradingrgbcurvetransform.rst │ │ │ ├── pyopencolorio_gradingstyle.rst │ │ │ ├── pyopencolorio_interpolation.rst │ │ │ ├── pyopencolorio_logginglevel.rst │ │ │ ├── pyopencolorio_negativestyle.rst │ │ │ ├── pyopencolorio_rgbcurvetype.rst │ │ │ ├── pyopencolorio_transformtype.rst │ │ │ ├── pyopencolorio_channelordering.rst │ │ │ ├── pyopencolorio_environmentmode.rst │ │ │ ├── pyopencolorio_exponentwithlineartransform.rst │ │ │ ├── pyopencolorio_lut1dhueadjust.rst │ │ │ ├── pyopencolorio_uniformdatatype.rst │ │ │ ├── pyopencolorio_fixedfunctionstyle.rst │ │ │ ├── pyopencolorio_optimizationflags.rst │ │ │ ├── pyopencolorio_referencespacetype.rst │ │ │ ├── pyopencolorio_transformdirection.rst │ │ │ ├── pyopencolorio_colorspacedirection.rst │ │ │ ├── pyopencolorio_colorspacevisibility.rst │ │ │ ├── pyopencolorio_dynamicpropertytype.rst │ │ │ ├── pyopencolorio_exposurecontraststyle.rst │ │ │ ├── pyopencolorio_processorcacheflags.rst │ │ │ ├── pyopencolorio_viewtransformdirection.rst │ │ │ ├── pyopencolorio_namedtransformvisibility.rst │ │ │ ├── pyopencolorio_searchreferencespacetype.rst │ │ │ ├── pyopencolorio_baker.rst │ │ │ ├── pyopencolorio_displayviewhelpers.rst │ │ │ ├── pyopencolorio_systemmonitors.rst │ │ │ ├── pyopencolorio_filetransform.rst │ │ │ ├── pyopencolorio_viewtransform.rst │ │ │ ├── pyopencolorio_namedtransform.rst │ │ │ ├── pyopencolorio_gradingbsplinecurve.rst │ │ │ ├── pyopencolorio_processormetadata.rst │ │ │ └── pyopencolorio_processor.rst │ │ └── frozen │ │ │ ├── pyopencolorio_booltostring.rst │ │ │ ├── pyopencolorio_boolfromstring.rst │ │ │ ├── pyopencolorio_resetcomputehashfunction.rst │ │ │ ├── pyopencolorio_bitdepthtoint.rst │ │ │ ├── pyopencolorio_cdlstyletostring.rst │ │ │ ├── pyopencolorio_resettodefaultloggingfunction.rst │ │ │ ├── pyopencolorio_bitdepthfromstring.rst │ │ │ ├── pyopencolorio_bitdepthisfloat.rst │ │ │ ├── pyopencolorio_bitdepthtostring.rst │ │ │ ├── pyopencolorio_cdlstylefromstring.rst │ │ │ ├── pyopencolorio_allocationfromstring.rst │ │ │ ├── pyopencolorio_rangestylefromstring.rst │ │ │ ├── pyopencolorio_rangestyletostring.rst │ │ │ ├── pyopencolorio_allocationtostring.rst │ │ │ ├── pyopencolorio_gpulanguagefromstring.rst │ │ │ ├── pyopencolorio_gpulanguagetostring.rst │ │ │ ├── pyopencolorio_gradingstylefromstring.rst │ │ │ ├── pyopencolorio_gradingstyletostring.rst │ │ │ ├── pyopencolorio_logginglevelfromstring.rst │ │ │ ├── pyopencolorio_loggingleveltostring.rst │ │ │ ├── pyopencolorio_negativestyletostring.rst │ │ │ ├── pyopencolorio_environmentmodetostring.rst │ │ │ ├── pyopencolorio_interpolationfromstring.rst │ │ │ ├── pyopencolorio_negativestylefromstring.rst │ │ │ ├── pyopencolorio_environmentmodefromstring.rst │ │ │ ├── pyopencolorio_interpolationtostring.rst │ │ │ ├── pyopencolorio_fixedfunctionstyletostring.rst │ │ │ ├── pyopencolorio_isenvvariablepresent.rst │ │ │ ├── pyopencolorio_fixedfunctionstylefromstring.rst │ │ │ ├── pyopencolorio_transformdirectiontostring.rst │ │ │ ├── pyopencolorio_exposurecontraststyletostring.rst │ │ │ ├── pyopencolorio_exposurecontraststylefromstring.rst │ │ │ ├── pyopencolorio_setlogginglevel.rst │ │ │ ├── pyopencolorio_unsetenvvariable.rst │ │ │ ├── pyopencolorio_getinversetransformdirection.rst │ │ │ ├── pyopencolorio_setenvvariable.rst │ │ │ ├── pyopencolorio_logmessage.rst │ │ │ ├── pyopencolorio_transformdirectionfromstring.rst │ │ │ ├── pyopencolorio_combinetransformdirections.rst │ │ │ ├── pyopencolorio_getenvvariable.rst │ │ │ ├── pyopencolorio_getversion.rst │ │ │ ├── pyopencolorio_exception.rst │ │ │ ├── pyopencolorio_setcomputehashfunction.rst │ │ │ ├── pyopencolorio_setloggingfunction.rst │ │ │ ├── pyopencolorio_getversionhex.rst │ │ │ ├── pyopencolorio_getlogginglevel.rst │ │ │ └── pyopencolorio_exceptionmissingfile.rst │ ├── baker.rst │ ├── _index.rst │ ├── systemmonitors.rst │ ├── formatmetadata.rst │ └── look.rst ├── aswf │ ├── _index.rst │ └── license.rst ├── upgrading_v2 │ └── _index.rst ├── guides │ ├── developing │ │ └── developing.rst │ ├── contributing │ │ ├── architectural_notes.rst │ │ └── contributing.rst │ ├── _index.rst │ └── authoring │ │ └── authoring.rst └── quick_start │ └── _index.rst ├── .appveyor.yml ├── src ├── apps │ ├── pyociodisplay │ │ └── requirements.txt │ ├── ociowrite │ │ └── CMakeLists.txt │ └── ocioperf │ │ └── CMakeLists.txt ├── bindings │ ├── CMakeLists.txt │ ├── java │ │ ├── org │ │ │ └── OpenColorIO │ │ │ │ ├── ExceptionBase.java │ │ │ │ ├── ImageDesc.java │ │ │ │ ├── ExceptionMissingFile.java │ │ │ │ ├── LogTransform.java │ │ │ │ ├── ExponentTransform.java │ │ │ │ └── ColorSpaceTransform.java │ │ ├── LoadLibrary.java.in │ │ └── Manifest.txt.in │ └── python │ │ └── PyGpuShaderCreator.h ├── cmake │ └── Config.cmake.in ├── OpenColorIO │ ├── res │ │ └── OpenColorIO.pc.in │ ├── pkgconfig │ │ └── OpenColorIO.pc.in │ ├── TransformBuilder.h │ ├── ops │ │ ├── log │ │ │ ├── LogOpCPU.h │ │ │ └── LogOpGPU.h │ │ ├── lut3d │ │ │ ├── Lut3DOpCPU.h │ │ │ └── Lut3DOpGPU.h │ │ ├── lut1d │ │ │ ├── Lut1DOpCPU.h │ │ │ └── Lut1DOpGPU.h │ │ ├── range │ │ │ ├── RangeOpCPU.h │ │ │ └── RangeOpGPU.h │ │ ├── matrix │ │ │ └── MatrixOpCPU.h │ │ ├── OpTools.h │ │ ├── cdl │ │ │ └── CDLOpGPU.h │ │ ├── exposurecontrast │ │ │ └── ExposureContrastOpCPU.h │ │ ├── gamma │ │ │ └── GammaOpCPU.h │ │ ├── gradingtone │ │ │ └── GradingToneOpCPU.h │ │ ├── fixedfunction │ │ │ └── FixedFunctionOpCPU.h │ │ ├── gradingprimary │ │ │ └── GradingPrimaryOpCPU.h │ │ └── gradingrgbcurve │ │ │ └── GradingRGBCurveOpCPU.h │ ├── fileformats │ │ └── FileFormatICC.h │ ├── Logging.h │ ├── OCIOYaml.h │ ├── builtinconfigs │ │ ├── CG.cpp.in │ │ └── CGConfig.h │ └── HashUtils.h ├── libutils │ └── CMakeLists.txt ├── utils │ └── Half.h.in └── apputils │ └── CMakeLists.txt ├── ext ├── sampleicc │ ├── src │ │ └── include │ │ │ └── icProfileHeader.h │ └── CMakeLists.txt └── CMakeLists.txt ├── ASWF └── DCO.md ├── MANIFEST.in ├── INSTALL.md └── .gitignore /.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/python/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rv/Mu/rvload: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /share/nuke/ocionuke/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/python/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | -------------------------------------------------------------------------------- /docs/site/archetypes/default.md: -------------------------------------------------------------------------------- 1 | +++ 2 | +++ 3 | -------------------------------------------------------------------------------- /vendor/rv/Packages/.gitignore: -------------------------------------------------------------------------------- 1 | ociorv.zip 2 | -------------------------------------------------------------------------------- /vendor/rv/Packages/rvinstall: -------------------------------------------------------------------------------- 1 | *ociorv.zip 2 | -------------------------------------------------------------------------------- /.appveyor.yml: -------------------------------------------------------------------------------- 1 | branches: 2 | only: 3 | - /^RB-1.*$/ 4 | -------------------------------------------------------------------------------- /src/apps/pyociodisplay/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | PyOpenGL 3 | PySide2 4 | -------------------------------------------------------------------------------- /vendor/rv/Mu/rvload2: -------------------------------------------------------------------------------- 1 | 3 2 | ociorv,ociorv.zip,nil,nil,nil,true,true,3.12,false 3 | -------------------------------------------------------------------------------- /docs/google2560df9c4b755196.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google2560df9c4b755196.html 2 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_missing.clf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/data/files/error_unknown_format.txt: -------------------------------------------------------------------------------- 1 | g kdl; 2 | 'sd ;lsdlf; g 3 | ;ls;ldkglk 4 | 5 | kdlskg 6 | klskfd -------------------------------------------------------------------------------- /share/nuke/ocio_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/share/nuke/ocio_icon.png -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | six 2 | testresources 3 | recommonmark 4 | sphinx-press-theme 5 | sphinx-tabs 6 | breathe 7 | -------------------------------------------------------------------------------- /share/clf/CLF_testImage.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/share/clf/CLF_testImage.exr -------------------------------------------------------------------------------- /tests/data/files/icc-test-2.pf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/tests/data/files/icc-test-2.pf -------------------------------------------------------------------------------- /tests/data/files/rgb-cmy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/tests/data/files/rgb-cmy.jpg -------------------------------------------------------------------------------- /tests/data/files/icc-test-1.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/tests/data/files/icc-test-1.icc -------------------------------------------------------------------------------- /tests/data/files/icc-test-3.icm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/tests/data/files/icc-test-3.icm -------------------------------------------------------------------------------- /docs/tutorials/_images/psicc_itworks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/tutorials/_images/psicc_itworks.png -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/image_png.clf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/tests/data/files/clf/illegal/image_png.clf -------------------------------------------------------------------------------- /docs/configurations/_images/lg8_to_vd8.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/configurations/_images/lg8_to_vd8.jpeg -------------------------------------------------------------------------------- /docs/site/homepage/static/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/favicon.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/ocio_m2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/ocio_m2x.png -------------------------------------------------------------------------------- /docs/tutorials/_images/psicc_proof_setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/tutorials/_images/psicc_proof_setup.png -------------------------------------------------------------------------------- /ext/sampleicc/src/include/icProfileHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/ext/sampleicc/src/include/icProfileHeader.h -------------------------------------------------------------------------------- /docs/site/homepage/static/images/aswf_aqua.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/aswf_aqua.png -------------------------------------------------------------------------------- /docs/site/static/plugins/slick/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/static/plugins/slick/ajax-loader.gif -------------------------------------------------------------------------------- /docs/site/static/plugins/slick/fonts/slick.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/static/plugins/slick/fonts/slick.eot -------------------------------------------------------------------------------- /docs/site/static/plugins/slick/fonts/slick.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/static/plugins/slick/fonts/slick.ttf -------------------------------------------------------------------------------- /docs/site/static/plugins/slick/fonts/slick.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/static/plugins/slick/fonts/slick.woff -------------------------------------------------------------------------------- /docs/tutorials/_images/psicc_reveal_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/tutorials/_images/psicc_reveal_profile.png -------------------------------------------------------------------------------- /docs/tutorials/_images/psicc_select_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/tutorials/_images/psicc_select_profile.png -------------------------------------------------------------------------------- /vendor/rv/Makefile: -------------------------------------------------------------------------------- 1 | .phony: 2 | all: ociorv.zip 3 | 4 | ociorv.zip: 5 | mkdir -p Packages 6 | zip Packages/ociorv.zip Python/ociorv.py Python/PACKAGE 7 | -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/meghna.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/meghna.jpg -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/meghna.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/meghna.webp -------------------------------------------------------------------------------- /docs/site/homepage/static/images/ocio_full_w4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/ocio_full_w4x.png -------------------------------------------------------------------------------- /tests/data/LICENSE.md: -------------------------------------------------------------------------------- 1 | All data under files/ covered by: 2 | 3 | SPDX-License-Identifier: BSD-3-Clause 4 | Copyright Contributors to the OpenColorIO Project. 5 | -------------------------------------------------------------------------------- /ASWF/DCO.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | https://developercertificate.org/ 5 | -------------------------------------------------------------------------------- /docs/configurations/_images/gnf_to_linear_light.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/configurations/_images/gnf_to_linear_light.jpeg -------------------------------------------------------------------------------- /docs/configurations/_images/lgf_to_linear_light.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/configurations/_images/lgf_to_linear_light.jpeg -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | graft docs 3 | graft ext 4 | graft include 5 | graft share 6 | graft src 7 | graft tests 8 | global-include CMakeLists.txt *.cmake *.md 9 | -------------------------------------------------------------------------------- /docs/configurations/_images/gn10_to_linear_light.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/configurations/_images/gn10_to_linear_light.jpeg -------------------------------------------------------------------------------- /docs/configurations/_images/lg10_to_linear_light.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/configurations/_images/lg10_to_linear_light.jpeg -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/blog-post-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/blog-post-1.jpg -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/blog-post-1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/blog-post-1.webp -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/blog-post-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/blog-post-2.jpg -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/blog-post-2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/blog-post-2.webp -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/blog-post-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/blog-post-3.jpg -------------------------------------------------------------------------------- /docs/site/homepage/static/images/blog/blog-post-3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/blog/blog-post-3.webp -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/ae.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/ae.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/djv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/djv.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/ps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/ps.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/rv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/rv.png -------------------------------------------------------------------------------- /docs/tutorials/_images/psicc_open_current_profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/tutorials/_images/psicc_open_current_profile.png -------------------------------------------------------------------------------- /share/openfx/resources/OpenColorIO.OCIOColorSpace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/share/openfx/resources/OpenColorIO.OCIOColorSpace.png -------------------------------------------------------------------------------- /share/openfx/resources/OpenColorIO.OCIODisplayView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/share/openfx/resources/OpenColorIO.OCIODisplayView.png -------------------------------------------------------------------------------- /tests/data/files/camera_to_aces.spimtx: -------------------------------------------------------------------------------- 1 | 0.754338638 0.133697046 0.111968437 0 2 | 0.021198141 1.005410934 -0.026610548 0 3 | -0.009756991 0.004508563 1.005253201 0 4 | 5 | -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/hiero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/hiero.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/krita.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/krita.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/mari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/mari.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/maya.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/maya.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/mocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/mocha.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/modo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/modo.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/nuke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/nuke.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/oiio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/oiio.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/vray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/vray.png -------------------------------------------------------------------------------- /docs/site/static/plugins/themify-icons/fonts/themify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/static/plugins/themify-icons/fonts/themify.eot -------------------------------------------------------------------------------- /docs/site/static/plugins/themify-icons/fonts/themify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/static/plugins/themify-icons/fonts/themify.ttf -------------------------------------------------------------------------------- /docs/site/static/plugins/themify-icons/fonts/themify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/static/plugins/themify-icons/fonts/themify.woff -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/arnold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/arnold.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/blender.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/blender.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/cinesync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/cinesync.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/clarisse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/clarisse.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/gaffer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/gaffer.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/guerilla.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/guerilla.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/houdini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/houdini.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/katana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/katana.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/mrviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/mrviewer.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/unreal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/unreal.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/vegaspro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/vegaspro.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/cryengine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/cryengine.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/photoflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/photoflow.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/silhouette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/silhouette.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/substance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/substance.png -------------------------------------------------------------------------------- /docs/site/homepage/static/images/supported_apps/unreallogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/supported_apps/unreallogo.png -------------------------------------------------------------------------------- /tests/data/files/iridas_3d.itx: -------------------------------------------------------------------------------- 1 | LUT_3D_SIZE 2 2 | 3 | 0.0 0.0 0.0 4 | 2.0 0.0 0.0 5 | 0.0 2.0 0.0 6 | 2.0 2.0 0.0 7 | 0.0 0.0 2.0 8 | 2.0 0.0 2.0 9 | 0.0 2.0 2.0 10 | 2.0 2.0 2.0 11 | -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | For install instructions, see docs/quick_start/installation.rst 5 | -------------------------------------------------------------------------------- /docs/concepts/overview/configuration_files.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Configuration Files 6 | =================== -------------------------------------------------------------------------------- /docs/site/homepage/static/images/SpiderVerse_pmm014.1014_lm_v1_opt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anderslanglands/OpenColorIO/main/docs/site/homepage/static/images/SpiderVerse_pmm014.1014_lm_v1_opt.jpg -------------------------------------------------------------------------------- /docs/tutorials/contributing.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Contributing 6 | ============ 7 | 8 | Coming soon ... 9 | -------------------------------------------------------------------------------- /tests/data/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | files 5 | ----- 6 | 7 | Contains files used by unit tests. 8 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exception.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoexception:: PyOpenColorIO.Exception 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_getversion.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GetVersion 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_logmessage.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.LogMessage 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_bitdepthtoint.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.BitDepthToInt 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_boolfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.BoolFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_booltostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.BoolToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_clearallcaches.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.ClearAllCaches 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_getenvvariable.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GetEnvVariable 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_getversionhex.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GetVersionHex 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_setenvvariable.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.SetEnvVariable 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_bitdepthisfloat.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.BitDepthIsFloat 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_bitdepthtostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.BitDepthToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_cdlstyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.CDLStyleToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_getlogginglevel.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GetLoggingLevel 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_setlogginglevel.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.SetLoggingLevel 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_unsetenvvariable.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.UnsetEnvVariable 6 | -------------------------------------------------------------------------------- /tests/data/files/iridas_1d.cube: -------------------------------------------------------------------------------- 1 | LUT_1D_SIZE 5 2 | DOMAIN_MIN -2.0 1.0 0.0 3 | DOMAIN_MAX 2.0 2.0 1.0 4 | 5 | -1.0 -2.0 -3.0 6 | 0.0 0.1 0.2 7 | 0.4 0.5 0.6 8 | 0.8 0.9 1.0 9 | 1.0 2.1 3.2 10 | -------------------------------------------------------------------------------- /tests/data/files/reference_alias.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_allocationtostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.AllocationToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_bitdepthfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.BitDepthFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_cdlstylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.CDLStyleFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gpulanguagetostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GpuLanguageToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_rangestyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.RangeStyleToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_setloggingfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.SetLoggingFunction 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_allocationfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.AllocationFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exceptionmissingfile.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoexception:: PyOpenColorIO.ExceptionMissingFile 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gpulanguagefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GpuLanguageFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingstyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GradingStyleToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_interpolationtostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.InterpolationToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_isenvvariablepresent.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.IsEnvVariablePresent 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_loggingleveltostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.LoggingLevelToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_negativestyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.NegativeStyleToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_rangestylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.RangeStyleFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_environmentmodetostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.EnvironmentModeToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingstylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GradingStyleFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_interpolationfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.InterpolationFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_logginglevelfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.LoggingLevelFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_negativestylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.NegativeStyleFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_resetcomputehashfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.ResetComputeHashFunction 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_setcomputehashfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.SetComputeHashFunction 6 | -------------------------------------------------------------------------------- /tests/data/files/nuke_3d.vf: -------------------------------------------------------------------------------- 1 | #Inventor V2.1 ascii 2 | grid_size 2 2 2 3 | global_transform 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 4 | data 5 | 0 0 0 6 | 0 0 2 7 | 0 2 0 8 | 0 2 2 9 | 2 0 0 10 | 2 0 2 11 | 2 2 0 12 | 2 2 2 13 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_combinetransformdirections.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.CombineTransformDirections 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_environmentmodefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.EnvironmentModeFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_fixedfunctionstyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.FixedFunctionStyleToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_transformdirectiontostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.TransformDirectionToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exposurecontraststyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.ExposureContrastStyleToString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_fixedfunctionstylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.FixedFunctionStyleFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_getinversetransformdirection.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.GetInverseTransformDirection 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_resettodefaultloggingfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.ResetToDefaultLoggingFunction 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_transformdirectionfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.TransformDirectionFromString 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exposurecontraststylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.ExposureContrastStyleFromString 6 | -------------------------------------------------------------------------------- /vendor/rv/Python/PACKAGE: -------------------------------------------------------------------------------- 1 | package: OpenColorIO 2 | version: 1.0 3 | rv: 3.12 4 | requires: '' 5 | 6 | modes: 7 | - file: ociorv.py 8 | load: immediate 9 | 10 | description: | 11 | 12 | Integrates OCIO, and that's about it 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | .DS_Store 5 | attic 6 | build* 7 | _build* 8 | _install* 9 | dist* 10 | mastercopy 11 | *.pyc 12 | !*.yml 13 | .vscode 14 | -------------------------------------------------------------------------------- /tests/data/files/reference_utf8.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/mari/prototype/README: -------------------------------------------------------------------------------- 1 | This is a prototype implemetation for a python display integration, which worked 2 | in early Mari versions. It's provided as a simple example of how to use the 3 | OCIO python API to query the GPU interface functions. 4 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_empty.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | There must be at least on process node 4 | 5 | -------------------------------------------------------------------------------- /tests/data/files/pandora_3d.m3d: -------------------------------------------------------------------------------- 1 | channel 3d 2 | in 8 3 | out 256 4 | format lut 5 | values red green blue 6 | 0 0 0 0 7 | 1 0 0 204 8 | 2 0 204 0 9 | 3 0 204 204 10 | 4 255 0 0 11 | 5 255 0 255 12 | 6 255 255 0 13 | 7 306 255 306 14 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_look.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Look 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_filerules.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.FileRules 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_imagedesc.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ImageDesc 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | -------------------------------------------------------------------------------- /docs/aswf/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | ASWF 6 | ==== 7 | 8 | .. toctree:: 9 | :caption: ASWF 10 | 11 | license 12 | charter 13 | cla_dco 14 | aswf_docker 15 | -------------------------------------------------------------------------------- /docs/concepts/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Concepts 6 | ======== 7 | 8 | .. toctree:: 9 | :caption: Concepts 10 | 11 | overview/overview 12 | publications/publications -------------------------------------------------------------------------------- /tests/data/files/iridas_3d.cube: -------------------------------------------------------------------------------- 1 | TITLE "A test 3D-LUT." 2 | LUT_3D_SIZE 2 3 | DOMAIN_MIN 0.0 1.0 0.0 4 | DOMAIN_MAX 2.0 2.0 1.0 5 | 6 | 0.0 0.0 0.0 7 | 2.0 0.0 0.0 8 | 0.0 2.0 0.0 9 | 2.0 2.0 0.0 10 | 0.0 0.0 2.0 11 | 2.0 0.0 2.0 12 | 0.0 2.0 2.0 13 | 2.0 2.0 2.0 14 | -------------------------------------------------------------------------------- /tests/data/files/reference_nested.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/reference_nested_2.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_cpuprocessor.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.CPUProcessor 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gpuprocessor.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GPUProcessor 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_transform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Transform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /src/bindings/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | if(OCIO_BUILD_JAVA) 5 | add_subdirectory(java) 6 | endif() 7 | 8 | if(OCIO_BUILD_PYTHON) 9 | add_subdirectory(python) 10 | endif() 11 | -------------------------------------------------------------------------------- /tests/data/files/reference_cycle_itself.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_dynamicproperty.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.DynamicProperty 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingrgbm.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingRGBM 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingtone.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingTone 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /tests/data/files/reference_cycle_2levels.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/reference_cycle_2levels_2.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/reference_cycle_3levels.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/reference_cycle_3levels_2.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/reference_cycle_3levels_3.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /vendor/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | if(OCIO_BUILD_NUKE) 6 | add_subdirectory(nuke) 7 | endif() 8 | 9 | if(OCIO_BUILD_OPENFX) 10 | add_subdirectory(openfx) 11 | endif() 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingprimary.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingPrimary 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingrgbmsw.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingRGBMSW 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /docs/upgrading_v2/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _upgrading_to_v2: 6 | 7 | Upgrading to v2 8 | =============== 9 | 10 | .. toctree:: 11 | :caption: Upgrading to v2 12 | 13 | how_to -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_id_empty.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The id string must not be empty 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_missing_id.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The ProcessList id attribute is missing 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/exposure_contrast_missing_param.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingrgbcurve.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingRGBCurve 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /share/ci/scripts/macos/install_tests_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | pip install -r $HERE/../../../../tests/python/requirements.txt 10 | -------------------------------------------------------------------------------- /share/ci/scripts/windows/install_tests_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | pip install -r $HERE/../../../../tests/python/requirements.txt 10 | -------------------------------------------------------------------------------- /tests/data/files/reference_cycle_path_not_equal.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingcontrolpoint.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingControlPoint 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/apt/install_tests_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | pip install -r $HERE/../../../../../tests/python/requirements.txt 10 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/yum/install_tests_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | pip install -r $HERE/../../../../../tests/python/requirements.txt 10 | -------------------------------------------------------------------------------- /tests/data/files/reference_path_missing_file.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_legacyviewingpipeline.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.LegacyViewingPipeline 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/process_list_missing.clf: -------------------------------------------------------------------------------- 1 | 2 | Missing ProcesssList element 3 | 4 | 3.24000 -1.53700 -0.49850 5 | -0.96930 1.87600 0.04156 6 | 0.05560 -0.20400 1.05730 7 | 8 | -------------------------------------------------------------------------------- /tests/data/files/exposure_contrast_no_gamma.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/data/files/exposure_contrast_bad_style.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/data/files/fixed_function.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/guides/developing/developing.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _developing: 6 | 7 | Developing with OCIO 8 | ==================== 9 | 10 | .. include:: usage_examples.rst 11 | 12 | .. include:: app_helpers.rst 13 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_packedimagedesc.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.PackedImageDesc 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_planarimagedesc.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.PlanarImageDesc 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_cdltransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.CDLTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_logtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.LogTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_looktransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.LookTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/guides/contributing/architectural_notes.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. TODO: To be authored by Patrick Hodoul 6 | 7 | .. _architectural-notes: 8 | 9 | Architectural notes 10 | =================== 11 | 12 | Coming soon... 13 | -------------------------------------------------------------------------------- /share/ci/scripts/macos/install_docs_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | bash $HERE/install_doxygen.sh latest 10 | pip install -r $HERE/../../../../docs/requirements.txt 11 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_lut1dtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Lut1DTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_lut3dtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Lut3DTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_matrixtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.MatrixTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_rangetransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.RangeTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /share/ci/scripts/windows/install_docs_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | bash $HERE/install_doxygen.sh latest 10 | pip install -r $HERE/../../../../docs/requirements.txt 11 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_booltostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: BoolToString(value: bool) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_builtintransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.BuiltinTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exponenttransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ExponentTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_logaffinetransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.LogAffineTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_logcameratransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.LogCameraTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/guides/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Guides 6 | ====== 7 | 8 | .. toctree:: 9 | :caption: Guides 10 | 11 | using_ocio/using_ocio 12 | authoring/authoring 13 | developing/developing 14 | contributing/contributing 15 | -------------------------------------------------------------------------------- /ext/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | ############################################################################### 5 | ### External (modified) third-party C/C++ dependencies ### 6 | 7 | # Sample ICC (modified) 8 | add_subdirectory(sampleicc) 9 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/apt/install_docs_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | bash $HERE/install_doxygen.sh latest 10 | pip install -r $HERE/../../../../../docs/requirements.txt 11 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/yum/install_docs_env.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | HERE=$(dirname $0) 8 | 9 | bash $HERE/install_doxygen.sh latest 10 | pip install -r $HERE/../../../../../docs/requirements.txt 11 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/log_bad_style.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Illegal log style value. 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_boolfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: BoolFromString(str: str) -> bool 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_allocationtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.AllocationTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_bitdepth.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.BitDepth 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_cdlstyle.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.CDLStyle 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_colorspacetransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ColorSpaceTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_displayviewtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.DisplayViewTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingtonetransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingToneTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_viewtype.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ViewType 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/concepts/overview/overview.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _concepts_overview: 6 | 7 | Overview 8 | ======== 9 | 10 | .. include:: introduction.rst 11 | 12 | .. include:: internal_architecture.rst 13 | 14 | .. include:: glossary.rst 15 | -------------------------------------------------------------------------------- /src/cmake/Config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(CMakeFindDependencyMacro) 4 | 5 | include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake) 6 | 7 | include(FindPackageHandleStandardArgs) 8 | set(@PROJECT_NAME@_CONFIG ${CMAKE_CURRENT_LIST_FILE}) 9 | find_package_handle_standard_args(@PROJECT_NAME@ CONFIG_MODE) 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_allocation.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Allocation 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_fixedfunctiontransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.FixedFunctionTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gpulanguage.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GpuLanguage 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingprimarytransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingPrimaryTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_rangestyle.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.RangeStyle 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /src/OpenColorIO/res/OpenColorIO.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: @PROJECT_NAME@ 7 | Version: @PROJECT_VERSION@ 8 | Description: @PROJECT_DESCRIPTION@ 9 | URL: @PROJECT_HOMEPAGE_URL@ 10 | Libs: -L${libdir} -l@PROJECT_NAME@ 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /tests/data/files/reference_one_matrix.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_resetcomputehashfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: ResetComputeHashFunction() -> None 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exposurecontrasttransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ExposureContrastTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingrgbcurvetransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingRGBCurveTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingstyle.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingStyle 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_interpolation.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Interpolation 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_logginglevel.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.LoggingLevel 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_negativestyle.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.NegativeStyle 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_rgbcurvetype.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.RGBCurveType 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_transformtype.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.TransformType 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /share/ocio/setup_ocio.bat.in: -------------------------------------------------------------------------------- 1 | REM SPDX-License-Identifier: BSD-3-Clause 2 | REM Copyright Contributors to the OpenColorIO Project. 3 | 4 | set PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@;%PATH% 5 | 6 | set PATH=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@;%PATH% 7 | set PYTHONPATH=@CMAKE_INSTALL_PREFIX@/@PYTHON_VARIANT_PATH@;%PYTHONPATH% 8 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_channelordering.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ChannelOrdering 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_environmentmode.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.EnvironmentMode 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exponentwithlineartransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ExponentWithLinearTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_lut1dhueadjust.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Lut1DHueAdjust 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_uniformdatatype.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.UniformDataType 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/site/layouts/partials/preloader.html: -------------------------------------------------------------------------------- 1 | {{ if site.Params.preloader.enable }} 2 | {{ "" | safeHTML }} 3 |
4 | {{ with site.Params.preloader.preloader }} 5 | preloader 6 | {{ end }} 7 |
8 | {{ "" | safeHTML }} 9 | {{ end }} 10 | -------------------------------------------------------------------------------- /tests/data/files/cdl_test1.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | this is a description 4 | 1.1 1.2 1.3 5 | 2.1 2.2 2.3 6 | 3.1 3.2 3.3 7 | 8 | 9 | 0.7 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/array_missing_values.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Matrix has too few values. 5 | 6 | 1 2 3 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_missing_inbitdepth.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The inBitDepth is missing 4 | 5 | 6 | 64 7 | 196 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/java/org/OpenColorIO/test.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | this is a descipt 4 | 1.1 1.2 1.3 5 | 2.1 2.2 2.3 6 | 3.1 3.2 3.3 7 | 8 | 9 | 0.7 10 | 11 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_bitdepthtoint.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: BitDepthToInt(bitDepth: PyOpenColorIO.BitDepth) -> int 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_cdlstyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: CDLStyleToString(style: PyOpenColorIO.CDLStyle) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_resettodefaultloggingfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: ResetToDefaultLoggingFunction() -> None 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_fixedfunctionstyle.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.FixedFunctionStyle 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_optimizationflags.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.OptimizationFlags 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_referencespacetype.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ReferenceSpaceType 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_transformdirection.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.TransformDirection 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /share/ci/scripts/macos/install_bison.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | BISON_VERSION="$1" 8 | 9 | if [ "$BISON_VERSION" == "latest" ]; then 10 | brew install bison 11 | else 12 | brew install bison@${BISON_VERSION} 13 | fi 14 | -------------------------------------------------------------------------------- /share/ci/scripts/macos/install_boost.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | BOOST_VERSION="$1" 8 | 9 | if [ "$BOOST_VERSION" == "latest" ]; then 10 | brew install boost 11 | else 12 | brew install boost@${BOOST_VERSION} 13 | fi 14 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/matrix_end_missing.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The Matrix element is not complete. 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_missing_outbitdepth.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The outBitDepth is missing 4 | 5 | 6 | 64 7 | 196 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/gamma_test1.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2.4 gamma 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/data/files/gamma_test2.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/utils/UnitTestMain.cpp: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #include "testutils/UnitTest.h" 6 | 7 | 8 | int main(int argc, const char ** argv) 9 | { 10 | std::cerr << "\n OpenColorIO_Utils_Unit_Tests \n\n"; 11 | 12 | return UnitTestMain(argc, argv); 13 | } 14 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_bitdepthfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: BitDepthFromString(str: str) -> PyOpenColorIO.BitDepth 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_bitdepthisfloat.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: BitDepthIsFloat(bitDepth: PyOpenColorIO.BitDepth) -> bool 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_bitdepthtostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: BitDepthToString(bitDepth: PyOpenColorIO.BitDepth) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_cdlstylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: CDLStyleFromString(str: str) -> PyOpenColorIO.CDLStyle 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_colorspacedirection.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ColorSpaceDirection 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_colorspacevisibility.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ColorSpaceVisibility 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_dynamicpropertytype.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.DynamicPropertyType 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_exposurecontraststyle.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ExposureContrastStyle 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_processorcacheflags.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ProcessorCacheFlags 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /tests/data/files/cdl_test_ASC_SAT.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | this is a description 4 | 1.1 1.2 1.3 5 | 2.1 2.2 2.3 6 | 3.1 3.2 3.3 7 | 8 | 9 | 0.42 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/cdl_test_ASC_SOP.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | this is a description 4 | 1.1 1.2 1.3 5 | 2.1 2.2 2.3 6 | 3.1 3.2 3.3 7 | 8 | 9 | 0.42 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/cdl_test_SATNode.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | this is a description 4 | 1.1 1.2 1.3 5 | 2.1 2.2 2.3 6 | 3.1 3.2 3.3 7 | 8 | 9 | 0.42 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/range_empty.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Starting in CLF v3, a Range may not be empty 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_allocationfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: AllocationFromString(str: str) -> PyOpenColorIO.Allocation 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_rangestylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: RangeStyleFromString(str: str) -> PyOpenColorIO.RangeStyle 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_rangestyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: RangeStyleToString(style: PyOpenColorIO.RangeStyle) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_viewtransformdirection.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ViewTransformDirection 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/configurations/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Configurations 6 | ============== 7 | 8 | .. _configurations: 9 | 10 | .. toctree:: 11 | :caption: Configurations 12 | 13 | aces_1.0.3 14 | nuke_default 15 | spi_anim 16 | spi_vfx 17 | ocio_v2_demo 18 | -------------------------------------------------------------------------------- /docs/site/layouts/index.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | 3 | {{ partial "navigation.html" . }} 4 | 5 | {{ partial "banner.html" . }} 6 | 7 | {{ partial "start.html" . }} 8 | 9 | {{ partial "news.html" . }} 10 | 11 | {{ partial "supported_apps.html" . }} 12 | 13 | 14 | 15 | {{ partial "contact.html" . }} 16 | 17 | {{ end }} -------------------------------------------------------------------------------- /share/ci/scripts/macos/install_doxygen.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | DOXYGEN_VERSION="$1" 8 | 9 | if [ "$DOXYGEN_VERSION" == "latest" ]; then 10 | brew install doxygen 11 | else 12 | brew install doxygen@${DOXYGEN_VERSION} 13 | fi 14 | -------------------------------------------------------------------------------- /share/ci/scripts/macos/install_oiio.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | OIIO_VERSION="$1" 8 | 9 | if [ "$OIIO_VERSION" == "latest" ]; then 10 | brew install openimageio 11 | else 12 | brew install openimageio@${OIIO_VERSION} 13 | fi 14 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_allocationtostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: AllocationToString(allocation: PyOpenColorIO.Allocation) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_gpulanguagefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GpuLanguageFromString(str: str) -> PyOpenColorIO.GpuLanguage 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_gpulanguagetostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GpuLanguageToString(language: PyOpenColorIO.GpuLanguage) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_gradingstylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GradingStyleFromString(str: str) -> PyOpenColorIO.GradingStyle 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_gradingstyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GradingStyleToString(style: PyOpenColorIO.GradingStyle) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_logginglevelfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: LoggingLevelFromString(str: str) -> PyOpenColorIO.LoggingLevel 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_loggingleveltostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: LoggingLevelToString(level: PyOpenColorIO.LoggingLevel) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_negativestyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: NegativeStyleToString(style: PyOpenColorIO.NegativeStyle) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_namedtransformvisibility.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.NamedTransformVisibility 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_searchreferencespacetype.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.SearchReferenceSpaceType 6 | :members: 7 | :undoc-members: 8 | :exclude-members: name 9 | 10 | .. py:method:: name() -> str 11 | :property: 12 | -------------------------------------------------------------------------------- /docs/quick_start/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Quick Start 6 | =========== 7 | 8 | .. toctree:: 9 | :caption: Quick Start 10 | 11 | for_artists 12 | for_config_authors 13 | for_devs 14 | for_contributors 15 | downloads 16 | installation 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/data/files/reference_alias_path.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Error: may not have both alias and path in one Reference 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_environmentmodetostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: EnvironmentModeToString(mode: PyOpenColorIO.EnvironmentMode) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_interpolationfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: InterpolationFromString(str: str) -> PyOpenColorIO.Interpolation 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_negativestylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: NegativeStyleFromString(str: str) -> PyOpenColorIO.NegativeStyle 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/apt/install_doxygen.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | DOXYGEN_VERSION="$1" 8 | 9 | if [ "$DOXYGEN_VERSION" == "latest" ]; then 10 | apt-get install doxygen 11 | else 12 | apt-get install doxygen=${DOXYGEN_VERSION} 13 | fi 14 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/yum/install_doxygen.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | DOXYGEN_VERSION="$1" 8 | 9 | if [ "$DOXYGEN_VERSION" == "latest" ]; then 10 | yum install -y doxygen 11 | else 12 | yum install -y doxygen-${DOXYGEN_VERSION} 13 | fi 14 | -------------------------------------------------------------------------------- /tests/data/files/references_same_twice.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_environmentmodefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: EnvironmentModeFromString(str: str) -> PyOpenColorIO.EnvironmentMode 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_interpolationtostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: InterpolationToString(interpolation: PyOpenColorIO.Interpolation) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /src/bindings/java/org/OpenColorIO/ExceptionBase.java: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | package org.OpenColorIO; 5 | import org.OpenColorIO.*; 6 | 7 | public class ExceptionBase extends java.lang.Exception 8 | { 9 | public ExceptionBase(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/bindings/java/org/OpenColorIO/ImageDesc.java: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | package org.OpenColorIO; 5 | import org.OpenColorIO.*; 6 | 7 | public class ImageDesc extends LoadLibrary 8 | { 9 | public ImageDesc() { super(); } 10 | protected ImageDesc(long impl) { super(impl); } 11 | }; 12 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_fixedfunctionstyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: FixedFunctionStyleToString(style: PyOpenColorIO.FixedFunctionStyle) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_isenvvariablepresent.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: IsEnvVariablePresent(name: str) -> bool 7 | :module: PyOpenColorIO 8 | 9 | cpp:function:: 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/gamma_test6.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Identity test 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_fixedfunctionstylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: FixedFunctionStyleFromString(str: str) -> PyOpenColorIO.FixedFunctionStyle 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_transformdirectiontostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: TransformDirectionToString(direction: PyOpenColorIO.TransformDirection) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /share/cmake/macros/PackageUtils.cmake: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | # 4 | # General CMake utility macros. 5 | # 6 | 7 | macro(package_root_message package) 8 | if(NOT "${${package}_FOUND}") 9 | message(STATUS "Use \"${package}_ROOT\" to specify an install location") 10 | endif() 11 | endmacro() 12 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_exposurecontraststyletostring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: ExposureContrastStyleToString(style: PyOpenColorIO.ExposureContrastStyle) -> str 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /share/ci/scripts/windows/install_doxygen.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | DOXYGEN_VERSION="$1" 8 | 9 | if [ "$DOXYGEN_VERSION" == "latest" ]; then 10 | choco install doxygen.install 11 | else 12 | choco install doxygen.install --version=${DOXYGEN_VERSION} 13 | fi 14 | -------------------------------------------------------------------------------- /src/bindings/java/org/OpenColorIO/ExceptionMissingFile.java: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | package org.OpenColorIO; 5 | import org.OpenColorIO.*; 6 | 7 | public class ExceptionMissingFile extends ExceptionBase 8 | { 9 | public ExceptionMissingFile(String msg) { 10 | super(msg); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /tests/data/files/exposure_contrast_video_dp.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_exposurecontraststylefromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: ExposureContrastStyleFromString(str: str) -> PyOpenColorIO.ExposureContrastStyle 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /src/libutils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | if(TARGET test_gpu_exec OR 5 | TARGET ociodisplay OR 6 | TARGET ociochecklut OR 7 | TARGET ocioconvert 8 | ) 9 | add_subdirectory(oglapphelpers) 10 | endif() 11 | 12 | if(TARGET ocioconvert) 13 | add_subdirectory(oiiohelpers) 14 | endif() 15 | -------------------------------------------------------------------------------- /tests/data/files/gamma_test4.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/utils/Half.h.in: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_IMATH_H 6 | #define INCLUDED_OCIO_IMATH_H 7 | 8 | #define OCIO_USE_IMATH_HALF @OCIO_USE_IMATH_HALF@ 9 | 10 | #if OCIO_USE_IMATH_HALF 11 | # include 12 | #else 13 | # include 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /tests/data/files/cdl_test2.cc: -------------------------------------------------------------------------------- 1 | 2 | 3 | Example look 4 | 1.0 1.0 0.9 5 | -.03 -2e-2 0 6 | 1.25 1 1e0 7 | 8 | 9 | boosting sat 10 | 1.700000 11 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/aftereffects/vc/vc15/utils/Half.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_IMATH_H 6 | #define INCLUDED_OCIO_IMATH_H 7 | 8 | #define OCIO_USE_IMATH_HALF 0 9 | 10 | #if OCIO_USE_IMATH_HALF 11 | # include 12 | #else 13 | # include 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /vendor/aftereffects/xcode/xcode12/utils/Half.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_IMATH_H 6 | #define INCLUDED_OCIO_IMATH_H 7 | 8 | #define OCIO_USE_IMATH_HALF 0 9 | 10 | #if OCIO_USE_IMATH_HALF 11 | # include 12 | #else 13 | # include 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /vendor/aftereffects/xcode/xcode9/utils/Half.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_IMATH_H 6 | #define INCLUDED_OCIO_IMATH_H 7 | 8 | #define OCIO_USE_IMATH_HALF 0 9 | 10 | #if OCIO_USE_IMATH_HALF 11 | # include 12 | #else 13 | # include 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_setlogginglevel.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: SetLoggingLevel(level: PyOpenColorIO.LoggingLevel) -> None 7 | :module: PyOpenColorIO 8 | 9 | Set the global logging level. 10 | 11 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_unsetenvvariable.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: UnsetEnvVariable(name: str) -> None 7 | :module: PyOpenColorIO 8 | 9 | .. warning:: 10 | This method is not thread safe. 11 | 12 | -------------------------------------------------------------------------------- /ext/sampleicc/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | # Sample ICC (modified) 5 | # http://sampleicc.sourceforge.net 6 | add_library(sampleicc::sampleicc INTERFACE IMPORTED GLOBAL) 7 | set_target_properties(sampleicc::sampleicc PROPERTIES 8 | INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/src/include" 9 | ) 10 | -------------------------------------------------------------------------------- /tests/data/files/lut1d_hue_adjust_test.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 0.000635258 6 | 0.002711502 7 | 0.006484435 8 | 0.012209762 9 | 0.020143187 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/exponent_bad_param.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The basic styles may not use the offset param 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/exponent_bad_value.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The moncurve style requires an exponent >= 1. 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_getinversetransformdirection.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GetInverseTransformDirection(direction: PyOpenColorIO.TransformDirection) -> PyOpenColorIO.TransformDirection 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_setenvvariable.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: SetEnvVariable(name: str, value: str) -> None 7 | :module: PyOpenColorIO 8 | 9 | .. warning:: 10 | This method is not thread safe. 11 | 12 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_logmessage.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: LogMessage(level: PyOpenColorIO.LoggingLevel, message: str) -> None 7 | :module: PyOpenColorIO 8 | 9 | Log a message using the library logging function. 10 | 11 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_baker.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Baker 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | :exclude-members: FormatIterator 10 | 11 | .. autoclass:: PyOpenColorIO.Baker.FormatIterator 12 | :special-members: __getitem__, __iter__, __len__, __next__ 13 | -------------------------------------------------------------------------------- /docs/configurations/ocio_v2_demo.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _ocio-v2_demo: 6 | 7 | ocio-v2_demo 8 | ============ 9 | 10 | Note: this is not intended to be a complete production-ready config, its purpose 11 | is to introduce many of the new features in OCIO v2. 12 | 13 | 14 | .. literalinclude:: ocio-v2_demo.ocio 15 | :language: yaml 16 | -------------------------------------------------------------------------------- /src/apputils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | set(SOURCES 5 | argparse.cpp 6 | strutil.cpp 7 | ) 8 | 9 | add_library(apputils STATIC ${SOURCES}) 10 | 11 | target_include_directories(apputils PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..) 12 | 13 | set_target_properties(apputils PROPERTIES 14 | COMPILE_FLAGS "${PLATFORM_COMPILE_FLAGS}" 15 | ) 16 | -------------------------------------------------------------------------------- /tests/data/files/gamma_alpha_test2.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/data/files/log_logtolinv2.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Check that the Cineon style params may still be used with CTF v2. 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_displayviewhelpers.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autofunction:: PyOpenColorIO.DisplayViewHelpers.GetProcessor 6 | .. autofunction:: PyOpenColorIO.DisplayViewHelpers.GetIdentityProcessor 7 | .. autofunction:: PyOpenColorIO.DisplayViewHelpers.AddDisplayView 8 | .. autofunction:: PyOpenColorIO.DisplayViewHelpers.RemoveDisplayView 9 | -------------------------------------------------------------------------------- /docs/site/layouts/_default/baseof.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ partial "head.html" . }} 4 | 5 | 6 |
7 | {{ partial "preloader.html" . }} 8 | {{- block "main" . }}{{- end }} 9 |
10 | {{- partial "footer.html" . -}} 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_transformdirectionfromstring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: TransformDirectionFromString(str: str) -> PyOpenColorIO.TransformDirection 7 | :module: PyOpenColorIO 8 | 9 | Will throw if string is not recognized. 10 | 11 | -------------------------------------------------------------------------------- /src/OpenColorIO/pkgconfig/OpenColorIO.pc.in: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 5 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 6 | 7 | Name: OpenColorIO 8 | Description: A color management framework for visual effects and animation 9 | Version: @OCIO_VERSION_FULL_STR@ 10 | Cflags: -I${includedir} 11 | Libs: -L${libdir} -lOpenColorIO 12 | -------------------------------------------------------------------------------- /docs/tutorials/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Tutorials 6 | ========= 7 | 8 | We would like to have more tutorials, please help us add some! :) 9 | 10 | An easy way to get involved is to join the #docs channel on :ref:`slack`. 11 | 12 | 13 | .. toctree:: 14 | :caption: Tutorials 15 | :maxdepth: 2 16 | 17 | baking_luts 18 | contributing 19 | -------------------------------------------------------------------------------- /tests/cmake-consumer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | set(TEST_DEST_DIR "${CMAKE_BINARY_DIR}/tests/cmake-consumer-dist") 5 | 6 | file(MAKE_DIRECTORY ${TEST_DEST_DIR}) 7 | 8 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt.in ${TEST_DEST_DIR}/CMakeLists.txt COPYONLY) 9 | file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/consumer.cpp DESTINATION ${TEST_DEST_DIR}) 10 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/log_bad_param.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The linToLog style may not contain the linSideBreak param. 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/data/files/clf/matrix_no_newlines.clf: -------------------------------------------------------------------------------- 1 | Example with minimal newlinesArray values separated only by tabs3.6 0.1 -0.2 0.3 0.2 3.5 +0.1 -0.05 1E-01 -0.3 0.34e+01 -4e-1 -------------------------------------------------------------------------------- /vendor/mari/1.4v1/README: -------------------------------------------------------------------------------- 1 | These files ship with Mari, and are *not* required to be manually installed. 2 | 3 | They are provided as a reference example of using the OCIO API to create a GPU 4 | monitor implementation in python. 5 | 6 | Media/Scripts/mari/utils/ocio.py 7 | Media/Scripts/mari/system/_ocio_toolbar.py 8 | Media/Scripts/mari/system/_ocio_filter.py 9 | 10 | All code in these examples is Copyright (c) 2011 The Foundry Visionmongers Ltd. 11 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_combinetransformdirections.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: CombineTransformDirections(direction1: PyOpenColorIO.TransformDirection, direction2: PyOpenColorIO.TransformDirection) -> PyOpenColorIO.TransformDirection 7 | :module: PyOpenColorIO 8 | 9 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_systemmonitors.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.SystemMonitors 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | :exclude-members: MonitorIterator 10 | 11 | .. autoclass:: PyOpenColorIO.SystemMonitors.MonitorIterator 12 | :special-members: __getitem__, __iter__, __len__, __next__ 13 | -------------------------------------------------------------------------------- /docs/site/layouts/404.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | 3 | {{ partial "navigation.html" . }} 4 | 5 |
6 |
7 |
8 |
9 |

404

10 |

Page Not Found

11 | Back to home 12 |
13 |
14 |
15 |
16 | 17 | {{ end }} 18 | -------------------------------------------------------------------------------- /share/cmake/macros/VariableUtils.cmake: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | # 4 | # General CMake utility macros. 5 | # 6 | 7 | macro(set_unless_defined var_name var_default) 8 | if(NOT DEFINED ${var_name}) 9 | set(${var_name} ${var_default}) 10 | else() 11 | message(STATUS "Variable explicitly defined: ${var_name} = ${${var_name}}") 12 | endif() 13 | endmacro() 14 | -------------------------------------------------------------------------------- /src/bindings/java/LoadLibrary.java.in: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | package org.OpenColorIO; 5 | 6 | public class LoadLibrary 7 | { 8 | public LoadLibrary() { } 9 | protected LoadLibrary(long impl) { m_impl = impl; } 10 | public long m_impl = 0; 11 | static 12 | { 13 | System.loadLibrary("OpenColorIO-JNI.@OpenColorIO_VERSION@"); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /tests/data/files/gamma_test3.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Rec 709 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_getenvvariable.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GetEnvVariable(name: str) -> str 7 | :module: PyOpenColorIO 8 | 9 | Another call modifies the string obtained from a previous call as the method always uses the same memory buffer. 10 | 11 | -------------------------------------------------------------------------------- /tests/cpu/UnitTestOptimFlags.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #include 6 | 7 | class OCIOOptimizationFlagsEnvGuard 8 | { 9 | public: 10 | OCIOOptimizationFlagsEnvGuard() = delete; 11 | OCIOOptimizationFlagsEnvGuard(const char * value); 12 | ~OCIOOptimizationFlagsEnvGuard(); 13 | 14 | private: 15 | std::string m_optimizationFlagEnv{ "" }; 16 | }; 17 | 18 | -------------------------------------------------------------------------------- /tests/data/files/matrix_offsets_example.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 3.24000 -1.53700 -0.49850 1 6 | -0.96930 1.87600 0.04156 2 7 | 0.05560 -0.20400 1.05730 3 8 | 0 0 0 1.0 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/data/files/clf/matrix_windows.clf: -------------------------------------------------------------------------------- 1 | 2 | This file has Windows line-endings. 3 | Also, the file does not start with a ?xml header. 4 | 5 | 6 | 4095 0 0 7 | 0 4095 0 8 | 0 0 4095 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/lut3by1d_nan_infinity_example.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test support for NaN and Inf in Array values 4 | 5 | 6 | NAN -NAN -NAN 7 | NaN nan INF 8 | inf inFInity -inf 9 | -infinity 0 0 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/python/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | set(BUILD_TYPE "") 5 | if (MSVC_IDE) 6 | # Note: By default Microsoft Visual Studio editor happens the build type to the build directory. 7 | set(BUILD_TYPE ${CMAKE_BUILD_TYPE}) 8 | endif() 9 | 10 | add_test(test_python ${Python_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/OpenColorIOTestSuite.py ${CMAKE_BINARY_DIR} ${BUILD_TYPE}) 11 | -------------------------------------------------------------------------------- /docs/configurations/spi_anim.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | spi-anim 6 | ======== 7 | 8 | This is a real OCIO color profile in use at Sony Pictures Imageworks, and is suitable for use on animated features. The concepts utilized in this profile have been successfully validated on a variety of Sony Pictures Animation features including Cloudy With A Chance Of Meatballs, Surf's Up, and Arthur Christmas. 9 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/lut3d_unequal_size.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Lut3d must have equal grid dimensions 4 | 5 | 6 | 0 0 0 7 | 0 0 1 8 | 0 1 0 9 | 0 1 1 10 | 0 0 0 11 | 0 0 1 12 | 0 1 0 13 | 0 1 1 14 | 1 0 0 15 | 1 0 1 16 | 1 1 0 17 | 1 1 1 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /tests/data/files/lut1d_hue_adjust_invalid_style.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Illegal hue adjust attribute. 4 | 5 | 6 | 0.000635258 7 | 0.002711502 8 | 0.006484435 9 | 0.012209762 10 | 0.020143187 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/data/files/matrix_offsets_example_1_3.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 3.24000 -1.53700 -0.49850 1 6 | -0.96930 1.87600 0.04156 2 7 | 0.05560 -0.20400 1.05730 3 8 | 0 0 0 1.0 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /share/cmake/scripts/PatchOpenEXR.cmake: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | # Disable OpenEXR in the root CMakeLists.txt file, so that only IlmBase is 5 | # configured. 6 | file(READ CMakeLists.txt _OpenEXR_CMAKE_DATA) 7 | string(REGEX REPLACE "^(.*)(add_subdirectory\\(OpenEXR\\))(.*)$" "\\1#\\2\\3" 8 | _OpenEXR_CMAKE_DATA "${_OpenEXR_CMAKE_DATA}") 9 | file(WRITE CMakeLists.txt "${_OpenEXR_CMAKE_DATA}") 10 | -------------------------------------------------------------------------------- /src/OpenColorIO/TransformBuilder.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_TRANSFORMBUILDER_H 5 | #define INCLUDED_OCIO_TRANSFORMBUILDER_H 6 | 7 | #include 8 | 9 | #include "Op.h" 10 | 11 | namespace OCIO_NAMESPACE 12 | { 13 | 14 | void CreateTransform(GroupTransformRcPtr & group, ConstOpRcPtr & op); 15 | 16 | } // namespace OCIO_NAMESPACE 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /tests/data/files/clf/range_test1_clamp.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic range example 4 | 5 | 16 6 | 240 7 | -0.5 8 | 2 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/gamma_alpha_test1.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2.4 gamma 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/log/LogOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_LOG_LOGOP_CPU_H 6 | #define INCLUDED_OCIO_LOG_LOGOP_CPU_H 7 | 8 | #include 9 | 10 | #include "ops/log/LogOpData.h" 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | ConstOpCPURcPtr GetLogRenderer(ConstLogOpDataRcPtr & log, bool fastExp); 15 | 16 | } // namespace OCIO_NAMESPACE 17 | 18 | #endif -------------------------------------------------------------------------------- /src/bindings/python/PyGpuShaderCreator.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_PYGPUSHADERCREATOR_H 5 | #define INCLUDED_OCIO_PYGPUSHADERCREATOR_H 6 | 7 | #include "PyOpenColorIO.h" 8 | #include "PyUtils.h" 9 | namespace OCIO_NAMESPACE 10 | { 11 | 12 | void bindPyGpuShaderDesc(py::module & m); 13 | 14 | } // namespace OCIO_NAMESPACE 15 | 16 | #endif // INCLUDED_OCIO_PYGPUSHADERCREATOR_H 17 | -------------------------------------------------------------------------------- /tests/data/files/gamma_alpha_test4.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_getversion.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GetVersion() -> str 7 | :module: PyOpenColorIO 8 | 9 | Get the version number for the library, as a dot-delimited string (e.g., "1.0.0"). 10 | 11 | This is also available at compile time as OCIO_VERSION_FULL_STR. 12 | 13 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_filetransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.FileTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :inherited-members: 10 | :exclude-members: FormatIterator 11 | 12 | .. autoclass:: PyOpenColorIO.FileTransform.FormatIterator 13 | :special-members: __getitem__, __iter__, __len__, __next__ 14 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_viewtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ViewTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :exclude-members: ViewTransformCategoryIterator 10 | 11 | .. autoclass:: PyOpenColorIO.ViewTransform.ViewTransformCategoryIterator 12 | :special-members: __getitem__, __iter__, __len__, __next__ 13 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_exception.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:exception:: Exception 7 | :module: PyOpenColorIO 8 | 9 | An exception class to throw for errors detected at runtime. 10 | 11 | .. warning:: 12 | All functions in the :ref:`Config` class can potentially throw this exception. 13 | 14 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_setcomputehashfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: SetComputeHashFunction(hashFunction: Callable[[str], str]) -> None 7 | :module: PyOpenColorIO 8 | 9 | Set the Compute Hash Function to use; otherwise, use the default. 10 | 11 | :param ComputeHashFunction: 12 | 13 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_namedtransform.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.NamedTransform 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :exclude-members: NamedTransformCategoryIterator 10 | 11 | .. autoclass:: PyOpenColorIO.NamedTransform.NamedTransformCategoryIterator 12 | :special-members: __getitem__, __iter__, __len__, __next__ 13 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/range_bad_noclamp.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The noClamp style may not be used when there are only two values. 4 | 5 | 0.1 6 | 1e-1 7 | 8 | 9 | -------------------------------------------------------------------------------- /vendor/photoshop/win/resource1.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by OpenColorIO_PS_Dialog.rc 4 | // 5 | 6 | // Next default values for new objects 7 | // 8 | #ifdef APSTUDIO_INVOKED 9 | #ifndef APSTUDIO_READONLY_SYMBOLS 10 | #define _APS_NEXT_RESOURCE_VALUE 102 11 | #define _APS_NEXT_COMMAND_VALUE 40001 12 | #define _APS_NEXT_CONTROL_VALUE 1013 13 | #define _APS_NEXT_SYMED_VALUE 101 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/lut3d/Lut3DOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_LUT3DOP_CPU_H 5 | #define INCLUDED_OCIO_LUT3DOP_CPU_H 6 | 7 | #include 8 | 9 | #include "Op.h" 10 | #include "ops/lut3d/Lut3DOpData.h" 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | 15 | ConstOpCPURcPtr GetLut3DRenderer(ConstLut3DOpDataRcPtr & lut); 16 | 17 | } // namespace OCIO_NAMESPACE 18 | 19 | #endif -------------------------------------------------------------------------------- /src/bindings/java/Manifest.txt.in: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | Name: org/OpenColorIO/ 5 | Specification-Title: OpenColorIO - Open Source Color Management 6 | Specification-Version: @OpenColorIO_VERSION@ 7 | Specification-Vendor: Sony Pictures Imageworks Inc., et al. 8 | Implementation-Title: org.OpenColorIO 9 | Implementation-Version: @OpenColorIO_VERSION@ 10 | Implementation-Vendor: Sony Pictures Imageworks Inc., et al. 11 | -------------------------------------------------------------------------------- /tests/data/files/gamma_alpha_test6.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Cannot mix moncurve RGB with basic alpha 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/lut1d/Lut1DOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_LUT1DOP_CPU_H 5 | #define INCLUDED_OCIO_LUT1DOP_CPU_H 6 | 7 | #include 8 | 9 | #include "ops/lut1d/Lut1DOpData.h" 10 | 11 | namespace OCIO_NAMESPACE 12 | { 13 | 14 | ConstOpCPURcPtr GetLut1DRenderer(ConstLut1DOpDataRcPtr & lut, BitDepth in, BitDepth out); 15 | 16 | } // namespace OCIO_NAMESPACE 17 | 18 | #endif -------------------------------------------------------------------------------- /src/OpenColorIO/ops/range/RangeOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_RANGEOP_CPU_H 6 | #define INCLUDED_OCIO_RANGEOP_CPU_H 7 | 8 | 9 | #include 10 | 11 | #include "ops/range/RangeOpData.h" 12 | 13 | 14 | namespace OCIO_NAMESPACE 15 | { 16 | 17 | ConstOpCPURcPtr GetRangeRenderer(ConstRangeOpDataRcPtr & range); 18 | 19 | } // namespace OCIO_NAMESPACE 20 | 21 | 22 | #endif -------------------------------------------------------------------------------- /tests/cmake-consumer/consumer.cpp: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | // Check that OCIO library can be consumed by a cmake build 6 | 7 | #include 8 | 9 | #include 10 | 11 | namespace OCIO = OCIO_NAMESPACE; 12 | 13 | 14 | int main(int argc, char** argv) 15 | { 16 | auto reg = OCIO::BuiltinTransformRegistry::Get(); 17 | assert(reg->getNumBuiltins() > 0); 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/log_bad_version.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Version is too low to support Log. 4 | inputDesc 5 | outputDesc 6 | 7 | Log10 logarithm operation 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/matrix/MatrixOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_CPU_MATRIXOP_H 5 | #define INCLUDED_OCIO_CPU_MATRIXOP_H 6 | 7 | #include 8 | 9 | #include "Op.h" 10 | #include "ops/matrix/MatrixOpData.h" 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | 15 | ConstOpCPURcPtr GetMatrixRenderer(ConstMatrixOpDataRcPtr & mat); 16 | 17 | } // namespace OCIO_NAMESPACE 18 | 19 | #endif -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/array_bad_value.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Array has a non-numeric character 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 P 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_bad_outdepth.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The outBitDepth is illegal 4 | 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 1.87600 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/bindings/java/org/OpenColorIO/LogTransform.java: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | package org.OpenColorIO; 5 | import org.OpenColorIO.*; 6 | 7 | public class LogTransform extends Transform 8 | { 9 | public LogTransform() { super(); } 10 | protected LogTransform(long impl) { super(impl); } 11 | public native LogTransform Create(); 12 | public native void setBase(float val); 13 | public native float getBase(); 14 | } 15 | -------------------------------------------------------------------------------- /tests/data/files/clf/cdl_missing_sat.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Missing Sat defaults to 1 4 | 5 | ASC CDL operation 6 | 7 | 1.35 1.1 0.71 8 | 0.05 -0.23 0.11 9 | 0.93 0.81 1.27 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_gradingbsplinecurve.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.GradingBSplineCurve 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__, __str__ 9 | :exclude-members: GradingControlPointIterator 10 | 11 | .. autoclass:: PyOpenColorIO.GradingBSplineCurve.GradingControlPointIterator 12 | :special-members: __getitem__, __setitem__, __iter__, __len__, __next__ 13 | -------------------------------------------------------------------------------- /docs/site/homepage/data/en/banner.yml: -------------------------------------------------------------------------------- 1 | ############################### Banner ################################ 2 | banner: 3 | enable : true 4 | icon : "" # themify icon pack : https://themify.me/themify-icons 5 | logo : "images/ocio_full_w4x.png" 6 | title : "OpenColorIO" 7 | content : "A complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation." 8 | button: 9 | enable : true 10 | label : "Get Started" 11 | link : "#start" -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/log_missing_breakpnt.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The camera styles must have the linSideBreak param. 4 | 5 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/data/files/clf/range_test2.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Range that clamps on the low side 4 | 5 | 6 | 0.1 7 | 1e-1 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/data/files/gamma_test5.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Alpha param not allowed for versions below 1.5 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_setloggingfunction.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: SetLoggingFunction(logFunction: Callable[[str], None]) -> None 7 | :module: PyOpenColorIO 8 | 9 | Set the logging function to use; otherwise, use the default (i.e. std::cerr). 10 | 11 | .. note:: 12 | The logging mechanism is thread-safe. 13 | 14 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/install_numpy.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | if [[ "$(python -c 'import sys; print(sys.version_info[0])')" == "2" ]]; then 8 | # Python 2 9 | NUMPY_VERSION="$1" 10 | else 11 | # Python 3 12 | NUMPY_VERSION="${2:-${1}}" 13 | fi 14 | 15 | if [ "$NUMPY_VERSION" == "latest" ]; then 16 | sudo pip install numpy 17 | else 18 | sudo pip install numpy==${NUMPY_VERSION} 19 | fi -------------------------------------------------------------------------------- /share/ocio/setup_ocio.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | # For OS X 6 | export DYLD_LIBRARY_PATH="@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@:${DYLD_LIBRARY_PATH}" 7 | 8 | # For Linux 9 | export LD_LIBRARY_PATH="@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@:${LD_LIBRARY_PATH}" 10 | 11 | export PATH="@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@:${PATH}" 12 | export PYTHONPATH="@CMAKE_INSTALL_PREFIX@/@PYTHON_VARIANT_PATH@:${PYTHONPATH}" 13 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_getversionhex.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GetVersionHex() -> int 7 | :module: PyOpenColorIO 8 | 9 | Get the version number for the library, as a single 4-byte hex number (e.g., 0x01050200 for "1.5.2"), to be used for numeric comparisons. 10 | 11 | This is also at compile time as OCIO_VERSION_HEX. 12 | 13 | -------------------------------------------------------------------------------- /src/apps/ociowrite/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | set(SOURCES 5 | main.cpp 6 | ) 7 | 8 | add_executable(ociowrite ${SOURCES}) 9 | 10 | set_target_properties(ociowrite PROPERTIES 11 | COMPILE_FLAGS "${PLATFORM_COMPILE_FLAGS}") 12 | 13 | target_link_libraries(ociowrite 14 | PRIVATE 15 | apputils 16 | OpenColorIO 17 | ) 18 | 19 | install(TARGETS ociowrite 20 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 21 | ) 22 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/array_bad_dimension.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Array dim attribute is not legal. 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 1.87600 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/range_bad_values.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Illegal values -- the minInValue must be less than the maxInValue. 4 | 5 | 240 6 | 240 7 | -0.5 8 | 2 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/osl/UnitTestTypes.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef OPENCOLORIO_OSL_UNITTEST_TYPES_H 6 | #define OPENCOLORIO_OSL_UNITTEST_TYPES_H 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | // Utility type to mimic the OSL::Vec4 13 | using Vec4 = std::array; 14 | 15 | // Utility to hold an image to process. 16 | using Image = std::vector; 17 | 18 | 19 | #endif /* OPENCOLORIO_OSL_UNITTEST_TYPES_H */ 20 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/process_list_bad_version.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Not a legal compCLFversion string 4 | 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 1.87600 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/api/baker.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Baker 6 | ===== 7 | 8 | .. tabs:: 9 | 10 | .. group-tab:: Python 11 | 12 | .. include:: python/${PYDIR}/pyopencolorio_baker.rst 13 | 14 | .. group-tab:: C++ 15 | 16 | .. doxygenclass:: ${OCIO_NAMESPACE}::Baker 17 | :members: 18 | :undoc-members: 19 | 20 | .. doxygentypedef:: ${OCIO_NAMESPACE}::ConstBakerRcPtr 21 | .. doxygentypedef:: ${OCIO_NAMESPACE}::BakerRcPtr 22 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/range_nonmatching_clamp.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | If there is only a min or only a max, the InValue must equal OutValue. 4 | Since the bit-depths are different, they are not actually the same here. 5 | 6 | 256 7 | 256 8 | 9 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_element_end_missing.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | ProcessList must have an end tag 4 | 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 1.87600 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 10 | 11 | Note closing element is missing 12 | -------------------------------------------------------------------------------- /tests/gpu/GPUHelpers.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef OPENCOLORIO_GPU_HELPERS_H 6 | #define OPENCOLORIO_GPU_HELPERS_H 7 | 8 | 9 | #include 10 | 11 | // FIXME: Duplicate function implemented in `src/OpenColorIO/Platform.h and cpp`. 12 | // Implement a function or class for temporary file creation useable by all tests. 13 | std::string createTempFile(const std::string& fileExt, const std::string& fileContent); 14 | 15 | 16 | #endif -------------------------------------------------------------------------------- /docs/concepts/publications/publications.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _publications: 6 | 7 | Publications 8 | ============ 9 | 10 | DigiPro 2020 **paper** `"The ASWF takes OpenColorIO to the Next Level" `_ 11 | 12 | DigiPro 2020 **video** `"The ASWF takes OpenColorIO to the Next Level" `_ 13 | 14 | `Cinematic Color `_ 15 | -------------------------------------------------------------------------------- /src/OpenColorIO/fileformats/FileFormatICC.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_FILE_FORMAT_ICC_H 6 | #define INCLUDED_OCIO_FILE_FORMAT_ICC_H 7 | 8 | #include 9 | 10 | #include 11 | 12 | 13 | namespace OCIO_NAMESPACE 14 | { 15 | 16 | std::string GetProfileDescriptionFromICCProfile(const char * ICCProfileFilepath); 17 | 18 | } // namespace OCIO_NAMESPACE 19 | 20 | #endif // INCLUDED_OCIO_FILE_FORMAT_ICC_H 21 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/log/LogOpGPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_LOG_GPU_H 5 | #define INCLUDED_OCIO_LOG_GPU_H 6 | 7 | #include 8 | 9 | #include "GpuShaderUtils.h" 10 | #include "ops/log/LogOpData.h" 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | 15 | void GetLogGPUShaderProgram(GpuShaderCreatorRcPtr & shaderCreator, ConstLogOpDataRcPtr & logData); 16 | 17 | } // namespace OCIO_NAMESPACE 18 | 19 | #endif 20 | 21 | 22 | -------------------------------------------------------------------------------- /tests/data/files/clf/cdl_missing_sop.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Missing SOP defaults to identity params 4 | inputDesc 5 | outputDesc 6 | 7 | ASC CDL operation 8 | 9 | 1.239 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/cdl_bad_slope.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Slope must have 3 values. 4 | 5 | 6 | 1.35 1.1 7 | 0.05 -0.23 0.11 8 | 0.93 0.81 1.27 9 | 10 | 11 | 1.239 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/aswf/license.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _license: 6 | 7 | License 8 | ======= 9 | 10 | OpenColorIO is licensed under the BSD-3-Clause license. Contributions to the 11 | library should abide by that license unless otherwised approved by the OCIO 12 | TSC and ASWF Governing Board. 13 | 14 | See `LICENSE 15 | `__ 16 | on GitHub. 17 | 18 | ---- 19 | 20 | .. include:: ../LICENSE 21 | -------------------------------------------------------------------------------- /src/apps/ocioperf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | set(SOURCES 5 | main.cpp 6 | ) 7 | 8 | add_executable(ocioperf ${SOURCES}) 9 | 10 | set_target_properties(ocioperf PROPERTIES 11 | COMPILE_FLAGS "${PLATFORM_COMPILE_FLAGS}") 12 | 13 | target_link_libraries(ocioperf 14 | PRIVATE 15 | apputils 16 | OpenColorIO 17 | utils::strings 18 | ) 19 | 20 | install(TARGETS ocioperf 21 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 22 | ) 23 | -------------------------------------------------------------------------------- /src/bindings/java/org/OpenColorIO/ExponentTransform.java: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | package org.OpenColorIO; 5 | import org.OpenColorIO.*; 6 | 7 | public class ExponentTransform extends Transform 8 | { 9 | public ExponentTransform() { super(); } 10 | protected ExponentTransform(long impl) { super(impl); } 11 | public native ExponentTransform Create(); 12 | public native void setValue(float[] vec4); 13 | public native void getValue(float[] vec4); 14 | } 15 | -------------------------------------------------------------------------------- /src/OpenColorIO/Logging.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_LOGGING_H 6 | #define INCLUDED_OCIO_LOGGING_H 7 | 8 | #include 9 | 10 | #include 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | void LogWarning(const std::string & text); 15 | void LogInfo(const std::string & text); 16 | void LogDebug(const std::string & text); 17 | 18 | bool IsDebugLoggingEnabled(); 19 | 20 | } // namespace OCIO_NAMESPACE 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/lut3d/Lut3DOpGPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_LUT3D_GPU_H 5 | #define INCLUDED_OCIO_LUT3D_GPU_H 6 | 7 | #include 8 | 9 | #include "GpuShaderUtils.h" 10 | #include "ops/lut3d/Lut3DOpData.h" 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | 15 | void GetLut3DGPUShaderProgram(GpuShaderCreatorRcPtr & shaderCreator, ConstLut3DOpDataRcPtr & lutData); 16 | 17 | } // namespace OCIO_NAMESPACE 18 | 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/cdl_bad_sat.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sat may only have 1 value. 4 | 5 | 6 | 1.35 1.1 0.71 7 | 0.05 -0.23 0.11 8 | 0.93 0.81 1.27 9 | 10 | 11 | 1.239 0.9 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/transform_corrupted_tag.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Note closing element is bad 4 | 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 1.87600 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 10 | 11 | ProcessList is not spelled correctly 12 | 13 | -------------------------------------------------------------------------------- /tests/data/files/exposure_contrast_video.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/OpTools.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_OPTOOLS_H 6 | #define INCLUDED_OCIO_OPTOOLS_H 7 | 8 | #include 9 | 10 | #include "Op.h" 11 | #include "PrivateTypes.h" 12 | 13 | 14 | namespace OCIO_NAMESPACE 15 | { 16 | 17 | void EvalTransform(const float * in, float * out, 18 | long numPixels, 19 | OpRcPtrVec & ops); 20 | 21 | } // namespace OCIO_NAMESPACE 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/process_list_higher_version.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Versions higher than current version must be rejected 4 | 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 1.87600 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/data/files/gamma_alpha_test3.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Rec 709 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/testutils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | set(SOURCES 5 | UnitTest.cpp 6 | ) 7 | 8 | add_library(testutils STATIC ${SOURCES}) 9 | 10 | set_target_properties(testutils PROPERTIES 11 | COMPILE_FLAGS "${PLATFORM_COMPILE_FLAGS}") 12 | 13 | target_include_directories(testutils 14 | PUBLIC 15 | ${CMAKE_CURRENT_SOURCE_DIR}/.. 16 | ) 17 | 18 | target_link_libraries(testutils 19 | PRIVATE 20 | apputils 21 | utils::strings 22 | ) 23 | 24 | -------------------------------------------------------------------------------- /docs/guides/authoring/authoring.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _authoring: 6 | 7 | Authoring Configurations 8 | ======================== 9 | 10 | .. include:: overview.rst 11 | 12 | .. include:: rules.rst 13 | 14 | .. include:: displays_views.rst 15 | 16 | .. include:: looks.rst 17 | 18 | .. include:: colorspaces.rst 19 | 20 | .. include:: transforms.rst 21 | 22 | .. include:: looks_example.rst 23 | 24 | .. include:: contexts.rst 25 | 26 | .. include:: allocation_vars.rst 27 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/cdl/CDLOpGPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_CDL_GPU_H 5 | #define INCLUDED_OCIO_CDL_GPU_H 6 | 7 | #include 8 | 9 | #include "GpuShaderUtils.h" 10 | #include "ops/cdl/CDLOpData.h" 11 | 12 | 13 | namespace OCIO_NAMESPACE 14 | { 15 | 16 | void GetCDLGPUShaderProgram(GpuShaderCreatorRcPtr & shaderCreator, ConstCDLOpDataRcPtr & cdl); 17 | 18 | } // namespace OCIO_NAMESPACE 19 | 20 | #endif // INCLUDED_OCIO_CDL_GPU_H 21 | -------------------------------------------------------------------------------- /tests/data/files/clf/matrix_example_utf8.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test utf8 character encoding support. 4 | 5 | 標準萬國碼 6 | 7 | 0.66067963 0.13364476 0.15567561 8 | 0.04255484 0.81668756 0.0907576 9 | -0.00524959 0.00382395 0.95142564 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/exposurecontrast/ExposureContrastOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_EXPOSURECONTRAST_CPU_H 5 | #define INCLUDED_OCIO_EXPOSURECONTRAST_CPU_H 6 | 7 | #include 8 | 9 | #include "ops/exposurecontrast/ExposureContrastOpData.h" 10 | 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | 15 | OpCPURcPtr GetExposureContrastCPURenderer(ConstExposureContrastOpDataRcPtr & ec); 16 | 17 | } // namespace OCIO_NAMESPACE 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/lut1d/Lut1DOpGPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_LUT1D_GPU_H 5 | #define INCLUDED_OCIO_LUT1D_GPU_H 6 | 7 | #include 8 | 9 | #include "GpuShaderUtils.h" 10 | #include "ops/lut1d/Lut1DOpData.h" 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | 15 | void GetLut1DGPUShaderProgram(GpuShaderCreatorRcPtr & shaderCreator, ConstLut1DOpDataRcPtr & lutData); 16 | 17 | } // namespace OCIO_NAMESPACE 18 | 19 | 20 | #endif 21 | 22 | 23 | -------------------------------------------------------------------------------- /vendor/openfx/OCIOMain.cpp: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #include "OCIOColorSpace.h" 5 | #include "OCIODisplayView.h" 6 | 7 | void OFX::Plugin::getPluginIDs(OFX::PluginFactoryArray & ids) 8 | { 9 | static OCIOColorSpaceFactory ocioColorSpace( 10 | "OpenColorIO.OCIOColorSpace", 1, 0); 11 | ids.push_back(&ocioColorSpace); 12 | 13 | static OCIODisplayViewFactory ocioDisplayView( 14 | "OpenColorIO.OCIODisplayView", 1, 0); 15 | ids.push_back(&ocioDisplayView); 16 | } 17 | -------------------------------------------------------------------------------- /docs/api/_index.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | API 6 | === 7 | 8 | .. toctree:: 9 | :caption: API 10 | 11 | apphelpers 12 | baker 13 | colorspace 14 | config 15 | constants 16 | context 17 | dynamicproperty 18 | enums 19 | exceptions 20 | formatmetadata 21 | global 22 | grading_transforms 23 | imagedesc 24 | look 25 | namedtransform 26 | processors 27 | rules 28 | shaders 29 | systemmonitors 30 | transforms 31 | viewtransform 32 | -------------------------------------------------------------------------------- /src/OpenColorIO/OCIOYaml.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #include 5 | 6 | #ifndef INCLUDED_OCIO_YAML_H 7 | #define INCLUDED_OCIO_YAML_H 8 | 9 | namespace OCIO_NAMESPACE 10 | { 11 | 12 | namespace OCIOYaml 13 | { 14 | 15 | void Read(std::istream & istream, ConfigRcPtr & c, const char * filename); 16 | void Write(std::ostream & ostream, const Config & c); 17 | 18 | } // namespace OCIOYaml 19 | 20 | } // namespace OCIO_NAMESPACE 21 | 22 | #endif // INCLUDED_OCIO_YAML_H 23 | -------------------------------------------------------------------------------- /src/OpenColorIO/builtinconfigs/CG.cpp.in: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | // The file extension cpp (instead of an header .h) was used here to highlight the fact that 5 | // this file should not be included more then ONCE in OCIO. 6 | 7 | // It is included in the following places: 8 | // - CGConfig.cpp for the Built-in config feature. 9 | // - BuiltinConfigRegistry_tests.cpp for the unit tests 10 | 11 | constexpr char CG_CONFIG_V010_ACES_V130_OCIO_V211[] = { @cg-config-v0.1.0_aces-v1.3_ocio-v2.1.1@ }; 12 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/gamma/GammaOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_GAMMAOP_CPU_H 6 | #define INCLUDED_OCIO_GAMMAOP_CPU_H 7 | 8 | 9 | #include 10 | 11 | #include "Op.h" 12 | #include "ops/gamma/GammaOpData.h" 13 | 14 | namespace OCIO_NAMESPACE 15 | { 16 | 17 | // Get the Gamma dedicated renderer. 18 | ConstOpCPURcPtr GetGammaRenderer(ConstGammaOpDataRcPtr & gamma, bool fastPower); 19 | 20 | } // namespace OCIO_NAMESPACE 21 | 22 | 23 | #endif -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/indexMap_test2.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Index map was only allowed up to CLF v2 4 | 5 | 6 | 0 30 33 7 | 0 0 133 8 | 0 0 223 9 | 0 0 324 10 | 0 192 335 11 | 0 241 448 12 | 26 308 580 13 | 87 384 743 14 | 15 | 16 | -1e-1@0 1.9e1@ 1 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /vendor/openfx/Support/include/ofxsMessage.h: -------------------------------------------------------------------------------- 1 | #ifndef _ofxsMessage_H_ 2 | #define _ofxsMessage_H_ 3 | 4 | namespace OFX 5 | { 6 | namespace Message 7 | { 8 | enum MessageReplyEnum 9 | { 10 | eMessageReplyOK, 11 | eMessageReplyYes, 12 | eMessageReplyNo, 13 | eMessageReplyFailed 14 | }; 15 | 16 | enum MessageTypeEnum 17 | { 18 | eMessageFatal, 19 | eMessageError, 20 | eMessageMessage, 21 | eMessageWarning, 22 | eMessageLog, 23 | eMessageQuestion 24 | }; 25 | }; 26 | }; 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/gradingtone/GradingToneOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_GRADINGTONE_CPU_H 5 | #define INCLUDED_OCIO_GRADINGTONE_CPU_H 6 | 7 | #include 8 | 9 | #include 10 | 11 | #include "Op.h" 12 | #include "ops/gradingtone/GradingToneOpData.h" 13 | 14 | namespace OCIO_NAMESPACE 15 | { 16 | 17 | ConstOpCPURcPtr GetGradingToneCPURenderer(ConstGradingToneOpDataRcPtr & prim); 18 | 19 | } // namespace OCIO_NAMESPACE 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /tests/data/files/clf/lut3d_identity_12i_16f.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 3D LUT example 4 | 5 | 3D LUT 6 | 7 | 0.0 0.0 0.0 8 | 0.0 0.0 1.0 9 | 0.0 1.0 0.0 10 | 0.0 1.0 1.0 11 | 1.0 0.0 0.0 12 | 1.0 0.0 1.0 13 | 1.0 1.0 0.0 14 | 1.0 1.0 1.0 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/data/files/clf/cdl_missing_style.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Missing style defaults to "Fwd" 4 | 5 | 6 | 1.35 1.1 0.71 7 | 0.05 -0.23 0.11 8 | 0.93 0.81 1.27 9 | 10 | 11 | 1.239 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/range/RangeOpGPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_RANGEOP_GPU_H 6 | #define INCLUDED_OCIO_RANGEOP_GPU_H 7 | 8 | 9 | #include 10 | 11 | #include "GpuShaderUtils.h" 12 | #include "ops/range/RangeOpData.h" 13 | 14 | 15 | namespace OCIO_NAMESPACE 16 | { 17 | 18 | void GetRangeGPUShaderProgram(GpuShaderCreatorRcPtr & shaderCreator, ConstRangeOpDataRcPtr & range); 19 | 20 | } // namespace OCIO_NAMESPACE 21 | 22 | 23 | #endif 24 | 25 | 26 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/cdl_bad_power.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | CDL power must be > 0 4 | 5 | 6 | 1.35 1.1 0.71 7 | 0.05 -0.23 0.11 8 | 0.93 0.81 0 9 | 10 | 11 | 1.239 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/utils/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: BSD-3-Clause 2 | # Copyright Contributors to the OpenColorIO Project. 3 | 4 | include(ExternalProject) 5 | 6 | set(SOURCES 7 | UnitTestMain.cpp 8 | StringUtils_tests.cpp 9 | ) 10 | 11 | add_executable(test_utils_exec ${SOURCES}) 12 | 13 | target_link_libraries(test_utils_exec 14 | PRIVATE 15 | utils::strings 16 | testutils 17 | ) 18 | 19 | set_target_properties(test_utils_exec PROPERTIES 20 | COMPILE_FLAGS "${PLATFORM_COMPILE_FLAGS}") 21 | 22 | add_test(NAME test_utils_exec COMMAND test_utils_exec) 23 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/fixedfunction/FixedFunctionOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_FIXEDFUNCTION_CPU_H 5 | #define INCLUDED_OCIO_FIXEDFUNCTION_CPU_H 6 | 7 | #include 8 | 9 | #include 10 | 11 | #include "Op.h" 12 | #include "ops/fixedfunction/FixedFunctionOpData.h" 13 | 14 | namespace OCIO_NAMESPACE 15 | { 16 | 17 | ConstOpCPURcPtr GetFixedFunctionCPURenderer(ConstFixedFunctionOpDataRcPtr & func); 18 | 19 | } // namespace OCIO_NAMESPACE 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/cdl_bad_style.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | CDL style is not a legal value 4 | 5 | 6 | 1.35 1.1 0.71 7 | 0.05 -0.23 0.11 8 | 0.93 0.81 1.27 9 | 10 | 11 | 1.239 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/data/files/clf/matrix_3x4_example.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Matrix example 4 | Used by unit tests 5 | 6 | 3x4 Matrix , 4th column is offset 7 | 8 | 3.6 0.1 -0.2 0.3 9 | 0.2 3.5 +0.1 -0.05 10 | 1E-01 -0.3 0.34e+01 -4e-1 11 | 12 | 13 | -------------------------------------------------------------------------------- /vendor/aftereffects/win/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by OpenColorIO.rc 4 | // 5 | #define IDB_BITMAP1 102 6 | #define BANNER1 102 7 | 8 | // Next default values for new objects 9 | // 10 | #ifdef APSTUDIO_INVOKED 11 | #ifndef APSTUDIO_READONLY_SYMBOLS 12 | #define _APS_NEXT_RESOURCE_VALUE 103 13 | #define _APS_NEXT_COMMAND_VALUE 40001 14 | #define _APS_NEXT_CONTROL_VALUE 1002 15 | #define _APS_NEXT_SYMED_VALUE 101 16 | #endif 17 | #endif 18 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_processormetadata.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.ProcessorMetadata 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | :exclude-members: FileIterator, LookIterator 10 | 11 | .. autoclass:: PyOpenColorIO.ProcessorMetadata.FileIterator 12 | :special-members: __getitem__, __iter__, __len__, __next__ 13 | 14 | .. autoclass:: PyOpenColorIO.ProcessorMetadata.LookIterator 15 | :special-members: __getitem__, __iter__, __len__, __next__ 16 | -------------------------------------------------------------------------------- /docs/api/systemmonitors.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | SystemMonitors 6 | ============== 7 | 8 | .. tabs:: 9 | 10 | .. group-tab:: Python 11 | 12 | .. include:: python/${PYDIR}/pyopencolorio_systemmonitors.rst 13 | 14 | .. group-tab:: C++ 15 | 16 | .. doxygenclass:: ${OCIO_NAMESPACE}::SystemMonitors 17 | :members: 18 | :undoc-members: 19 | 20 | .. doxygentypedef:: ${OCIO_NAMESPACE}::ConstSystemMonitorsRcPtr 21 | .. doxygentypedef:: ${OCIO_NAMESPACE}::SystemMonitorsRcPtr 22 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/gradingprimary/GradingPrimaryOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_GRADINGPRIMARY_CPU_H 5 | #define INCLUDED_OCIO_GRADINGPRIMARY_CPU_H 6 | 7 | #include 8 | 9 | #include 10 | 11 | #include "Op.h" 12 | #include "ops/gradingprimary/GradingPrimaryOpData.h" 13 | 14 | namespace OCIO_NAMESPACE 15 | { 16 | 17 | ConstOpCPURcPtr GetGradingPrimaryCPURenderer(ConstGradingPrimaryOpDataRcPtr & prim); 18 | 19 | } // namespace OCIO_NAMESPACE 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/array_too_many_values.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Matrix has too many values. 5 | 6 | 3.24000 -1.53700 -0.49850 7 | -0.96930 1.87600 0.04156 8 | 0.05560 -0.20400 1.05730 9 | 3.24000 -1.53700 -0.49850 10 | -0.96930 1.87600 0.04156 11 | 0.05560 -0.20400 1.05730 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/data/files/clf/range_test1_noclamp.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Basic range with noClamp style 4 | Note that the 8i bit-depth does not constrain the legal range of values 5 | 6 | -16 7 | 272 8 | -0.05 9 | 1.05 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/api/formatmetadata.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | FormatMetadata 6 | ============== 7 | 8 | .. tabs:: 9 | 10 | .. group-tab:: Python 11 | 12 | .. include:: python/${PYDIR}/pyopencolorio_formatmetadata.rst 13 | 14 | .. group-tab:: C++ 15 | 16 | .. doxygenclass:: ${OCIO_NAMESPACE}::FormatMetadata 17 | :members: 18 | :undoc-members: 19 | 20 | .. doxygenfunction:: ${OCIO_NAMESPACE}::operator<<(std::ostream&, const FormatMetadata&) 21 | 22 | Constants: :ref:`vars_format_metadata` 23 | -------------------------------------------------------------------------------- /docs/guides/contributing/contributing.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. _contributing: 6 | 7 | Contributing 8 | ============ 9 | 10 | .. include:: getting_started.rst 11 | 12 | .. include:: repository_structure.rst 13 | 14 | .. include:: architectural_notes.rst 15 | 16 | .. include:: coding_style_guide.rst 17 | 18 | .. include:: unit_tests.rst 19 | 20 | .. include:: issues.rst 21 | 22 | .. include:: submitting_changes.rst 23 | 24 | .. include:: documentation_guidelines.rst 25 | 26 | .. include:: doxygen_style_guide.rst 27 | -------------------------------------------------------------------------------- /src/OpenColorIO/HashUtils.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_HASHUTILS_H 6 | #define INCLUDED_OCIO_HASHUTILS_H 7 | 8 | #include 9 | 10 | #include "md5/md5.h" 11 | #include 12 | 13 | namespace OCIO_NAMESPACE 14 | { 15 | std::string CacheIDHash(const char * array, int size); 16 | 17 | // TODO: get rid of md5.h include, make this a generic byte array 18 | std::string GetPrintableHash(const md5_byte_t * digest); 19 | 20 | } // namespace OCIO_NAMESPACE 21 | 22 | #endif 23 | 24 | -------------------------------------------------------------------------------- /vendor/aftereffects/mac/OpenColorIO_AE_MonitorProfileChooser_Controller.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #import 5 | 6 | @interface OpenColorIO_AE_MonitorProfileChooser_Controller : NSWindowController 7 | { 8 | NSMutableDictionary *profile_dict; 9 | } 10 | 11 | @property (assign) IBOutlet NSPopUpButton *profileMenu; 12 | 13 | - (IBAction)clickOK:(id)sender; 14 | - (IBAction)clickCancel:(id)sender; 15 | 16 | - (BOOL)getMonitorProfile:(char *)path bufferSize:(int)buf_len; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /src/OpenColorIO/ops/gradingrgbcurve/GradingRGBCurveOpCPU.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | #ifndef INCLUDED_OCIO_GRADINGRGBCURVE_CPU_H 5 | #define INCLUDED_OCIO_GRADINGRGBCURVE_CPU_H 6 | 7 | #include 8 | 9 | #include 10 | 11 | #include "Op.h" 12 | #include "ops/gradingrgbcurve/GradingRGBCurveOpData.h" 13 | 14 | namespace OCIO_NAMESPACE 15 | { 16 | 17 | ConstOpCPURcPtr GetGradingRGBCurveCPURenderer(ConstGradingRGBCurveOpDataRcPtr & rgbCurve); 18 | 19 | } // namespace OCIO_NAMESPACE 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_getlogginglevel.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:function:: GetLoggingLevel() -> PyOpenColorIO.LoggingLevel 7 | :module: PyOpenColorIO 8 | 9 | Get the global logging level. 10 | 11 | You can override this at runtime using the OCIO_LOGGING_LEVEL environment variable. The client application that sets this should use :ref:`SetLoggingLevel`, and not the environment variable. The default value is INFO. 12 | 13 | -------------------------------------------------------------------------------- /share/ci/scripts/linux/run_gcov.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # SPDX-License-Identifier: BSD-3-Clause 3 | # Copyright Contributors to the OpenColorIO Project. 4 | 5 | set -ex 6 | 7 | mkdir _coverage 8 | cd _coverage 9 | 10 | # The sed command below converts from: 11 | # ../_build/src/OpenColorIO/CMakeFiles/OpenColorIO.dir/ops/Exponent.gcno 12 | # to: 13 | # ../src/OpenColorIO/ops/Exponent.cpp 14 | 15 | for g in $(find ../_build -name "*.gcno" -type f); do 16 | gcov -l -p -o $(dirname "$g") $(echo "$g" | sed -e 's/\/_build\//\//' -e 's/\.gcno/\.cpp/' -e 's/\/CMakeFiles.*\.dir\//\//') 17 | done 18 | 19 | cd .. 20 | -------------------------------------------------------------------------------- /docs/api/python/src/pyopencolorio_processor.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | .. autoclass:: PyOpenColorIO.Processor 6 | :members: 7 | :undoc-members: 8 | :special-members: __init__ 9 | :exclude-members: TransformFormatMetadataIterator, WriteFormatIterator 10 | 11 | .. autoclass:: PyOpenColorIO.Processor.TransformFormatMetadataIterator 12 | :special-members: __getitem__, __iter__, __len__, __next__ 13 | 14 | .. autoclass:: PyOpenColorIO.Processor.WriteFormatIterator 15 | :special-members: __getitem__, __iter__, __len__, __next__ 16 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/cdl_missing_offset.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The SOPNode is optional, but if present, must contain Slope, Offset, and Power 4 | 5 | 6 | 1.35 1.1 0.71 7 | 8 | 0.93 0.81 1.27 9 | 10 | 11 | 1.239 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/cdl_missing_slope.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The SOPNode is optional, but if present, must contain Slope, Offset, and Power 4 | 5 | 6 | 7 | 0.05 -0.23 0.11 8 | 0.93 0.81 1.27 9 | 10 | 11 | 1.239 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/api/look.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | 5 | Look 6 | ==== 7 | 8 | .. tabs:: 9 | 10 | .. group-tab:: Python 11 | 12 | .. include:: python/${PYDIR}/pyopencolorio_look.rst 13 | 14 | .. group-tab:: C++ 15 | 16 | .. doxygenclass:: ${OCIO_NAMESPACE}::Look 17 | :members: 18 | :undoc-members: 19 | 20 | .. doxygenfunction:: ${OCIO_NAMESPACE}::operator<<(std::ostream&, const Look&) 21 | 22 | .. doxygentypedef:: ${OCIO_NAMESPACE}::ConstLookRcPtr 23 | .. doxygentypedef:: ${OCIO_NAMESPACE}::LookRcPtr 24 | -------------------------------------------------------------------------------- /docs/api/python/frozen/pyopencolorio_exceptionmissingfile.rst: -------------------------------------------------------------------------------- 1 | .. 2 | SPDX-License-Identifier: CC-BY-4.0 3 | Copyright Contributors to the OpenColorIO Project. 4 | Do not edit! This file was automatically generated by share/docs/frozendoc.py. 5 | 6 | .. py:exception:: ExceptionMissingFile 7 | :module: PyOpenColorIO 8 | 9 | An exception class for errors detected at runtime. 10 | 11 | Thrown when OCIO cannot find a file that is expected to exist. This is provided as a custom type to distinguish cases where one wants to continue looking for missing files, but wants to properly fail for other error conditions. 12 | 13 | -------------------------------------------------------------------------------- /docs/site/layouts/_default/article.html: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /tests/data/files/clf/illegal/cdl_missing_power.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | The SOPNode is optional, but if present, must contain Slope, Offset, and Power 4 | 5 | 6 | 1.35 1.1 0.71 7 | 0.05 -0.23 0.11 8 | 9 | 10 | 11 | 1.239 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/data/files/exposure_contrast_linear.ctf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/data/files/indexMap_test2_clfv2.clf: -------------------------------------------------------------------------------- 1 | 2 | 3 | Index map and CLF test 4 | Index map was only allowed up to CLF v2 5 | 6 | 7 | 0 30 33 8 | 0 0 133 9 | 0 0 223 10 | 0 0 324 11 | 0 192 335 12 | 0 241 448 13 | 26 308 580 14 | 87 384 743 15 | 16 | 17 | -1e-1@0 1.9e1@ 1 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/OpenColorIO/builtinconfigs/CGConfig.h: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | 5 | #ifndef INCLUDED_OCIO_CGCONFIG_H 6 | #define INCLUDED_OCIO_CGCONFIG_H 7 | 8 | 9 | #include 10 | #include "builtinconfigs/BuiltinConfigRegistry.h" 11 | 12 | namespace OCIO_NAMESPACE 13 | { 14 | 15 | class BuiltinConfigRegistryImpl; 16 | 17 | namespace CGCONFIG 18 | { 19 | void Register(BuiltinConfigRegistryImpl & registry) noexcept; 20 | } // namespace CGCONFIG 21 | 22 | } // namespace OCIO_NAMESPACE 23 | 24 | #endif // INCLUDED_OCIO_CGCONFIG_H 25 | -------------------------------------------------------------------------------- /src/bindings/java/org/OpenColorIO/ColorSpaceTransform.java: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: BSD-3-Clause 2 | // Copyright Contributors to the OpenColorIO Project. 3 | 4 | package org.OpenColorIO; 5 | import org.OpenColorIO.*; 6 | 7 | public class ColorSpaceTransform extends Transform 8 | { 9 | public ColorSpaceTransform() { super(); } 10 | protected ColorSpaceTransform(long impl) { super(impl); } 11 | public native ColorSpaceTransform Create(); 12 | public native String getSrc(); 13 | public native void setSrc(String src); 14 | public native String getDst(); 15 | public native void setDst(String dst); 16 | } 17 | --------------------------------------------------------------------------------