summaryrefslogtreecommitdiff
path: root/libavfilter/deshake.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-05-12 20:00:49 +0200
committerPaul B Mahol <onemda@gmail.com>2017-05-13 11:39:28 +0200
commited93ed5ee320db299dc8c65d59c4f25e2eb0acdc (patch)
treed678ae86bbdda736856cf4d15af63584231f8503 /libavfilter/deshake.h
parent0fbc7a2169af479f8824f44e1b0f0ede5e1d1eaa (diff)
avfilter: don't anonymously typedef structs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/deshake.h')
-rw-r--r--libavfilter/deshake.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h
index becd6c248b..5e25bb3a7a 100644
--- a/libavfilter/deshake.h
+++ b/libavfilter/deshake.h
@@ -37,17 +37,17 @@ enum SearchMethod {
SEARCH_COUNT
};
-typedef struct {
+typedef struct IntMotionVector {
int x; ///< Horizontal shift
int y; ///< Vertical shift
} IntMotionVector;
-typedef struct {
+typedef struct MotionVector {
double x; ///< Horizontal shift
double y; ///< Vertical shift
} MotionVector;
-typedef struct {
+typedef struct Transform {
MotionVector vec; ///< Motion vector
double angle; ///< Angle of rotation
double zoom; ///< Zoom percentage
@@ -55,7 +55,7 @@ typedef struct {
#if CONFIG_OPENCL
-typedef struct {
+typedef struct DeshakeOpenclContext {
cl_command_queue command_queue;
cl_program program;
cl_kernel kernel_luma;
@@ -73,7 +73,7 @@ typedef struct {
#define MAX_R 64
-typedef struct {
+typedef struct DeshakeContext {
const AVClass *class;
int counts[2*MAX_R+1][2*MAX_R+1]; /// < Scratch buffer for motion search
double *angles; ///< Scratch buffer for block angles