HomeSort by relevance Sort by last modified time
    Searched full:srgb (Results 26 - 50 of 1466) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/skqp/tests/
TableColorFilterTest.cpp 19 // Using a wide source gamut will make saturated colors go well out of range of sRGB.
31 // The rec2020 primaries are not representable in sRGB, but will clamp to the sRGB primaries.
SRGBMipMapTest.cpp 23 /** convert 0..1 srgb value to 0..1 linear */
24 float srgb_to_linear(float srgb) {
25 if (srgb <= 0.04045f) {
26 return srgb / 12.92f;
28 return powf((srgb + 0.055f) / 1.055f, 2.4f);
32 /** convert 0..1 linear value to 0..1 srgb */
90 // Fill texture with a dither of black and 60% sRGB (~ 32.5% linear) gray. Although there is
91 // only one likely failure mode (doing a direct downsample of the sRGB values), this pattern
153 // 1) Draw texture to S32 surface (should generate/use sRGB mips)
157 "first render of sRGB");
    [all...]
  /external/syslinux/com32/lib/sys/vesa/
alphatbl.pl 3 # Produce gamma-correction tables for alpha blending, assuming sRGB space.
35 # Table 1: convert 8-bit sRGB values to 16-bit linear values
46 # shifted right by 12 bits, to sRGB
  /external/skia/tests/
SRGBReadWritePixelsTest.cpp 20 /** convert 0..1 srgb value to 0..1 linear */
21 float srgb_to_linear(float srgb) {
22 if (srgb <= 0.04045f) {
23 return srgb / 12.92f;
25 return powf((srgb + 0.055f) / 1.055f, 2.4f);
29 /** convert 0..1 linear value to 0..1 srgb */
99 static bool check_srgb_to_linear_conversion(uint32_t srgb, uint32_t linear, float error) {
100 return check_conversion<srgb_to_linear>(srgb, linear, error);
103 static bool check_linear_to_srgb_conversion(uint32_t linear, uint32_t srgb, float error) {
104 return check_conversion<linear_to_srgb>(linear, srgb, error)
    [all...]
SRGBMipMapTest.cpp 23 /** convert 0..1 srgb value to 0..1 linear */
24 float srgb_to_linear(float srgb) {
25 if (srgb <= 0.04045f) {
26 return srgb / 12.92f;
28 return powf((srgb + 0.055f) / 1.055f, 2.4f);
32 /** convert 0..1 linear value to 0..1 srgb */
90 // Fill texture with a dither of black and 60% sRGB (~ 32.5% linear) gray. Although there is
91 // only one likely failure mode (doing a direct downsample of the sRGB values), this pattern
153 // 1) Draw texture to S32 surface (should generate/use sRGB mips)
157 "first render of sRGB");
    [all...]
  /external/deqp/doc/testspecs/GLES3/
functional.fbo.srgb.txt 19 sRGB framebuffer tests
22 + dEQP-GLES3.functional.fbo.srgb.*
25 + sRGB conversion when writing to framebuffer
26 + Blending with sRGB framebuffer
30 + All blend modes when rendering to sRGB framebuffer
  /external/skia/src/core/
SkSRGB.h 13 /** Components for building our canonical sRGB -> linear and linear -> sRGB transformations.
16 * - for sRGB -> linear, lookup R,G,B in sk_linear_from_srgb;
17 * - for linear -> sRGB, call sk_linear_to_srgb() for R,G,B;
29 // Approximation of the sRGB gamma curve (within 1 when scaled to 8-bit pixels).
  /external/skia/tools/fiddle/
fiddle_main.h 34 DrawOptions(int w, int h, bool r, bool g, bool p, bool k, bool srgb, bool f16,
46 , srgb(srgb)
56 SkASSERT(srgb || !f16);
63 bool srgb; member in struct:DrawOptions
  /external/skqp/src/core/
SkSRGB.h 13 /** Components for building our canonical sRGB -> linear and linear -> sRGB transformations.
16 * - for sRGB -> linear, lookup R,G,B in sk_linear_from_srgb;
17 * - for linear -> sRGB, call sk_linear_to_srgb() for R,G,B;
29 // Approximation of the sRGB gamma curve (within 1 when scaled to 8-bit pixels).
  /external/skqp/tools/fiddle/
fiddle_main.h 34 DrawOptions(int w, int h, bool r, bool g, bool p, bool k, bool srgb, bool f16,
46 , srgb(srgb)
56 SkASSERT(srgb || !f16);
63 bool srgb; member in struct:DrawOptions
  /external/skia/src/gpu/
GrPaint.h 59 * Should shader output conversion from linear to sRGB be disabled.
60 * Only relevant if the destination is sRGB. Defaults to false.
62 void setDisableOutputConversionToSRGB(bool srgb) { fDisableOutputConversionToSRGB = srgb; }
66 * Should sRGB inputs be allowed to perform sRGB to linear conversion. With this flag
67 * set to false, sRGB textures will be treated as linear (including filtering).
73 * Should rendering be gamma-correct, end-to-end. Causes sRGB render targets to behave
74 * as such (with linear blending), and sRGB inputs to be filtered and decoded correctly.
142 * It may have variable sRGB settings
    [all...]
  /external/skqp/src/gpu/
GrPaint.h 59 * Should shader output conversion from linear to sRGB be disabled.
60 * Only relevant if the destination is sRGB. Defaults to false.
62 void setDisableOutputConversionToSRGB(bool srgb) { fDisableOutputConversionToSRGB = srgb; }
66 * Should sRGB inputs be allowed to perform sRGB to linear conversion. With this flag
67 * set to false, sRGB textures will be treated as linear (including filtering).
73 * Should rendering be gamma-correct, end-to-end. Causes sRGB render targets to behave
74 * as such (with linear blending), and sRGB inputs to be filtered and decoded correctly.
142 * It may have variable sRGB settings
    [all...]
  /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];
  /external/libpng/tests/
pngstest 10 # gamma: one of; linear, 1.8, sRGB, none.
29 *-sRGB[.-]*)
30 test "$gamma" = "sRGB" && g="$f";;
  /external/mesa3d/src/amd/vulkan/
vk_format_layout.csv 19 VK_FORMAT_R8_SRGB , plain, 1, 1, un8 , , , , x001, srgb
26 VK_FORMAT_R8G8_SRGB , plain, 1, 1, un8 , un8 , , , xy01, srgb
33 VK_FORMAT_R8G8B8_SRGB , plain, 1, 1, un8 , un8 , un8 , , xyz1, srgb
40 VK_FORMAT_B8G8R8_SRGB , plain, 1, 1, un8 , un8 , un8 , , zyx1, srgb
47 VK_FORMAT_R8G8B8A8_SRGB , plain, 1, 1, un8 , un8 , un8 , un8 , xyzw, srgb
54 VK_FORMAT_B8G8R8A8_SRGB , plain, 1, 1, un8 , un8 , un8 , un8 , zyxw, srgb
61 VK_FORMAT_A8B8G8R8_SRGB_PACK32 , plain, 1, 1, un8 , un8 , un8 , un8 , xyzw, srgb
136 VK_FORMAT_BC1_RGB_SRGB_BLOCK , s3tc, 4, 4, x64 , , , , xyz1, srgb
138 VK_FORMAT_BC1_RGBA_SRGB_BLOCK , s3tc, 4, 4, x64 , , , , xyzw, srgb
140 VK_FORMAT_BC2_SRGB_BLOCK , s3tc, 4, 4, x128, , , , xyzw, srgb
    [all...]
  /external/ImageMagick/PerlMagick/t/reference/read/
input_ico.miff 4 colorspace=sRGB
input_im1.miff 4 colorspace=sRGB
input_null_DarkOrange.miff 4 colorspace=sRGB
input_null_black.miff 4 colorspace=sRGB
input_null_white.miff 4 colorspace=sRGB
input_wbmp.miff 4 colorspace=sRGB
input_xbm.miff 4 colorspace=sRGB
input_xc_black.miff 4 colorspace=sRGB
  /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/mesa3d/src/gallium/auxiliary/util/
u_format.csv 111 # SRGB formats
112 PIPE_FORMAT_L8_SRGB , plain, 1, 1, un8 , , , , xxx1, srgb
113 PIPE_FORMAT_L8A8_SRGB , plain, 1, 1, un8 , un8 , , , xxxy, srgb
114 PIPE_FORMAT_R8G8B8_SRGB , plain, 1, 1, un8 , un8 , un8 , , xyz1, srgb
115 PIPE_FORMAT_R8G8B8A8_SRGB , plain, 1, 1, un8 , un8 , un8 , un8 , xyzw, srgb
116 PIPE_FORMAT_A8B8G8R8_SRGB , plain, 1, 1, un8 , un8 , un8 , un8 , wzyx, srgb
117 PIPE_FORMAT_X8B8G8R8_SRGB , plain, 1, 1, x8 , un8 , un8 , un8 , wzy1, srgb
118 PIPE_FORMAT_B8G8R8A8_SRGB , plain, 1, 1, un8 , un8 , un8 , un8 , zyxw, srgb
119 PIPE_FORMAT_B8G8R8X8_SRGB , plain, 1, 1, un8 , un8 , un8 , x8 , zyx1, srgb
120 PIPE_FORMAT_A8R8G8B8_SRGB , plain, 1, 1, un8 , un8 , un8 , un8 , yzwx, srgb
    [all...]

Completed in 911 milliseconds

12 3 4 5 6 7 8 91011>>