Home
last modified time | relevance | path

Searched refs:sRGB (Results 1 – 25 of 58) 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/
Dpngstest-sRGB2 exec "${srcdir}/tests/pngstest" sRGB none
Dpngstest-sRGB-alpha2 exec "${srcdir}/tests/pngstest" sRGB alpha
Dpngunknown-sAPI2 exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save …
Dpngstest28 *-sRGB[.-]*)
/external/libpng/
DTODO13 Complete sRGB transformation (presently it simply uses gamma=0.45455).
DMakefile.am60 tests/pngstest-sRGB tests/pngstest-sRGB-alpha tests/pngunknown-IDAT\
Dlibpng-manual.txt727 approximation to the IEC standard for display systems (sRGB). If images are
756 an sRGB conformant system. The values are scaled by 100000 in the _fixed
757 version of the API (so 220000 for sRGB.)
773 The following numbers are derived from the sRGB standard and the research
774 behind it. sRGB is defined to be approximated by a PNG gAMA chunk value of
781 sRGB provides a peg for the PNG standard by defining a viewing environment.
782 sRGB itself, and earlier TV standards, actually use a more complex transform
785 an sRGB conformant system should be stored with a gAMA chunk value of 45455
790 The Mac value is deduced from the sRGB based on an assumption that the actual
807 otherwise sRGB system.
[all …]
DCHANGES205 Added simple sRGB support (Glenn R-P)
240 example.c and libpng.txt, and changed file_gamma for sRGB images to .45
671 about ignoring incorrect gAMA with sRGB (gAMA was in fact not ignored)
2987 Added the sRGB chunk to pngtest.png
3391 sRGB/Rec 709 values are still used. This introduced a divide-by-zero
3718 Installed more accurate linear to sRGB conversion tables. The slightly
3724 Removed PNG_CONST from the sRGB table declarations in pngpriv.h and png.c
3950 extremely inaccurate for sRGB conversions because it uses an 8-bit
3951 intermediate linear value and it does not use the sRGB transform, so it
4082 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.dfa584 # against known sRGB profiles if the sRGB handling is enabled. The
588 # -1: Don't do any sRGB profile checking.
601 # just a waste of time since all currently approved ICC sRGB profiles have
606 # as the intent that should be used when combining two profiles. The sRGB
608 # For this reason the sRGB chunk includes an 'intent' to be used when displaying
612 # applications modify the intent in profiles (including sRGB profiles) to work
620 # positive is a false assertion that the profile is an sRGB profile. This might
726 chunk sRGB enables COLORSPACE, GAMMA, SET_OPTION
/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/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()
/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;

123