Home
last modified time | relevance | path

Searched refs:sRGB (Results 1 – 25 of 63) 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/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dcolor_cvt.hpp317 #define CV_CUDEV_RGB2Lab_INST(name, scn, dcn, sRGB, blueIdx) \ argument
318 …h> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Lab<SrcDepth, scn, dcn, sRGB, blueIdx> \
344 #define CV_CUDEV_Lab2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ argument
345 …h> struct name ## _func : cv::cudev::color_cvt_detail::Lab2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \
371 #define CV_CUDEV_RGB2Luv_INST(name, scn, dcn, sRGB, blueIdx) \ argument
372 …h> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Luv<SrcDepth, scn, dcn, sRGB, blueIdx> \
398 #define CV_CUDEV_Luv2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ argument
399 …h> struct name ## _func : cv::cudev::color_cvt_detail::Luv2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \
/external/libpng/contrib/libtests/
Dgentests.sh68 for gamma in "" --sRGB --linear --1.8
73 --sRGB)
Dpngstest.c173 sRGB(double linear /*range 0.0 .. 1.0*/) in sRGB() function
181 return sRGB(fixed_linear / 65535.); in isRGB()
195 return sRGB((double)component / alpha);
1266 out->r = out->g = out->b = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckg()
1294 out->r = sRGB(sRGB_to_d[in->r] * a + back->dr * (1-a)); in gpc_bckc()
1295 out->g = sRGB(sRGB_to_d[in->g] * a + back->dg * (1-a)); in gpc_bckc()
1296 out->b = sRGB(sRGB_to_d[in->b] * a + back->db * (1-a)); in gpc_bckc()
1313 sRGB(YfromRGB(sRGB_to_d[in->r], sRGB_to_d[in->g], sRGB_to_d[in->b])); in gpc_g8()
1331 out->r = out->g = out->b = sRGB(YfromRGB( in gpc_g8b()
1339 out->r = out->g = out->b = sRGB(a * YfromRGB(sRGB_to_d[in->r], in gpc_g8b()
[all …]
/external/libpng/tests/
Dpngstest-sRGB-alpha2 exec "${srcdir}/tests/pngstest" sRGB alpha
Dpngstest-sRGB2 exec "${srcdir}/tests/pngstest" sRGB none
Dpngunknown-sAPI2 exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save …
Dpngstest29 *-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 …]
DCMakeLists.txt557 foreach(gamma_type 1.8 linear none sRGB)
562 string(REGEX MATCH ".*-sRGB[-.].*" TEST_PNG_SRGB "${test_png}")
583 if(NOT "${gamma_type}" STREQUAL "sRGB")
615 …NS --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save FILES "${PNGTE…
/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.cpp1254 format.order == tcu::TextureFormat::sRGB || in getMinimumComponentResolution()
1266 format.order == tcu::TextureFormat::sRGB || in getMinimumComponentResolution()
1277 format.order == tcu::TextureFormat::sRGB || in getMinimumComponentResolution()
1406 format.order == tcu::TextureFormat::sRGB || in getComponentType()
1418 format.order == tcu::TextureFormat::sRGB || in getComponentType()
1429 format.order == tcu::TextureFormat::sRGB || in getComponentType()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp174 case FMT_CASE(sRGB, UNORM_INT8): return VK_FORMAT_R8G8B8_SRGB; in mapTextureFormat()
312 …case VK_FORMAT_R8G8B8_SRGB: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8… in mapVkFormat()
519 case TextureFormat::sRGB: return RGB; in getFormatComponentMapping()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp82 case TextureFormat::sRGB: format = GL_RGB; break; in getTransferFormat()
185 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; in getInternalFormat()
509 case GL_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); in mapGLInternalFormat()
/external/deqp/framework/common/
DtcuAstcUtil.cpp1554 deUint8 sRGB[MAX_BLOCK_WIDTH*MAX_BLOCK_HEIGHT*4]; in decompress() member
1559 decompressBlock(isSRGB ? (void*)&decompressedBuffer.sRGB[0] : (void*)&decompressedBuffer.linear[0], in decompress()
1567 dst.setPixel(IVec4(decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 0], in decompress()
1568 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 1], in decompress()
1569 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 2], in decompress()
1570 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 3]), j, i); in decompress()
2914 deUint8 sRGB[MAX_BLOCK_WIDTH*MAX_BLOCK_HEIGHT*4]; in isValidBlock() member
2918 …const DecompressResult result = decompressBlock((isSRGB ? (void*)&tmpBuffer.sRGB[0] : (void*)&tm… in isValidBlock()
DtcuTexture.cpp311 case TextureFormat::sRGB: return 3; in getNumUsedChannels()
564 case TextureFormat::sRGB: in isColorOrder()
748 case TextureFormat::sRGB: return RGB; in getChannelReadSwizzle()
802 case TextureFormat::sRGB: return RGB; in getChannelWriteSwizzle()
936 else if (m_format.order == TextureFormat::RGB || m_format.order == TextureFormat::sRGB) in getPixel()
1036 else if (m_format.order == TextureFormat::RGB || m_format.order == TextureFormat::sRGB) in getPixelInt()
1205 else if (m_format.order == TextureFormat::RGB || m_format.order == TextureFormat::sRGB) in setPixel()
1355 else if (m_format.order == TextureFormat::RGB || m_format.order == TextureFormat::sRGB) in setPixel()
1621 if (format.type == TextureFormat::UNORM_INT8 && format.order == TextureFormat::sRGB) in lookup()
/external/mesa3d/docs/
DGL3.txt33 sRGB framebuffer format (GL_EXT_framebuffer_sRGB) DONE (i965, r600)

123