From 4b6b1082a73907c7c3de2646c6398bc61320f2c6 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Tue, 7 Jul 2015 01:20:43 +0100 Subject: lavc: Deprecate avctx.me_method This option is extremely codec specific and only a few codecs employ it. Move it to codec private options instead: mpegenc family supports only 3 values, xavs and x264 use 5, and xvid has a different metric entirely. Signed-off-by: Vittorio Giovara --- libavcodec/svq1enc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/svq1enc.h') diff --git a/libavcodec/svq1enc.h b/libavcodec/svq1enc.h index 5ecb2a5639..62e8bb2699 100644 --- a/libavcodec/svq1enc.h +++ b/libavcodec/svq1enc.h @@ -72,6 +72,8 @@ typedef struct SVQ1EncContext { uint8_t *scratchbuf; + int motion_est; + int (*ssd_int8_vs_int16)(const int8_t *pix1, const int16_t *pix2, int size); } SVQ1EncContext; -- cgit v1.2.3