Lines Matching full:colorspace
1143 png_colorspace_set_gamma(png_ptr, &png_ptr->colorspace, igamma);
1283 /* If a colorspace error has already been output skip this chunk */
1284 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) != 0)
1287 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_FROM_cHRM) != 0)
1289 png_ptr->colorspace.flags |= PNG_COLORSPACE_INVALID;
1295 png_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
1296 (void)png_colorspace_set_chromaticities(png_ptr, &png_ptr->colorspace, &xy,
1332 /* If a colorspace error has already been output skip this chunk */
1333 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) != 0)
1339 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_INTENT) != 0)
1341 png_ptr->colorspace.flags |= PNG_COLORSPACE_INVALID;
1347 (void)png_colorspace_set_sRGB(png_ptr, &png_ptr->colorspace, intent);
1372 /* Consistent with all the above colorspace handling an obviously *invalid*
1387 /* If a colorspace error has already been output skip this chunk */
1388 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) != 0)
1397 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_INTENT) == 0)
1447 if (png_icc_check_length(png_ptr, &png_ptr->colorspace,
1453 if (png_icc_check_header(png_ptr, &png_ptr->colorspace,
1484 &png_ptr->colorspace, keyword, profile_length,
1520 &png_ptr->colorspace, profile,
1547 png_ptr->colorspace.flags |=
1620 png_ptr->colorspace.flags |= PNG_COLORSPACE_INVALID;