Lines Matching defs:prof
495 ColorProfile* prof = COLORPROFILE(*it);
496 if ( prof ) {
497 if ( prof->name && (strcmp(prof->name, name) == 0) ) {
510 cmsHPROFILE prof = 0;
514 prof = COLORPROFILE(thing)->impl->_profHandle;
521 DEBUG_MESSAGE( lcmsThree, "<color-profile> queried for profile of '%s'. Returning %p with intent of %d", name, prof, (intent? *intent:0) );
523 return prof;
605 ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path );
621 ProfileInfo::ProfileInfo( cmsHPROFILE prof, Glib::ustring const & path ) :
623 _name( getNameFromProfile(prof) ),
624 _profileSpace( cmsGetColorSpace( prof ) ),
625 _profileClass( cmsGetDeviceClass( prof ) )
796 cmsHPROFILE prof = cmsOpenProfileFromFile( filepath, "r" );
797 if ( prof ) {
798 cmsProfileClassSignature profClass = cmsGetDeviceClass(prof);
802 cmsCloseProfile( prof );
948 cmsHPROFILE prof = cmsOpenProfileFromFile( it->c_str(), "r" );
949 if ( prof ) {
950 ProfileInfo info( prof, Glib::filename_to_utf8( it->c_str() ) );
951 cmsCloseProfile( prof );
952 prof = 0;