Dewobble
Video motion stabilization with awareness of lens projection
filter.h
Go to the documentation of this file.
1 #ifndef DEWOBBLE_FILTER_H
2 #define DEWOBBLE_FILTER_H
3 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 #include <CL/cl.h>
12 
13 #include "filter_config.h"
14 
18 typedef struct _DewobbleFilter *DewobbleFilter;
19 
25 
31 
36 
45  DewobbleFilter c_filter,
46  cl_int *errcode_ret);
47 
57  DewobbleFilter c_filter,
58  cl_mem *input_buffer);
59 
67  DewobbleFilter c_filter,
68  cl_mem input_buffer,
69  void *extra);
70 
76 
82 
92  DewobbleFilter c_filter,
93  cl_mem *output_buffer,
94  cl_mem *input_buffer,
95  void **extra);
96 
106  DewobbleFilter c_filter,
107  cl_mem *output_buffer);
108 
109 #ifdef __cplusplus
110 }
111 #endif
112 
113 #endif // DEWOBBLE_FILTER_H
int dewobble_filter_push_frame(DewobbleFilter c_filter, cl_mem input_buffer, void *extra)
void dewobble_filter_destroy(DewobbleFilter *filter)
DewobbleFilter dewobble_filter_create_sync(DewobbleFilterConfig config)
DewobbleFilter dewobble_filter_create_threaded(DewobbleFilterConfig config)
int dewobble_filter_pull_frame(DewobbleFilter c_filter, cl_mem *output_buffer, cl_mem *input_buffer, void **extra)
struct _DewobbleFilter * DewobbleFilter
Definition: filter.h:18
cl_mem dewobble_filter_get_input_frame_buffer(DewobbleFilter c_filter, cl_int *errcode_ret)
int dewobble_filter_frame_ready(DewobbleFilter c_filter)
int dewobble_filter_end_input(DewobbleFilter c_filter)
void dewobble_filter_release_input_frame_buffer(DewobbleFilter c_filter, cl_mem *input_buffer)
void dewobble_filter_release_output_frame_buffer(DewobbleFilter c_filter, cl_mem *output_buffer)
struct _DewobbleFilterConfig * DewobbleFilterConfig
Definition: filter_config.h:42