diff options
author | James Almer <jamrial@gmail.com> | 2017-08-26 03:03:00 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-08-29 03:27:01 +0300 |
commit | 95a6de5674ab8f5116241cfa4bb02a0954b843d8 (patch) | |
tree | e02361fa22f0dbb1758983e1fcbd976827dd0387 /libavcodec/snow.h | |
parent | d4fbe99dabe712d1fbda81bc060f325f8937862e (diff) |
avcodec/snowenc: fix setting motion_est option
Remove usage of FF_MPV_COMMON_OPTS, and set SnowContext.motion_est directly.
Based on code from svq1enc.c
Signed-off-by: James Almer <jamrial@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/snow.h')
-rw-r--r-- | libavcodec/snow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/snow.h b/libavcodec/snow.h index f7ed1f82e7..41a3bef4de 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -32,10 +32,11 @@ #include "rangecoder.h" #include "mathops.h" -#define FF_MPV_OFFSET(x) (offsetof(MpegEncContext, x) + offsetof(SnowContext, m)) #include "mpegvideo.h" #include "h264qpel.h" +#define FF_ME_ITER 3 + #define MID_STATE 128 #define MAX_PLANES 4 |