summaryrefslogtreecommitdiff
path: root/libavfilter/deshake.h
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-08-02 18:57:32 +0200
committerClément Bœsch <u@pkh.me>2014-08-05 21:05:52 +0200
commitdef03d34391fe9ce49efdc3580220f1caaa5c160 (patch)
tree0b24bf86cf1b792a89a66bd73a5040cfe24054d8 /libavfilter/deshake.h
parentf50ec59751f8542da8a3848d0ad54de35657caaf (diff)
avfilter/deshake: remove avcodec dependency
Diffstat (limited to 'libavfilter/deshake.h')
-rw-r--r--libavfilter/deshake.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavfilter/deshake.h b/libavfilter/deshake.h
index 615953cfe3..f61ed80d53 100644
--- a/libavfilter/deshake.h
+++ b/libavfilter/deshake.h
@@ -24,8 +24,8 @@
#include "config.h"
#include "avfilter.h"
-#include "libavcodec/dsputil.h"
#include "transform.h"
+#include "libavutil/pixelutils.h"
#if CONFIG_OPENCL
#include "libavutil/opencl.h"
#endif
@@ -80,8 +80,7 @@ typedef struct {
int blocksize; ///< Size of blocks to compare
int contrast; ///< Contrast threshold
int search; ///< Motion search method
- AVCodecContext *avctx;
- DSPContext c; ///< Context providing optimized SAD methods
+ av_pixelutils_sad_fn sad; ///< Sum of the absolute difference function
Transform last; ///< Transform from last frame
int refcount; ///< Number of reference frames (defines averaging window)
FILE *fp;