Blender  V2.93
stub.cc
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2013 Blender Foundation.
17  * All rights reserved.
18  */
19 
20 #include "libmv-capi.h"
21 
22 #include <cstdlib>
23 #include <cstring>
24 
25 /* ************ Logging ************ */
26 
27 void libmv_initLogging(const char* /*argv0*/) {
28 }
29 
31 }
32 
33 void libmv_setLoggingVerbosity(int /*verbosity*/) {
34 }
35 
36 /* ************ Planar tracker ************ */
37 
38 /* TrackRegion (new planar tracker) */
40  const float* /*image1*/,
41  int /*image1_width*/,
42  int /*image1_height*/,
43  const float* /*image2*/,
44  int /*image2_width*/,
45  int /*image2_height*/,
46  const double* x1,
47  const double* y1,
49  double* x2,
50  double* y2) {
51  /* Convert to doubles for the libmv api. The four corners and the center. */
52  for (int i = 0; i < 5; ++i) {
53  x2[i] = x1[i];
54  y2[i] = y1[i];
55  }
56 
57  result->termination = -1;
58  result->termination_reason = "Built without libmv support";
59  result->correlation = 0.0;
60 
61  return false;
62 }
63 
64 void libmv_samplePlanarPatchFloat(const float* /*image*/,
65  int /*width*/,
66  int /*height*/,
67  int /*channels*/,
68  const double* /*xs*/,
69  const double* /*ys*/,
70  int /*num_samples_x*/,
71  int /*num_samples_y*/,
72  const float* /*mask*/,
73  float* /*patch*/,
74  double* /*warped_position_x*/,
75  double* /*warped_position_y*/) {
76  /* TODO(sergey): implement */
77 }
78 
79 void libmv_samplePlanarPatchByte(const unsigned char* /*image*/,
80  int /*width*/,
81  int /*height*/,
82  int /*channels*/,
83  const double* /*xs*/,
84  const double* /*ys*/,
85  int /*num_samples_x*/,
86  int /*num_samples_y*/,
87  const float* /*mask*/,
88  unsigned char* /*patch*/,
89  double* /*warped_position_x*/,
90  double* /*warped_position_y*/) {
91  /* TODO(sergey): implement */
92 }
93 
95 }
96 
97 /* ************ Tracks ************ */
98 
100  return NULL;
101 }
102 
103 void libmv_tracksInsert(libmv_Tracks* /*libmv_tracks*/,
104  int /*image*/,
105  int /*track*/,
106  double /*x*/,
107  double /*y*/,
108  double /*weight*/) {
109 }
110 
111 void libmv_tracksDestroy(libmv_Tracks* /*libmv_tracks*/) {
112 }
113 
114 /* ************ Reconstruction solver ************ */
115 
117  const libmv_Tracks* /*libmv_tracks*/,
118  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/,
119  libmv_ReconstructionOptions* /*libmv_reconstruction_options*/,
120  reconstruct_progress_update_cb /*progress_update_callback*/,
121  void* /*callback_customdata*/) {
122  return NULL;
123 }
124 
126  const libmv_Tracks* /*libmv_tracks*/,
127  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/,
128  const libmv_ReconstructionOptions* /*libmv_reconstruction_options*/,
129  reconstruct_progress_update_cb /*progress_update_callback*/,
130  void* /*callback_customdata*/) {
131  return NULL;
132 }
133 
135  libmv_Reconstruction* /*libmv_reconstruction*/) {
136  return 0;
137 }
138 
140  const libmv_Reconstruction* /*libmv_reconstruction*/,
141  int /*track*/,
142  double /*pos*/[3]) {
143  return 0;
144 }
145 
147  const libmv_Reconstruction* /*libmv_reconstruction*/, int /*track*/) {
148  return 0.0;
149 }
150 
152  const libmv_Reconstruction* /*libmv_reconstruction*/, int /*image*/) {
153  return 0.0;
154 }
155 
157  const libmv_Reconstruction* /*libmv_reconstruction*/,
158  int /*image*/,
159  double /*mat*/[4][4]) {
160  return 0;
161 }
162 
164  const libmv_Reconstruction* /*libmv_reconstruction*/) {
165  return 0.0;
166 }
167 
169  struct libmv_Reconstruction* /*libmv_reconstruction*/) {
170 }
171 
172 /* ************ Feature detector ************ */
173 
174 libmv_Features* libmv_detectFeaturesByte(const unsigned char* /*image_buffer*/,
175  int /*width*/,
176  int /*height*/,
177  int /*channels*/,
178  libmv_DetectOptions* /*options*/) {
179  return NULL;
180 }
181 
183  const float* /*image_buffer*/,
184  int /*width*/,
185  int /*height*/,
186  int /*channels*/,
187  libmv_DetectOptions* /*options*/) {
188  return NULL;
189 }
190 
191 int libmv_countFeatures(const libmv_Features* /*libmv_features*/) {
192  return 0;
193 }
194 
195 void libmv_getFeature(const libmv_Features* /*libmv_features*/,
196  int /*number*/,
197  double* x,
198  double* y,
199  double* score,
200  double* size) {
201  *x = 0.0;
202  *y = 0.0;
203  *score = 0.0;
204  *size = 0.0;
205 }
206 
207 void libmv_featuresDestroy(struct libmv_Features* /*libmv_features*/) {
208 }
209 
210 /* ************ Camera intrinsics ************ */
211 
213  libmv_Reconstruction* /*libmv_reconstruction*/) {
214  return NULL;
215 }
216 
218  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/) {
219  return NULL;
220 }
221 
223  const libmv_CameraIntrinsics* /*libmvIntrinsics*/) {
224  return NULL;
225 }
226 
228  libmv_CameraIntrinsics* /*libmvIntrinsics*/) {
229 }
230 
232  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/,
233  libmv_CameraIntrinsics* /*libmv_intrinsics*/) {
234 }
235 
237  libmv_CameraIntrinsics* /*libmv_intrinsics*/, int /*threads*/) {
238 }
239 
241  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
242  libmv_CameraIntrinsicsOptions* camera_intrinsics_options) {
243  memset(camera_intrinsics_options, 0, sizeof(libmv_CameraIntrinsicsOptions));
244  camera_intrinsics_options->focal_length = 1.0;
245 }
246 
248  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
249  const unsigned char* source_image,
250  int width,
251  int height,
252  float /*overscan*/,
253  int channels,
254  unsigned char* destination_image) {
255  memcpy(destination_image,
256  source_image,
257  channels * width * height * sizeof(unsigned char));
258 }
259 
261  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
262  const float* source_image,
263  int width,
264  int height,
265  float /*overscan*/,
266  int channels,
267  float* destination_image) {
268  memcpy(destination_image,
269  source_image,
270  channels * width * height * sizeof(float));
271 }
272 
274  const struct libmv_CameraIntrinsics* /*libmv_intrinsics*/,
275  const unsigned char* source_image,
276  int width,
277  int height,
278  float /*overscan*/,
279  int channels,
280  unsigned char* destination_image) {
281  memcpy(destination_image,
282  source_image,
283  channels * width * height * sizeof(unsigned char));
284 }
285 
287  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
288  float* source_image,
289  int width,
290  int height,
291  float /*overscan*/,
292  int channels,
293  float* destination_image) {
294  memcpy(destination_image,
295  source_image,
296  channels * width * height * sizeof(float));
297 }
298 
299 /* ************ utils ************ */
300 
302  const struct libmv_CameraIntrinsics* /*libmv_intrinsics*/,
303  double /*x*/,
304  double /*y*/,
305  double* x1,
306  double* y1) {
307  *x1 = 0.0;
308  *y1 = 0.0;
309 }
310 
312  const struct libmv_CameraIntrinsics* /*libmv_intrinsics*/,
313  double /*x*/,
314  double /*y*/,
315  double* x1,
316  double* y1) {
317  *x1 = 0.0;
318  *y1 = 0.0;
319 }
320 
321 void libmv_homography2DFromCorrespondencesEuc(/* const */ double (*/*x1*/)[2],
322  /* const */ double (*/*x2*/)[2],
323  int /*num_points*/,
324  double H[3][3]) {
325  memset(H, 0, sizeof(double[3][3]));
326  H[0][0] = 1.0f;
327  H[1][1] = 1.0f;
328  H[2][2] = 1.0f;
329 }
330 
331 /* ************ autotrack ************ */
332 
334  return NULL;
335 }
336 
337 void libmv_autoTrackDestroy(libmv_AutoTrack* /*libmv_autotrack*/) {
338 }
339 
340 void libmv_autoTrackSetOptions(libmv_AutoTrack* /*libmv_autotrack*/,
341  const libmv_AutoTrackOptions* /*options*/) {
342 }
343 
344 int libmv_autoTrackMarker(libmv_AutoTrack* /*libmv_autotrack*/,
345  const libmv_TrackRegionOptions* /*libmv_options*/,
346  libmv_Marker* /*libmv_tracker_marker*/,
347  libmv_TrackRegionResult* /*libmv_result*/) {
348  return 0;
349 }
350 
351 void libmv_autoTrackAddMarker(libmv_AutoTrack* /*libmv_autotrack*/,
352  const libmv_Marker* /*libmv_marker*/) {
353 }
354 
355 void libmv_autoTrackSetMarkers(libmv_AutoTrack* /*libmv_autotrack*/,
356  const libmv_Marker* /*libmv_marker-*/,
357  size_t /*num_markers*/) {
358 }
359 
360 int libmv_autoTrackGetMarker(libmv_AutoTrack* /*libmv_autotrack*/,
361  int /*clip*/,
362  int /*frame*/,
363  int /*track*/,
364  libmv_Marker* /*libmv_marker*/) {
365  return 0;
366 }
367 
368 /* ************ frame accessor ************ */
369 
371  libmv_FrameAccessorUserData* /*user_data**/,
372  libmv_GetImageCallback /*get_image_callback*/,
373  libmv_ReleaseImageCallback /*release_image_callback*/,
374  libmv_GetMaskForTrackCallback /*get_mask_for_track_callback*/,
375  libmv_ReleaseMaskCallback /*release_mask_callback*/) {
376  return NULL;
377 }
378 
380 }
381 
383  const libmv_FrameTransform* /*transform*/) {
384  return 0;
385 }
386 
388  const libmv_FrameTransform* /*transform*/,
389  const libmv_FloatImage* /*input_image*/,
390  libmv_FloatImage* /*output_image*/) {
391 }
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble y1
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble GLdouble x2
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
struct libmv_AutoTrack libmv_AutoTrack
struct libmv_CameraIntrinsics libmv_CameraIntrinsics
struct libmv_FrameTransform libmv_FrameTransform
libmv_CacheKey(* libmv_GetImageCallback)(libmv_FrameAccessorUserData *user_data, int clip, int frame, libmv_InputMode input_mode, int downscale, const libmv_Region *region, const libmv_FrameTransform *transform, float **destination, int *width, int *height, int *channels)
struct libmv_FrameAccessorUserData libmv_FrameAccessorUserData
libmv_CacheKey(* libmv_GetMaskForTrackCallback)(libmv_FrameAccessorUserData *user_data, int clip, int frame, int track, const libmv_Region *region, float **destination, int *width, int *height)
void(* libmv_ReleaseImageCallback)(libmv_CacheKey cache_key)
void(* libmv_ReleaseMaskCallback)(libmv_CacheKey cache_key)
struct libmv_FrameAccessor libmv_FrameAccessor
void(* reconstruct_progress_update_cb)(void *customdata, double progress, const char *message)
struct libmv_Tracks libmv_Tracks
Definition: intern/tracks.h:27
__int64 int64_t
Definition: stdint.h:92
void libmv_cameraIntrinsicsApply(const struct libmv_CameraIntrinsics *, double, double, double *x1, double *y1)
Definition: stub.cc:301
void libmv_cameraIntrinsicsDestroy(libmv_CameraIntrinsics *)
Definition: stub.cc:227
void libmv_autoTrackAddMarker(libmv_AutoTrack *, const libmv_Marker *)
Definition: stub.cc:351
void libmv_floatImageDestroy(libmv_FloatImage *)
Definition: stub.cc:94
void libmv_setLoggingVerbosity(int)
Definition: stub.cc:33
void libmv_cameraIntrinsicsExtractOptions(const libmv_CameraIntrinsics *, libmv_CameraIntrinsicsOptions *camera_intrinsics_options)
Definition: stub.cc:240
int libmv_trackRegion(const libmv_TrackRegionOptions *, const float *, int, int, const float *, int, int, const double *x1, const double *y1, libmv_TrackRegionResult *result, double *x2, double *y2)
Definition: stub.cc:39
void libmv_cameraIntrinsicsDistortFloat(const libmv_CameraIntrinsics *, float *source_image, int width, int height, float, int channels, float *destination_image)
Definition: stub.cc:286
void libmv_cameraIntrinsicsSetThreads(libmv_CameraIntrinsics *, int)
Definition: stub.cc:236
void libmv_cameraIntrinsicsInvert(const struct libmv_CameraIntrinsics *, double, double, double *x1, double *y1)
Definition: stub.cc:311
void libmv_homography2DFromCorrespondencesEuc(double(*)[2], double(*)[2], int, double H[3][3])
Definition: stub.cc:321
void libmv_samplePlanarPatchByte(const unsigned char *, int, int, int, const double *, const double *, int, int, const float *, unsigned char *, double *, double *)
Definition: stub.cc:79
void libmv_reconstructionDestroy(struct libmv_Reconstruction *)
Definition: stub.cc:168
void libmv_frameAccessorgetTransformRun(const libmv_FrameTransform *, const libmv_FloatImage *, libmv_FloatImage *)
Definition: stub.cc:387
double libmv_reprojectionErrorForImage(const libmv_Reconstruction *, int)
Definition: stub.cc:151
int64_t libmv_frameAccessorgetTransformKey(const libmv_FrameTransform *)
Definition: stub.cc:382
void libmv_autoTrackSetMarkers(libmv_AutoTrack *, const libmv_Marker *, size_t)
Definition: stub.cc:355
libmv_CameraIntrinsics * libmv_cameraIntrinsicsNew(const libmv_CameraIntrinsicsOptions *)
Definition: stub.cc:217
libmv_Reconstruction * libmv_solveReconstruction(const libmv_Tracks *, const libmv_CameraIntrinsicsOptions *, libmv_ReconstructionOptions *, reconstruct_progress_update_cb, void *)
Definition: stub.cc:116
void libmv_startDebugLogging(void)
Definition: stub.cc:30
libmv_CameraIntrinsics * libmv_reconstructionExtractIntrinsics(libmv_Reconstruction *)
Definition: stub.cc:212
void libmv_samplePlanarPatchFloat(const float *, int, int, int, const double *, const double *, int, int, const float *, float *, double *, double *)
Definition: stub.cc:64
double libmv_reprojectionErrorForTrack(const libmv_Reconstruction *, int)
Definition: stub.cc:146
libmv_CameraIntrinsics * libmv_cameraIntrinsicsCopy(const libmv_CameraIntrinsics *)
Definition: stub.cc:222
int libmv_reprojectionCameraForImage(const libmv_Reconstruction *, int, double[4][4])
Definition: stub.cc:156
int libmv_reconstructionIsValid(libmv_Reconstruction *)
Definition: stub.cc:134
void libmv_FrameAccessorDestroy(libmv_FrameAccessor *)
Definition: stub.cc:379
void libmv_tracksDestroy(libmv_Tracks *)
Definition: stub.cc:111
int libmv_autoTrackGetMarker(libmv_AutoTrack *, int, int, int, libmv_Marker *)
Definition: stub.cc:360
void libmv_getFeature(const libmv_Features *, int, double *x, double *y, double *score, double *size)
Definition: stub.cc:195
libmv_Features * libmv_detectFeaturesByte(const unsigned char *, int, int, int, libmv_DetectOptions *)
Definition: stub.cc:174
void libmv_initLogging(const char *)
Definition: stub.cc:27
libmv_AutoTrack * libmv_autoTrackNew(libmv_FrameAccessor *)
Definition: stub.cc:333
void libmv_cameraIntrinsicsUndistortByte(const libmv_CameraIntrinsics *, const unsigned char *source_image, int width, int height, float, int channels, unsigned char *destination_image)
Definition: stub.cc:247
int libmv_reprojectionPointForTrack(const libmv_Reconstruction *, int, double[3])
Definition: stub.cc:139
double libmv_reprojectionError(const libmv_Reconstruction *)
Definition: stub.cc:163
void libmv_autoTrackSetOptions(libmv_AutoTrack *, const libmv_AutoTrackOptions *)
Definition: stub.cc:340
void libmv_cameraIntrinsicsUndistortFloat(const libmv_CameraIntrinsics *, const float *source_image, int width, int height, float, int channels, float *destination_image)
Definition: stub.cc:260
struct libmv_Features * libmv_detectFeaturesFloat(const float *, int, int, int, libmv_DetectOptions *)
Definition: stub.cc:182
void libmv_featuresDestroy(struct libmv_Features *)
Definition: stub.cc:207
libmv_Reconstruction * libmv_solveModal(const libmv_Tracks *, const libmv_CameraIntrinsicsOptions *, const libmv_ReconstructionOptions *, reconstruct_progress_update_cb, void *)
Definition: stub.cc:125
void libmv_cameraIntrinsicsUpdate(const libmv_CameraIntrinsicsOptions *, libmv_CameraIntrinsics *)
Definition: stub.cc:231
int libmv_countFeatures(const libmv_Features *)
Definition: stub.cc:191
libmv_Tracks * libmv_tracksNew(void)
Definition: stub.cc:99
void libmv_tracksInsert(libmv_Tracks *, int, int, double, double, double)
Definition: stub.cc:103
void libmv_autoTrackDestroy(libmv_AutoTrack *)
Definition: stub.cc:337
void libmv_cameraIntrinsicsDistortByte(const struct libmv_CameraIntrinsics *, const unsigned char *source_image, int width, int height, float, int channels, unsigned char *destination_image)
Definition: stub.cc:273
libmv_FrameAccessor * libmv_FrameAccessorNew(libmv_FrameAccessorUserData *, libmv_GetImageCallback, libmv_ReleaseImageCallback, libmv_GetMaskForTrackCallback, libmv_ReleaseMaskCallback)
Definition: stub.cc:370
int libmv_autoTrackMarker(libmv_AutoTrack *, const libmv_TrackRegionOptions *, libmv_Marker *, libmv_TrackRegionResult *)
Definition: stub.cc:344
#define H(x, y, z)