Searched refs:colorspace (Results 51 - 75 of 258) sorted by relevance

1234567891011

/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_screen.c449 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) {
454 else if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB)
496 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
/external/ImageMagick/MagickCore/
H A Dfeature.c56 #include "MagickCore/colorspace.h"
57 #include "MagickCore/colorspace-private.h"
737 if (image->colorspace == CMYKColorspace)
763 if (image->colorspace == CMYKColorspace)
778 if (image->colorspace == CMYKColorspace)
971 if (image->colorspace == CMYKColorspace)
1069 if (image->colorspace == CMYKColorspace)
1107 if (image->colorspace == CMYKColorspace)
1121 if (image->colorspace == CMYKColorspace)
1130 if (image->colorspace
[all...]
H A Dquantize.c183 #include "MagickCore/colorspace.h"
184 #include "MagickCore/colorspace-private.h"
512 if ((cube_info->quantize_info->colorspace != UndefinedColorspace) &&
513 (cube_info->quantize_info->colorspace != CMYKColorspace))
514 (void) TransformImageColorspace(image,cube_info->quantize_info->colorspace,
517 if (IssRGBCompatibleColorspace(image->colorspace) == MagickFalse)
653 (cube_info->quantize_info->colorspace == GRAYColorspace))
677 if ((cube_info->quantize_info->colorspace != UndefinedColorspace) &&
678 (cube_info->quantize_info->colorspace != CMYKColorspace))
753 (cube_info->quantize_info->colorspace
[all...]
H A DAndroid.mk64 colorspace.c\
H A Dimage.h135 #include "MagickCore/colorspace.h"
160 colorspace; /* colorspace of image data */ member in struct:_Image
427 colorspace; member in struct:_ImageInfo
H A Dpixel-accessor.h24 #include "MagickCore/colorspace.h"
234 if (pixel->colorspace == sRGBColorspace)
252 if (pixel->colorspace != sRGBColorspace)
295 if (image->colorspace != sRGBColorspace)
380 pixel_info->colorspace=image->colorspace;
491 if (image->colorspace == CMYKColorspace)
543 if ((p->colorspace == CMYKColorspace) &&
/external/ImageMagick/coders/
H A Draw.c47 #include "MagickCore/colorspace.h"
499 if (image->colorspace == CMYKColorspace)
519 if (image->colorspace == CMYKColorspace)
527 if (image->colorspace == CMYKColorspace)
547 if (image->colorspace == CMYKColorspace)
H A Dvips.c48 #include "MagickCore/colorspace.h"
49 #include "MagickCore/colorspace-private.h"
346 if (image->colorspace == CMYKColorspace)
485 ThrowReaderException(CoderError,"Unsupported colorspace");
500 "Unsupported combination of band format and colorspace");
661 else if (image->colorspace == CMYKColorspace)
673 switch(image->colorspace)
741 if (image->colorspace == CMYKColorspace)
H A Dxc.c49 #include "MagickCore/colorspace-private.h"
145 (void) SetImageColorspace(image,pixel.colorspace,exception);
H A Dsct.c243 if (image->colorspace == CMYKColorspace)
266 if (image->colorspace == CMYKColorspace)
/external/kernel-headers/original/uapi/linux/
H A Dv4l2-mediabus.h24 * @colorspace: colorspace of the data (from enum v4l2_colorspace)
34 __u32 colorspace; member in struct:v4l2_mbus_framefmt
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg2000.cpp161 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/webp/src/enc/
H A Dpicture_csp_enc.c10 // WebPPicture utils for colorspace conversion
846 picture->colorspace = has_alpha ? WEBP_YUV420A : WEBP_YUV420;
985 static int PictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace, argument
990 } else if ((colorspace & WEBP_CSP_UV_MASK) != WEBP_YUV420) {
999 picture->colorspace = WEBP_YUV420;
1005 int WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, argument
1007 return PictureARGBToYUVA(picture, colorspace, dithering, 0);
1010 int WebPPictureARGBToYUVA(WebPPicture* picture, WebPEncCSP colorspace) { argument
1011 return PictureARGBToYUVA(picture, colorspace, 0.f, 0);
1030 if ((picture->colorspace
[all...]
H A Dpicture_enc.c92 (WebPEncCSP)((int)picture->colorspace & WEBP_CSP_UV_MASK);
93 const int has_alpha = (int)picture->colorspace & WEBP_CSP_ALPHA_BIT;
/external/ImageMagick/MagickWand/
H A Dcompare.c106 "-colorspace type alternate image colorspace",
132 "-quantize colorspace reduce colors in this colorspace",
400 if (LocaleCompare("colorspace",option+1) == 0)
403 colorspace;
410 colorspace=ParseCommandOption(MagickColorspaceOptions,MagickFalse,
412 if (colorspace < 0)
759 colorspace;
766 colorspace
401 colorspace; local
757 colorspace; local
[all...]
H A Danimate.c139 "-colorspace type alternate image colorspace",
165 "-quantize colorspace reduce colors in this colorspace",
623 if (LocaleCompare("colorspace",option+1) == 0)
626 colorspace;
633 colorspace=ParseCommandOption(MagickColorspaceOptions,
635 if (colorspace < 0)
1074 quantize_info->colorspace=GRAYColorspace;
1134 colorspace;
624 colorspace; local
1132 colorspace; local
[all...]
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_screen.c392 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS)
406 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
/external/mesa3d/src/gallium/tests/unit/
H A Dtranslate_test.c181 || output_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB
207 || input_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB
/external/webp/include/webp/
H A Dencode.h296 // since these are the respective native colorspace for these formats.
300 WebPEncCSP colorspace; // colorspace: should be YUV420 for now (=Y'CbCr). member in struct:WebPPicture
362 // Note that, by default, use_argb is false and colorspace is WEBP_YUV420.
371 // Allocate y/u/v buffers as per colorspace/width/height specification.
419 // picture uses the YUV420 colorspace, the top and left coordinates will be
427 // the 'src' source picture. If the source picture uses the YUV420 colorspace,
473 // Converts picture->argb data to the YUV420A format. The 'colorspace'
476 // non-opaque transparent values is detected, and 'colorspace' will be
480 WebPEncCSP /*colorspace
[all...]
/external/webp/src/webp/
H A Dencode.h296 // since these are the respective native colorspace for these formats.
300 WebPEncCSP colorspace; // colorspace: should be YUV420 for now (=Y'CbCr). member in struct:WebPPicture
362 // Note that, by default, use_argb is false and colorspace is WEBP_YUV420.
371 // Allocate y/u/v buffers as per colorspace/width/height specification.
419 // picture uses the YUV420 colorspace, the top and left coordinates will be
427 // the 'src' source picture. If the source picture uses the YUV420 colorspace,
473 // Converts picture->argb data to the YUV420A format. The 'colorspace'
476 // non-opaque transparent values is detected, and 'colorspace' will be
480 WebPEncCSP /*colorspace
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_pack.py490 src_colorspace = format.colorspace
517 src_colorspace = format.colorspace
562 dst_colorspace = format.colorspace
595 dst_colorspace = format.colorspace
689 return format.layout in ('s3tc', 'rgtc', 'etc', 'bptc', 'astc', 'subsampled', 'other') or format.colorspace == ZS
/external/libpng/
H A Dpngset.c61 if (png_colorspace_set_chromaticities(png_ptr, &info_ptr->colorspace, &xy,
63 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
93 if (png_colorspace_set_endpoints(png_ptr, &info_ptr->colorspace,
95 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
147 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma);
599 (void)png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace, srgb_intent);
612 if (png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace,
616 info_ptr->colorspace.flags |=
643 /* Set the colorspace first because this validates the profile; do not
650 int result = png_colorspace_set_ICC(png_ptr, &info_ptr->colorspace, nam
[all...]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_FMT.c165 int valid_colorspace(enum v4l2_colorspace colorspace) argument
169 switch (colorspace) {
216 ".colorspace=%i, "
226 format.fmt.pix.colorspace, format.fmt.pix.priv);
249 //CU_ASSERT_EQUAL(format.fmt.pix.colorspace, ???);
250 CU_ASSERT(valid_colorspace(format.fmt.pix.colorspace));
770 ".colorspace=%i, " ".priv=0x%X " "} }\n",
777 format_max.fmt.pix.colorspace,
806 (format_max.fmt.pix.colorspace));
847 ".colorspace
[all...]
/external/pdfium/third_party/libpng16/
H A Dpngset.c61 if (png_colorspace_set_chromaticities(png_ptr, &info_ptr->colorspace, &xy,
63 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
93 if (png_colorspace_set_endpoints(png_ptr, &info_ptr->colorspace,
95 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
147 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma);
611 (void)png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace, srgb_intent);
624 if (png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace,
628 info_ptr->colorspace.flags |=
655 /* Set the colorspace first because this validates the profile; do not
662 int result = png_colorspace_set_ICC(png_ptr, &info_ptr->colorspace, nam
[all...]
/external/skia/third_party/libpng/
H A Dpngset.c61 if (png_colorspace_set_chromaticities(png_ptr, &info_ptr->colorspace, &xy,
63 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
93 if (png_colorspace_set_endpoints(png_ptr, &info_ptr->colorspace,
95 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
147 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma);
599 (void)png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace, srgb_intent);
612 if (png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace,
616 info_ptr->colorspace.flags |=
643 /* Set the colorspace first because this validates the profile; do not
650 int result = png_colorspace_set_ICC(png_ptr, &info_ptr->colorspace, nam
[all...]

Completed in 2178 milliseconds

1234567891011