if(temp_prevframe) delete temp_prevframe;
}
-const char* DeInterlaceMain::plugin_title() { return N_("Deinterlace-CV"); }
+const char* DeInterlaceMain::plugin_title() { return _("Deinterlace-CV"); }
int DeInterlaceMain::is_realtime() { return 1; }
load_configuration();
- read_frame(frame,
- 0,
- start_position,
- frame_rate);
+ read_frame(frame, 0, start_position, frame_rate, 0);
// Temp was used for adaptive deinterlacing where it took deinterlacing
// an entire frame to decide if the deinterlaced output should be used.
break;
case DEINTERLACE_BOBWEAVE:
if (get_source_position()==0)
- read_frame(temp_prevframe,0, get_source_position(), get_framerate());
+ read_frame(temp_prevframe,0, get_source_position(), get_framerate(), 0);
else
- read_frame(temp_prevframe,0, get_source_position()-1, get_framerate());
+ read_frame(temp_prevframe,0, get_source_position()-1, get_framerate(), 0);
deinterlace_bobweave(frame, temp_prevframe, frame, config.dominance);
break;
case DEINTERLACE_TEMPORALSWAP:
if (get_source_position()==0)
- read_frame(temp_prevframe,0, get_source_position(), get_framerate());
+ read_frame(temp_prevframe,0, get_source_position(), get_framerate(), 0);
else
- read_frame(temp_prevframe,0, get_source_position()-1, get_framerate());
+ read_frame(temp_prevframe,0, get_source_position()-1, get_framerate(), 0);
deinterlace_temporalswap(frame, temp_prevframe, frame, config.dominance);
break;
}