Author: abrander
Date: 2009-12-28 02:18:06 +0100 (Mon, 28 Dec 2009)
New Revision: 2873

Modified:
   branches/rawstudio-ng-color/plugins/dcp/dcp.c
Log:
Removed all ICC related stuff from RSDcp.

Modified: branches/rawstudio-ng-color/plugins/dcp/dcp.c
===================================================================
--- branches/rawstudio-ng-color/plugins/dcp/dcp.c       2009-12-28 01:15:46 UTC 
(rev 2872)
+++ branches/rawstudio-ng-color/plugins/dcp/dcp.c       2009-12-28 01:18:06 UTC 
(rev 2873)
@@ -43,7 +43,6 @@
 static void precalc(RSDcp *dcp);
 static void render(ThreadInfo* t);
 static void read_profile(RSDcp *dcp, RSDcpFile *dcp_file);
-static RSIccProfile *get_icc_profile(RSFilter *filter);
 
 G_MODULE_EXPORT void
 rs_plugin_load(RSPlugin *plugin)
@@ -73,8 +72,6 @@
        object_class->set_property = set_property;
        object_class->finalize = finalize;
 
-       klass->prophoto_profile = rs_icc_profile_new_from_file(PACKAGE_DATA_DIR 
"/" PACKAGE "/profiles/prophoto.icc");
-
        g_object_class_install_property(object_class,
                PROP_SETTINGS, g_param_spec_object(
                        "settings", "Settings", "Settings to render from",
@@ -95,7 +92,6 @@
 
        filter_class->name = "Adobe DNG camera profile filter";
        filter_class->get_image = get_image;
-       filter_class->get_icc_profile = get_icc_profile;
 }
 
 static void
@@ -1031,13 +1027,6 @@
        dcp->huesatmap = 0;
 }
 
-static RSIccProfile *
-get_icc_profile(RSFilter *filter)
-{
-       /* We discard all earlier profiles before returning our own ProPhoto 
profile */
-       return g_object_ref(RS_DCP_GET_CLASS(filter)->prophoto_profile);
-}
-
 /*
 + 0xc621 ColorMatrix1 (9 * SRATIONAL)
 + 0xc622 ColorMatrix2 (9 * SRATIONAL)


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to