Searched refs:cielab (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | tif_color.c | 46 TIFFCIELabToXYZ(TIFFCIELabToRGB *cielab, uint32 l, int32 a, int32 b, in TIFFCIELabToXYZ() argument 53 *Y = (L * cielab->Y0) / 903.292F; in TIFFCIELabToXYZ() 54 cby = 7.787F * (*Y / cielab->Y0) + 16.0F / 116.0F; in TIFFCIELabToXYZ() 57 *Y = cielab->Y0 * cby * cby * cby; in TIFFCIELabToXYZ() 62 *X = cielab->X0 * (tmp - 0.13793F) / 7.787F; in TIFFCIELabToXYZ() 64 *X = cielab->X0 * tmp * tmp * tmp; in TIFFCIELabToXYZ() 68 *Z = cielab->Z0 * (tmp - 0.13793F) / 7.787F; in TIFFCIELabToXYZ() 70 *Z = cielab->Z0 * tmp * tmp * tmp; in TIFFCIELabToXYZ() 78 TIFFXYZToRGB(TIFFCIELabToRGB *cielab, float X, float Y, float Z, in TIFFXYZToRGB() argument 83 float *matrix = &cielab->display.d_mat[0][0]; in TIFFXYZToRGB() [all …]
|
D | tif_getimage.c | 222 if (img->cielab) in TIFFRGBAImageEnd() 223 _TIFFfree(img->cielab), img->cielab = NULL; in TIFFRGBAImageEnd() 454 img->cielab = NULL; in TIFFRGBAImageBegin() 1707 TIFFCIELabToXYZ(img->cielab, in DECLAREContigPutFunc() 1712 TIFFXYZToRGB(img->cielab, X, Y, Z, &r, &g, &b); in DECLAREContigPutFunc() 2240 if (!img->cielab) { in initCIELabConversion() 2241 img->cielab = (TIFFCIELabToRGB *) in initCIELabConversion() 2243 if (!img->cielab) { in initCIELabConversion() 2255 if (TIFFCIELabToRGBInit(img->cielab, &display_sRGB, refWhite) < 0) { in initCIELabConversion() 2258 _TIFFfree(img->cielab); in initCIELabConversion()
|
D | tiffio.h | 226 TIFFCIELabToRGB* cielab; /* CIE L*a*b conversion state */ member
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_color.c | 46 TIFFCIELabToXYZ(TIFFCIELabToRGB *cielab, uint32 l, int32 a, int32 b, in TIFFCIELabToXYZ() argument 53 *Y = (L * cielab->Y0) / 903.292F; in TIFFCIELabToXYZ() 54 cby = 7.787F * (*Y / cielab->Y0) + 16.0F / 116.0F; in TIFFCIELabToXYZ() 57 *Y = cielab->Y0 * cby * cby * cby; in TIFFCIELabToXYZ() 62 *X = cielab->X0 * (tmp - 0.13793F) / 7.787F; in TIFFCIELabToXYZ() 64 *X = cielab->X0 * tmp * tmp * tmp; in TIFFCIELabToXYZ() 68 *Z = cielab->Z0 * (tmp - 0.13793F) / 7.787F; in TIFFCIELabToXYZ() 70 *Z = cielab->Z0 * tmp * tmp * tmp; in TIFFCIELabToXYZ() 78 TIFFXYZToRGB(TIFFCIELabToRGB *cielab, float X, float Y, float Z, in TIFFXYZToRGB() argument 83 float *matrix = &cielab->display.d_mat[0][0]; in TIFFXYZToRGB() [all …]
|
D | tif_getimage.c | 207 if (img->cielab) in TIFFRGBAImageEnd() 208 _TIFFfree(img->cielab), img->cielab = NULL; in TIFFRGBAImageEnd() 439 img->cielab = NULL; in TIFFRGBAImageBegin() 1648 TIFFCIELabToXYZ(img->cielab, in DECLAREContigPutFunc() 1653 TIFFXYZToRGB(img->cielab, X, Y, Z, &r, &g, &b); in DECLAREContigPutFunc() 2179 if (!img->cielab) { in initCIELabConversion() 2180 img->cielab = (TIFFCIELabToRGB *) in initCIELabConversion() 2182 if (!img->cielab) { in initCIELabConversion() 2194 if (TIFFCIELabToRGBInit(img->cielab, &display_sRGB, refWhite) < 0) { in initCIELabConversion() 2197 _TIFFfree(img->cielab); in initCIELabConversion()
|
D | tiffio.h | 226 TIFFCIELabToRGB* cielab; /* CIE L*a*b conversion state */ member
|
/external/pdfium/third_party/libopenjpeg20/ |
D | jp2.c | 1403 OPJ_UINT32 *cielab; in opj_jp2_read_colr() local 1406 cielab = (OPJ_UINT32*)opj_malloc(9 * sizeof(OPJ_UINT32)); in opj_jp2_read_colr() 1407 cielab[0] = 14; /* enumcs */ in opj_jp2_read_colr() 1412 cielab[1] = 0x44454600;/* DEF */ in opj_jp2_read_colr() 1431 cielab[1] = 0; in opj_jp2_read_colr() 1437 cielab[2] = rl; cielab[4] = ra; cielab[6] = rb; in opj_jp2_read_colr() 1438 cielab[3] = ol; cielab[5] = oa; cielab[7] = ob; in opj_jp2_read_colr() 1439 cielab[8] = il; in opj_jp2_read_colr() 1441 jp2->color.icc_profile_buf = (OPJ_BYTE*)cielab; in opj_jp2_read_colr()
|