Searched refs:srgb_to_linear (Results 1 – 9 of 9) sorted by relevance
/third_party/pixman/pixman/ |
D | make-srgb.pl | 19 sub srgb_to_linear subroutine 40 my @srgb_to_linear; 43 my $linear = int(srgb_to_linear($srgb / 255.0) * 65535.0 + 0.5); 44 push @srgb_to_linear, $linear; 52 for my $srgb (0 .. $#srgb_to_linear) 57 my $linear = $srgb_to_linear[$srgb]; 62 $srgb_to_linear[$srgb] ++; 100 print "const uint16_t srgb_to_linear[" . @srgb_to_linear . "] =\n"; 102 for my $srgb (0 .. $#srgb_to_linear) 108 print sprintf("%d, ", $srgb_to_linear[$srgb]);
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrSRGBEffect.cpp | 93 static inline float srgb_to_linear(float srgb) { in srgb_to_linear() function 108 color = { srgb_to_linear(color.fR), srgb_to_linear(color.fG), srgb_to_linear(color.fB), in constantOutputForConstantInput()
|
/third_party/mesa3d/src/util/ |
D | format_srgb.py | 44 def srgb_to_linear(x): function 63 print(' '.join(['%.7ef,' % srgb_to_linear(i / 255.0) for i in range(j, j + 4)])) 70 … print(' '.join(['%3u,' % int(srgb_to_linear(i / 255.0) * 255.0 + 0.5) for i in range(j, j + 16)]))
|
/third_party/flutter/skia/tests/ |
D | ApplyGammaTest.cpp | 43 static float srgb_to_linear(float srgb) { in srgb_to_linear() function 76 lower = srgb_to_linear(lower / 255.f); in check_gamma() 77 upper = srgb_to_linear(upper / 255.f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 21 float srgb_to_linear(float srgb) { in srgb_to_linear() function 100 return check_conversion<srgb_to_linear>(srgb, linear, error); in check_srgb_to_linear_conversion() 108 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion() 112 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()
|
/third_party/skia/tests/ |
D | ApplyGammaTest.cpp | 43 static float srgb_to_linear(float srgb) { in srgb_to_linear() function 76 lower = srgb_to_linear(lower / 255.f); in check_gamma() 77 upper = srgb_to_linear(upper / 255.f); in check_gamma()
|
D | SRGBReadWritePixelsTest.cpp | 22 float srgb_to_linear(float srgb) { in srgb_to_linear() function 101 return check_conversion<srgb_to_linear>(srgb, linear, error); in check_srgb_to_linear_conversion() 109 return check_double_conversion<linear_to_srgb, srgb_to_linear>(input, output, error); in check_linear_to_srgb_to_linear_conversion() 113 return check_double_conversion<srgb_to_linear, linear_to_srgb>(input, output, error); in check_srgb_to_linear_to_srgb_conversion()
|
/third_party/skia/src/core/ |
D | SkPixmap.cpp | 331 auto srgb_to_linear = [](float x) { in getColor() local 341 r = srgb_to_linear(r); in getColor() 342 g = srgb_to_linear(g); in getColor() 343 b = srgb_to_linear(b); in getColor()
|
/third_party/mesa3d/src/broadcom/ci/ |
D | vc4-rpi3-fails.txt | 1284 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear downsample disabled clear,Crash 1285 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear downsample disabled render,Crash 1286 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear downsample enabled clear,Crash 1287 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear downsample enabled render,Crash 1288 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear msaa disabled clear,Crash 1289 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear msaa disabled render,Crash 1290 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear msaa enabled clear,Crash 1291 spec@arb_framebuffer_srgb@blit renderbuffer srgb_to_linear msaa enabled render,Crash 1300 spec@arb_framebuffer_srgb@blit texture srgb_to_linear downsample disabled clear,Crash 1301 spec@arb_framebuffer_srgb@blit texture srgb_to_linear downsample disabled render,Crash [all …]
|