History

avutil/tests/color_utils: clean up slightly (cosmetic)

Rewrite this test slightly to fix the formatting, improve the readability of the output, and eliminate some unnecessary branching.

Niklas Haas committed 1 year ago

Commit 28f21771 parent feb59822 files · +322 −320Browse files

Unified · Split

2 files
  1. libavutil/tests/color_utils.c +18 −16
  2. tests/ref/fate/color_utils +304 −304
libavutil/tests/color_utils.c+18−16
@@ -21,25 +21,27 @@ · 20 unmodified lines
21#include <stdio.h>21#include <stdio.h>
22#include "libavutil/csp.h"22#include "libavutil/csp.h"
23#include "libavutil/macros.h"23#include "libavutil/macros.h"
24#include "libavutil/pixdesc.h"
25#include "libavutil/pixfmt.h"
24 26
25int main(int argc, char *argv[])27int main(int argc, char *argv[])
26{28{
27 int i, j;29 static const double test_data[] = {
28 static const double test_data[] = {30 -0.1, -0.018053968510807, -0.01, -0.00449, 0.0, 0.00316227760, 0.005,
29 -0.1, -0.018053968510807, -0.01, -0.00449, 0.0, 0.00316227760, 0.005,31 0.009, 0.015, 0.1, 1.0, 52.37, 125.098765, 1999.11123, 6945.443,
30 0.009, 0.015, 0.1, 1.0, 52.37, 125.098765, 1999.11123, 6945.443,32 15123.4567, 19845.88923, 98678.4231, 99999.899998
31 15123.4567, 19845.88923, 98678.4231, 99999.89999833 };
32 };
33 34
34 for(i = 0; i < AVCOL_TRC_NB; i++) {35 for (enum AVColorTransferCharacteristic trc = 0; trc < AVCOL_TRC_NB; trc++) {
35 av_csp_trc_function func = av_csp_trc_func_from_id(i);36 av_csp_trc_function func = av_csp_trc_func_from_id(trc);
36 for(j = 0; j < FF_ARRAY_ELEMS(test_data); j++) {37 const char *name = av_color_transfer_name(trc);
37 if(func != NULL) {38 if (!func)
38 double result = func(test_data[j]);39 continue;
39 printf("AVColorTransferCharacteristic=%d calling func(%f) expected=%f\n",
40 i, test_data[j], result);
41 }
42 }
43 }
44 40
41 for (int i = 0; i < FF_ARRAY_ELEMS(test_data); i++) {
42 double result = func(test_data[i]);
43 printf("trc=%s calling func(%f) expected=%f\n",
44 name, test_data[i], result);
45 }
46 }
45}47}
tests/ref/fate/color_utils+304−304
@@ -1,304 +1,304 @@
1AVColorTransferCharacteristic=1 calling func(-0.100000) expected=0.0000001trc=bt709 calling func(-0.100000) expected=0.000000
2AVColorTransferCharacteristic=1 calling func(-0.018054) expected=0.0000002trc=bt709 calling func(-0.018054) expected=0.000000
3AVColorTransferCharacteristic=1 calling func(-0.010000) expected=0.0000003trc=bt709 calling func(-0.010000) expected=0.000000
4AVColorTransferCharacteristic=1 calling func(-0.004490) expected=0.0000004trc=bt709 calling func(-0.004490) expected=0.000000
5AVColorTransferCharacteristic=1 calling func(0.000000) expected=0.0000005trc=bt709 calling func(0.000000) expected=0.000000
6AVColorTransferCharacteristic=1 calling func(0.003162) expected=0.0142306trc=bt709 calling func(0.003162) expected=0.014230
7AVColorTransferCharacteristic=1 calling func(0.005000) expected=0.0225007trc=bt709 calling func(0.005000) expected=0.022500
8AVColorTransferCharacteristic=1 calling func(0.009000) expected=0.0405008trc=bt709 calling func(0.009000) expected=0.040500
9AVColorTransferCharacteristic=1 calling func(0.015000) expected=0.0675009trc=bt709 calling func(0.015000) expected=0.067500
10AVColorTransferCharacteristic=1 calling func(0.100000) expected=0.29074810trc=bt709 calling func(0.100000) expected=0.290748
11AVColorTransferCharacteristic=1 calling func(1.000000) expected=1.00000011trc=bt709 calling func(1.000000) expected=1.000000
12AVColorTransferCharacteristic=1 calling func(52.370000) expected=6.42753112trc=bt709 calling func(52.370000) expected=6.427531
13AVColorTransferCharacteristic=1 calling func(125.098765) expected=9.55851713trc=bt709 calling func(125.098765) expected=9.558517
14AVColorTransferCharacteristic=1 calling func(1999.111230) expected=33.51249014trc=bt709 calling func(1999.111230) expected=33.512490
15AVColorTransferCharacteristic=1 calling func(6945.443000) expected=58.76879415trc=bt709 calling func(6945.443000) expected=58.768794
16AVColorTransferCharacteristic=1 calling func(15123.456700) expected=83.45291616trc=bt709 calling func(15123.456700) expected=83.452916
17AVColorTransferCharacteristic=1 calling func(19845.889230) expected=94.32129717trc=bt709 calling func(19845.889230) expected=94.321297
18AVColorTransferCharacteristic=1 calling func(98678.423100) expected=194.21956818trc=bt709 calling func(98678.423100) expected=194.219568
19AVColorTransferCharacteristic=1 calling func(99999.899998) expected=195.38630619trc=bt709 calling func(99999.899998) expected=195.386306
20AVColorTransferCharacteristic=4 calling func(-0.100000) expected=0.00000020trc=bt470m calling func(-0.100000) expected=0.000000
21AVColorTransferCharacteristic=4 calling func(-0.018054) expected=0.00000021trc=bt470m calling func(-0.018054) expected=0.000000
22AVColorTransferCharacteristic=4 calling func(-0.010000) expected=0.00000022trc=bt470m calling func(-0.010000) expected=0.000000
23AVColorTransferCharacteristic=4 calling func(-0.004490) expected=0.00000023trc=bt470m calling func(-0.004490) expected=0.000000
24AVColorTransferCharacteristic=4 calling func(0.000000) expected=0.00000024trc=bt470m calling func(0.000000) expected=0.000000
25AVColorTransferCharacteristic=4 calling func(0.003162) expected=0.07305325trc=bt470m calling func(0.003162) expected=0.073053
26AVColorTransferCharacteristic=4 calling func(0.005000) expected=0.08996626trc=bt470m calling func(0.005000) expected=0.089966
27AVColorTransferCharacteristic=4 calling func(0.009000) expected=0.11752027trc=bt470m calling func(0.009000) expected=0.117520
28AVColorTransferCharacteristic=4 calling func(0.015000) expected=0.14823528trc=bt470m calling func(0.015000) expected=0.148235
29AVColorTransferCharacteristic=4 calling func(0.100000) expected=0.35111929trc=bt470m calling func(0.100000) expected=0.351119
30AVColorTransferCharacteristic=4 calling func(1.000000) expected=1.00000030trc=bt470m calling func(1.000000) expected=1.000000
31AVColorTransferCharacteristic=4 calling func(52.370000) expected=6.04506831trc=bt470m calling func(52.370000) expected=6.045068
32AVColorTransferCharacteristic=4 calling func(125.098765) expected=8.98042432trc=bt470m calling func(125.098765) expected=8.980424
33AVColorTransferCharacteristic=4 calling func(1999.111230) expected=31.65049033trc=bt470m calling func(1999.111230) expected=31.650490
34AVColorTransferCharacteristic=4 calling func(6945.443000) expected=55.74773834trc=bt470m calling func(6945.443000) expected=55.747738
35AVColorTransferCharacteristic=4 calling func(15123.456700) expected=79.40382035trc=bt470m calling func(15123.456700) expected=79.403820
36AVColorTransferCharacteristic=4 calling func(19845.889230) expected=89.84349136trc=bt470m calling func(19845.889230) expected=89.843491
37AVColorTransferCharacteristic=4 calling func(98678.423100) expected=186.25202437trc=bt470m calling func(98678.423100) expected=186.252024
38AVColorTransferCharacteristic=4 calling func(99999.899998) expected=187.38165738trc=bt470m calling func(99999.899998) expected=187.381657
39AVColorTransferCharacteristic=5 calling func(-0.100000) expected=0.00000039trc=bt470bg calling func(-0.100000) expected=0.000000
40AVColorTransferCharacteristic=5 calling func(-0.018054) expected=0.00000040trc=bt470bg calling func(-0.018054) expected=0.000000
41AVColorTransferCharacteristic=5 calling func(-0.010000) expected=0.00000041trc=bt470bg calling func(-0.010000) expected=0.000000
42AVColorTransferCharacteristic=5 calling func(-0.004490) expected=0.00000042trc=bt470bg calling func(-0.004490) expected=0.000000
43AVColorTransferCharacteristic=5 calling func(0.000000) expected=0.00000043trc=bt470bg calling func(0.000000) expected=0.000000
44AVColorTransferCharacteristic=5 calling func(0.003162) expected=0.12798044trc=bt470bg calling func(0.003162) expected=0.127980
45AVColorTransferCharacteristic=5 calling func(0.005000) expected=0.15073145trc=bt470bg calling func(0.005000) expected=0.150731
46AVColorTransferCharacteristic=5 calling func(0.009000) expected=0.18594046trc=bt470bg calling func(0.009000) expected=0.185940
47AVColorTransferCharacteristic=5 calling func(0.015000) expected=0.22315447trc=bt470bg calling func(0.015000) expected=0.223154
48AVColorTransferCharacteristic=5 calling func(0.100000) expected=0.43939748trc=bt470bg calling func(0.100000) expected=0.439397
49AVColorTransferCharacteristic=5 calling func(1.000000) expected=1.00000049trc=bt470bg calling func(1.000000) expected=1.000000
50AVColorTransferCharacteristic=5 calling func(52.370000) expected=4.11110050trc=bt470bg calling func(52.370000) expected=4.111100
51AVColorTransferCharacteristic=5 calling func(125.098765) expected=5.61072451trc=bt470bg calling func(125.098765) expected=5.610724
52AVColorTransferCharacteristic=5 calling func(1999.111230) expected=15.09629452trc=bt470bg calling func(1999.111230) expected=15.096294
53AVColorTransferCharacteristic=5 calling func(6945.443000) expected=23.55242953trc=bt470bg calling func(6945.443000) expected=23.552429
54AVColorTransferCharacteristic=5 calling func(15123.456700) expected=31.09800554trc=bt470bg calling func(15123.456700) expected=31.098005
55AVColorTransferCharacteristic=5 calling func(19845.889230) expected=34.26749455trc=bt470bg calling func(19845.889230) expected=34.267494
56AVColorTransferCharacteristic=5 calling func(98678.423100) expected=60.76462056trc=bt470bg calling func(98678.423100) expected=60.764620
57AVColorTransferCharacteristic=5 calling func(99999.899998) expected=61.05400157trc=bt470bg calling func(99999.899998) expected=61.054001
58AVColorTransferCharacteristic=6 calling func(-0.100000) expected=0.00000058trc=smpte170m calling func(-0.100000) expected=0.000000
59AVColorTransferCharacteristic=6 calling func(-0.018054) expected=0.00000059trc=smpte170m calling func(-0.018054) expected=0.000000
60AVColorTransferCharacteristic=6 calling func(-0.010000) expected=0.00000060trc=smpte170m calling func(-0.010000) expected=0.000000
61AVColorTransferCharacteristic=6 calling func(-0.004490) expected=0.00000061trc=smpte170m calling func(-0.004490) expected=0.000000
62AVColorTransferCharacteristic=6 calling func(0.000000) expected=0.00000062trc=smpte170m calling func(0.000000) expected=0.000000
63AVColorTransferCharacteristic=6 calling func(0.003162) expected=0.01423063trc=smpte170m calling func(0.003162) expected=0.014230
64AVColorTransferCharacteristic=6 calling func(0.005000) expected=0.02250064trc=smpte170m calling func(0.005000) expected=0.022500
65AVColorTransferCharacteristic=6 calling func(0.009000) expected=0.04050065trc=smpte170m calling func(0.009000) expected=0.040500
66AVColorTransferCharacteristic=6 calling func(0.015000) expected=0.06750066trc=smpte170m calling func(0.015000) expected=0.067500
67AVColorTransferCharacteristic=6 calling func(0.100000) expected=0.29074867trc=smpte170m calling func(0.100000) expected=0.290748
68AVColorTransferCharacteristic=6 calling func(1.000000) expected=1.00000068trc=smpte170m calling func(1.000000) expected=1.000000
69AVColorTransferCharacteristic=6 calling func(52.370000) expected=6.42753169trc=smpte170m calling func(52.370000) expected=6.427531
70AVColorTransferCharacteristic=6 calling func(125.098765) expected=9.55851770trc=smpte170m calling func(125.098765) expected=9.558517
71AVColorTransferCharacteristic=6 calling func(1999.111230) expected=33.51249071trc=smpte170m calling func(1999.111230) expected=33.512490
72AVColorTransferCharacteristic=6 calling func(6945.443000) expected=58.76879472trc=smpte170m calling func(6945.443000) expected=58.768794
73AVColorTransferCharacteristic=6 calling func(15123.456700) expected=83.45291673trc=smpte170m calling func(15123.456700) expected=83.452916
74AVColorTransferCharacteristic=6 calling func(19845.889230) expected=94.32129774trc=smpte170m calling func(19845.889230) expected=94.321297
75AVColorTransferCharacteristic=6 calling func(98678.423100) expected=194.21956875trc=smpte170m calling func(98678.423100) expected=194.219568
76AVColorTransferCharacteristic=6 calling func(99999.899998) expected=195.38630676trc=smpte170m calling func(99999.899998) expected=195.386306
77AVColorTransferCharacteristic=7 calling func(-0.100000) expected=0.00000077trc=smpte240m calling func(-0.100000) expected=0.000000
78AVColorTransferCharacteristic=7 calling func(-0.018054) expected=0.00000078trc=smpte240m calling func(-0.018054) expected=0.000000
79AVColorTransferCharacteristic=7 calling func(-0.010000) expected=0.00000079trc=smpte240m calling func(-0.010000) expected=0.000000
80AVColorTransferCharacteristic=7 calling func(-0.004490) expected=0.00000080trc=smpte240m calling func(-0.004490) expected=0.000000
81AVColorTransferCharacteristic=7 calling func(0.000000) expected=0.00000081trc=smpte240m calling func(0.000000) expected=0.000000
82AVColorTransferCharacteristic=7 calling func(0.003162) expected=0.01264982trc=smpte240m calling func(0.003162) expected=0.012649
83AVColorTransferCharacteristic=7 calling func(0.005000) expected=0.02000083trc=smpte240m calling func(0.005000) expected=0.020000
84AVColorTransferCharacteristic=7 calling func(0.009000) expected=0.03600084trc=smpte240m calling func(0.009000) expected=0.036000
85AVColorTransferCharacteristic=7 calling func(0.015000) expected=0.06000085trc=smpte240m calling func(0.015000) expected=0.060000
86AVColorTransferCharacteristic=7 calling func(0.100000) expected=0.28287586trc=smpte240m calling func(0.100000) expected=0.282875
87AVColorTransferCharacteristic=7 calling func(1.000000) expected=1.00000087trc=smpte240m calling func(1.000000) expected=1.000000
88AVColorTransferCharacteristic=7 calling func(52.370000) expected=6.48778188trc=smpte240m calling func(52.370000) expected=6.487781
89AVColorTransferCharacteristic=7 calling func(125.098765) expected=9.65352489trc=smpte240m calling func(125.098765) expected=9.653524
90AVColorTransferCharacteristic=7 calling func(1999.111230) expected=33.87340890trc=smpte240m calling func(1999.111230) expected=33.873408
91AVColorTransferCharacteristic=7 calling func(6945.443000) expected=59.41007991trc=smpte240m calling func(6945.443000) expected=59.410079
92AVColorTransferCharacteristic=7 calling func(15123.456700) expected=84.36821692trc=smpte240m calling func(15123.456700) expected=84.368216
93AVColorTransferCharacteristic=7 calling func(19845.889230) expected=95.35724793trc=smpte240m calling func(19845.889230) expected=95.357247
94AVColorTransferCharacteristic=7 calling func(98678.423100) expected=196.36447794trc=smpte240m calling func(98678.423100) expected=196.364477
95AVColorTransferCharacteristic=7 calling func(99999.899998) expected=197.54416795trc=smpte240m calling func(99999.899998) expected=197.544167
96AVColorTransferCharacteristic=8 calling func(-0.100000) expected=-0.10000096trc=linear calling func(-0.100000) expected=-0.100000
97AVColorTransferCharacteristic=8 calling func(-0.018054) expected=-0.01805497trc=linear calling func(-0.018054) expected=-0.018054
98AVColorTransferCharacteristic=8 calling func(-0.010000) expected=-0.01000098trc=linear calling func(-0.010000) expected=-0.010000
99AVColorTransferCharacteristic=8 calling func(-0.004490) expected=-0.00449099trc=linear calling func(-0.004490) expected=-0.004490
100AVColorTransferCharacteristic=8 calling func(0.000000) expected=0.000000100trc=linear calling func(0.000000) expected=0.000000
101AVColorTransferCharacteristic=8 calling func(0.003162) expected=0.003162101trc=linear calling func(0.003162) expected=0.003162
102AVColorTransferCharacteristic=8 calling func(0.005000) expected=0.005000102trc=linear calling func(0.005000) expected=0.005000
103AVColorTransferCharacteristic=8 calling func(0.009000) expected=0.009000103trc=linear calling func(0.009000) expected=0.009000
104AVColorTransferCharacteristic=8 calling func(0.015000) expected=0.015000104trc=linear calling func(0.015000) expected=0.015000
105AVColorTransferCharacteristic=8 calling func(0.100000) expected=0.100000105trc=linear calling func(0.100000) expected=0.100000
106AVColorTransferCharacteristic=8 calling func(1.000000) expected=1.000000106trc=linear calling func(1.000000) expected=1.000000
107AVColorTransferCharacteristic=8 calling func(52.370000) expected=52.370000107trc=linear calling func(52.370000) expected=52.370000
108AVColorTransferCharacteristic=8 calling func(125.098765) expected=125.098765108trc=linear calling func(125.098765) expected=125.098765
109AVColorTransferCharacteristic=8 calling func(1999.111230) expected=1999.111230109trc=linear calling func(1999.111230) expected=1999.111230
110AVColorTransferCharacteristic=8 calling func(6945.443000) expected=6945.443000110trc=linear calling func(6945.443000) expected=6945.443000
111AVColorTransferCharacteristic=8 calling func(15123.456700) expected=15123.456700111trc=linear calling func(15123.456700) expected=15123.456700
112AVColorTransferCharacteristic=8 calling func(19845.889230) expected=19845.889230112trc=linear calling func(19845.889230) expected=19845.889230
113AVColorTransferCharacteristic=8 calling func(98678.423100) expected=98678.423100113trc=linear calling func(98678.423100) expected=98678.423100
114AVColorTransferCharacteristic=8 calling func(99999.899998) expected=99999.899998114trc=linear calling func(99999.899998) expected=99999.899998
115AVColorTransferCharacteristic=9 calling func(-0.100000) expected=0.000000115trc=log100 calling func(-0.100000) expected=0.000000
116AVColorTransferCharacteristic=9 calling func(-0.018054) expected=0.000000116trc=log100 calling func(-0.018054) expected=0.000000
117AVColorTransferCharacteristic=9 calling func(-0.010000) expected=0.000000117trc=log100 calling func(-0.010000) expected=0.000000
118AVColorTransferCharacteristic=9 calling func(-0.004490) expected=0.000000118trc=log100 calling func(-0.004490) expected=0.000000
119AVColorTransferCharacteristic=9 calling func(0.000000) expected=0.000000119trc=log100 calling func(0.000000) expected=0.000000
120AVColorTransferCharacteristic=9 calling func(0.003162) expected=0.000000120trc=log100 calling func(0.003162) expected=0.000000
121AVColorTransferCharacteristic=9 calling func(0.005000) expected=0.000000121trc=log100 calling func(0.005000) expected=0.000000
122AVColorTransferCharacteristic=9 calling func(0.009000) expected=0.000000122trc=log100 calling func(0.009000) expected=0.000000
123AVColorTransferCharacteristic=9 calling func(0.015000) expected=0.088046123trc=log100 calling func(0.015000) expected=0.088046
124AVColorTransferCharacteristic=9 calling func(0.100000) expected=0.500000124trc=log100 calling func(0.100000) expected=0.500000
125AVColorTransferCharacteristic=9 calling func(1.000000) expected=1.000000125trc=log100 calling func(1.000000) expected=1.000000
126AVColorTransferCharacteristic=9 calling func(52.370000) expected=1.859541126trc=log100 calling func(52.370000) expected=1.859541
127AVColorTransferCharacteristic=9 calling func(125.098765) expected=2.048627127trc=log100 calling func(125.098765) expected=2.048627
128AVColorTransferCharacteristic=9 calling func(1999.111230) expected=2.650418128trc=log100 calling func(1999.111230) expected=2.650418
129AVColorTransferCharacteristic=9 calling func(6945.443000) expected=2.920850129trc=log100 calling func(6945.443000) expected=2.920850
130AVColorTransferCharacteristic=9 calling func(15123.456700) expected=3.089826130trc=log100 calling func(15123.456700) expected=3.089826
131AVColorTransferCharacteristic=9 calling func(19845.889230) expected=3.148835131trc=log100 calling func(19845.889230) expected=3.148835
132AVColorTransferCharacteristic=9 calling func(98678.423100) expected=3.497111132trc=log100 calling func(98678.423100) expected=3.497111
133AVColorTransferCharacteristic=9 calling func(99999.899998) expected=3.500000133trc=log100 calling func(99999.899998) expected=3.500000
134AVColorTransferCharacteristic=10 calling func(-0.100000) expected=0.000000134trc=log316 calling func(-0.100000) expected=0.000000
135AVColorTransferCharacteristic=10 calling func(-0.018054) expected=0.000000135trc=log316 calling func(-0.018054) expected=0.000000
136AVColorTransferCharacteristic=10 calling func(-0.010000) expected=0.000000136trc=log316 calling func(-0.010000) expected=0.000000
137AVColorTransferCharacteristic=10 calling func(-0.004490) expected=0.000000137trc=log316 calling func(-0.004490) expected=0.000000
138AVColorTransferCharacteristic=10 calling func(0.000000) expected=0.000000138trc=log316 calling func(0.000000) expected=0.000000
139AVColorTransferCharacteristic=10 calling func(0.003162) expected=0.000000139trc=log316 calling func(0.003162) expected=0.000000
140AVColorTransferCharacteristic=10 calling func(0.005000) expected=0.079588140trc=log316 calling func(0.005000) expected=0.079588
141AVColorTransferCharacteristic=10 calling func(0.009000) expected=0.181697141trc=log316 calling func(0.009000) expected=0.181697
142AVColorTransferCharacteristic=10 calling func(0.015000) expected=0.270437142trc=log316 calling func(0.015000) expected=0.270437
143AVColorTransferCharacteristic=10 calling func(0.100000) expected=0.600000143trc=log316 calling func(0.100000) expected=0.600000
144AVColorTransferCharacteristic=10 calling func(1.000000) expected=1.000000144trc=log316 calling func(1.000000) expected=1.000000
145AVColorTransferCharacteristic=10 calling func(52.370000) expected=1.687633145trc=log316 calling func(52.370000) expected=1.687633
146AVColorTransferCharacteristic=10 calling func(125.098765) expected=1.838901146trc=log316 calling func(125.098765) expected=1.838901
147AVColorTransferCharacteristic=10 calling func(1999.111230) expected=2.320335147trc=log316 calling func(1999.111230) expected=2.320335
148AVColorTransferCharacteristic=10 calling func(6945.443000) expected=2.536680148trc=log316 calling func(6945.443000) expected=2.536680
149AVColorTransferCharacteristic=10 calling func(15123.456700) expected=2.671860149trc=log316 calling func(15123.456700) expected=2.671860
150AVColorTransferCharacteristic=10 calling func(19845.889230) expected=2.719068150trc=log316 calling func(19845.889230) expected=2.719068
151AVColorTransferCharacteristic=10 calling func(98678.423100) expected=2.997689151trc=log316 calling func(98678.423100) expected=2.997689
152AVColorTransferCharacteristic=10 calling func(99999.899998) expected=3.000000152trc=log316 calling func(99999.899998) expected=3.000000
153AVColorTransferCharacteristic=11 calling func(-0.100000) expected=-0.290748153trc=iec61966-2-4 calling func(-0.100000) expected=-0.290748
154AVColorTransferCharacteristic=11 calling func(-0.018054) expected=-0.081243154trc=iec61966-2-4 calling func(-0.018054) expected=-0.081243
155AVColorTransferCharacteristic=11 calling func(-0.010000) expected=-0.045000155trc=iec61966-2-4 calling func(-0.010000) expected=-0.045000
156AVColorTransferCharacteristic=11 calling func(-0.004490) expected=-0.020205156trc=iec61966-2-4 calling func(-0.004490) expected=-0.020205
157AVColorTransferCharacteristic=11 calling func(0.000000) expected=0.000000157trc=iec61966-2-4 calling func(0.000000) expected=0.000000
158AVColorTransferCharacteristic=11 calling func(0.003162) expected=0.014230158trc=iec61966-2-4 calling func(0.003162) expected=0.014230
159AVColorTransferCharacteristic=11 calling func(0.005000) expected=0.022500159trc=iec61966-2-4 calling func(0.005000) expected=0.022500
160AVColorTransferCharacteristic=11 calling func(0.009000) expected=0.040500160trc=iec61966-2-4 calling func(0.009000) expected=0.040500
161AVColorTransferCharacteristic=11 calling func(0.015000) expected=0.067500161trc=iec61966-2-4 calling func(0.015000) expected=0.067500
162AVColorTransferCharacteristic=11 calling func(0.100000) expected=0.290748162trc=iec61966-2-4 calling func(0.100000) expected=0.290748
163AVColorTransferCharacteristic=11 calling func(1.000000) expected=1.000000163trc=iec61966-2-4 calling func(1.000000) expected=1.000000
164AVColorTransferCharacteristic=11 calling func(52.370000) expected=6.427531164trc=iec61966-2-4 calling func(52.370000) expected=6.427531
165AVColorTransferCharacteristic=11 calling func(125.098765) expected=9.558517165trc=iec61966-2-4 calling func(125.098765) expected=9.558517
166AVColorTransferCharacteristic=11 calling func(1999.111230) expected=33.512490166trc=iec61966-2-4 calling func(1999.111230) expected=33.512490
167AVColorTransferCharacteristic=11 calling func(6945.443000) expected=58.768794167trc=iec61966-2-4 calling func(6945.443000) expected=58.768794
168AVColorTransferCharacteristic=11 calling func(15123.456700) expected=83.452916168trc=iec61966-2-4 calling func(15123.456700) expected=83.452916
169AVColorTransferCharacteristic=11 calling func(19845.889230) expected=94.321297169trc=iec61966-2-4 calling func(19845.889230) expected=94.321297
170AVColorTransferCharacteristic=11 calling func(98678.423100) expected=194.219568170trc=iec61966-2-4 calling func(98678.423100) expected=194.219568
171AVColorTransferCharacteristic=11 calling func(99999.899998) expected=195.386306171trc=iec61966-2-4 calling func(99999.899998) expected=195.386306
172AVColorTransferCharacteristic=12 calling func(-0.100000) expected=-0.206787172trc=bt1361e calling func(-0.100000) expected=-0.206787
173AVColorTransferCharacteristic=12 calling func(-0.018054) expected=-0.109049173trc=bt1361e calling func(-0.018054) expected=-0.109049
174AVColorTransferCharacteristic=12 calling func(-0.010000) expected=-0.089387174trc=bt1361e calling func(-0.010000) expected=-0.089387
175AVColorTransferCharacteristic=12 calling func(-0.004490) expected=-0.020205175trc=bt1361e calling func(-0.004490) expected=-0.020205
176AVColorTransferCharacteristic=12 calling func(0.000000) expected=0.000000176trc=bt1361e calling func(0.000000) expected=0.000000
177AVColorTransferCharacteristic=12 calling func(0.003162) expected=0.014230177trc=bt1361e calling func(0.003162) expected=0.014230
178AVColorTransferCharacteristic=12 calling func(0.005000) expected=0.022500178trc=bt1361e calling func(0.005000) expected=0.022500
179AVColorTransferCharacteristic=12 calling func(0.009000) expected=0.040500179trc=bt1361e calling func(0.009000) expected=0.040500
180AVColorTransferCharacteristic=12 calling func(0.015000) expected=0.067500180trc=bt1361e calling func(0.015000) expected=0.067500
181AVColorTransferCharacteristic=12 calling func(0.100000) expected=0.290748181trc=bt1361e calling func(0.100000) expected=0.290748
182AVColorTransferCharacteristic=12 calling func(1.000000) expected=1.000000182trc=bt1361e calling func(1.000000) expected=1.000000
183AVColorTransferCharacteristic=12 calling func(52.370000) expected=6.427531183trc=bt1361e calling func(52.370000) expected=6.427531
184AVColorTransferCharacteristic=12 calling func(125.098765) expected=9.558517184trc=bt1361e calling func(125.098765) expected=9.558517
185AVColorTransferCharacteristic=12 calling func(1999.111230) expected=33.512490185trc=bt1361e calling func(1999.111230) expected=33.512490
186AVColorTransferCharacteristic=12 calling func(6945.443000) expected=58.768794186trc=bt1361e calling func(6945.443000) expected=58.768794
187AVColorTransferCharacteristic=12 calling func(15123.456700) expected=83.452916187trc=bt1361e calling func(15123.456700) expected=83.452916
188AVColorTransferCharacteristic=12 calling func(19845.889230) expected=94.321297188trc=bt1361e calling func(19845.889230) expected=94.321297
189AVColorTransferCharacteristic=12 calling func(98678.423100) expected=194.219568189trc=bt1361e calling func(98678.423100) expected=194.219568
190AVColorTransferCharacteristic=12 calling func(99999.899998) expected=195.386306190trc=bt1361e calling func(99999.899998) expected=195.386306
191AVColorTransferCharacteristic=13 calling func(-0.100000) expected=0.000000191trc=iec61966-2-1 calling func(-0.100000) expected=0.000000
192AVColorTransferCharacteristic=13 calling func(-0.018054) expected=0.000000192trc=iec61966-2-1 calling func(-0.018054) expected=0.000000
193AVColorTransferCharacteristic=13 calling func(-0.010000) expected=0.000000193trc=iec61966-2-1 calling func(-0.010000) expected=0.000000
194AVColorTransferCharacteristic=13 calling func(-0.004490) expected=0.000000194trc=iec61966-2-1 calling func(-0.004490) expected=0.000000
195AVColorTransferCharacteristic=13 calling func(0.000000) expected=0.000000195trc=iec61966-2-1 calling func(0.000000) expected=0.000000
196AVColorTransferCharacteristic=13 calling func(0.003162) expected=0.040849196trc=iec61966-2-1 calling func(0.003162) expected=0.040849
197AVColorTransferCharacteristic=13 calling func(0.005000) expected=0.061009197trc=iec61966-2-1 calling func(0.005000) expected=0.061009
198AVColorTransferCharacteristic=13 calling func(0.009000) expected=0.093202198trc=iec61966-2-1 calling func(0.009000) expected=0.093202
199AVColorTransferCharacteristic=13 calling func(0.015000) expected=0.128354199trc=iec61966-2-1 calling func(0.015000) expected=0.128354
200AVColorTransferCharacteristic=13 calling func(0.100000) expected=0.349190200trc=iec61966-2-1 calling func(0.100000) expected=0.349190
201AVColorTransferCharacteristic=13 calling func(1.000000) expected=1.000000201trc=iec61966-2-1 calling func(1.000000) expected=1.000000
202AVColorTransferCharacteristic=13 calling func(52.370000) expected=5.434552202trc=iec61966-2-1 calling func(52.370000) expected=5.434552
203AVColorTransferCharacteristic=13 calling func(125.098765) expected=7.835561203trc=iec61966-2-1 calling func(125.098765) expected=7.835561
204AVColorTransferCharacteristic=13 calling func(1999.111230) expected=24.983090204trc=iec61966-2-1 calling func(1999.111230) expected=24.983090
205AVColorTransferCharacteristic=13 calling func(6945.443000) expected=42.013863205trc=iec61966-2-1 calling func(6945.443000) expected=42.013863
206AVColorTransferCharacteristic=13 calling func(15123.456700) expected=58.125003206trc=iec61966-2-1 calling func(15123.456700) expected=58.125003
207AVColorTransferCharacteristic=13 calling func(19845.889230) expected=65.100117207trc=iec61966-2-1 calling func(19845.889230) expected=65.100117
208AVColorTransferCharacteristic=13 calling func(98678.423100) expected=127.054607208trc=iec61966-2-1 calling func(98678.423100) expected=127.054607
209AVColorTransferCharacteristic=13 calling func(99999.899998) expected=127.761115209trc=iec61966-2-1 calling func(99999.899998) expected=127.761115
210AVColorTransferCharacteristic=14 calling func(-0.100000) expected=0.000000210trc=bt2020-10 calling func(-0.100000) expected=0.000000
211AVColorTransferCharacteristic=14 calling func(-0.018054) expected=0.000000211trc=bt2020-10 calling func(-0.018054) expected=0.000000
212AVColorTransferCharacteristic=14 calling func(-0.010000) expected=0.000000212trc=bt2020-10 calling func(-0.010000) expected=0.000000
213AVColorTransferCharacteristic=14 calling func(-0.004490) expected=0.000000213trc=bt2020-10 calling func(-0.004490) expected=0.000000
214AVColorTransferCharacteristic=14 calling func(0.000000) expected=0.000000214trc=bt2020-10 calling func(0.000000) expected=0.000000
215AVColorTransferCharacteristic=14 calling func(0.003162) expected=0.014230215trc=bt2020-10 calling func(0.003162) expected=0.014230
216AVColorTransferCharacteristic=14 calling func(0.005000) expected=0.022500216trc=bt2020-10 calling func(0.005000) expected=0.022500
217AVColorTransferCharacteristic=14 calling func(0.009000) expected=0.040500217trc=bt2020-10 calling func(0.009000) expected=0.040500
218AVColorTransferCharacteristic=14 calling func(0.015000) expected=0.067500218trc=bt2020-10 calling func(0.015000) expected=0.067500
219AVColorTransferCharacteristic=14 calling func(0.100000) expected=0.290748219trc=bt2020-10 calling func(0.100000) expected=0.290748
220AVColorTransferCharacteristic=14 calling func(1.000000) expected=1.000000220trc=bt2020-10 calling func(1.000000) expected=1.000000
221AVColorTransferCharacteristic=14 calling func(52.370000) expected=6.427531221trc=bt2020-10 calling func(52.370000) expected=6.427531
222AVColorTransferCharacteristic=14 calling func(125.098765) expected=9.558517222trc=bt2020-10 calling func(125.098765) expected=9.558517
223AVColorTransferCharacteristic=14 calling func(1999.111230) expected=33.512490223trc=bt2020-10 calling func(1999.111230) expected=33.512490
224AVColorTransferCharacteristic=14 calling func(6945.443000) expected=58.768794224trc=bt2020-10 calling func(6945.443000) expected=58.768794
225AVColorTransferCharacteristic=14 calling func(15123.456700) expected=83.452916225trc=bt2020-10 calling func(15123.456700) expected=83.452916
226AVColorTransferCharacteristic=14 calling func(19845.889230) expected=94.321297226trc=bt2020-10 calling func(19845.889230) expected=94.321297
227AVColorTransferCharacteristic=14 calling func(98678.423100) expected=194.219568227trc=bt2020-10 calling func(98678.423100) expected=194.219568
228AVColorTransferCharacteristic=14 calling func(99999.899998) expected=195.386306228trc=bt2020-10 calling func(99999.899998) expected=195.386306
229AVColorTransferCharacteristic=15 calling func(-0.100000) expected=0.000000229trc=bt2020-12 calling func(-0.100000) expected=0.000000
230AVColorTransferCharacteristic=15 calling func(-0.018054) expected=0.000000230trc=bt2020-12 calling func(-0.018054) expected=0.000000
231AVColorTransferCharacteristic=15 calling func(-0.010000) expected=0.000000231trc=bt2020-12 calling func(-0.010000) expected=0.000000
232AVColorTransferCharacteristic=15 calling func(-0.004490) expected=0.000000232trc=bt2020-12 calling func(-0.004490) expected=0.000000
233AVColorTransferCharacteristic=15 calling func(0.000000) expected=0.000000233trc=bt2020-12 calling func(0.000000) expected=0.000000
234AVColorTransferCharacteristic=15 calling func(0.003162) expected=0.014230234trc=bt2020-12 calling func(0.003162) expected=0.014230
235AVColorTransferCharacteristic=15 calling func(0.005000) expected=0.022500235trc=bt2020-12 calling func(0.005000) expected=0.022500
236AVColorTransferCharacteristic=15 calling func(0.009000) expected=0.040500236trc=bt2020-12 calling func(0.009000) expected=0.040500
237AVColorTransferCharacteristic=15 calling func(0.015000) expected=0.067500237trc=bt2020-12 calling func(0.015000) expected=0.067500
238AVColorTransferCharacteristic=15 calling func(0.100000) expected=0.290748238trc=bt2020-12 calling func(0.100000) expected=0.290748
239AVColorTransferCharacteristic=15 calling func(1.000000) expected=1.000000239trc=bt2020-12 calling func(1.000000) expected=1.000000
240AVColorTransferCharacteristic=15 calling func(52.370000) expected=6.427531240trc=bt2020-12 calling func(52.370000) expected=6.427531
241AVColorTransferCharacteristic=15 calling func(125.098765) expected=9.558517241trc=bt2020-12 calling func(125.098765) expected=9.558517
242AVColorTransferCharacteristic=15 calling func(1999.111230) expected=33.512490242trc=bt2020-12 calling func(1999.111230) expected=33.512490
243AVColorTransferCharacteristic=15 calling func(6945.443000) expected=58.768794243trc=bt2020-12 calling func(6945.443000) expected=58.768794
244AVColorTransferCharacteristic=15 calling func(15123.456700) expected=83.452916244trc=bt2020-12 calling func(15123.456700) expected=83.452916
245AVColorTransferCharacteristic=15 calling func(19845.889230) expected=94.321297245trc=bt2020-12 calling func(19845.889230) expected=94.321297
246AVColorTransferCharacteristic=15 calling func(98678.423100) expected=194.219568246trc=bt2020-12 calling func(98678.423100) expected=194.219568
247AVColorTransferCharacteristic=15 calling func(99999.899998) expected=195.386306247trc=bt2020-12 calling func(99999.899998) expected=195.386306
248AVColorTransferCharacteristic=16 calling func(-0.100000) expected=0.000000248trc=smpte2084 calling func(-0.100000) expected=0.000000
249AVColorTransferCharacteristic=16 calling func(-0.018054) expected=0.000000249trc=smpte2084 calling func(-0.018054) expected=0.000000
250AVColorTransferCharacteristic=16 calling func(-0.010000) expected=0.000000250trc=smpte2084 calling func(-0.010000) expected=0.000000
251AVColorTransferCharacteristic=16 calling func(-0.004490) expected=0.000000251trc=smpte2084 calling func(-0.004490) expected=0.000000
252AVColorTransferCharacteristic=16 calling func(0.000000) expected=0.000001252trc=smpte2084 calling func(0.000000) expected=0.000001
253AVColorTransferCharacteristic=16 calling func(0.003162) expected=0.011839253trc=smpte2084 calling func(0.003162) expected=0.011839
254AVColorTransferCharacteristic=16 calling func(0.005000) expected=0.015076254trc=smpte2084 calling func(0.005000) expected=0.015076
255AVColorTransferCharacteristic=16 calling func(0.009000) expected=0.020379255trc=smpte2084 calling func(0.009000) expected=0.020379
256AVColorTransferCharacteristic=16 calling func(0.015000) expected=0.026255256trc=smpte2084 calling func(0.015000) expected=0.026255
257AVColorTransferCharacteristic=16 calling func(0.100000) expected=0.062337257trc=smpte2084 calling func(0.100000) expected=0.062337
258AVColorTransferCharacteristic=16 calling func(1.000000) expected=0.149946258trc=smpte2084 calling func(1.000000) expected=0.149946
259AVColorTransferCharacteristic=16 calling func(52.370000) expected=0.444693259trc=smpte2084 calling func(52.370000) expected=0.444693
260AVColorTransferCharacteristic=16 calling func(125.098765) expected=0.530719260trc=smpte2084 calling func(125.098765) expected=0.530719
261AVColorTransferCharacteristic=16 calling func(1999.111230) expected=0.827376261trc=smpte2084 calling func(1999.111230) expected=0.827376
262AVColorTransferCharacteristic=16 calling func(6945.443000) expected=0.961586262trc=smpte2084 calling func(6945.443000) expected=0.961586
263AVColorTransferCharacteristic=16 calling func(15123.456700) expected=1.042921263trc=smpte2084 calling func(15123.456700) expected=1.042921
264AVColorTransferCharacteristic=16 calling func(19845.889230) expected=1.070677264trc=smpte2084 calling func(19845.889230) expected=1.070677
265AVColorTransferCharacteristic=16 calling func(98678.423100) expected=1.225908265trc=smpte2084 calling func(98678.423100) expected=1.225908
266AVColorTransferCharacteristic=16 calling func(99999.899998) expected=1.227127266trc=smpte2084 calling func(99999.899998) expected=1.227127
267AVColorTransferCharacteristic=17 calling func(-0.100000) expected=0.000000267trc=smpte428 calling func(-0.100000) expected=0.000000
268AVColorTransferCharacteristic=17 calling func(-0.018054) expected=0.000000268trc=smpte428 calling func(-0.018054) expected=0.000000
269AVColorTransferCharacteristic=17 calling func(-0.010000) expected=0.000000269trc=smpte428 calling func(-0.010000) expected=0.000000
270AVColorTransferCharacteristic=17 calling func(-0.004490) expected=0.000000270trc=smpte428 calling func(-0.004490) expected=0.000000
271AVColorTransferCharacteristic=17 calling func(0.000000) expected=0.000000271trc=smpte428 calling func(0.000000) expected=0.000000
272AVColorTransferCharacteristic=17 calling func(0.003162) expected=0.105659272trc=smpte428 calling func(0.003162) expected=0.105659
273AVColorTransferCharacteristic=17 calling func(0.005000) expected=0.126018273trc=smpte428 calling func(0.005000) expected=0.126018
274AVColorTransferCharacteristic=17 calling func(0.009000) expected=0.157985274trc=smpte428 calling func(0.009000) expected=0.157985
275AVColorTransferCharacteristic=17 calling func(0.015000) expected=0.192284275trc=smpte428 calling func(0.015000) expected=0.192284
276AVColorTransferCharacteristic=17 calling func(0.100000) expected=0.398869276trc=smpte428 calling func(0.100000) expected=0.398869
277AVColorTransferCharacteristic=17 calling func(1.000000) expected=0.967043277trc=smpte428 calling func(1.000000) expected=0.967043
278AVColorTransferCharacteristic=17 calling func(52.370000) expected=4.432321278trc=smpte428 calling func(52.370000) expected=4.432321
279AVColorTransferCharacteristic=17 calling func(125.098765) expected=6.195572279trc=smpte428 calling func(125.098765) expected=6.195572
280AVColorTransferCharacteristic=17 calling func(1999.111230) expected=17.988639280trc=smpte428 calling func(1999.111230) expected=17.988639
281AVColorTransferCharacteristic=17 calling func(6945.443000) expected=29.041734281trc=smpte428 calling func(6945.443000) expected=29.041734
282AVColorTransferCharacteristic=17 calling func(15123.456700) expected=39.174525282trc=smpte428 calling func(15123.456700) expected=39.174525
283AVColorTransferCharacteristic=17 calling func(19845.889230) expected=43.490646283trc=smpte428 calling func(19845.889230) expected=43.490646
284AVColorTransferCharacteristic=17 calling func(98678.423100) expected=80.593559284trc=smpte428 calling func(98678.423100) expected=80.593559
285AVColorTransferCharacteristic=17 calling func(99999.899998) expected=81.006971285trc=smpte428 calling func(99999.899998) expected=81.006971
286AVColorTransferCharacteristic=18 calling func(-0.100000) expected=0.000000286trc=arib-std-b67 calling func(-0.100000) expected=0.000000
287AVColorTransferCharacteristic=18 calling func(-0.018054) expected=0.000000287trc=arib-std-b67 calling func(-0.018054) expected=0.000000
288AVColorTransferCharacteristic=18 calling func(-0.010000) expected=0.000000288trc=arib-std-b67 calling func(-0.010000) expected=0.000000
289AVColorTransferCharacteristic=18 calling func(-0.004490) expected=0.000000289trc=arib-std-b67 calling func(-0.004490) expected=0.000000
290AVColorTransferCharacteristic=18 calling func(0.000000) expected=0.000000290trc=arib-std-b67 calling func(0.000000) expected=0.000000
291AVColorTransferCharacteristic=18 calling func(0.003162) expected=0.097400291trc=arib-std-b67 calling func(0.003162) expected=0.097400
292AVColorTransferCharacteristic=18 calling func(0.005000) expected=0.122474292trc=arib-std-b67 calling func(0.005000) expected=0.122474
293AVColorTransferCharacteristic=18 calling func(0.009000) expected=0.164317293trc=arib-std-b67 calling func(0.009000) expected=0.164317
294AVColorTransferCharacteristic=18 calling func(0.015000) expected=0.212132294trc=arib-std-b67 calling func(0.015000) expected=0.212132
295AVColorTransferCharacteristic=18 calling func(0.100000) expected=0.544089295trc=arib-std-b67 calling func(0.100000) expected=0.544089
296AVColorTransferCharacteristic=18 calling func(1.000000) expected=1.000000296trc=arib-std-b67 calling func(1.000000) expected=1.000000
297AVColorTransferCharacteristic=18 calling func(52.370000) expected=1.712092297trc=arib-std-b67 calling func(52.370000) expected=1.712092
298AVColorTransferCharacteristic=18 calling func(125.098765) expected=1.867862298trc=arib-std-b67 calling func(125.098765) expected=1.867862
299AVColorTransferCharacteristic=18 calling func(1999.111230) expected=2.363502299trc=arib-std-b67 calling func(1999.111230) expected=2.363502
300AVColorTransferCharacteristic=18 calling func(6945.443000) expected=2.586219300trc=arib-std-b67 calling func(6945.443000) expected=2.586219
301AVColorTransferCharacteristic=18 calling func(15123.456700) expected=2.725380301trc=arib-std-b67 calling func(15123.456700) expected=2.725380
302AVColorTransferCharacteristic=18 calling func(19845.889230) expected=2.773978302trc=arib-std-b67 calling func(19845.889230) expected=2.773978
303AVColorTransferCharacteristic=18 calling func(98678.423100) expected=3.060803303trc=arib-std-b67 calling func(98678.423100) expected=3.060803
304AVColorTransferCharacteristic=18 calling func(99999.899998) expected=3.063182304trc=arib-std-b67 calling func(99999.899998) expected=3.063182

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t