/external/skia/src/gpu/ |
GrContextPriv.h | 43 sk_sp<SkColorSpace> colorSpace = nullptr, 48 sk_sp<SkColorSpace> colorSpace); 54 sk_sp<SkColorSpace> colorSpace, 60 sk_sp<SkColorSpace> colorSpace, 67 sk_sp<SkColorSpace> colorSpace,
|
/external/deqp/modules/egl/ |
teglWideColorTests.cpp | 561 EGLint colorSpace, 596 WideColorSurfaceTest::WideColorSurfaceTest (EglTestContext& eglTestCtx, const char* name, const char* description, const EGLint* attribList, EGLint colorSpace, const std::vector<struct Iteration>& iterations) 598 , m_colorSpace (colorSpace) 867 // Apply sRGB transfer function when colorspace is sRGB and pixel component [all...] |
/external/ImageMagick/MagickCore/ |
color.c | 50 #include "MagickCore/colorspace-private.h" 2349 colorspace[MagickPathExtent]; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format.c | 71 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 72 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 83 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 84 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 100 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 101 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 197 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 198 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && 215 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 216 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) & [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 84 private ColorSpace mColorSpace; [all...] |
BitmapFactory.java | 152 * (for instance {@link ColorSpace.Named#SRGB sRGB} for 156 * {@link ColorSpace.Named#LINEAR_EXTENDED_SRGB scRGB} color space). 158 * assumed to be in the {@link ColorSpace.Named#SRGB sRGB} color space.</p> 160 * <p class="note">Only {@link ColorSpace.Model#RGB} color spaces are 163 * such as {@link ColorSpace.Named#CIE_LAB Lab}.</p> 166 * an {@link ColorSpace.Rgb.TransferParameters ICC parametric curve}. An 168 * if calling {@link ColorSpace.Rgb#getTransferParameters()} on the 174 public ColorSpace inPreferredColorSpace = null; 401 public ColorSpace outColorSpace; 451 if (!(opts.inPreferredColorSpace instanceof ColorSpace.Rgb)) [all...] |
/external/libpng/ |
png.c | 1074 #ifdef PNG_GAMMA_SUPPORTED /* always set if COLORSPACE */ [all...] |
pngstruct.h | 71 /* Colorspace support; structures used in png_struct, png_info and in internal 75 * colorspace corrections, otherwise all the colorspace information can be 77 * out the colorspace support. 100 #endif /* COLORSPACE */ 103 /* A colorspace is all the above plus, potentially, profile information; 141 #endif /* COLORSPACE || GAMMA */ 479 png_colorspace colorspace; member in struct:png_struct_def
|
/external/pdfium/third_party/libpng16/ |
png.c | 1033 #ifdef PNG_GAMMA_SUPPORTED /* always set if COLORSPACE */ 1036 png_colorspacerp colorspace, png_fixed_point gAMA, int from) 1049 if ((colorspace->flags & PNG_COLORSPACE_HAVE_GAMMA) != 0 && 1050 (png_muldiv(>est, colorspace->gamma, PNG_FP_1, gAMA) == 0 || 1059 if ((colorspace->flags & PNG_COLORSPACE_FROM_sRGB) != 0 || from == 2) [all...] |
pngstruct.h | 71 /* Colorspace support; structures used in png_struct, png_info and in internal 75 * colorspace corrections, otherwise all the colorspace information can be 77 * out the colorspace support. 100 #endif /* COLORSPACE */ 103 /* A colorspace is all the above plus, potentially, profile information; 141 #endif /* COLORSPACE || GAMMA */ 479 png_colorspace colorspace; member in struct:png_struct_def
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
RawConverter.java | 49 * Matrix to convert from CIE XYZ colorspace to sRGB, Bradford-adapted to D65. 58 * Matrix to convert from the ProPhoto RGB colorspace to CIE XYZ colorspace. 67 * Matrix to convert from CIE XYZ colorspace to ProPhoto RGB colorspace. 84 * The D50 whitepoint coordinates in CIE XYZ colorspace. 149 * Colorspace transform to wide-gamut RGB - each pixel is mapped into a 150 * wide-gamut colorspace (in this case ProPhoto RGB is used) from the sensor 151 * colorspace. 158 * Colorspace transform to final RGB - each pixel is mapped into linear sRGB colorspace [all...] |
/external/skia/src/codec/ |
SkJpegCodec.cpp | 238 sk_sp<SkColorSpace> colorSpace = read_color_space(decoderMgr->dinfo()); 239 if (colorSpace) { 243 if (colorSpace->type() != SkColorSpace::kCMYK_Type) { 244 colorSpace = nullptr; 248 if (colorSpace->type() != SkColorSpace::kGray_Type && 249 colorSpace->type() != SkColorSpace::kRGB_Type) 251 colorSpace = nullptr; 255 if (colorSpace->type() != SkColorSpace::kRGB_Type) { 256 colorSpace = nullptr; 261 if (!colorSpace) { [all...] |
/external/skqp/src/codec/ |
SkJpegCodec.cpp | 237 sk_sp<SkColorSpace> colorSpace = read_color_space(decoderMgr->dinfo()); 238 if (colorSpace) { 242 if (colorSpace->type() != SkColorSpace::kCMYK_Type) { 243 colorSpace = nullptr; 247 if (colorSpace->type() != SkColorSpace::kGray_Type && 248 colorSpace->type() != SkColorSpace::kRGB_Type) 250 colorSpace = nullptr; 254 if (colorSpace->type() != SkColorSpace::kRGB_Type) { 255 colorSpace = nullptr; 260 if (!colorSpace) { [all...] |
/external/skqp/src/gpu/ |
GrContext.cpp | 495 static bool pm_upm_must_round_trip(GrPixelConfig config, SkColorSpace* colorSpace) { 496 return !colorSpace && 530 pm_upm_must_round_trip(dstProxy->config(), dst->colorSpaceInfo().colorSpace()); 662 pm_upm_must_round_trip(srcProxy->config(), src->colorSpaceInfo().colorSpace()) && 815 sk_sp<SkColorSpace> colorSpace, 821 std::move(colorSpace), props); 825 return this->drawingManager()->makeTextureContext(std::move(proxy), std::move(colorSpace)); 855 sk_sp<SkColorSpace> colorSpace) { 863 return this->drawingManager()->makeTextureContext(std::move(proxy), std::move(colorSpace)); 870 sk_sp<SkColorSpace> colorSpace, [all...] |
/external/webp/src/dec/ |
buffer_dec.c | 43 const WEBP_CSP_MODE mode = buffer->colorspace; 89 const WEBP_CSP_MODE mode = buffer->colorspace; 156 if (WebPIsRGBMode(buffer->colorspace)) { 273 assert(src_buf->colorspace == dst_buf->colorspace); 280 if (WebPIsRGBMode(src_buf->colorspace)) { 284 src_buf->width * kModeBpp[src_buf->colorspace], 295 if (WebPIsAlphaMode(src_buf->colorspace)) { 307 WebPIsPremultipliedMode(output->colorspace) &&
|
/external/skia/include/core/ |
SkPixmap.h | 95 @param colorSpace SkColorSpace moved to SkImageInfo 97 void setColorSpace(sk_sp<SkColorSpace> colorSpace); 174 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } 526 If SkPixmap colorType() is kGray_8_SkColorType, dstInfo.colorSpace() must match. 528 match. If SkPixmap colorSpace() is nullptr, dstInfo.colorSpace() must match. Returns 562 If SkPixmap colorType() is kGray_8_SkColorType, dstInfo.colorSpace() must match. 564 match. If SkPixmap colorSpace() is nullptr, dstInfo.colorSpace() must match. Return [all...] |
/external/skqp/include/core/ |
SkPixmap.h | 95 @param colorSpace SkColorSpace moved to SkImageInfo 97 void setColorSpace(sk_sp<SkColorSpace> colorSpace); 181 SkColorSpace* colorSpace() const { return fInfo.colorSpace(); } 533 If this->colorType() is kGray_8_SkColorType, dstInfo.colorSpace() must match. 535 match. If this->colorSpace() is nullptr, dstInfo.colorSpace() must match. Returns 569 If this->colorType() is kGray_8_SkColorType, dstInfo.colorSpace() must match. 571 match. If this->colorSpace() is nullptr, dstInfo.colorSpace() must match. Return [all...] |
/external/deqp/scripts/egl/ |
str_util.py | 128 "COLORSPACE" 160 ("Colorspace", ["COLORSPACE_sRGB", "COLORSPACE_LINEAR"])
|
/external/dng_sdk/source/ |
dng_color_spec.h | 95 /// Setter for white point. Value is as XY colorspace coordinate. 100 /// Getter for white point. Value is as XY colorspace coordinate.
|
/external/libcups/cups/ |
ppd.h | 101 PPD_CS_CMYK = -4, /* CMYK colorspace */ 102 PPD_CS_CMY, /* CMY colorspace */ 103 PPD_CS_GRAY = 1, /* Grayscale colorspace */ 104 PPD_CS_RGB = 3, /* RGB colorspace */ 105 PPD_CS_RGBK, /* RGBK (K = gray) colorspace */ 106 PPD_CS_N /* DeviceN colorspace */ 303 ppd_cs_t colorspace; /* Default colorspace */ member in struct:ppd_file_s
|
/external/libjpeg-turbo/ |
jdcolext.c | 11 * This file contains output colorspace conversion routines. 19 * Convert some rows of samples to the output colorspace.
|
/external/opencv/otherlibs/highgui/ |
grfmt_jpeg2000.cpp | 161 int colorspace; local 165 colorspace = JAS_CLRSPC_SRGB; 170 colorspace = JAS_CLRSPC_SGRAY; // TODO GENGRAY or SGRAY? 173 // convert to the desired colorspace 176 jas_cmprof_t *clrprof = jas_cmprof_createfromclrspc( colorspace ); 187 fprintf(stderr, "JPEG 2000 LOADER ERROR: cannot convert colorspace\n"); 191 fprintf(stderr, "JPEG 2000 LOADER ERROR: unable to create colorspace\n"); 250 fprintf(stderr, "JPEG2000 LOADER ERROR: colorspace conversion failed\n" );
|
/external/piex/src/ |
piex_types.h | 57 enum ColorSpace { 88 ColorSpace color_space = kSrgb;
|
/external/skia/gm/ |
color4f.cpp | 79 for (auto colorSpace : colorSpaces) { 81 colorSpace);
|
/external/skia/include/private/ |
SkEncodedInfo.h | 120 SkImageInfo makeImageInfo(int width, int height, sk_sp<SkColorSpace> colorSpace) const { 125 return SkImageInfo::Make(width, height, ct, alpha, std::move(colorSpace));
|