/external/libpng/tests/ |
pngstest-sRGB | 2 exec "${srcdir}/tests/pngstest" sRGB none
|
pngstest-sRGB-alpha | 2 exec "${srcdir}/tests/pngstest" sRGB alpha
|
pngunknown-sAPI | 2 exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save eXIf=save "${srcdir}/pngtest.png"
|
/frameworks/native/libs/ui/tests/ |
colorspace_test.cpp | 41 ColorSpace sRGB("sRGB", sRGBToXYZ); 43 EXPECT_EQ(sRGBToXYZ, sRGB.getRGBtoXYZ()); 44 EXPECT_EQ(XYZtoSRGB, sRGB.getXYZtoRGB()); 54 ColorSpace sRGB("sRGB", sRGBToXYZ); 56 EXPECT_NEAR(0.640f, sRGB.getPrimaries()[0].x, 1e-5f); 57 EXPECT_NEAR(0.330f, sRGB.getPrimaries()[0].y, 1e-5f); 59 EXPECT_NEAR(0.300f, sRGB.getPrimaries()[1].x, 1e-5f); 60 EXPECT_NEAR(0.600f, sRGB.getPrimaries()[1].y, 1e-5f) [all...] |
/frameworks/base/libs/hwui/utils/ |
Color.h | 75 // Opto-electronic conversion function for the sRGB color space 76 // Takes a linear sRGB value and converts it to a gamma-encoded sRGB value 82 // Opto-electronic conversion function for the sRGB color space 83 // Takes a linear sRGB value and converts it to a gamma-encoded sRGB value 93 // Electro-optical conversion function for the sRGB color space 94 // Takes a gamma-encoded sRGB value and converts it to a linear sRGB value 95 static constexpr float EOCF_sRGB(float srgb) { [all...] |
/external/pdfium/third_party/lcms/ |
0019-utf8.patch | 74 //sRGB Curves are defined by: 76 -//If R<92>sRGB,G<92>sRGB, B<92>sRGB < 0.04045 77 +//If R'sRGB,G'sRGB, B'sRGB < 0.04045 79 -// R = R<92>sRGB / 12.92 80 -// G = G<92>sRGB / 12.92 81 -// B = B<92>sRGB / 12.9 [all...] |
/external/ImageMagick/tests/ |
cli-colorspace.tap | 38 too_light=`eval ${MAGICK} "$in" -set colorspace RGB -colorspace sRGB "$out"` 42 printf "$format2" "Average \"rose:\" Color" "$average" "sRGB(rose)" 43 printf "$format2" "Too Dark Color" "$too_dark" "sRGB(rose)->RGB result" 44 printf "$format2" "Too Light Color" "$too_light" "RGB(rose)->sRGB result" 74 test="sRGB" 98 test_color RGB sRGB && echo "ok" || echo "not ok" 100 test_color XYZ sRGB && echo "ok" || echo "not ok" 101 test_color XYZ RGB sRGB && echo "ok" || echo "not ok" 102 test_color RGB XYZ sRGB && echo "ok" || echo "not ok" 104 test_color LAB sRGB && echo "ok" || echo "not ok [all...] |
/external/libpng/contrib/tools/ |
sRGB.h | 2 * sRGB.h 11 * Utility file; not actually a header, this contains definitions of sRGB 15 * 0 to 1.0, doing a calculation according to the sRGB specification 17 * https://en.wikipedia.org/wiki/SRGB). 44 /* Use the sRGB (rounded) coefficients for Rlinear, Glinear, Blinear to get
|
/external/skia/tests/ |
ToSRGBColorFilter.cpp | 15 // sRGB -> sRGB is a no-op. 21 // We generally interpret nullptr source spaces as sRGB. See also chromium:787718.
|
SkColorSpace_NewTest.cpp | 20 srgb{SkColorSpace_New::TransferFn::MakeSRGB(), gamut, blending}, 25 REPORTER_ASSERT(r, ! srgb.gammaIsLinear()); 30 REPORTER_ASSERT(r, srgb.gammaCloseToSRGB()); 34 REPORTER_ASSERT(r, !linearA.transferFn().equals( srgb.transferFn())); 36 REPORTER_ASSERT(r, !linearB.transferFn().equals( srgb.transferFn())); 38 REPORTER_ASSERT(r, ! srgb.transferFn().equals( gamma.transferFn())); 55 srgb{SkColorSpace_New::TransferFn::MakeSRGB(), gamut, blending}, 58 for (const SkColorSpace_New* cs : {&linear, &srgb, &gamma}) { 86 // linear is darker than sRGB, and sRGB in turn is darker than gamma 3 [all...] |
ColorSpaceTest.cpp | 102 // Create an sRGB color space by name 105 // Create an sRGB color space by value 123 // Change a single value from the sRGB matrix 131 // Create the linear sRGB color space by name 134 // Create the linear sRGB color space via the sRGB color space's makeLinearGamma() 135 auto srgb = SkColorSpace::MakeSRGB(); local 136 auto srgbXYZ = static_cast<SkColorSpace_XYZ*>(srgb.get()); 140 // Create a linear sRGB color space by value 169 // Change a single value from the sRGB matri 221 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local 290 SkColorSpacePrimaries srgb; local 391 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local [all...] |
TableColorFilterTest.cpp | 19 // Using a wide source gamut will make saturated colors go well out of range of sRGB. 31 // The rec2020 primaries are not representable in sRGB, but will clamp to the sRGB primaries.
|
/external/skqp/tests/ |
ToSRGBColorFilter.cpp | 15 // sRGB -> sRGB is a no-op. 21 // We generally interpret nullptr source spaces as sRGB. See also chromium:787718.
|
SkColorSpace_NewTest.cpp | 20 srgb{SkColorSpace_New::TransferFn::MakeSRGB(), gamut, blending}, 25 REPORTER_ASSERT(r, ! srgb.gammaIsLinear()); 30 REPORTER_ASSERT(r, srgb.gammaCloseToSRGB()); 34 REPORTER_ASSERT(r, !linearA.transferFn().equals( srgb.transferFn())); 36 REPORTER_ASSERT(r, !linearB.transferFn().equals( srgb.transferFn())); 38 REPORTER_ASSERT(r, ! srgb.transferFn().equals( gamma.transferFn())); 55 srgb{SkColorSpace_New::TransferFn::MakeSRGB(), gamut, blending}, 58 for (const SkColorSpace_New* cs : {&linear, &srgb, &gamma}) { 86 // linear is darker than sRGB, and sRGB in turn is darker than gamma 3 [all...] |
ColorSpaceTest.cpp | 102 // Create an sRGB color space by name 105 // Create an sRGB color space by value 123 // Change a single value from the sRGB matrix 131 // Create the linear sRGB color space by name 134 // Create the linear sRGB color space via the sRGB color space's makeLinearGamma() 135 auto srgb = SkColorSpace::MakeSRGB(); local 136 auto srgbXYZ = static_cast<SkColorSpace_XYZ*>(srgb.get()); 140 // Create a linear sRGB color space by value 169 // Change a single value from the sRGB matri 221 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local 290 SkColorSpacePrimaries srgb; local 391 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local [all...] |
/external/skia/src/gpu/mtl/ |
GrMtlUtil.h | 26 * Returns true if the given vulkan texture format is sRGB encoded. 27 * Also provides the non-sRGB version, if there is one.
|
/external/skqp/src/gpu/mtl/ |
GrMtlUtil.h | 26 * Returns true if the given vulkan texture format is sRGB encoded. 27 * Also provides the non-sRGB version, if there is one.
|
/external/skia/gm/ |
tosrgb_colorfilter.cpp | 28 auto srgb = SkColorSpace::MakeSRGB(); local 32 // NarrowGamut RGB (an artifically smaller than sRGB gamut) 46 // Transforming sRGB -> sRGB should do nothing. Top two squares should look identical. 47 paint.setColorFilter(SkToSRGBColorFilter::Make(srgb)); 50 // Rec2020 -> sRGB should produce more vivid colors. 54 // Narrow -> sRGB should produce more muted colors.
|
bitmapimage.cpp | 22 return SkString("bitmap-image-srgb-legacy"); 45 // The top two squares show an sRGB image, then bitmap, drawn to a legacy canvas. 56 // The bottom two squares show an sRGB image, then bitmap, drawn to a srgb canvas.
|
/external/skqp/gm/ |
tosrgb_colorfilter.cpp | 28 auto srgb = SkColorSpace::MakeSRGB(); local 32 // NarrowGamut RGB (an artifically smaller than sRGB gamut) 46 // Transforming sRGB -> sRGB should do nothing. Top two squares should look identical. 47 paint.setColorFilter(SkToSRGBColorFilter::Make(srgb)); 50 // Rec2020 -> sRGB should produce more vivid colors. 54 // Narrow -> sRGB should produce more muted colors.
|
bitmapimage.cpp | 22 return SkString("bitmap-image-srgb-legacy"); 45 // The top two squares show an sRGB image, then bitmap, drawn to a legacy canvas. 56 // The bottom two squares show an sRGB image, then bitmap, drawn to a srgb canvas.
|
/frameworks/native/libs/nativewindow/include/android/ |
data_space.h | 37 * It is safest to assume the buffer is an image with sRGB primaries and 48 * The red, green, and blue components are stored in extended sRGB space, 53 * A pixel value of 1.0, 1.0, 1.0 corresponds to sRGB white (D65) at 80 nits. 60 * sRGB gamma encoding: 62 * The red, green and blue components are stored in sRGB space, and 63 * converted to linear space when read, using the SRGB transfer function 77 * The red, green, and blue components are stored in extended sRGB space, 82 * A pixel value of 1.0, 1.0, 1.0 corresponds to sRGB white (D65) at 80 nits. 92 * but sRGB transfer function.
|
/external/skia/src/gpu/effects/ |
GrSRGBEffect.h | 26 * Creates an effect that applies the sRGB transfer function (or its inverse) 32 const char* name() const override { return "sRGB"; }
|
/external/skqp/src/gpu/effects/ |
GrSRGBEffect.h | 26 * Creates an effect that applies the sRGB transfer function (or its inverse) 32 const char* name() const override { return "sRGB"; }
|
/external/mesa3d/src/mesa/main/ |
formats.csv | 48 # - color space: rgb, srgb, yub, sz 147 # Packed sRGB formats 148 MESA_FORMAT_A8B8G8R8_SRGB , packed, 1, 1, 1, un8 , un8 , un8 , un8 , wzyx, srgb 149 MESA_FORMAT_B8G8R8A8_SRGB , packed, 1, 1, 1, un8 , un8 , un8 , un8 , zyxw, srgb 150 MESA_FORMAT_A8R8G8B8_SRGB , packed, 1, 1, 1, un8 , un8 , un8 , un8 , yzwx, srgb 151 MESA_FORMAT_B8G8R8X8_SRGB , packed, 1, 1, 1, un8 , un8 , un8 , x8 , zyx1, srgb 152 MESA_FORMAT_X8R8G8B8_SRGB , packed, 1, 1, 1, x8 , un8 , un8 , un8 , yzw1, srgb 153 MESA_FORMAT_R8G8B8A8_SRGB , packed, 1, 1, 1, un8 , un8 , un8 , un8 , xyzw, srgb 154 MESA_FORMAT_R8G8B8X8_SRGB , packed, 1, 1, 1, un8 , un8 , un8 , x8 , xyz1, srgb 155 MESA_FORMAT_X8B8G8R8_SRGB , packed, 1, 1, 1, x8 , un8 , un8 , un8 , wzy1, srgb [all...] |