10 Commits
Author SHA1 Message Date
Doug Walker 5152635a18 Fix inverse Lut1D optimization bug (#1743)
Signed-off-by: Doug Walker <doug.walker@autodesk.com>

Signed-off-by: Doug Walker <doug.walker@autodesk.com>
2023-01-04 16:00:36 -05:00
Patrick Hodoul 996aa1aae1 Adsk Contrib - Fix the legacy GPU path (#1352)
* Adsk Contrib - Fix the legacy GPU path

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Re-enable legacy GPUShaderDesc

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix Documentation generation failure

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Improve the deprecated comment

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Add version removal

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
2021-04-09 11:06:55 -04:00
Bernard Lefebvreanddoug-walker 50e5d8b37d Adsk Contrib - Avoid NaN values in certain Lut1D arrays (#1272)
* Avoid NaN values in certain Lut1D arrays

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Make sure isnan is defined

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: doug-walker <43830961+doug-walker@users.noreply.github.com>
2021-01-22 11:17:31 -05:00
Bernard LefebvreandPatrick Hodoul c033d11ee3 Adsk Contrib - Python repr and LogCameraTransform fixes (#1270)
* Fix issues 1255 & 1256

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Revert unwanted rst changes

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
2021-01-20 22:07:54 -05:00
Bernard Lefebvre 3ef74cdc92 Adsk Contrib - Update config default version and optimization enhancements (#1147)
* Update config default version and optimization enhancements.

Default config version is now the latest version (2 for the time being).
Tests have been adjusted to take this into account.

New optimization flag: OPTIMIZATION_SIMPLIFY_OPS: break down certain ops into simpler ops whne possible. Today, only CDL make use of this, and could be replaced by a matrix when possible. The goal is to avoid complex functions and allow more ops to be combined. The flag is enabled with the default optimization.

New optimization flag: OPTIMIZATION_FAST_LOG_EXP_POW: SSE implementation of log, power, exp is faster but less precise. When this new flag is set the fast implement is used, else the non SSE implementation is used. Optimization default does not include the file, so the non SSE version is used. This applies to CDL, ExposureContrast, Gamma, Log (ut not to legacy Exponent).

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Change baker test from a string compare to a value compare to fix failing test on one windows target

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix config tests after merge from master

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Expose added flags to python

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
2020-10-05 14:46:41 -04:00
Bernard LefebvreandPatrick Hodoul e38fec8dc3 Adsk Contrib - Improve op finalization (#986)
* Review ops finalization.
- ops are only finalized once.
- clarify LUT inversion
- move direction to MatrixOpData and RangeOpData
- change how FixedFunction surround inverse is saved

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix build after merge from main.
- adjust gpu test set-up.
- expose new api function to python.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrickhodoul@gmail.com>
2020-04-22 08:48:12 -04:00
Patrick Hodoul d5230e6096 Adsk Contrib - Add arguments to unit test binaries (#944)
* Adsk Contrib - Add arguments to unit test binaries

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix Clang build break

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix merge breaks

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix merge breaks

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
2020-03-20 12:27:21 -04:00
Patrick Hodoul a43a63ed47 Adsk Contrib - Enhance OpRcPtrVec (#930)
* Adsk Contrib - Enhance OpRcPtrVec

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>

* Fix merge issues

Signed-off-by: Patrick Hodoul <Patrick.Hodoul@autodesk.com>
2020-02-18 11:59:40 -05:00
Bernard LefebvreandPatrick Hodoul 8be6b4c4a8 Adsk Contrib - Add support for CLF v3 (#918)
* Add suport for CLF v3

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Build issues: add cast to float and fix comparaison.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Replace cast by std

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Add the possibility to print the transform operators.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Adjust error message format.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

Co-authored-by: Patrick Hodoul <patrickhodoul@gmail.com>
2020-02-17 23:25:02 -05:00
Bernard Lefebvre 5c5135f54e Adsk Contrib - Namespace and code formating (#892)
* Namespace and code formating

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix include case.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Fix member from anonymous namespace errors.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>

* Other file case issues.
Move enum in class instead of using namespace.

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
2019-11-28 13:03:16 -05:00