plugin fixes and upgrades
[goodguy/history.git] / cinelerra-5.0 / plugins / interpolate / interpolate.C
index 85c43201d3adb46c6e9b79947e5e089022ba5958..7cede4ab986766b1edbec7bd02425f3d3e76aaf7 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "bcdisplayinfo.h"
 #include "clip.h"
-#include "colormodels.h"
+#include "bccmodels.h"
 #include "filexml.h"
 #include "aggregated.h"
 #include "language.h"
@@ -203,6 +203,9 @@ void InterpolatePixelsMain::save_data(KeyFrame *keyframe)
        output.tag.set_property("X", config.x);
        output.tag.set_property("Y", config.y);
        output.append_tag();
+       output.tag.set_title("/INTERPOLATEPIXELS");
+       output.append_tag();
+       output.append_newline();
        output.terminate_string();
 }
 
@@ -393,7 +396,7 @@ void InterpolatePixelsUnit::process_package(LoadPackage *package)
        int pattern_offset_y = plugin->config.y;
        int y1 = pkg->y1;
        int y2 = pkg->y2;
-       int components = cmodel_components(plugin->out_frame->get_color_model());
+       int components = BC_CModels::components(plugin->out_frame->get_color_model());
        float color_matrix[9];
        memcpy(color_matrix, server->color_matrix, sizeof(color_matrix));