LEFT | RIGHT |
1 /* | 1 /* |
2 * $Id$ | |
3 * | |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 3 * |
6 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
10 * | 8 * |
11 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
(...skipping 29 matching lines...) Expand all Loading... |
43 | 41 |
44 struct ImBuf; | 42 struct ImBuf; |
45 struct MovieReconstructedCamera; | 43 struct MovieReconstructedCamera; |
46 struct MovieTrackingCamera; | 44 struct MovieTrackingCamera; |
47 struct MovieTrackingBundle; | 45 struct MovieTrackingBundle; |
48 struct MovieTrackingMarker; | 46 struct MovieTrackingMarker; |
49 struct MovieTrackingTrack; | 47 struct MovieTrackingTrack; |
50 struct MovieTracking; | 48 struct MovieTracking; |
51 | 49 |
52 typedef struct MovieReconstructedCamera { | 50 typedef struct MovieReconstructedCamera { |
53 » int framenr, pad; | 51 » int framenr; |
| 52 » float error; |
54 float mat[4][4]; | 53 float mat[4][4]; |
55 } MovieReconstructedCamera; | 54 } MovieReconstructedCamera; |
56 | 55 |
57 typedef struct MovieTrackingCamera { | 56 typedef struct MovieTrackingCamera { |
58 void *intrinsics; /* intrinsics handle */ | 57 void *intrinsics; /* intrinsics handle */ |
59 | 58 |
60 float sensor_width; /* width of CCD sensor */ | 59 float sensor_width; /* width of CCD sensor */ |
61 float pixel_aspect; /* pixel aspect ratio */ | 60 float pixel_aspect; /* pixel aspect ratio */ |
62 float pad2; | 61 float pad2; |
63 float focal; /* focal length */ | 62 float focal; /* focal length */ |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 #define TRACKING_AUTOSCALE (1<<1) | 198 #define TRACKING_AUTOSCALE (1<<1) |
200 | 199 |
201 /* MovieTrackingReconstruction->flag */ | 200 /* MovieTrackingReconstruction->flag */ |
202 #define TRACKING_RECONSTRUCTED (1<<0) | 201 #define TRACKING_RECONSTRUCTED (1<<0) |
203 | 202 |
204 #define TRACKING_CLEAN_SELECT 0 | 203 #define TRACKING_CLEAN_SELECT 0 |
205 #define TRACKING_CLEAN_DELETE_TRACK 1 | 204 #define TRACKING_CLEAN_DELETE_TRACK 1 |
206 #define TRACKING_CLEAN_DELETE_SEGMENT 2 | 205 #define TRACKING_CLEAN_DELETE_SEGMENT 2 |
207 | 206 |
208 #endif | 207 #endif |
LEFT | RIGHT |