Home
last modified time | relevance | path

Searched refs:FZ_COLORSPACE_RGB (Results 1 – 12 of 12) sorted by relevance

/dports/graphics/mupdf/mupdf-1.18.0-source/source/fitz/
H A Dcolorspace.c82 cct->rgb = fz_new_colorspace(ctx, FZ_COLORSPACE_RGB, FZ_COLORSPACE_IS_DEVICE, 3, "DeviceRGB"); in fz_new_colorspace_context()
196 return cs && cs->type == FZ_COLORSPACE_RGB; in fz_colorspace_is_rgb()
258 cs->type == FZ_COLORSPACE_RGB || in fz_is_valid_blend_colorspace()
389 type = FZ_COLORSPACE_RGB; in fz_new_icc_colorspace()
400 case FZ_COLORSPACE_RGB: in fz_new_icc_colorspace()
448 case FZ_COLORSPACE_RGB: return fz_keep_colorspace(ctx, fz_device_rgb(ctx)); in fz_new_icc_colorspace()
479 cs = fz_new_icc_colorspace(ctx, FZ_COLORSPACE_RGB, 0, "CalRGB", buf); in fz_new_cal_rgb_colorspace()
517 case FZ_COLORSPACE_RGB: in fz_colorspace_colorant()
643 if (cs->type == FZ_COLORSPACE_RGB && cs->n == 3) in fz_set_default_rgb()
675 case FZ_COLORSPACE_RGB: in fz_set_default_output_intent()
[all …]
H A Dcolor-fast.c165 if (dtype == FZ_COLORSPACE_RGB) return gray_to_rgb; in fz_lookup_fast_color_converter()
170 else if (stype == FZ_COLORSPACE_RGB) in fz_lookup_fast_color_converter()
173 if (dtype == FZ_COLORSPACE_RGB) return rgb_to_rgb; in fz_lookup_fast_color_converter()
181 if (dtype == FZ_COLORSPACE_RGB) return rgb_to_bgr; in fz_lookup_fast_color_converter()
189 if (dtype == FZ_COLORSPACE_RGB) return cmyk_to_rgb; in fz_lookup_fast_color_converter()
197 if (dtype == FZ_COLORSPACE_RGB) return lab_to_rgb; in fz_lookup_fast_color_converter()
1649 else if (dtype == FZ_COLORSPACE_RGB) in fz_convert_fast_pixmap_samples()
1659 else if (stype == FZ_COLORSPACE_RGB) in fz_convert_fast_pixmap_samples()
1663 else if (dtype == FZ_COLORSPACE_RGB) in fz_convert_fast_pixmap_samples()
1677 else if (dtype == FZ_COLORSPACE_RGB) in fz_convert_fast_pixmap_samples()
[all …]
H A Dload-png.c256 info->n = 3, info->type = FZ_COLORSPACE_RGB; in png_read_ihdr()
260 info->n = 4, info->type = FZ_COLORSPACE_RGB; in png_read_ihdr()
263 info->type = FZ_COLORSPACE_RGB; /* after colorspace expansion it will be */ in png_read_ihdr()
H A Dpixmap.c832 case FZ_COLORSPACE_RGB: in fz_tint_pixmap()
858 if (type == FZ_COLORSPACE_RGB) in invert_luminance()
877 if (type == FZ_COLORSPACE_RGB) in invert_luminance()
902 else if (type == FZ_COLORSPACE_RGB || type == FZ_COLORSPACE_BGR) in fz_invert_pixmap_luminance()
H A Dload-gif.c372 icc = fz_new_icc_colorspace(ctx, FZ_COLORSPACE_RGB, 0, NULL, buf); in gif_read_icc()
H A Dutil.c471 if (type == FZ_COLORSPACE_GRAY || type == FZ_COLORSPACE_RGB) in fz_write_image_as_data_uri()
H A Dload-bmp.c793 cs = fz_new_icc_colorspace(ctx, FZ_COLORSPACE_RGB, 0, "BMPRGB", profile); in bmp_read_color_profile()
H A Ddraw-device.c132 case FZ_COLORSPACE_RGB: in fz_default_colorspace()
/dports/graphics/mupdf/mupdf-1.18.0-source/source/tools/
H A Dpdfextract.c51 …space || pix->colorspace->type == FZ_COLORSPACE_GRAY || pix->colorspace->type == FZ_COLORSPACE_RGB) in writepixmap()
115 if (ctype != FZ_COLORSPACE_RGB && ctype != FZ_COLORSPACE_GRAY) in saveimage()
/dports/graphics/mupdf/mupdf-1.18.0-source/include/mupdf/fitz/
H A Dcolor.h78 FZ_COLORSPACE_RGB, enumerator
/dports/graphics/mupdf/mupdf-1.18.0-source/source/pdf/
H A Dpdf-image.c517 case FZ_COLORSPACE_RGB: in pdf_add_image()
537 case FZ_COLORSPACE_RGB: in pdf_add_image()
H A Dpdf-device.c590 case FZ_COLORSPACE_RGB: in pdf_dev_new_form()