Searched refs:sRGB (Results 1 - 25 of 40) sorted by relevance

12

/external/libpng/tests/
H A Dpngstest-sRGB2 exec "${srcdir}/tests/pngstest" sRGB none
H A Dpngstest-sRGB-alpha2 exec "${srcdir}/tests/pngstest" sRGB alpha
H A Dpngunknown-sAPI2 exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save eXIf=save "${srcdir}/pngtest.png"
H A Dpngstest10 # gamma: one of; linear, 1.8, sRGB, none.
29 *-sRGB[.-]*)
30 test "$gamma" = "sRGB" && g="$f";;
/external/ImageMagick/tests/
H A Dcli-colorspace.tap38 too_light=`eval ${MAGICK} "$in" -set colorspace RGB -colorspace sRGB "$out"`
42 printf "$format2" "Average \"rose:\" Color" "$average" "sRGB(rose)"
43 printf "$format2" "Too Dark Color" "$too_dark" "sRGB(rose)->RGB result"
44 printf "$format2" "Too Light Color" "$too_light" "RGB(rose)->sRGB result"
74 test="sRGB"
98 test_color RGB sRGB && echo "ok" || echo "not ok"
100 test_color XYZ sRGB && echo "ok" || echo "not ok"
101 test_color XYZ RGB sRGB && echo "ok" || echo "not ok"
102 test_color RGB XYZ sRGB && echo "ok" || echo "not ok"
104 test_color LAB sRGB
[all...]
/external/libpng/contrib/libtests/
H A Dgentests.sh68 for gamma in "" --sRGB --linear --1.8
73 --sRGB)
H A Dpngstest.c47 #include "../tools/sRGB.h"
60 * misbehavior, such as using a simple power law to correct sRGB to linear.
149 /* sRGB support: use exact calculations rounded to the nearest int, see the
172 sRGB(double linear /*range 0.0 .. 1.0*/) function
180 return sRGB(fixed_linear / 65535.);
194 return sRGB((double)component / alpha);
235 * sRGB transform, given an 8-bit value which might be either sRGB or power-law.
359 printf(" --sRGB-16bit");
377 "sRGB
[all...]
/external/libpng/contrib/testpngs/
H A Dmakepngs.sh47 for g in none sRGB linear 1.8
78 mpg none gray-alpha 8 # required: code coverage, sRGB opaque component
86 mpg sRGB palette 1 # required: code coverage
87 mpg sRGB rgb-alpha 16 # required: code coverage: pngread.c:2422 untested
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dbasetexture9.h38 struct pipe_sampler_view *view[2]; /* linear and sRGB */
112 const int sRGB );
127 NineBaseTexture9_GetSamplerView( struct NineBaseTexture9 *This, const int sRGB )
129 if (!This->view[sRGB])
130 NineBaseTexture9_UpdateSamplerView(This, sRGB);
131 return This->view[sRGB];
H A Dsurface9.h39 struct pipe_surface *surface[2]; /* created on-demand (linear, sRGB) */
94 NineSurface9_GetSurface( struct NineSurface9 *This, int sRGB )
96 assert(This->surface[sRGB]);
97 return This->surface[sRGB];
H A Dbasetexture9.c491 const int sRGB )
502 DBG("This=%p sRGB=%d\n", This, sRGB);
511 pipe_sampler_view_reference(&This->view[sRGB], NULL);
556 /* if requested and supported, convert to the sRGB format */
558 if (sRGB && srgb_format != PIPE_FORMAT_NONE &&
576 This->view[sRGB] = pipe->create_sampler_view(pipe, resource, &templ);
579 DBG("sampler view = %p(resource = %p)\n", This->view[sRGB], resource);
/external/libpng/contrib/tools/
H A DmakesRGB.c1 /* 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) function
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(
[all...]
/external/swiftshader/src/Renderer/
H A DSampler.hpp156 bool sRGB : 1; member in struct:sw::Sampler::State
183 void setReadSRGB(bool sRGB);
226 bool sRGB; member in class:sw::Sampler
H A DSampler.cpp61 sRGB = false;
99 state.sRGB = (sRGB && Surface::isSRGBreadable(externalTextureFormat)) || Surface::isSRGBformat(internalTextureFormat);
286 void Sampler::setReadSRGB(bool sRGB) argument
288 this->sRGB = sRGB;
H A DPixelProcessor.hpp231 void setReadSRGB(unsigned int sampler, bool sRGB);
246 void setWriteSRGB(bool sRGB);
H A DVertexProcessor.hpp257 void setReadSRGB(unsigned int sampler, bool sRGB);
H A DContext.hpp331 bool setWriteSRGB(bool sRGB);
H A DPixelProcessor.cpp414 void PixelProcessor::setReadSRGB(unsigned int sampler, bool sRGB) argument
418 context->sampler[sampler].setReadSRGB(sRGB);
540 void PixelProcessor::setWriteSRGB(bool sRGB) argument
542 context->setWriteSRGB(sRGB);
H A DContext.cpp457 bool Context::setWriteSRGB(bool sRGB) argument
459 bool modified = (Context::writeSRGB != sRGB);
460 Context::writeSRGB = sRGB;
H A DRenderer.hpp342 void setReadSRGB(SamplerType type, int sampler, bool sRGB);
H A DVertexProcessor.cpp569 void VertexProcessor::setReadSRGB(unsigned int sampler, bool sRGB) argument
573 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setReadSRGB(sRGB);
/external/deqp/modules/gles31/functional/
H A Des31fTextureLevelStateQueryTests.cpp1254 format.order == tcu::TextureFormat::sRGB ||
1266 format.order == tcu::TextureFormat::sRGB ||
1277 format.order == tcu::TextureFormat::sRGB ||
1406 format.order == tcu::TextureFormat::sRGB ||
1418 format.order == tcu::TextureFormat::sRGB ||
1429 format.order == tcu::TextureFormat::sRGB ||
/external/deqp/framework/opengl/
H A DgluTextureUtil.cpp82 case TextureFormat::sRGB: format = GL_RGB; break;
185 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8;
509 case GL_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat::UNORM_INT8);
/external/ImageMagick/www/api/
H A Dfeature.php176 <p>MeanShiftImage() delineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.</p>
/external/deqp/framework/common/
H A DtcuAstcUtil.cpp1568 deUint8 sRGB[MAX_BLOCK_WIDTH*MAX_BLOCK_HEIGHT*4];
1573 decompressBlock(isSRGB ? (void*)&decompressedBuffer.sRGB[0] : (void*)&decompressedBuffer.linear[0],
1581 dst.setPixel(IVec4(decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 0],
1582 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 1],
1583 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 2],
1584 decompressedBuffer.sRGB[(i*blockWidth + j) * 4 + 3]), j, i);
2927 // sRGB is not supported in HDR mode
2932 deUint8 sRGB[MAX_BLOCK_WIDTH*MAX_BLOCK_HEIGHT*4];
2936 const DecompressResult result = decompressBlock((isSRGB ? (void*)&tmpBuffer.sRGB[0] : (void*)&tmpBuffer.linear[0]),
2955 // sRGB i
[all...]

Completed in 2551 milliseconds

12