HomeSort by relevance Sort by last modified time
    Searched defs:srgb (Results 1 - 25 of 44) sorted by null

1 2

  /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.
makecolorspace.cpp 31 // Assign an sRGB color space on the xformed image, so we can see the effects of the xform
33 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local
35 srgb = SkColorSpace::MakeSRGBLinear();
37 return SkImageMakeRasterCopyAndAssignColorSpace(xform.get(), srgb.get());
color4f.cpp 72 // even if it holds sRGB values.
96 auto srgb = SkColorSpace::MakeSRGB(); local
97 auto spin = srgb->makeColorSpin(); // RGB -> GBR
112 SkShader::MakeColorShader(c4, srgb),
readpixels.cpp 155 // Now that we have called readPixels(), dump the raw pixels into an srgb image.
156 sk_sp<SkColorSpace> srgb = fix_for_colortype( local
158 sk_sp<SkImage> raw = SkImage::MakeRasterData(dstInfo.makeColorSpace(srgb), data, rowBytes);
  /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.
makecolorspace.cpp 31 // Assign an sRGB color space on the xformed image, so we can see the effects of the xform
33 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local
35 srgb = SkColorSpace::MakeSRGBLinear();
37 return SkImageMakeRasterCopyAndAssignColorSpace(xform.get(), srgb.get());
color4f.cpp 73 // even if it holds sRGB values.
97 auto srgb = SkColorSpace::MakeSRGB(); local
98 auto spin = srgb->makeColorSpin(); // RGB -> GBR
113 SkShader::MakeColorShader(c4, srgb),
readpixels.cpp 154 // Now that we have called readPixels(), dump the raw pixels into an srgb image.
155 sk_sp<SkColorSpace> srgb = fix_for_colortype( local
157 sk_sp<SkImage> raw = SkImage::MakeRasterData(dstInfo.makeColorSpace(srgb), data, rowBytes);
  /external/skia/bench/
GrMipMapBench.cpp 39 auto srgb = SkColorSpace::MakeSRGB(); variable
41 SkImageInfo::Make(fW, fH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, srgb);
  /external/skia/tools/fiddle/
fiddle_main.h 34 DrawOptions(int w, int h, bool r, bool g, bool p, bool k, bool srgb, bool f16,
46 , srgb(srgb)
56 SkASSERT(srgb || !f16);
63 bool srgb; member in struct:DrawOptions
  /external/skqp/bench/
GrMipMapBench.cpp 39 auto srgb = SkColorSpace::MakeSRGB(); variable
41 SkImageInfo::Make(fW, fH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, srgb);
  /external/skqp/tools/fiddle/
fiddle_main.h 34 DrawOptions(int w, int h, bool r, bool g, bool p, bool k, bool srgb, bool f16,
46 , srgb(srgb)
56 SkASSERT(srgb || !f16);
63 bool srgb; member in struct:DrawOptions
  /external/skia/tests/
SRGBTest.cpp 32 uint8_t srgb = linear_to_srgb(f); local
34 REPORTER_ASSERT(r, srgb >= prev);
35 prev = srgb;
ColorSpaceXformTest.cpp 34 // sRGB
189 // Note that the function is continuous (it's actually sRGB).
335 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local
336 std::unique_ptr<SkColorSpaceXform> xform = SkColorSpaceXform::New(p3.get(), srgb.get());
ICCTest.cpp 152 REPORTER_ASSERT(r, srgbTag.equals("sRGB"));
182 sk_sp<SkICC> srgb = ICCTest::MakeICC(SkColorSpace::MakeSRGB()); local
183 test_raw_transfer_fn(r, srgb.get());
228 // Note that the function is continuous (it's actually sRGB).
  /external/skqp/tests/
SRGBTest.cpp 32 uint8_t srgb = linear_to_srgb(f); local
34 REPORTER_ASSERT(r, srgb >= prev);
35 prev = srgb;
ColorSpaceXformTest.cpp 34 // sRGB
189 // Note that the function is continuous (it's actually sRGB).
335 sk_sp<SkColorSpace> srgb = SkColorSpace::MakeSRGB(); local
336 std::unique_ptr<SkColorSpaceXform> xform = SkColorSpaceXform::New(p3.get(), srgb.get());
ICCTest.cpp 152 REPORTER_ASSERT(r, srgbTag.equals("sRGB"));
182 sk_sp<SkICC> srgb = ICCTest::MakeICC(SkColorSpace::MakeSRGB()); local
183 test_raw_transfer_fn(r, srgb.get());
228 // Note that the function is continuous (it's actually sRGB).
  /external/mesa3d/src/gallium/drivers/freedreno/a5xx/
fd5_gmem.c 61 bool srgb = false; local
78 srgb = util_format_is_srgb(pformat);
100 COND(srgb, A5XX_RB_MRT_BUF_INFO_COLOR_SRGB));
113 COND(srgb, A5XX_SP_FS_MRT_REG_COLOR_SRGB));
  /external/mesa3d/src/gallium/state_trackers/nine/
adapter9.c 261 boolean srgb; local
354 srgb = (Usage & (D3DUSAGE_QUERY_SRGBREAD | D3DUSAGE_QUERY_SRGBWRITE)) != 0;
356 0, bind, srgb, FALSE);
    [all...]
  /external/mesa3d/src/mesa/drivers/common/
meta_generate_mipmap.c 91 /* The texture format is sRGB but we can't turn off sRGB->linear
96 "glGenerateMipmap() of sRGB texture without "
97 "sRGB decode\n");
230 const bool srgb = local
234 srgb ? GL_DECODE_EXT : GL_SKIP_DECODE_EXT);
235 _mesa_set_framebuffer_srgb(ctx, srgb);
  /external/skia/src/core/
SkPM4fPriv.h 47 srgb = { rgb[0], rgb[1], rgb[2], (int)(255.0f * px[3] + 0.5f) }; local
50 SkNx_cast<uint8_t>(srgb).store(&s32);
66 static inline float exact_srgb_to_linear(float srgb) {
67 assert_unit(srgb);
69 if (srgb <= 0.04045) {
70 linear = srgb / 12.92f;
72 linear = powf((srgb + 0.055f) / 1.055f, 2.4f);
183 // sRGB gamma, sRGB gamut.
  /external/skqp/src/core/
SkPM4fPriv.h 47 srgb = { rgb[0], rgb[1], rgb[2], (int)(255.0f * px[3] + 0.5f) }; local
50 SkNx_cast<uint8_t>(srgb).store(&s32);
66 static inline float exact_srgb_to_linear(float srgb) {
67 assert_unit(srgb);
69 if (srgb <= 0.04045) {
70 linear = srgb / 12.92f;
72 linear = powf((srgb + 0.055f) / 1.055f, 2.4f);
183 // sRGB gamma, sRGB gamut.
  /external/mesa3d/src/gallium/drivers/freedreno/a3xx/
fd3_gmem.c 64 bool srgb = false; local
89 srgb = util_format_is_srgb(pformat);
116 COND(srgb, A3XX_RB_MRT_BUF_INFO_COLOR_SRGB));
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/a4xx/
fd4_gmem.c 64 bool srgb = false; local
92 srgb = util_format_is_srgb(pformat);
119 COND(srgb, A4XX_RB_MRT_BUF_INFO_COLOR_SRGB));

Completed in 325 milliseconds

1 2