/external/ImageMagick/tests/ |
H A D | validate-colorspace.tap | 23 ${VALIDATE} -validate colorspace && echo "ok" || echo "not ok"
|
H A D | cli-colorspace.tap | 37 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 D | colorspace-private.h | 16 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 D | color.c | 50 #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...] |
/external/strace/mpers-m32/ |
H A D | struct_v4l2_framebuffer.h | 15 uint32_t colorspace; member in struct:__anon19007::__anon19008
|
H A D | struct_v4l2_create_buffers.h | 18 uint32_t colorspace; member in struct:__anon18985::__anon18986::__anon18987::__anon18988 26 uint32_t colorspace; member in struct:__anon18985::__anon18986::__anon18987::__anon18989
|
H A D | struct_v4l2_format.h | 14 uint32_t colorspace; member in struct:__anon18998::__anon18999::__anon19000 22 uint32_t colorspace; member in struct:__anon18998::__anon18999::__anon19001
|
/external/strace/mpers-mx32/ |
H A D | struct_v4l2_framebuffer.h | 15 uint32_t colorspace; member in struct:__anon19166::__anon19167
|
H A D | struct_v4l2_create_buffers.h | 18 uint32_t colorspace; member in struct:__anon19144::__anon19145::__anon19146::__anon19147 26 uint32_t colorspace; member in struct:__anon19144::__anon19145::__anon19146::__anon19148
|
H A D | struct_v4l2_format.h | 14 uint32_t colorspace; member in struct:__anon19157::__anon19158::__anon19159 22 uint32_t colorspace; member in struct:__anon19157::__anon19158::__anon19160
|
/external/ImageMagick/coders/ |
H A D | debug.c | 51 #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 D | tile.c | 127 image->colorspace=tile_image->colorspace; 139 if (image->colorspace == GRAYColorspace)
|
H A D | txt.c | 51 #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 D | pngget.c | 523 (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 D | png.c | 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) 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 2393 png_icc_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler) argument 2407 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 D | pngget.c | 523 (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 D | png.c | 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) 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 png_icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) argument 1946 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 2129 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 2360 png_icc_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler) argument 2375 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/skia/third_party/libpng/ |
H A D | pngget.c | 523 (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 D | png.c | 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) 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 png_icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) argument 1946 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 2129 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 2360 png_icc_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler) argument 2375 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 D | u_format_parse.py | 107 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 D | u_format_table.py | 43 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 D | vk_format.h | 137 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 D | vk_format_table.py | 41 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),)
|
/external/swiftshader/src/Main/ |
H A D | FrameBufferOSX.hpp | 44 CGColorSpaceRef colorspace; member in class:sw::FrameBufferOSX
|
/external/webp/src/dec/ |
H A D | io_dec.c | 54 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)) { 406 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 440 const WEBP_CSP_MODE colorspace = p->output->colorspace; local 549 const WEBP_CSP_MODE colorspace = p->output->colorspace; local [all...] |