Commit d8ff444
committed
- replacing getAMFTransformIDs and getICCProfileName with more generic getInterchangeAttribute function. Same with the setters
- getInterchangeAttribute() and setInterchangeAttribute() functions currently knows and accepts "amf_transform_ids" and "icc_profile_name" keys. other keys will throw.
- ColorSpace serializer will list all of the key/value pairs.
- InteropID and interchangeAttributes are now allowed in earlier config versions down to 2.0 too. Config::checkVersionConsistency() will throw only for version smaller than 2.0.
- YAML loader and saver now supports the "interchange" section. Any unknown keys under that section will be ignored upon load and will generate a warning but won't throw.
- Generic str key/value loader/saver is extended for re usability (and fixed incorrect throw message).
- since the amf keywords are separated by newline characters, the newline sanitizer that was used for the description is also generalized and applied to all of the current and possible future interchange fields.
- ColorSpace_test.cpp file updated to test the current state and behavior of the API.
- ComputeValues function in the CPUProcessor_tests.cpp was taking the linenumber as as template parameter. This was a very bad idea as that means each invocation of the function would create a separate copy of the function which was causing all sorts of issues in the debugger and failing to compile when the line numbers are not constants (happens in JIT debug sessions). Fixed by making the line number a normal parameter.
- Python ColorSpace object no longer takes the amf of icc parameters in the constructor. User needs to set them explicitely later on.
Signed-off-by: cuneyt.ozdas <cuneyt.ozdas@autodesk.com>1 parent 49cd2e8 commit d8ff444
9 files changed
Lines changed: 587 additions & 520 deletions
File tree
- include/OpenColorIO
- src
- OpenColorIO
- bindings/python
- tests
- cpu
- python
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
1992 | 1993 | | |
1993 | 1994 | | |
1994 | 1995 | | |
1995 | | - | |
1996 | | - | |
1997 | | - | |
1998 | | - | |
1999 | | - | |
2000 | | - | |
2001 | | - | |
2002 | | - | |
2003 | | - | |
2004 | | - | |
2005 | | - | |
2006 | | - | |
2007 | | - | |
2008 | | - | |
| 1996 | + | |
| 1997 | + | |
| 1998 | + | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
2009 | 2011 | | |
2010 | | - | |
2011 | | - | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
2012 | 2015 | | |
2013 | 2016 | | |
2014 | 2017 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
| |||
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
28 | | - | |
29 | | - | |
30 | 36 | | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
66 | 73 | | |
67 | 74 | | |
68 | 75 | | |
69 | | - | |
70 | | - | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
| |||
277 | 283 | | |
278 | 284 | | |
279 | 285 | | |
280 | | - | |
| 286 | + | |
281 | 287 | | |
282 | | - | |
283 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
284 | 302 | | |
285 | | - | |
286 | | - | |
287 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
288 | 306 | | |
289 | 307 | | |
290 | | - | |
| 308 | + | |
291 | 309 | | |
292 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
293 | 332 | | |
294 | 333 | | |
295 | | - | |
| 334 | + | |
296 | 335 | | |
297 | | - | |
| 336 | + | |
298 | 337 | | |
299 | 338 | | |
300 | | - | |
| 339 | + | |
301 | 340 | | |
302 | 341 | | |
303 | 342 | | |
| |||
516 | 555 | | |
517 | 556 | | |
518 | 557 | | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
| 558 | + | |
| 559 | + | |
526 | 560 | | |
527 | | - | |
| 561 | + | |
528 | 562 | | |
529 | 563 | | |
530 | 564 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5675 | 5675 | | |
5676 | 5676 | | |
5677 | 5677 | | |
5678 | | - | |
| 5678 | + | |
5679 | 5679 | | |
5680 | 5680 | | |
5681 | 5681 | | |
5682 | 5682 | | |
5683 | 5683 | | |
5684 | | - | |
5685 | | - | |
5686 | | - | |
5687 | | - | |
5688 | | - | |
5689 | | - | |
5690 | | - | |
5691 | | - | |
| 5684 | + | |
5692 | 5685 | | |
5693 | 5686 | | |
5694 | | - | |
| 5687 | + | |
5695 | 5688 | | |
5696 | 5689 | | |
5697 | 5690 | | |
5698 | | - | |
| 5691 | + | |
5699 | 5692 | | |
5700 | 5693 | | |
5701 | 5694 | | |
| |||
0 commit comments