mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_deshake: fix macro ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0ed110133f
commit
f364101144
|
@ -62,8 +62,8 @@
|
|||
#include "deshake.h"
|
||||
#include "deshake_opencl.h"
|
||||
|
||||
#define CHROMA_WIDTH(link) -((-link->w) >> av_pix_fmt_desc_get(link->format)->log2_chroma_w)
|
||||
#define CHROMA_HEIGHT(link) -((-link->h) >> av_pix_fmt_desc_get(link->format)->log2_chroma_h)
|
||||
#define CHROMA_WIDTH(link) (-((-(link)->w) >> av_pix_fmt_desc_get((link)->format)->log2_chroma_w))
|
||||
#define CHROMA_HEIGHT(link) (-((-(link)->h) >> av_pix_fmt_desc_get((link)->format)->log2_chroma_h))
|
||||
|
||||
#define OFFSET(x) offsetof(DeshakeContext, x)
|
||||
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
|
||||
|
|
Loading…
Reference in New Issue