Home
last modified time | relevance | path

Searched refs:sRGB (Results 1 – 25 of 56) sorted by relevance

123

/external/libpng/contrib/tools/
DmakesRGB.c49 sRGB(unsigned int i) in sRGB() function
127 double lo = 255 * sRGB(i << 15); in main()
128 double hi = 255 * sRGB((i+1) << 15); in main()
155 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
227 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
308 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
313 double err = 255*sRGB(i) - icalc; in main()
340 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
345 double err = 255*sRGB(i) - icalc; in main()
365 unsigned int iexact = nearbyint(255*sRGB(i)); in main()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.fbo.srgb.txt19 sRGB framebuffer tests
25 + sRGB conversion when writing to framebuffer
26 + Blending with sRGB framebuffer
30 + All blend modes when rendering to sRGB framebuffer
Dfunctional.fbo.blit.txt34 + sRGB conversion
Dfunctional.texture.format.txt32 + sRGB texture formats
/external/libpng/contrib/libtests/
Dgentests.sh68 for gamma in "" --sRGB --linear --1.8
73 --sRGB)
Dpngstest.c156 sRGB(double linear /*range 0.0 .. 1.0*/) in sRGB() function
164 return sRGB(fixed_linear / 65535.); in isRGB()
178 return sRGB((double)component / alpha);
1233 out->r = out->g = out->b = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckg()
1261 out->r = sRGB(sRGB_to_d[in->r] * a + back->dr * (1-a)); in gpc_bckc()
1262 out->g = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckc()
1263 out->b = sRGB(sRGB_to_d[in->b] * a + back->db * (1-a)); in gpc_bckc()
1280 sRGB(YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_g8()
1298 out->r = out->g = out->b = sRGB(YfromRGB( in gpc_g8b()
1306 out->r = out->g = out->b = sRGB(a * YfromRGB(sRGB_to_d[in->r], in gpc_g8b()
[all …]
/external/libpng/tests/
Dpngunknown-sAPI2 exec ./pngunknown bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save "${srcdir…
/external/libpng/
DTODO12 Complete sRGB transformation (presently it simply uses gamma=0.45455).
DANNOUNCE78 Don't recognize known sRGB profiles as sRGB if they have been hacked,
Dlibpng-manual.txt723 approximation to the IEC standard for display systems (sRGB). If images are
752 an sRGB conformant system. The values are scaled by 100000 in the _fixed
753 version of the API (so 220000 for sRGB.)
769 The following numbers are derived from the sRGB standard and the research
770 behind it. sRGB is defined to be approximated by a PNG gAMA chunk value of
777 sRGB provides a peg for the PNG standard by defining a viewing environment.
778 sRGB itself, and earlier TV standards, actually use a more complex transform
781 an sRGB conformant system should be stored with a gAMA chunk value of 45455
786 The Mac value is deduced from the sRGB based on an assumption that the actual
803 otherwise sRGB system.
[all …]
DCHANGES198 Added simple sRGB support (Glenn R-P)
233 example.c and libpng.txt, and changed file_gamma for sRGB images to .45
663 about ignoring incorrect gAMA with sRGB (gAMA was in fact not ignored)
2978 Added the sRGB chunk to pngtest.png
3382 sRGB/Rec 709 values are still used. This introduced a divide-by-zero
3709 Installed more accurate linear to sRGB conversion tables. The slightly
3715 Removed PNG_CONST from the sRGB table declarations in pngpriv.h and png.c
3939 extremely inaccurate for sRGB conversions because it uses an 8-bit
3940 intermediate linear value and it does not use the sRGB transform, so it
4071 default. Also changed some warnings in the iCCP and sRGB handling
[all …]
/external/libpng/contrib/conftest/
Dwrite.dfa41 # you really do write! For example you might only write sRGB images, sometimes
/external/skia/resources/
Dslides_content2.lua117 - Direct support for sRGB
/external/deqp/doc/testspecs/GLES31/
Dfunctional.blend_equation_advanced.txt27 + Rendering into sRGB FBO
/external/libpng/scripts/
Dpnglibconf.dfa581 # against known sRGB profiles if the sRGB handling is enabled. The
596 # just a waste of time since all currently approved ICC sRGB profiles have
601 # as the intent that should be used when combining two profiles. The sRGB
603 # For this reason the sRGB chunk includes an 'intent' to be used when displaying
607 # applications modify the intent in profiles (including sRGB profiles) to work
615 # positive is a false assertion that the profile is an sRGB profile. This might
726 chunk sRGB enables COLORSPACE, GAMMA
/external/deqp/modules/gles31/functional/
Des31fTextureLevelStateQueryTests.cpp1249 format.order == tcu::TextureFormat::sRGB || in getMinimumComponentResolution()
1261 format.order == tcu::TextureFormat::sRGB || in getMinimumComponentResolution()
1272 format.order == tcu::TextureFormat::sRGB || in getMinimumComponentResolution()
1401 format.order == tcu::TextureFormat::sRGB || in getComponentType()
1413 format.order == tcu::TextureFormat::sRGB || in getComponentType()
1424 format.order == tcu::TextureFormat::sRGB || in getComponentType()
Des31fTextureBorderClampTests.cpp426 const tcu::Vec4 sRGB = tcu::linearToSRGB(normalizedRange); in mapToFormatColorRepresentable() local
427 const tcu::IVec4 sRGB8 = tcu::IVec4(tcu::floatToU8(sRGB[0]), in mapToFormatColorRepresentable()
428 tcu::floatToU8(sRGB[1]), in mapToFormatColorRepresentable()
429 tcu::floatToU8(sRGB[2]), in mapToFormatColorRepresentable()
430 tcu::floatToU8(sRGB[3])); in mapToFormatColorRepresentable()
926 …const bool isSRGB = texFormat.order == tcu::TextureFormat::sRGB || texFormat.order == tcu:… in verifyImage()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c103 const int sRGB = 7; in parse_bitdepth_colorspace_sampling() local
108 if (colorspace != sRGB) { in parse_bitdepth_colorspace_sampling()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp230 …case COMPRESSEDTEXFORMAT_ETC2_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat:… in getUncompressedFormat()
2480 deUint8 sRGB[ASTC_MAX_BLOCK_WIDTH*ASTC_MAX_BLOCK_HEIGHT*4]; in decompressASTC() member
2485 …decompressASTCBlock(isSRGB ? (void*)&decompressedBuffer.sRGB[0] : (void*)&decompressedBuffer.linea… in decompressASTC()
2493 dst.setPixel(IVec4(decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 0], in decompressASTC()
2494 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 1], in decompressASTC()
2495 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 2], in decompressASTC()
2496 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 3]), j, i); in decompressASTC()
DtcuTextureUtil.cpp77 format.order == TextureFormat::sRGB || in isSRGB()
1255 case TextureFormat::sRGB: swizzle = &RGB; break; in getBorderColorReadSwizzle()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp81 case TextureFormat::sRGB: format = GL_RGB; break; in getTransferFormat()
184 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; in getInternalFormat()
508 case GL_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
/external/mesa3d/docs/
DGL3.txt33 sRGB framebuffer format (GL_EXT_framebuffer_sRGB) DONE (i965, r600)
/external/skia/src/device/xps/
DSkXPSDevice.cpp449 xpsColor.value.sRGB.alpha = SkColorGetA(skColor); in xps_color()
450 xpsColor.value.sRGB.red = SkColorGetR(skColor); in xps_color()
451 xpsColor.value.sRGB.green = SkColorGetG(skColor); in xps_color()
452 xpsColor.value.sRGB.blue = SkColorGetB(skColor); in xps_color()
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h608 FX_BOOL sRGB() const;
/external/libexif/po/
Dru.po2214 msgid "sRGB"
2215 msgstr "sRGB"
3720 "specifier. Normally sRGB (=1) is used to define the color space based on the "
3721 "PC monitor conditions and environment. If a color space other than sRGB is "
3723 "be treated as sRGB when it is converted to FlashPix."
3726 "в качестве цветового пространства монитора и окружения используется sRGB "
3727 "(=1). Если же используется не sRGB, то значение устанавливается как "
3729 "могут быть восприняты как sRGB при преобразовании во FlashPix. Подробнее "
3730 "sRGB рассматривается в приложении E."

123