File tree 3 files changed +283
-179
lines changed
3 files changed +283
-179
lines changed Original file line number Diff line number Diff line change @@ -19,63 +19,71 @@ pub fn make_minimal(
19
19
20
20
// Tone mapping operators, used various places below.
21
21
let toney_neutral_rec709 = Tonemapper :: new (
22
+ Some ( chroma:: REC709 ) ,
22
23
1.0 ,
23
24
toney_neutral_sdr_curve,
24
- Some ( chroma :: REC709 ) ,
25
- ( 0.15 , 0.7 ) ,
26
- 0.25 ,
25
+ 0.5 ,
26
+ 0.2 ,
27
+ 0.2 ,
27
28
) ;
28
29
let toney_filmic_rec709 = Tonemapper :: new (
30
+ Some ( chroma:: REC709 ) ,
29
31
1.0 ,
30
32
toney_filmic_sdr_curve,
31
- Some ( chroma :: REC709 ) ,
32
- ( 0.15 , 0.7 ) ,
33
- 0.25 ,
33
+ 0.5 ,
34
+ 0.2 ,
35
+ 0.2 ,
34
36
) ;
35
37
36
38
let toney_neutral_rec709_hdr = Tonemapper :: new (
39
+ Some ( chroma:: REC709 ) ,
37
40
1.0 ,
38
41
toney_neutral_hdr_curve,
39
- Some ( chroma :: REC709 ) ,
40
- ( 0.15 , 0.7 ) ,
41
- 0.25 ,
42
+ 0.5 ,
43
+ 0.2 ,
44
+ 0.2 ,
42
45
) ;
43
46
let toney_filmic_rec709_hdr = Tonemapper :: new (
47
+ Some ( chroma:: REC709 ) ,
44
48
1.1 ,
45
49
toney_filmic_hdr_curve,
46
- Some ( chroma :: REC709 ) ,
47
- ( 0.15 , 0.7 ) ,
48
- 0.25 ,
50
+ 0.5 ,
51
+ 0.2 ,
52
+ 0.2 ,
49
53
) ;
50
54
51
55
let toney_neutral_rec2020 = Tonemapper :: new (
56
+ Some ( chroma:: REC2020 ) ,
52
57
1.0 ,
53
58
toney_neutral_sdr_curve,
54
- Some ( chroma :: REC2020 ) ,
55
- ( 0.15 , 0.7 ) ,
56
- 0.25 ,
59
+ 0.5 ,
60
+ 0.2 ,
61
+ 0.2 ,
57
62
) ;
58
63
let toney_filmic_rec2020 = Tonemapper :: new (
64
+ Some ( chroma:: REC2020 ) ,
59
65
1.0 ,
60
66
toney_filmic_sdr_curve,
61
- Some ( chroma :: REC2020 ) ,
62
- ( 0.15 , 0.7 ) ,
63
- 0.25 ,
67
+ 0.5 ,
68
+ 0.2 ,
69
+ 0.2 ,
64
70
) ;
65
71
66
72
let toney_neutral_rec2020_hdr = Tonemapper :: new (
73
+ Some ( chroma:: REC2020 ) ,
67
74
1.0 ,
68
75
toney_neutral_hdr_curve,
69
- Some ( chroma :: REC2020 ) ,
70
- ( 0.15 , 0.7 ) ,
71
- 0.25 ,
76
+ 0.5 ,
77
+ 0.2 ,
78
+ 0.2 ,
72
79
) ;
73
80
let toney_filmic_rec2020_hdr = Tonemapper :: new (
81
+ Some ( chroma:: REC2020 ) ,
74
82
1.0 ,
75
83
toney_filmic_hdr_curve,
76
- Some ( chroma :: REC2020 ) ,
77
- ( 0.15 , 0.7 ) ,
78
- 0.25 ,
84
+ 0.5 ,
85
+ 0.2 ,
86
+ 0.2 ,
79
87
) ;
80
88
81
89
// AgX.
You can’t perform that action at this time.
0 commit comments