/external/webp/include/webp/ |
H A D | encode.h | 289 // 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...] |
/external/webp/src/dec/ |
H A D | buffer.c | 38 const WEBP_CSP_MODE mode = buffer->colorspace; 81 const WEBP_CSP_MODE mode = buffer->colorspace; 143 if (WebPIsRGBMode(buffer->colorspace)) {
|
H A D | idec.c | 652 idec->output_.colorspace = mode; 666 WEBP_CSP_MODE colorspace; local 672 colorspace = MODE_YUVA; 680 colorspace = (a == NULL) ? MODE_YUV : MODE_YUVA; 686 idec->output_.colorspace = colorspace; 800 if (src->colorspace >= MODE_YUV) { 818 if (src->colorspace < MODE_YUV) {
|
H A D | vp8l.c | 422 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, argument 431 VP8LConvertFromBGRA(src, dst_width, colorspace, dst); 441 const WEBP_CSP_MODE colorspace = dec->output_->colorspace; local 454 num_lines_out += Export(dec->rescaler, colorspace, out_stride, row_out); 460 static int EmitRows(WEBP_CSP_MODE colorspace, argument 467 VP8LConvertFromBGRA((const uint32_t*)row_in, mb_w, colorspace, row_out); 686 if (output->colorspace < MODE_YUV) { // convert to RGBA 692 EmitRows(output->colorspace, rows_data, in_stride, 1374 if (io->use_scaling || WebPIsPremultipliedMode(dec->output_->colorspace)) { [all...] |
/external/chromium_org/media/base/simd/ |
H A D | convert_rgb_to_yuv_ssse3.inc | 48 ; colorspace to YUV. This code stores one Y pixel, one U pixel, and one V 78 ; pixels and convert their colorspace to YUV. This code stores two Y pixels, 110 ; Read four ARGB pixels and convert their colorspace to YUV. This code stores
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_soa.c | 53 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) { 321 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 322 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) &&
|
H A D | lp_bld_format_aos.c | 73 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) { 107 desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB || 422 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 423 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) &&
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_format_soa.c | 53 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) { 321 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 322 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) &&
|
H A D | lp_bld_format_aos.c | 73 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) { 107 desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB || 422 (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || 423 format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) &&
|
/external/chromium_org/skia/ext/ |
H A D | skia_utils_mac.h | 67 // Converts NSColor to ARGB. Returns raw rgb values and does no colorspace 89 CGColorSpaceRef colorspace);
|
/external/opencv/otherlibs/highgui/ |
H A D | 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/chromium_org/third_party/libwebp/dec/ |
H A D | idec.c | 652 idec->output_.colorspace = mode; 666 WEBP_CSP_MODE colorspace; local 672 colorspace = MODE_YUVA; 680 colorspace = (a == NULL) ? MODE_YUV : MODE_YUVA; 686 idec->output_.colorspace = colorspace; 800 if (src->colorspace >= MODE_YUV) { 818 if (src->colorspace < MODE_YUV) {
|
H A D | vp8l.c | 422 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, argument 431 VP8LConvertFromBGRA(src, dst_width, colorspace, dst); 441 const WEBP_CSP_MODE colorspace = dec->output_->colorspace; local 454 num_lines_out += Export(dec->rescaler, colorspace, out_stride, row_out); 460 static int EmitRows(WEBP_CSP_MODE colorspace, argument 467 VP8LConvertFromBGRA((const uint32_t*)row_in, mb_w, colorspace, row_out); 686 if (output->colorspace < MODE_YUV) { // convert to RGBA 692 EmitRows(output->colorspace, rows_data, in_stride, 1374 if (io->use_scaling || WebPIsPremultipliedMode(dec->output_->colorspace)) { [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | picture.c | 90 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK; 91 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT;
|
H A D | picture_psnr.c | 83 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT); 84 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
H A D | sp_screen.c | 297 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) 311 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
H A D | translate_test.c | 180 || output_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB 206 || input_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_screen.c | 297 if (format_desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) 311 if (format_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS)
|
/external/mesa3d/src/gallium/tests/unit/ |
H A D | translate_test.c | 180 || output_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB 206 || input_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB
|
/external/webp/src/enc/ |
H A D | picture.c | 90 const WebPEncCSP uv_csp = picture->colorspace & WEBP_CSP_UV_MASK; 91 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT;
|
H A D | picture_psnr.c | 83 has_alpha = !!(src->colorspace & WEBP_CSP_ALPHA_BIT); 84 if (has_alpha != !!(ref->colorspace & WEBP_CSP_ALPHA_BIT) ||
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_format_pack.py | 465 src_colorspace = format.colorspace 493 src_colorspace = format.colorspace 533 dst_colorspace = format.colorspace 571 dst_colorspace = format.colorspace 661 return format.layout in ('s3tc', 'rgtc', 'etc', 'subsampled', 'other') or format.colorspace == ZS
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_pack.py | 465 src_colorspace = format.colorspace 493 src_colorspace = format.colorspace 533 dst_colorspace = format.colorspace 571 dst_colorspace = format.colorspace 661 return format.layout in ('s3tc', 'rgtc', 'etc', 'subsampled', 'other') or format.colorspace == ZS
|
/external/libpng/ |
H A D | pngset.c | 61 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, &XYZ, 2)) 94 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM; 146 png_colorspace_set_gamma(png_ptr, &info_ptr->colorspace, file_gamma); 584 (void)png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace, srgb_intent); 597 if (png_colorspace_set_sRGB(png_ptr, &info_ptr->colorspace, srgb_intent)) 600 info_ptr->colorspace.flags |= 627 /* Set the colorspace first because this validates the profile; do not 634 int result = png_colorspace_set_ICC(png_ptr, &info_ptr->colorspace, nam [all...] |
H A D | pngpriv.h | 1462 png_colorspacerp colorspace, png_fixed_point gAMA), PNG_EMPTY); 1463 /* Set the colorspace gamma with a value provided by the application or by 1470 /* Synchronize the info 'valid' flags with the colorspace */ 1474 /* Copy the png_struct colorspace to the info_struct and call the above to 1481 /* These internal functions are for maintaining the colorspace structure within 1485 (png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, 1489 (png_const_structrp png_ptr, png_colorspacerp colorspace, const png_XYZ *XYZ, 1494 png_colorspacerp colorspace, int intent), PNG_EMPTY); 1495 /* This does set the colorspace gAMA and cHRM values too, but doesn't set the 1497 * message has already been output (but the colorspace ma [all...] |