if(history_valid) delete [] history_valid;
}
-const char* SelTempAvgMain::plugin_title() { return _("Selective Temporal Averaging"); }
+const char* SelTempAvgMain::plugin_title() { return N_("Selective Temporal Averaging"); }
int SelTempAvgMain::is_realtime() { return 1; }
// Create new frames
for( ; i < config.frames; i++)
{
- history2[i] = new VFrame(w, h, color_model);
+ history2[i] = new VFrame(w, h, color_model, 0);
history_frame2[i] = -0x7fffffff;
history_valid2[i] = 0;
}
{
history = new VFrame*[config.frames];
for(int i = 0; i < config.frames; i++)
- history[i] = new VFrame(w, h, color_model);
+ history[i] = new VFrame(w, h, color_model, 0);
history_size = config.frames;
history_frame = new int64_t[config.frames];
bzero(history_frame, sizeof(int64_t) * config.frames);
FileXML output;
// cause data to be stored directly in text
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("SELECTIVE_TEMPORAL_AVERAGE");
output.tag.set_property("FRAMES", config.frames);
output.tag.set_property("METHOD", config.method);
{
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
while(!input.read_tag())
{
{
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
while(!input.read_tag())
{