From def03d34391fe9ce49efdc3580220f1caaa5c160 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sat, 2 Aug 2014 18:57:32 +0200 Subject: avfilter/deshake: remove avcodec dependency --- libavfilter/deshake.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libavfilter/deshake.h') 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; -- cgit v1.2.3