Dewobble
Video motion stabilization with awareness of lens projection
camera.h
Go to the documentation of this file.
1 #ifndef DEWOBBLE_CAMERA_H
2 #define DEWOBBLE_CAMERA_H
3 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 #include <CL/cl.h>
12 
16 typedef struct _DewobbleCamera *DewobbleCamera;
17 
21 typedef enum DewobbleProjection {
22  DEWOBBLE_PROJECTION_RECTILINEAR,
23  DEWOBBLE_PROJECTION_EQUIDISTANT_FISHEYE,
24  DEWOBBLE_NB_PROJECTIONS,
26 
31  DewobbleProjection projection,
32  double diagonal_field_of_view,
33  int width,
34  int height,
35  double focal_point_x,
36  double focal_point_y);
37 
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif // DEWOBBLE_CAMERA_H
struct _DewobbleCamera * DewobbleCamera
Definition: camera.h:16
DewobbleProjection
Definition: camera.h:21
void dewobble_camera_destroy(DewobbleCamera *camera)
DewobbleCamera dewobble_camera_create(DewobbleProjection projection, double diagonal_field_of_view, int width, int height, double focal_point_x, double focal_point_y)