Blender  V3.3
stub.cc
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2013 Blender Foundation. All rights reserved. */
3 
4 #include "libmv-capi.h"
5 
6 #include <cstdlib>
7 #include <cstring>
8 
9 /* ************ Logging ************ */
10 
11 void libmv_initLogging(const char* /*argv0*/) {
12 }
13 
15 }
16 
17 void libmv_setLoggingVerbosity(int /*verbosity*/) {
18 }
19 
20 /* ************ Planar tracker ************ */
21 
22 /* TrackRegion (new planar tracker) */
24  const float* /*image1*/,
25  int /*image1_width*/,
26  int /*image1_height*/,
27  const float* /*image2*/,
28  int /*image2_width*/,
29  int /*image2_height*/,
30  const double* x1,
31  const double* y1,
33  double* x2,
34  double* y2) {
35  /* Convert to doubles for the libmv api. The four corners and the center. */
36  for (int i = 0; i < 5; ++i) {
37  x2[i] = x1[i];
38  y2[i] = y1[i];
39  }
40 
41  result->termination = -1;
42  result->termination_reason = "Built without libmv support";
43  result->correlation = 0.0;
44 
45  return false;
46 }
47 
48 void libmv_samplePlanarPatchFloat(const float* /*image*/,
49  int /*width*/,
50  int /*height*/,
51  int /*channels*/,
52  const double* /*xs*/,
53  const double* /*ys*/,
54  int /*num_samples_x*/,
55  int /*num_samples_y*/,
56  const float* /*mask*/,
57  float* /*patch*/,
58  double* /*warped_position_x*/,
59  double* /*warped_position_y*/) {
60  /* TODO(sergey): implement */
61 }
62 
63 void libmv_samplePlanarPatchByte(const unsigned char* /*image*/,
64  int /*width*/,
65  int /*height*/,
66  int /*channels*/,
67  const double* /*xs*/,
68  const double* /*ys*/,
69  int /*num_samples_x*/,
70  int /*num_samples_y*/,
71  const float* /*mask*/,
72  unsigned char* /*patch*/,
73  double* /*warped_position_x*/,
74  double* /*warped_position_y*/) {
75  /* TODO(sergey): implement */
76 }
77 
79 }
80 
81 /* ************ Tracks ************ */
82 
84  return NULL;
85 }
86 
87 void libmv_tracksInsert(libmv_Tracks* /*libmv_tracks*/,
88  int /*image*/,
89  int /*track*/,
90  double /*x*/,
91  double /*y*/,
92  double /*weight*/) {
93 }
94 
95 void libmv_tracksDestroy(libmv_Tracks* /*libmv_tracks*/) {
96 }
97 
98 /* ************ Reconstruction solver ************ */
99 
101  const libmv_Tracks* /*libmv_tracks*/,
102  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/,
103  libmv_ReconstructionOptions* /*libmv_reconstruction_options*/,
104  reconstruct_progress_update_cb /*progress_update_callback*/,
105  void* /*callback_customdata*/) {
106  return NULL;
107 }
108 
110  const libmv_Tracks* /*libmv_tracks*/,
111  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/,
112  const libmv_ReconstructionOptions* /*libmv_reconstruction_options*/,
113  reconstruct_progress_update_cb /*progress_update_callback*/,
114  void* /*callback_customdata*/) {
115  return NULL;
116 }
117 
119  libmv_Reconstruction* /*libmv_reconstruction*/) {
120  return 0;
121 }
122 
124  const libmv_Reconstruction* /*libmv_reconstruction*/,
125  int /*track*/,
126  double /*pos*/[3]) {
127  return 0;
128 }
129 
131  const libmv_Reconstruction* /*libmv_reconstruction*/, int /*track*/) {
132  return 0.0;
133 }
134 
136  const libmv_Reconstruction* /*libmv_reconstruction*/, int /*image*/) {
137  return 0.0;
138 }
139 
141  const libmv_Reconstruction* /*libmv_reconstruction*/,
142  int /*image*/,
143  double /*mat*/[4][4]) {
144  return 0;
145 }
146 
148  const libmv_Reconstruction* /*libmv_reconstruction*/) {
149  return 0.0;
150 }
151 
153  struct libmv_Reconstruction* /*libmv_reconstruction*/) {
154 }
155 
156 /* ************ Feature detector ************ */
157 
158 libmv_Features* libmv_detectFeaturesByte(const unsigned char* /*image_buffer*/,
159  int /*width*/,
160  int /*height*/,
161  int /*channels*/,
162  libmv_DetectOptions* /*options*/) {
163  return NULL;
164 }
165 
167  const float* /*image_buffer*/,
168  int /*width*/,
169  int /*height*/,
170  int /*channels*/,
171  libmv_DetectOptions* /*options*/) {
172  return NULL;
173 }
174 
175 int libmv_countFeatures(const libmv_Features* /*libmv_features*/) {
176  return 0;
177 }
178 
179 void libmv_getFeature(const libmv_Features* /*libmv_features*/,
180  int /*number*/,
181  double* x,
182  double* y,
183  double* score,
184  double* size) {
185  *x = 0.0;
186  *y = 0.0;
187  *score = 0.0;
188  *size = 0.0;
189 }
190 
191 void libmv_featuresDestroy(struct libmv_Features* /*libmv_features*/) {
192 }
193 
194 /* ************ Camera intrinsics ************ */
195 
197  libmv_Reconstruction* /*libmv_reconstruction*/) {
198  return NULL;
199 }
200 
202  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/) {
203  return NULL;
204 }
205 
207  const libmv_CameraIntrinsics* /*libmvIntrinsics*/) {
208  return NULL;
209 }
210 
212  libmv_CameraIntrinsics* /*libmvIntrinsics*/) {
213 }
214 
216  const libmv_CameraIntrinsicsOptions* /*libmv_camera_intrinsics_options*/,
217  libmv_CameraIntrinsics* /*libmv_intrinsics*/) {
218 }
219 
221  libmv_CameraIntrinsics* /*libmv_intrinsics*/, int /*threads*/) {
222 }
223 
225  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
226  libmv_CameraIntrinsicsOptions* camera_intrinsics_options) {
227  memset(camera_intrinsics_options, 0, sizeof(libmv_CameraIntrinsicsOptions));
228  camera_intrinsics_options->focal_length = 1.0;
229 }
230 
232  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
233  const unsigned char* source_image,
234  int width,
235  int height,
236  float /*overscan*/,
237  int channels,
238  unsigned char* destination_image) {
239  memcpy(destination_image,
240  source_image,
241  channels * width * height * sizeof(unsigned char));
242 }
243 
245  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
246  const float* source_image,
247  int width,
248  int height,
249  float /*overscan*/,
250  int channels,
251  float* destination_image) {
252  memcpy(destination_image,
253  source_image,
254  channels * width * height * sizeof(float));
255 }
256 
258  const struct libmv_CameraIntrinsics* /*libmv_intrinsics*/,
259  const unsigned char* source_image,
260  int width,
261  int height,
262  float /*overscan*/,
263  int channels,
264  unsigned char* destination_image) {
265  memcpy(destination_image,
266  source_image,
267  channels * width * height * sizeof(unsigned char));
268 }
269 
271  const libmv_CameraIntrinsics* /*libmv_intrinsics*/,
272  float* source_image,
273  int width,
274  int height,
275  float /*overscan*/,
276  int channels,
277  float* destination_image) {
278  memcpy(destination_image,
279  source_image,
280  channels * width * height * sizeof(float));
281 }
282 
283 /* ************ utils ************ */
284 
286  const struct libmv_CameraIntrinsics* /*libmv_intrinsics*/,
287  double /*x*/,
288  double /*y*/,
289  double* x1,
290  double* y1) {
291  *x1 = 0.0;
292  *y1 = 0.0;
293 }
294 
296  const struct libmv_CameraIntrinsics* /*libmv_intrinsics*/,
297  double /*x*/,
298  double /*y*/,
299  double* x1,
300  double* y1) {
301  *x1 = 0.0;
302  *y1 = 0.0;
303 }
304 
305 void libmv_homography2DFromCorrespondencesEuc(/* const */ double (*/*x1*/)[2],
306  /* const */ double (*/*x2*/)[2],
307  int /*num_points*/,
308  double H[3][3]) {
309  memset(H, 0, sizeof(double[3][3]));
310  H[0][0] = 1.0f;
311  H[1][1] = 1.0f;
312  H[2][2] = 1.0f;
313 }
314 
315 /* ************ autotrack ************ */
316 
318  return NULL;
319 }
320 
321 void libmv_autoTrackDestroy(libmv_AutoTrack* /*libmv_autotrack*/) {
322 }
323 
324 void libmv_autoTrackSetOptions(libmv_AutoTrack* /*libmv_autotrack*/,
325  const libmv_AutoTrackOptions* /*options*/) {
326 }
327 
328 int libmv_autoTrackMarker(libmv_AutoTrack* /*libmv_autotrack*/,
329  const libmv_TrackRegionOptions* /*libmv_options*/,
330  libmv_Marker* /*libmv_tracker_marker*/,
331  libmv_TrackRegionResult* /*libmv_result*/) {
332  return 0;
333 }
334 
335 void libmv_autoTrackAddMarker(libmv_AutoTrack* /*libmv_autotrack*/,
336  const libmv_Marker* /*libmv_marker*/) {
337 }
338 
339 void libmv_autoTrackSetMarkers(libmv_AutoTrack* /*libmv_autotrack*/,
340  const libmv_Marker* /*libmv_marker-*/,
341  size_t /*num_markers*/) {
342 }
343 
344 int libmv_autoTrackGetMarker(libmv_AutoTrack* /*libmv_autotrack*/,
345  int /*clip*/,
346  int /*frame*/,
347  int /*track*/,
348  libmv_Marker* /*libmv_marker*/) {
349  return 0;
350 }
351 
352 /* ************ frame accessor ************ */
353 
355  libmv_FrameAccessorUserData* /*user_data**/,
356  libmv_GetImageCallback /*get_image_callback*/,
357  libmv_ReleaseImageCallback /*release_image_callback*/,
358  libmv_GetMaskForTrackCallback /*get_mask_for_track_callback*/,
359  libmv_ReleaseMaskCallback /*release_mask_callback*/) {
360  return NULL;
361 }
362 
364 }
365 
367  const libmv_FrameTransform* /*transform*/) {
368  return 0;
369 }
370 
372  const libmv_FrameTransform* /*transform*/,
373  const libmv_FloatImage* /*input_image*/,
374  libmv_FloatImage* /*output_image*/) {
375 }
_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 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
_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 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
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a producing a negative Combine Generate a color from its and blue channels(Deprecated)") DefNode(ShaderNode
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:11
#define H(x, y, z)
__int64 int64_t
Definition: stdint.h:89
void libmv_cameraIntrinsicsApply(const struct libmv_CameraIntrinsics *, double, double, double *x1, double *y1)
Definition: stub.cc:285
void libmv_cameraIntrinsicsDestroy(libmv_CameraIntrinsics *)
Definition: stub.cc:211
void libmv_autoTrackAddMarker(libmv_AutoTrack *, const libmv_Marker *)
Definition: stub.cc:335
void libmv_floatImageDestroy(libmv_FloatImage *)
Definition: stub.cc:78
void libmv_setLoggingVerbosity(int)
Definition: stub.cc:17
void libmv_cameraIntrinsicsExtractOptions(const libmv_CameraIntrinsics *, libmv_CameraIntrinsicsOptions *camera_intrinsics_options)
Definition: stub.cc:224
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:23
void libmv_cameraIntrinsicsDistortFloat(const libmv_CameraIntrinsics *, float *source_image, int width, int height, float, int channels, float *destination_image)
Definition: stub.cc:270
void libmv_cameraIntrinsicsSetThreads(libmv_CameraIntrinsics *, int)
Definition: stub.cc:220
void libmv_cameraIntrinsicsInvert(const struct libmv_CameraIntrinsics *, double, double, double *x1, double *y1)
Definition: stub.cc:295
void libmv_homography2DFromCorrespondencesEuc(double(*)[2], double(*)[2], int, double H[3][3])
Definition: stub.cc:305
void libmv_samplePlanarPatchByte(const unsigned char *, int, int, int, const double *, const double *, int, int, const float *, unsigned char *, double *, double *)
Definition: stub.cc:63
void libmv_reconstructionDestroy(struct libmv_Reconstruction *)
Definition: stub.cc:152
void libmv_frameAccessorgetTransformRun(const libmv_FrameTransform *, const libmv_FloatImage *, libmv_FloatImage *)
Definition: stub.cc:371
double libmv_reprojectionErrorForImage(const libmv_Reconstruction *, int)
Definition: stub.cc:135
int64_t libmv_frameAccessorgetTransformKey(const libmv_FrameTransform *)
Definition: stub.cc:366
void libmv_autoTrackSetMarkers(libmv_AutoTrack *, const libmv_Marker *, size_t)
Definition: stub.cc:339
libmv_CameraIntrinsics * libmv_cameraIntrinsicsNew(const libmv_CameraIntrinsicsOptions *)
Definition: stub.cc:201
libmv_Reconstruction * libmv_solveReconstruction(const libmv_Tracks *, const libmv_CameraIntrinsicsOptions *, libmv_ReconstructionOptions *, reconstruct_progress_update_cb, void *)
Definition: stub.cc:100
void libmv_startDebugLogging(void)
Definition: stub.cc:14
libmv_CameraIntrinsics * libmv_reconstructionExtractIntrinsics(libmv_Reconstruction *)
Definition: stub.cc:196
void libmv_samplePlanarPatchFloat(const float *, int, int, int, const double *, const double *, int, int, const float *, float *, double *, double *)
Definition: stub.cc:48
double libmv_reprojectionErrorForTrack(const libmv_Reconstruction *, int)
Definition: stub.cc:130
libmv_CameraIntrinsics * libmv_cameraIntrinsicsCopy(const libmv_CameraIntrinsics *)
Definition: stub.cc:206
int libmv_reprojectionCameraForImage(const libmv_Reconstruction *, int, double[4][4])
Definition: stub.cc:140
int libmv_reconstructionIsValid(libmv_Reconstruction *)
Definition: stub.cc:118
void libmv_FrameAccessorDestroy(libmv_FrameAccessor *)
Definition: stub.cc:363
void libmv_tracksDestroy(libmv_Tracks *)
Definition: stub.cc:95
int libmv_autoTrackGetMarker(libmv_AutoTrack *, int, int, int, libmv_Marker *)
Definition: stub.cc:344
void libmv_getFeature(const libmv_Features *, int, double *x, double *y, double *score, double *size)
Definition: stub.cc:179
libmv_Features * libmv_detectFeaturesByte(const unsigned char *, int, int, int, libmv_DetectOptions *)
Definition: stub.cc:158
void libmv_initLogging(const char *)
Definition: stub.cc:11
libmv_AutoTrack * libmv_autoTrackNew(libmv_FrameAccessor *)
Definition: stub.cc:317
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:231
int libmv_reprojectionPointForTrack(const libmv_Reconstruction *, int, double[3])
Definition: stub.cc:123
double libmv_reprojectionError(const libmv_Reconstruction *)
Definition: stub.cc:147
void libmv_autoTrackSetOptions(libmv_AutoTrack *, const libmv_AutoTrackOptions *)
Definition: stub.cc:324
void libmv_cameraIntrinsicsUndistortFloat(const libmv_CameraIntrinsics *, const float *source_image, int width, int height, float, int channels, float *destination_image)
Definition: stub.cc:244
struct libmv_Features * libmv_detectFeaturesFloat(const float *, int, int, int, libmv_DetectOptions *)
Definition: stub.cc:166
void libmv_featuresDestroy(struct libmv_Features *)
Definition: stub.cc:191
libmv_Reconstruction * libmv_solveModal(const libmv_Tracks *, const libmv_CameraIntrinsicsOptions *, const libmv_ReconstructionOptions *, reconstruct_progress_update_cb, void *)
Definition: stub.cc:109
void libmv_cameraIntrinsicsUpdate(const libmv_CameraIntrinsicsOptions *, libmv_CameraIntrinsics *)
Definition: stub.cc:215
int libmv_countFeatures(const libmv_Features *)
Definition: stub.cc:175
libmv_Tracks * libmv_tracksNew(void)
Definition: stub.cc:83
void libmv_tracksInsert(libmv_Tracks *, int, int, double, double, double)
Definition: stub.cc:87
void libmv_autoTrackDestroy(libmv_AutoTrack *)
Definition: stub.cc:321
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:257
libmv_FrameAccessor * libmv_FrameAccessorNew(libmv_FrameAccessorUserData *, libmv_GetImageCallback, libmv_ReleaseImageCallback, libmv_GetMaskForTrackCallback, libmv_ReleaseMaskCallback)
Definition: stub.cc:354
int libmv_autoTrackMarker(libmv_AutoTrack *, const libmv_TrackRegionOptions *, libmv_Marker *, libmv_TrackRegionResult *)
Definition: stub.cc:328