Searched refs:colorspace (Results 1 - 25 of 246) sorted by relevance

12345678910

/external/ImageMagick/tests/
H A Dvalidate-colorspace.tap23 ${VALIDATE} -validate colorspace && echo "ok" || echo "not ok"
H A Dcli-colorspace.tap37 too_dark=`eval ${MAGICK} "$in" -colorspace RGB "$out"`
38 too_light=`eval ${MAGICK} "$in" -set colorspace RGB -colorspace sRGB "$out"`
56 # Actual values used below come from IM v6.5.4-7 colorspace conversions
78 cs="$cs -colorspace $i" # colorspace operations to perform test
/external/ImageMagick/MagickCore/
H A Dcolorspace-private.h16 MagickCore image colorspace private methods.
51 if (pixel->colorspace != sRGBColorspace)
81 pixel->colorspace=CMYKColorspace;
89 const ColorspaceType colorspace)
91 if (colorspace == CMYKColorspace)
97 const ColorspaceType colorspace)
99 if (colorspace == GRAYColorspace)
104 static inline MagickBooleanType IsRGBColorspace(const ColorspaceType colorspace) argument
106 if ((colorspace == RGBColorspace) || (colorspace
88 IsCMYKColorspace( const ColorspaceType colorspace) argument
96 IsGrayColorspace( const ColorspaceType colorspace) argument
111 IssRGBColorspace( const ColorspaceType colorspace) argument
119 IssRGBCompatibleColorspace( const ColorspaceType colorspace) argument
[all...]
H A Dcolor.c50 #include "MagickCore/colorspace-private.h"
1179 if (pixel->colorspace == LabColorspace)
1219 if ((pixel->colorspace == HCLColorspace) ||
1220 (pixel->colorspace == HCLpColorspace) ||
1221 (pixel->colorspace == HSBColorspace) ||
1222 (pixel->colorspace == HSIColorspace) ||
1223 (pixel->colorspace == HSLColorspace) ||
1224 (pixel->colorspace == HSVColorspace) ||
1225 (pixel->colorspace == HWBColorspace))
1238 if (pixel->colorspace
2349 colorspace[MagickPathExtent]; local
[all...]
H A Dquantize.h21 #include "MagickCore/colorspace.h"
44 colorspace; member in struct:_QuantizeInfo
/external/ImageMagick/coders/
H A Ddebug.c51 #include "MagickCore/colorspace.h"
174 colorspace[MagickPathExtent],
210 (void) CopyMagickString(colorspace,CommandOptionToMnemonic(
211 MagickColorspaceOptions,(ssize_t) image->colorspace),MagickPathExtent);
212 LocaleLower(colorspace);
215 (void) ConcatenateMagickString(colorspace,"a",MagickPathExtent);
219 GetQuantumRange(image->depth)),colorspace);
235 if (pixel.colorspace == CMYKColorspace)
169 colorspace[MagickPathExtent], local
H A Dtile.c127 image->colorspace=tile_image->colorspace;
139 if (image->colorspace == GRAYColorspace)
H A Dtxt.c51 #include "MagickCore/colorspace.h"
110 colorspace[MagickPathExtent];
125 &rows,&depth,colorspace);
384 colorspace[MagickPathExtent],
447 *colorspace='\0';
449 colorspace);
459 LocaleLower(colorspace);
460 i=(ssize_t) strlen(colorspace)-1;
462 if ((i > 0) && (colorspace[i] == 'a'))
464 colorspace[
107 colorspace[MagickPathExtent]; local
379 colorspace[MagickPathExtent], local
694 colorspace[MagickPathExtent], local
[all...]
/external/libpng/
H A Dpngget.c523 (info_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_ENDPOINTS) != 0)
529 info_ptr->colorspace.end_points_xy.whitex, "cHRM white X");
532 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y");
534 *red_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redx,
537 *red_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redy,
541 info_ptr->colorspace.end_points_xy.greenx, "cHRM green X");
544 info_ptr->colorspace.end_points_xy.greeny, "cHRM green Y");
546 *blue_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluex,
549 *blue_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluey,
564 (info_ptr->colorspace
[all...]
H A Dpng.c1077 png_colorspacerp colorspace, png_fixed_point gAMA, int from)
1090 if ((colorspace->flags & PNG_COLORSPACE_HAVE_GAMMA) != 0 &&
1091 (png_muldiv(&gtest, colorspace->gamma, PNG_FP_1, gAMA) == 0 ||
1100 if ((colorspace->flags & PNG_COLORSPACE_FROM_sRGB) != 0 || from == 2)
1121 png_colorspacerp colorspace, png_fixed_point gAMA)
1142 (colorspace->flags & PNG_COLORSPACE_FROM_gAMA) != 0)
1146 /* Do nothing if the colorspace is already invalid */
1147 else if ((colorspace->flags & PNG_COLORSPACE_INVALID) != 0)
1152 if (png_colorspace_check_gamma(png_ptr, colorspace, gAMA,
1156 colorspace
1076 png_colorspace_check_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA, int from) argument
1120 png_colorspace_set_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA) argument
1678 png_colorspace_set_xy_and_XYZ(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, const png_XYZ *XYZ, int preferred) argument
1726 png_colorspace_set_chromaticities(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, int preferred) argument
1763 png_colorspace_set_endpoints(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_XYZ *XYZ_in, int preferred) argument
1829 png_icc_profile_error(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_alloc_size_t value, png_const_charp reason) argument
1878 png_colorspace_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, int intent) argument
1976 icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) argument
1987 png_icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) argument
2020 png_icc_check_header(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile , int color_type) argument
2203 png_icc_check_tag_table(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile ) argument
2434 png_icc_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler) argument
2448 png_colorspace_set_ICC(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type) argument
[all...]
/external/pdfium/third_party/libpng16/
H A Dpngget.c523 (info_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_ENDPOINTS) != 0)
529 info_ptr->colorspace.end_points_xy.whitex, "cHRM white X");
532 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y");
534 *red_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redx,
537 *red_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redy,
541 info_ptr->colorspace.end_points_xy.greenx, "cHRM green X");
544 info_ptr->colorspace.end_points_xy.greeny, "cHRM green Y");
546 *blue_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluex,
549 *blue_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluey,
564 (info_ptr->colorspace
[all...]
H A Dpng.c1036 png_colorspacerp colorspace, png_fixed_point gAMA, int from)
1049 if ((colorspace->flags & PNG_COLORSPACE_HAVE_GAMMA) != 0 &&
1050 (png_muldiv(&gtest, colorspace->gamma, PNG_FP_1, gAMA) == 0 ||
1059 if ((colorspace->flags & PNG_COLORSPACE_FROM_sRGB) != 0 || from == 2)
1080 png_colorspacerp colorspace, png_fixed_point gAMA)
1101 (colorspace->flags & PNG_COLORSPACE_FROM_gAMA) != 0)
1105 /* Do nothing if the colorspace is already invalid */
1106 else if ((colorspace->flags & PNG_COLORSPACE_INVALID) != 0)
1111 if (png_colorspace_check_gamma(png_ptr, colorspace, gAMA,
1115 colorspace
1035 png_colorspace_check_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA, int from) argument
1079 png_colorspace_set_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA) argument
1637 png_colorspace_set_xy_and_XYZ(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, const png_XYZ *XYZ, int preferred) argument
1685 png_colorspace_set_chromaticities(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, int preferred) argument
1722 png_colorspace_set_endpoints(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_XYZ *XYZ_in, int preferred) argument
1788 png_icc_profile_error(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_alloc_size_t value, png_const_charp reason) argument
1837 png_colorspace_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, int intent) argument
1935 icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) argument
1947 png_icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) argument
1980 png_icc_check_header(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile , int color_type) argument
2163 png_icc_check_tag_table(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile ) argument
2394 png_icc_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler) argument
2409 png_colorspace_set_ICC(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_parse.py107 def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be_swizzles, colorspace):
117 self.colorspace = colorspace
212 if self.layout != PLAIN or self.colorspace == ZS:
239 return self.colorspace == ZS and self.has_channel(0)
242 return self.colorspace == ZS and self.has_channel(1)
267 def _parse_channels(fields, layout, colorspace, swizzles):
270 if colorspace in (RGB, SRGB):
275 elif colorspace == ZS:
340 colorspace
[all...]
H A Du_format_table.py43 def colorspace_map(colorspace):
44 return 'UTIL_FORMAT_COLORSPACE_' + str(colorspace).upper()
120 comment = colorspace_channels_map[format.colorspace][i]
140 print " %s," % (colorspace_map(format.colorspace),)
146 if format.colorspace != ZS and not format.is_pure_color() and access:
/external/mesa3d/src/amd/vulkan/
H A Dvk_format.h137 enum vk_format_colorspace colorspace; member in struct:vk_format_description
333 return desc->colorspace == VK_FORMAT_COLORSPACE_ZS &&
340 return desc->colorspace == VK_FORMAT_COLORSPACE_ZS &&
409 enum vk_format_colorspace colorspace,
423 if (colorspace == VK_FORMAT_COLORSPACE_SRGB) {
424 colorspace = VK_FORMAT_COLORSPACE_RGB;
426 if (desc->colorspace == VK_FORMAT_COLORSPACE_SRGB) {
429 desc_colorspace = desc->colorspace;
432 if (desc_colorspace != colorspace) {
408 vk_format_get_component_bits(VkFormat format, enum vk_format_colorspace colorspace, unsigned component) argument
H A Dvk_format_table.py41 def colorspace_map(colorspace):
42 return 'VK_FORMAT_COLORSPACE_' + str(colorspace).upper()
122 comment = colorspace_channels_map[format.colorspace][i]
142 print " %s," % (colorspace_map(format.colorspace),)
H A Dvk_format_parse.py111 def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be_swizzles, colorspace):
121 self.colorspace = colorspace
220 if self.layout != PLAIN or self.colorspace == ZS:
247 return self.colorspace == ZS and self.has_channel(0)
250 return self.colorspace == ZS and self.has_channel(1)
275 def _parse_channels(fields, layout, colorspace, swizzles):
278 if colorspace in (RGB, SRGB):
283 elif colorspace == ZS:
359 colorspace
[all...]
/external/swiftshader/src/Main/
H A DFrameBufferOSX.hpp44 CGColorSpaceRef colorspace; member in class:sw::FrameBufferOSX
/external/webp/src/dec/
H A Dio_dec.c54 WebPSamplers[output->colorspace]);
66 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace];
184 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
186 (colorspace == MODE_ARGB || colorspace == MODE_Argb);
197 if (has_alpha && WebPIsPremultipliedMode(colorspace)) {
210 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
234 if (alpha_mask != 0x0f && WebPIsPremultipliedMode(colorspace)) {
407 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
441 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
552 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
[all...]
H A Dbuffer_dec.c43 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/ImageMagick/www/api/
H A Dcolorspace.php55 <p class="text-center"><a href="colorspace.php#SetImageColorspace">SetImageColorspace</a> &bull; <a href="colorspace.php#SetImageGray">SetImageGray</a> &bull; <a href="colorspace.php#SetImageMonochrome">SetImageMonochrome</a> &bull; <a href="colorspace.php#TransformImageColorspace">TransformImageColorspace</a></p>
59 <p>SetImageColorspace() sets the colorspace member of the Image structure.</p>
65 const ColorspaceType colorspace,ExceptiionInfo *exception)
79 <dt>colorspace</dt>
80 <dd>the colorspace. </dd>
144 <p>TransformImageColorspace() transforms an image colorspace, changing the image data to reflect the new colorspace
[all...]
/external/mesa3d/src/intel/isl/
H A Dgen_format_layout.py84 .colorspace = ISL_COLORSPACE_${format.colorspace},
152 # alpha doesn't have a colorspace of it's own.
153 self.colorspace = line[12].strip().upper()
154 if self.colorspace in ['', 'ALPHA']:
155 self.colorspace = 'NONE'
/external/skia/tests/
H A DImageGeneratorTest.cpp101 auto colorspace = SkColorSpace::MakeSRGB(); local
104 SkImage::BitDepth::kU8, colorspace);
110 SkImageInfo info = SkImageInfo::Make(100, 100, rec.fColorType, rec.fAlphaType, colorspace);
/external/skqp/tests/
H A DImageGeneratorTest.cpp98 auto colorspace = SkColorSpace::MakeSRGB(); local
101 SkImage::BitDepth::kU8, colorspace);
107 SkImageInfo info = SkImageInfo::Make(100, 100, rec.fColorType, rec.fAlphaType, colorspace);
/external/mesa3d/src/mesa/main/
H A Dformat_parser.py230 def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace):
247 colorspace -- one of 'rgb', 'srgb', 'yuv', or 'zs'
258 assert colorspace in (RGB, SRGB, YUV, ZS)
259 self.colorspace = colorspace
263 if self.colorspace in (RGB, SRGB):
267 elif colorspace == ZS:
516 def _parse_channels(fields, layout, colorspace, swizzle):
561 colorspace = fields[10]
567 channels = _parse_channels(fields[5:9], layout, colorspace, swizzl
[all...]

Completed in 2117 milliseconds

12345678910