-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…uiltins Pt.1) For issue #1992 - "Make LUT-free implementations of certain built-in transforms" - Adding fixed-functions PQ_TO_LINEAR and LINEAR_TO_PQ. These will be used to handle following built-in transforms if the LUT support is turned off: -- CURVE - ST-2084_to_LINEAR -- CURVE - LINEAR_to_ST-2084 -- DISPLAY - CIE-XYZ-D65_to_REC.2100-PQ -- DISPLAY - CIE-XYZ-D65_to_ST2084-P3-D65 - Implemented CPU renderers for scalar, SSE2 (with fastPower) and SSE2 (with Intel SVML) intrinsics targets for the new fixed-function. - Implemented GPU shader generator for the new fixed-function - Remaining fixed-functions will be implemented in an upcoming PR. For issue #1968 - "Make display EOTFs in built-in transforms mirrored and unclamped to preserve sub-black and super-white" - Existing LUT-based HLG curve is now unclamped at both ends and mirrored around origin. - Both the existing LUT-based and the new LUT-free implementations of the PQ curve are now unclamped at both ends and mirrored around origin. Aux Changes - GetFixedFunctionCPURenderer() now takes a new bool parameter fastLogExpPow. - Added a stand-in OCIO_LUT_SUPPORT preprocessor macro in preparation for ocio-lite where the lut support can be turned off. - Added util functions to Config_tests.cpp to help creating configs with arbitrary version. - Added ability to test fixed-function cpu renderers with and without fastLogExpPow. - Added capability to specify custom extended ranges in the GPU unit tests. Default value is [-1.0,2.0] same as the previously hard-coded range. - Fixed a bug in the GPU unit tests where the computed domain values would overshoot. Signed-off-by: cuneyt.ozdas <cuneyt.ozdas@autodesk.com>
- Loading branch information
Showing
19 changed files
with
653 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.