summaryrefslogtreecommitdiff
path: root/libavfilter/deshake.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/deshake.h')
-rw-r--r--libavfilter/deshake.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h
index f61ed80d53..20df88f4ec 100644
--- a/libavfilter/deshake.h
+++ b/libavfilter/deshake.h
@@ -71,8 +71,11 @@ typedef struct {
#endif
+#define MAX_R 64
+
typedef struct {
const AVClass *class;
+ int counts[2*MAX_R+1][2*MAX_R+1]; /// < Scratch buffer for motion search
AVFrame *ref; ///< Previous frame
int rx; ///< Maximum horizontal shift
int ry; ///< Maximum vertical shift