/*
* CINELERRA
* Copyright (C) 1997-2011 Adam Williams <broadcast at earthling dot net>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ *
*/
-
+
#ifndef INTERPOLATEVIDEO_H
#define INTERPOLATEVIDEO_H
#define MIN_MACROBLOCK_SIZE 8
#define MAX_MACROBLOCK_SIZE 256
#define MAX_SEARCH_STEPS 1024
-// Enough packages to keep busy if macroblocks turn invalid,
+// Enough packages to keep busy if macroblocks turn invalid,
// yet not bog down the mutexes
#define MAX_PACKAGES ((PluginClient::get_project_smp() + 1) * 16)
void fill_border(double frame_rate, int64_t start_position);
void create_macroblocks();
void draw_vectors(int processed);
- int angles_overlap(float dst2_angle1,
+ int angles_overlap(float dst2_angle1,
float dst2_angle2,
float dst1_angle1,
float dst1_angle2);
void average();
void draw_pixel(VFrame *frame, int x, int y);
void draw_line(VFrame *frame, int x1, int y1, int x2, int y2);
- void draw_arrow(VFrame *frame,
- int x1,
- int y1,
- int x2,
+ void draw_arrow(VFrame *frame,
+ int x1,
+ int y1,
+ int x2,
int y2);
- void draw_rect(VFrame *frame,
- int x1,
- int y1,
- int x2,
+ void draw_rect(VFrame *frame,
+ int x1,
+ int y1,
+ int x2,
int y2);
ArrayList<OpticFlowMacroblock*> macroblocks;