4 Commits
Author SHA1 Message Date
Bernard Lefebvre e412d8ab8d Adsk Contrib - Named color transforms (#1189)
* Named color transforms

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

* Allow NamedTransforms to be inactive using the same mechanism as color spaces.

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

* Wrong enum

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

* Fix issue introduced by merge from master (version checking for NamedTransform serialization in config)

Signed-off-by: Bernard Lefebvre <bernard.lefebvre@autodesk.com>
2020-12-04 19:00:28 -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
e6f1bfc464 Substitute term "sanity check" with "validation" / "validate" (#1081)
* Remove "lame-ass"

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

* Substitute "dumb" with "basic"

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

* Substitute "whitelist" with "approved list"

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

* Substitute "sanity check" with "validation" or "validate"

Also rename "sane" to "valid" and "insane" to "invalid"

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

* Rename enum values to VALIDATION_PASSED and VALIDATION_FAILED

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

* Rename methods to validate[Shared]View()

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

* Mention renamed validate[Shared]View() methods in changlog

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

* Actually just list the user-visible change

Signed-off-by: Simran Brucherseifer <simran.brucherseifer@gmail.com>

Co-authored-by: Patrick Hodoul <patrickhodoul@gmail.com>
Co-authored-by: Patrick Hodoul <patrick.hodoul@autodesk.com>
2020-08-14 20:27:09 -04:00
Bernard LefebvreandPatrick Hodoul fbdf889b86 Adsk Contrib - Add ViewingRules, DisplayViewTransform, and ViewingPipeline (#1038)
* Add ViewingRules, DisplayViewTransform, and ViewingPipeline

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

* Add version check to config sanity check.

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

* Adjust comments

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

* Update ViewingPipeline.cpp

Fix indentation

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

Co-authored-by: Patrick Hodoul <patrickhodoul@gmail.com>
2020-06-29 08:49:08 -04:00