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

12345

/external/chromium_org/chrome/utility/cloud_print/
H A Dbitmap_image.cc15 Colorspace colorspace)
17 colorspace_(colorspace),
14 BitmapImage(const gfx::Size& size, Colorspace colorspace) argument
H A Dbitmap_image.h22 BitmapImage(const gfx::Size& size, Colorspace colorspace);
27 Colorspace colorspace() const { return colorspace_; } function in class:cloud_print::BitmapImage
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_table.py43 def colorspace_map(colorspace):
44 return 'UTIL_FORMAT_COLORSPACE_' + str(colorspace).upper()
129 comment = colorspace_channels_map[format.colorspace][i]
134 print " %s," % (colorspace_map(format.colorspace),)
135 if format.colorspace != ZS and format.channels[0].pure == False:
152 if format.colorspace == ZS and format.swizzles[0] != SWIZZLE_NONE:
162 if format.colorspace == ZS and format.swizzles[1] != SWIZZLE_NONE:
168 if format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == UNSIGNED:
175 elif format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == SIGNED:
H A Du_format_parse.py107 def __init__(self, name, layout, block_width, block_height, channels, swizzles, colorspace):
115 self.colorspace = colorspace
254 colorspace = fields[9]
258 if colorspace in (RGB, SRGB):
263 elif colorspace == ZS:
301 format = Format(name, layout, block_width, block_height, channels, swizzles, colorspace)
H A Du_format.h191 * depending on the colorspace.
198 enum util_format_colorspace colorspace; member in struct:util_format_description
474 return desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB;
480 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS &&
487 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS &&
532 switch (desc->colorspace) {
741 enum util_format_colorspace colorspace,
755 if (colorspace == UTIL_FORMAT_COLORSPACE_SRGB) {
756 colorspace = UTIL_FORMAT_COLORSPACE_RGB;
758 if (desc->colorspace
740 util_format_get_component_bits(enum pipe_format format, enum util_format_colorspace colorspace, uint component) argument
[all...]
H A Du_format.c95 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
96 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
110 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
111 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
167 desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB ||
199 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
200 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
217 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
218 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
431 src_desc->colorspace !
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_table.py43 def colorspace_map(colorspace):
44 return 'UTIL_FORMAT_COLORSPACE_' + str(colorspace).upper()
129 comment = colorspace_channels_map[format.colorspace][i]
134 print " %s," % (colorspace_map(format.colorspace),)
135 if format.colorspace != ZS and format.channels[0].pure == False:
152 if format.colorspace == ZS and format.swizzles[0] != SWIZZLE_NONE:
162 if format.colorspace == ZS and format.swizzles[1] != SWIZZLE_NONE:
168 if format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == UNSIGNED:
175 elif format.colorspace != ZS and format.channels[0].pure == True and format.channels[0].type == SIGNED:
H A Du_format_parse.py107 def __init__(self, name, layout, block_width, block_height, channels, swizzles, colorspace):
115 self.colorspace = colorspace
254 colorspace = fields[9]
258 if colorspace in (RGB, SRGB):
263 elif colorspace == ZS:
301 format = Format(name, layout, block_width, block_height, channels, swizzles, colorspace)
H A Du_format.h191 * depending on the colorspace.
198 enum util_format_colorspace colorspace; member in struct:util_format_description
474 return desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB;
480 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS &&
487 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS &&
532 switch (desc->colorspace) {
741 enum util_format_colorspace colorspace,
755 if (colorspace == UTIL_FORMAT_COLORSPACE_SRGB) {
756 colorspace = UTIL_FORMAT_COLORSPACE_RGB;
758 if (desc->colorspace
740 util_format_get_component_bits(enum pipe_format format, enum util_format_colorspace colorspace, uint component) argument
[all...]
H A Du_format.c95 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
96 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
110 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
111 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
167 desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB ||
199 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
200 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
217 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB ||
218 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) &&
431 src_desc->colorspace !
[all...]
/external/libpng/
H A Dpngget.c491 (info_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_ENDPOINTS))
497 info_ptr->colorspace.end_points_xy.whitex, "cHRM white X");
500 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y");
502 *red_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redx,
505 *red_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.redy,
509 info_ptr->colorspace.end_points_xy.greenx, "cHRM green X");
512 info_ptr->colorspace.end_points_xy.greeny, "cHRM green Y");
514 *blue_x = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluex,
517 *blue_y = png_float(png_ptr, info_ptr->colorspace.end_points_xy.bluey,
532 (info_ptr->colorspace
[all...]
H A Dpng.c1035 png_colorspacerp colorspace, png_fixed_point gAMA, int from)
1048 if ((colorspace->flags & PNG_COLORSPACE_HAVE_GAMMA) != 0 &&
1049 (!png_muldiv(&gtest, colorspace->gamma, PNG_FP_1, gAMA) ||
1058 if ((colorspace->flags & PNG_COLORSPACE_FROM_sRGB) != 0 || from == 2)
1079 png_colorspacerp colorspace, png_fixed_point gAMA)
1100 (colorspace->flags & PNG_COLORSPACE_FROM_gAMA) != 0)
1104 /* Do nothing if the colorspace is already invalid */
1105 else if (colorspace->flags & PNG_COLORSPACE_INVALID)
1110 if (png_colorspace_check_gamma(png_ptr, colorspace, gAMA, 1/*from gAMA*/))
1113 colorspace
1034 png_colorspace_check_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA, int from) argument
1078 png_colorspace_set_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA) argument
1604 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
1650 png_colorspace_set_chromaticities(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, int preferred) argument
1688 png_colorspace_set_endpoints(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_XYZ *XYZ_in, int preferred) argument
1755 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
1804 png_colorspace_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, int intent) argument
1902 png_icc_check_length(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) argument
1917 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
2095 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
2318 png_icc_set_sRGB(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler) argument
2331 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...]
H A Dpnginfo.h93 * defined. When COLORSPACE is switched on all the colorspace-defining
102 png_colorspace colorspace; member in struct:png_info_def
/external/chromium_org/third_party/libwebp/dec/
H A Dio.c54 WebPSamplers[output->colorspace]);
69 const WebPYUV444Converter convert = WebPYUV444Converters[output->colorspace];
92 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace];
202 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
204 (colorspace == MODE_ARGB || colorspace == MODE_Argb);
223 if (alpha_mask != 0xff && WebPIsPremultipliedMode(colorspace)) {
235 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
416 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
453 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
551 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
[all...]
H A Dbuffer.c38 const WEBP_CSP_MODE mode = buffer->colorspace;
81 const WEBP_CSP_MODE mode = buffer->colorspace;
143 if (WebPIsRGBMode(buffer->colorspace)) {
/external/webp/src/dec/
H A Dio.c54 WebPSamplers[output->colorspace]);
69 const WebPYUV444Converter convert = WebPYUV444Converters[output->colorspace];
92 WebPUpsampleLinePairFunc upsample = WebPUpsamplers[p->output->colorspace];
202 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
204 (colorspace == MODE_ARGB || colorspace == MODE_Argb);
223 if (alpha_mask != 0xff && WebPIsPremultipliedMode(colorspace)) {
235 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
416 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
453 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
551 const WEBP_CSP_MODE colorspace = p->output->colorspace; local
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture_csp.c10 // WebPPicture utils for colorspace conversion
186 picture->colorspace |= WEBP_CSP_ALPHA_BIT;
188 picture->colorspace &= WEBP_CSP_UV_MASK;
246 int WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, argument
258 picture->colorspace = colorspace;
264 int WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) { argument
265 return WebPPictureARGBToYUVADithered(picture, colorspace, 0.f);
276 if ((picture->colorspace & WEBP_CSP_ALPHA_BIT) && picture->a == NULL) {
279 if ((picture->colorspace
[all...]
/external/webp/src/enc/
H A Dpicture_csp.c10 // WebPPicture utils for colorspace conversion
186 picture->colorspace |= WEBP_CSP_ALPHA_BIT;
188 picture->colorspace &= WEBP_CSP_UV_MASK;
246 int WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, argument
258 picture->colorspace = colorspace;
264 int WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) { argument
265 return WebPPictureARGBToYUVADithered(picture, colorspace, 0.f);
276 if ((picture->colorspace & WEBP_CSP_ALPHA_BIT) && picture->a == NULL) {
279 if ((picture->colorspace
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_tile_soa.py70 if format.colorspace not in ('rgb', 'srgb'):
93 if format.colorspace in ('rgb', 'srgb'):
98 elif format.colorspace == 'zs':
152 if format.colorspace in ('rgb', 'srgb'):
162 elif format.colorspace == 'zs':
182 assert format.colorspace in ('rgb', 'srgb')
307 and format.colorspace == 'rgb' \
H A Dlp_screen.c311 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS ||
312 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
332 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
348 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS &&
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tile_soa.py70 if format.colorspace not in ('rgb', 'srgb'):
93 if format.colorspace in ('rgb', 'srgb'):
98 elif format.colorspace == 'zs':
152 if format.colorspace in ('rgb', 'srgb'):
162 elif format.colorspace == 'zs':
182 assert format.colorspace in ('rgb', 'srgb')
307 and format.colorspace == 'rgb' \
H A Dlp_screen.c311 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS ||
312 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
332 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
348 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS &&
/external/webp/examples/
H A Ddwebp.c144 const int has_alpha = (buffer->colorspace == MODE_BGRA);
162 const int has_alpha = (buffer->colorspace == MODE_RGBA);
473 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR;
475 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB;
479 output_buffer->colorspace = MODE_RGBA;
482 output_buffer->colorspace = MODE_RGB; // drops alpha for PPM
486 output_buffer->colorspace = bitstream->has_alpha ? MODE_YUVA : MODE_YUV;
489 output_buffer->colorspace = MODE_YUVA;
/external/kernel-headers/original/uapi/linux/
H A Dv4l2-mediabus.h124 * @colorspace: colorspace of the data (from enum v4l2_colorspace)
131 __u32 colorspace; member in struct:v4l2_mbus_framefmt
/external/chromium_org/third_party/libwebp/webp/
H A Dencode.h289 // since these are the respective native colorspace for these formats.
293 WebPEncCSP colorspace; // colorspace: should be YUV420 for now (=Y'CbCr). member in struct:WebPPicture
355 // Note that, by default, use_argb is false and colorspace is WEBP_YUV420.
364 // Allocate y/u/v buffers as per colorspace/width/height specification.
397 // picture uses the YUV420 colorspace, the top and left coordinates will be
405 // the 'src' source picture. If the source picture uses the YUV420 colorspace,
449 // Converts picture->argb data to the YUVA format specified by 'colorspace'.
451 // non-opaque transparent values is detected, and 'colorspace' will be
455 WebPEncCSP colorspace);
[all...]

Completed in 7276 milliseconds

12345