Lines Matching full:colorspace
1141 png_colorspace_set_gamma(png_ptr, &png_ptr->colorspace, igamma);
1281 /* If a colorspace error has already been output skip this chunk */
1282 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) != 0)
1285 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_FROM_cHRM) != 0)
1287 png_ptr->colorspace.flags |= PNG_COLORSPACE_INVALID;
1293 png_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
1294 (void)png_colorspace_set_chromaticities(png_ptr, &png_ptr->colorspace, &xy,
1330 /* If a colorspace error has already been output skip this chunk */
1331 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) != 0)
1337 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_INTENT) != 0)
1339 png_ptr->colorspace.flags |= PNG_COLORSPACE_INVALID;
1345 (void)png_colorspace_set_sRGB(png_ptr, &png_ptr->colorspace, intent);
1370 /* Consistent with all the above colorspace handling an obviously *invalid*
1385 /* If a colorspace error has already been output skip this chunk */
1386 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) != 0)
1395 if ((png_ptr->colorspace.flags & PNG_COLORSPACE_HAVE_INTENT) == 0)
1445 if (png_icc_check_length(png_ptr, &png_ptr->colorspace,
1451 if (png_icc_check_header(png_ptr, &png_ptr->colorspace,
1482 &png_ptr->colorspace, keyword, profile_length,
1518 &png_ptr->colorspace, profile,
1545 png_ptr->colorspace.flags |=
1618 png_ptr->colorspace.flags |= PNG_COLORSPACE_INVALID;