Commit | Line | Data |
---|---|---|
80f575fc DM |
1 | /* |
2 | * transform_internal.h | |
3 | * | |
4 | * Copyright (C) Georg Martius - June 2007 - 2011 | |
5 | * georg dot martius at web dot de | |
6 | * | |
7 | * This file is part of vid.stab video stabilization library | |
8 | * | |
9 | * vid.stab is free software; you can redistribute it and/or modify | |
10 | * it under the terms of the GNU General Public License, | |
11 | * as published by the Free Software Foundation; either version 2, or | |
12 | * (at your option) any later version. | |
13 | * | |
14 | * vid.stab is distributed in the hope that it will be useful, | |
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | * GNU General Public License for more details. | |
18 | * | |
19 | * You should have received a copy of the GNU General Public License | |
20 | * along with GNU Make; see the file COPYING. If not, write to | |
21 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
22 | * | |
23 | */ | |
24 | #ifndef __TRANSFORM_INTERNAL_H | |
25 | #define __TRANSFORM_INTERNAL_H | |
26 | ||
27 | #include "transform.h" | |
28 | ||
29 | #include "transformfixedpoint.h" | |
30 | #ifdef TESTING | |
31 | #include "transformfloat.h" | |
32 | #endif | |
33 | ||
34 | /// name of the interpolation type | |
35 | const char* getInterpolationTypeName(VSInterpolType type); | |
36 | ||
37 | /** performs the smoothing of the camera path and modifies the transforms | |
38 | to compensate for the jiggle | |
39 | */ | |
40 | int cameraPathOptimization(VSTransformData* td, VSTransformations* trans); | |
41 | ||
42 | int cameraPathAvg(VSTransformData* td, VSTransformations* trans); | |
43 | int cameraPathGaussian(VSTransformData* td, VSTransformations* trans); | |
44 | int cameraPathOptimalL1(VSTransformData* td, VSTransformations* trans); | |
45 | ||
46 | #endif | |
47 | ||
48 | /* | |
49 | * Local variables: | |
50 | * c-file-style: "stroustrup" | |
51 | * c-file-offsets: ((case-label . *) (statement-case-intro . *)) | |
52 | * indent-tabs-mode: nil | |
53 | * c-basic-offset: 2 t | |
54 | * End: | |
55 | * | |
56 | * vim: expandtab shiftwidth=2: | |
57 | */ |