Searched refs:cielab (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | tif_color.c | 44 TIFFCIELabToXYZ(TIFFCIELabToRGB *cielab, uint32 l, int32 a, int32 b, in TIFFCIELabToXYZ() argument 51 *Y = (L * cielab->Y0) / 903.292F; in TIFFCIELabToXYZ() 52 cby = 7.787F * (*Y / cielab->Y0) + 16.0F / 116.0F; in TIFFCIELabToXYZ() 55 *Y = cielab->Y0 * cby * cby * cby; in TIFFCIELabToXYZ() 60 *X = cielab->X0 * (tmp - 0.13793F) / 7.787F; in TIFFCIELabToXYZ() 62 *X = cielab->X0 * tmp * tmp * tmp; in TIFFCIELabToXYZ() 66 *Z = cielab->Z0 * (tmp - 0.13793F) / 7.787F; in TIFFCIELabToXYZ() 68 *Z = cielab->Z0 * tmp * tmp * tmp; in TIFFCIELabToXYZ() 76 TIFFXYZToRGB(TIFFCIELabToRGB *cielab, float X, float Y, float Z, in TIFFXYZToRGB() argument 81 float *matrix = &cielab->display.d_mat[0][0]; in TIFFXYZToRGB() [all …]
|
D | tif_getimage.c | 233 if (img->cielab) { in TIFFRGBAImageEnd() 234 _TIFFfree(img->cielab); in TIFFRGBAImageEnd() 235 img->cielab = NULL; in TIFFRGBAImageEnd() 289 img->cielab = NULL; in TIFFRGBAImageBegin() 1808 TIFFCIELabToXYZ(img->cielab, in DECLAREContigPutFunc() 1813 TIFFXYZToRGB(img->cielab, X, Y, Z, &r, &g, &b); in DECLAREContigPutFunc() 2390 if (!img->cielab) { in initCIELabConversion() 2391 img->cielab = (TIFFCIELabToRGB *) in initCIELabConversion() 2393 if (!img->cielab) { in initCIELabConversion() 2404 if (TIFFCIELabToRGBInit(img->cielab, &display_sRGB, refWhite) < 0) { in initCIELabConversion() [all …]
|
D | tiffio.h | 224 TIFFCIELabToRGB* cielab; /* CIE L*a*b conversion state */ member
|
/external/pdfium/third_party/libopenjpeg20/ |
D | jp2.c | 1528 OPJ_UINT32 *cielab; in opj_jp2_read_colr() local 1531 cielab = (OPJ_UINT32*)opj_malloc(9 * sizeof(OPJ_UINT32)); in opj_jp2_read_colr() 1532 if (cielab == NULL) { in opj_jp2_read_colr() 1536 cielab[0] = 14; /* enumcs */ in opj_jp2_read_colr() 1541 cielab[1] = 0x44454600;/* DEF */ in opj_jp2_read_colr() 1559 cielab[1] = 0; in opj_jp2_read_colr() 1564 cielab[2] = rl; in opj_jp2_read_colr() 1565 cielab[4] = ra; in opj_jp2_read_colr() 1566 cielab[6] = rb; in opj_jp2_read_colr() 1567 cielab[3] = ol; in opj_jp2_read_colr() [all …]
|