// Get macroblock size
x_macroblocks = frames[0]->get_w() / config.macroblock_size;
y_macroblocks = frames[0]->get_h() / config.macroblock_size;
+// printf("InterpolateVideo::create_macroblocks %d %d %d %d\n",
+// __LINE__,
+// config.macroblock_size,
+// x_macroblocks,
+// y_macroblocks);
if(config.macroblock_size * x_macroblocks < frames[0]->get_w())
{
{
for(int i = 0; i < 2; i++)
{
- frames[i] = new VFrame(0,
- -1,
- frame->get_w(),
- frame->get_h(),
- frame->get_color_model(),
- -1);
+ frames[i] = new VFrame(frame->get_w(), frame->get_h(),
+ frame->get_color_model(), 0);
}
}
//printf("InterpolateVideo::process_buffer 1 %lld %lld\n", range_start, range_end);
NEW_WINDOW_MACRO(InterpolateVideo, InterpolateVideoWindow)
-const char* InterpolateVideo::plugin_title() { return _("Interpolate Video"); }
+const char* InterpolateVideo::plugin_title() { return N_("Interpolate Video"); }
int InterpolateVideo::is_realtime() { return 1; }
int InterpolateVideo::load_configuration()