/external/libpng/tests/ |
pngunknown-sAPI | 2 exec ./pngunknown bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save "${srcdir}/pngtest.png"
|
/external/libpng/contrib/libtests/ |
gentests.sh | 68 for gamma in "" --sRGB --linear --1.8 73 --sRGB) 74 gname="-srgb";;
|
pngstest.c | 39 #include "../tools/sRGB.h" 52 * misbehavior, such as using a simple power law to correct sRGB to linear. 133 /* sRGB support: use exact calculations rounded to the nearest int, see the 156 sRGB(double linear /*range 0.0 .. 1.0*/) 164 return sRGB(fixed_linear / 65535.); 178 return sRGB((double)component / alpha); 219 * sRGB transform, given an 8-bit value which might be either sRGB or power-law. 340 printf(" --sRGB-16bit"); 352 "sRGB-gray" [all...] |
/external/libpng/contrib/tools/ |
makesRGB.c | 1 /* makesRGB.c -- build sRGB-to-linear and linear-to-sRGB conversion tables 10 * Make a table to convert 8-bit sRGB encoding values into the closest 16-bit 14 * approximation to the 8-bit sRGB encoded value. Calculate the error in these 27 #include "sRGB.h" 49 sRGB(unsigned int i) 127 double lo = 255 * sRGB(i << 15); 128 double hi = 255 * sRGB((i+1) << 15); 155 unsigned int iexact = nearbyint(255*sRGB(i)); 227 unsigned int iexact = nearbyint(255*sRGB(i)) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Caps.h | 141 bool sRGB;
|
Caps.cpp | 159 InsertExtensionString("GL_EXT_sRGB", sRGB, &extensionStrings); 364 sRGB = DetermineSRGBTextureSupport(textureCaps);
|
formatutils.cpp | 288 GLenum format, GLenum type, GLenum componentType, bool srgb, 304 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); 352 GLuint componentCount, GLenum format, GLenum type, bool srgb, 365 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); 383 // | Internal format | | R | G | B | A |S | Format | Type | Component type | SRGB | Texture supported | Renderable | Filterable | 397 map.insert(InternalFormatInfoPair(GL_SRGB8, RGBAFormat( 8, 8, 8, 0, 0, GL_RGB, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, true, RequireESVersionOrExtension<3, &Extensions::sRGB>, NeverSupported, AlwaysSupported))); 398 map.insert(InternalFormatInfoPair(GL_SRGB8_ALPHA8, RGBAFormat( 8, 8, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, true, RequireESVersionOrExtension<3, &Extensions::sRGB>, AlwaysSupported, AlwaysSupported))); [all...] |
validationES2.cpp | 379 if (!context->getExtensions().sRGB)
|
/external/deqp/modules/gles31/functional/ |
es31fTextureLevelStateQueryTests.cpp | [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/ |
vp9_dx_iface.c | 96 const int sRGB = 7; 101 if (colorspace != sRGB) {
|
/external/libvpx/libvpx/vp9/ |
vp9_dx_iface.c | 125 const int sRGB = 7; 138 if (colorspace != sRGB) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
vp9_dx_iface.c | 112 const int sRGB = 7; 125 if (colorspace != sRGB) {
|
/external/deqp/framework/opengl/ |
gluTextureUtil.cpp | 79 case TextureFormat::sRGB: format = GL_RGB; break; 177 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; 390 case GL_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); [all...] |
/external/deqp/framework/common/ |
tcuTextureUtil.cpp | 55 //! Convert sRGB to linear colorspace 64 //! Convert from linear to sRGB colorspace 276 case TextureFormat::sRGB: chnMask = BVec4(true, true, true, false); break; 347 case TextureFormat::sRGB: chnMask = BVec4(true, true, true, false); break; 415 case TextureFormat::sRGB: chnMask = BVec4(true, true, true, false); break; [all...] |
tcuCompressedTexture.cpp | 275 case ETC2_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8); [all...] |
tcuTexture.cpp | 159 case TextureFormat::sRGB: return RGB; 200 case TextureFormat::sRGB: return RGB; 250 case TextureFormat::sRGB: return 3; 492 case sRGB: numChannels = 3; break; [all...] |
tcuTexture.hpp | 56 sRGB, [all...] |
/external/chromium_org/third_party/skia/src/device/xps/ |
SkXPSDevice.cpp | 448 xpsColor.value.sRGB.alpha = SkColorGetA(skColor); 449 xpsColor.value.sRGB.red = SkColorGetR(skColor); 450 xpsColor.value.sRGB.green = SkColorGetG(skColor); 451 xpsColor.value.sRGB.blue = SkColorGetB(skColor); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureWrapTests.cpp | 302 // \note For non-sRGB ASTC formats, the values are fp16 in range [0..1], not the range assumed given by tcu::getTextureFormatInfo(). 332 const bool isSRGB = texFormat.order == tcu::TextureFormat::sRGB || texFormat.order == tcu::TextureFormat::sRGBA;
|
es3fFboTestUtil.cpp | [all...] |
es3fFragmentOutputTests.cpp | 398 const bool isSRGB = dst.getFormat().order == tcu::TextureFormat::sRGB ||dst.getFormat().order == tcu::TextureFormat::sRGBA; [all...] |
/external/pdfium/core/include/fpdfapi/ |
fpdf_resource.h | 617 FX_BOOL sRGB() const;
|
/external/skia/src/device/xps/ |
SkXPSDevice.cpp | 449 xpsColor.value.sRGB.alpha = SkColorGetA(skColor); 450 xpsColor.value.sRGB.red = SkColorGetR(skColor); 451 xpsColor.value.sRGB.green = SkColorGetG(skColor); 452 xpsColor.value.sRGB.blue = SkColorGetB(skColor); [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | 186 case tcu::TextureFormat::sRGB: [all...] |
/external/deqp/framework/referencerenderer/ |
rrFragmentOperations.cpp | [all...] |