HomeSort by relevance Sort by last modified time
    Searched refs:sRGB (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/libpng/tests/
pngstest-sRGB 2 exec "${srcdir}/tests/pngstest" sRGB none
pngstest-sRGB-alpha 2 exec "${srcdir}/tests/pngstest" sRGB alpha
pngunknown-sAPI 2 exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save eXIf=save "${srcdir}/pngtest.png"
pngstest 10 # gamma: one of; linear, 1.8, sRGB, none.
29 *-sRGB[.-]*)
30 test "$gamma" = "sRGB" && g="$f";;
  /external/ImageMagick/tests/
cli-colorspace.tap 38 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 && echo "ok" || echo "not ok
    [all...]
  /external/libpng/contrib/libtests/
gentests.sh 68 for gamma in "" --sRGB --linear --1.8
73 --sRGB)
74 gname="-srgb";;
pngstest.c 47 #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*/)
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-gray"
    [all...]
  /external/libpng/contrib/testpngs/
makepngs.sh 47 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/
basetexture9.h 38 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];
surface9.h 39 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];
basetexture9.c 491 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/skia/tests/
SRGBTest.cpp 24 sk_sp<SkColorSpace> sRGB = SkColorSpace::MakeSRGB(),
25 linear = sRGB->makeLinearGamma();
28 SkColorSpaceXformSteps linearize{ sRGB.get(),upm, linear.get(),upm},
29 reencode {linear.get(),upm, sRGB.get(),upm};
54 sk_sp<SkColorSpace> sRGB = SkColorSpace::MakeSRGB(),
55 linear = sRGB->makeLinearGamma();
58 SkColorSpaceXformSteps steps {linear.get(),upm, sRGB.get(),upm};
  /external/skqp/tests/
SRGBTest.cpp 24 sk_sp<SkColorSpace> sRGB = SkColorSpace::MakeSRGB(),
25 linear = sRGB->makeLinearGamma();
28 SkColorSpaceXformSteps linearize{ sRGB.get(),upm, linear.get(),upm},
29 reencode {linear.get(),upm, sRGB.get(),upm};
54 sk_sp<SkColorSpace> sRGB = SkColorSpace::MakeSRGB(),
55 linear = sRGB->makeLinearGamma();
58 SkColorSpaceXformSteps steps {linear.get(),upm, sRGB.get(),upm};
  /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/swiftshader/src/Device/
Sampler.hpp 156 bool sRGB : 1;
183 void setReadSRGB(bool sRGB);
226 bool sRGB;
Sampler.cpp 60 sRGB = false;
98 state.sRGB = (sRGB && Surface::isSRGBreadable(externalTextureFormat)) || Surface::isSRGBformat(internalTextureFormat);
283 void Sampler::setReadSRGB(bool sRGB)
285 this->sRGB = sRGB;
Context.cpp 313 bool Context::setWriteSRGB(bool sRGB)
315 bool modified = (Context::writeSRGB != sRGB);
316 Context::writeSRGB = sRGB;
PixelProcessor.hpp 195 void setReadSRGB(unsigned int sampler, bool sRGB);
210 void setWriteSRGB(bool sRGB);
Context.hpp 133 bool setWriteSRGB(bool sRGB);
VertexProcessor.hpp 149 void setReadSRGB(unsigned int sampler, bool sRGB);
VertexProcessor.cpp 237 void VertexProcessor::setReadSRGB(unsigned int sampler, bool sRGB)
241 context->sampler[TEXTURE_IMAGE_UNITS + sampler].setReadSRGB(sRGB);
  /external/swiftshader/src/Renderer/
Sampler.hpp 156 bool sRGB : 1;
183 void setReadSRGB(bool sRGB);
228 bool sRGB;
Sampler.cpp 61 sRGB = false;
99 state.sRGB = (sRGB && Surface::isSRGBreadable(externalTextureFormat)) || Surface::isSRGBformat(internalTextureFormat);
286 void Sampler::setReadSRGB(bool sRGB)
288 this->sRGB = sRGB;
PixelProcessor.hpp 232 void setReadSRGB(unsigned int sampler, bool sRGB);
248 void setWriteSRGB(bool sRGB);
  /external/mesa3d/src/mesa/main/
format_fallback.py 45 if fmt.colorspace != 'srgb':
49 ('SRGB', 'RGB'),
50 ('SRGB', 'UNORM'),
66 # Every sRGB format MUST have a UNORM equivalent
93 * For an sRGB format, return the corresponding linear color space format.
94 * For non-sRGB formats, return the format as-is.
100 %for unorm, srgb in unorm_to_srgb_map:
101 case ${srgb}:
110 * For a linear format, return the corresponding sRGB color space format.
111 * For an sRGB format, return the format as-is
    [all...]

Completed in 631 milliseconds

1 2 3