Searched defs:colorspace (Results 1 - 25 of 34) sorted by relevance

12

/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/libjpeg_turbo/
H A Djcparam.c378 /* Choose JPEG colorspace based on input space, set defaults accordingly */
385 * Select an appropriate JPEG colorspace for in_color_space.
427 * Set the JPEG colorspace, and choose colorspace-dependent default values.
431 jpeg_set_colorspace (j_compress_ptr cinfo, J_COLOR_SPACE colorspace) argument
453 cinfo->jpeg_color_space = colorspace;
458 switch (colorspace) {
/external/jpeg/
H A Djcparam.c348 /* Choose JPEG colorspace based on input space, set defaults accordingly */
355 * Select an appropriate JPEG colorspace for in_color_space.
387 * Set the JPEG colorspace, and choose colorspace-dependent default values.
391 jpeg_set_colorspace (j_compress_ptr cinfo, J_COLOR_SPACE colorspace) argument
413 cinfo->jpeg_color_space = colorspace;
418 switch (colorspace) {
/external/libpng/
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/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/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jcparam.c349 /* Choose JPEG colorspace based on input space, set defaults accordingly */
356 * Select an appropriate JPEG colorspace for in_color_space.
388 * Set the JPEG colorspace, and choose colorspace-dependent default values.
392 jpeg_set_colorspace (j_compress_ptr cinfo, J_COLOR_SPACE colorspace) argument
414 cinfo->jpeg_color_space = colorspace;
419 switch (colorspace) {
/external/qemu/distrib/jpeg-6b/
H A Djcparam.c348 /* Choose JPEG colorspace based on input space, set defaults accordingly */
355 * Select an appropriate JPEG colorspace for in_color_space.
393 * Set the JPEG colorspace, and choose colorspace-dependent default values.
397 jpeg_set_colorspace (j_compress_ptr cinfo, J_COLOR_SPACE colorspace) argument
419 cinfo->jpeg_color_space = colorspace;
424 switch (colorspace) {
/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/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysvideo.cc163 static inline int ColorSpaceToBitsPerPixel(uint32 colorspace) argument
168 switch (colorspace) {
283 SDL_SetError("Unknown BScreen colorspace: 0x%x",
293 //if ( bpp != 0 ) { // There are bugs in changing colorspace
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/
H A Dvp9_dx_iface.c97 int colorspace; local
100 colorspace = vp9_rb_read_literal(rb, 3);
101 if (colorspace != sRGB) {
/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 Dwebp.c521 static uint8_t* DecodeIntoRGBABuffer(WEBP_CSP_MODE colorspace, argument
534 buf.colorspace = colorspace;
580 output.colorspace = MODE_YUV;
608 output.colorspace = mode;
H A Didec.c652 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) {
/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/chromium_org/third_party/libwebp/webp/
H A Ddecode.h195 WEBP_CSP_MODE colorspace; // Colorspace. member in struct:WebPDecBuffer
246 // buffer.colorspace = mode;
283 // colorspace 'csp' is taken into account for allocating this buffer. All other
333 // are not initialized yet. The RGB/A output type corresponds to the colorspace
382 config.output.colorspace = MODE_BGRA;
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...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
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...]
/external/libvpx/libvpx/vp9/
H A Dvp9_dx_iface.c126 int colorspace; local
137 colorspace = vp9_rb_read_literal(&rb, 3);
138 if (colorspace != sRGB) {
/external/mesa3d/src/gallium/auxiliary/util/
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...]
/external/webp/include/webp/
H A Ddecode.h195 WEBP_CSP_MODE colorspace; // Colorspace. member in struct:WebPDecBuffer
246 // buffer.colorspace = mode;
283 // colorspace 'csp' is taken into account for allocating this buffer. All other
333 // are not initialized yet. The RGB/A output type corresponds to the colorspace
382 config.output.colorspace = MODE_BGRA;
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...]
/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...]
H A Dwebp.c533 static uint8_t* DecodeIntoRGBABuffer(WEBP_CSP_MODE colorspace, argument
546 buf.colorspace = colorspace;
592 output.colorspace = MODE_YUV;
620 output.colorspace = mode;
/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...]

Completed in 705 milliseconds

12