Lines Matching defs:profile
1118 png_const_bytep profile)
1128 /* These are all internal problems: the profile should have been checked
1131 if (profile == NULL)
1132 png_error(png_ptr, "No profile for iCCP chunk"); /* internal error */
1134 profile_len = png_get_uint_32(profile);
1137 png_error(png_ptr, "ICC profile too short");
1139 temp = (png_uint_32) (*(profile+8));
1141 png_error(png_ptr, "ICC profile length invalid (not a multiple of 4)");
1144 png_uint_32 embedded_profile_len = png_get_uint_32(profile);
1147 png_error(png_ptr, "Profile length does not match profile");
1160 png_text_compress_init(&comp, profile, profile_len);