X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fframerate.h;h=d2556356867edcc7d32cacdac82089f9f9153625;hb=e3d993fab0ad4255dffd10a794fc5e1bd37047b7;hp=8048dfa36a6eb424ab8981616c3606cd4f4bc7fa;hpb=0c126431f9b290f5651ec62f45627632d94c51ea;p=ffmpeg diff --git a/libavfilter/framerate.h b/libavfilter/framerate.h index 8048dfa36a6..d2556356867 100644 --- a/libavfilter/framerate.h +++ b/libavfilter/framerate.h @@ -28,8 +28,7 @@ ptrdiff_t width, ptrdiff_t height, \ int factor1, int factor2, int half -#define BLEND_FACTOR_DEPTH8 7 -#define BLEND_FACTOR_DEPTH16 15 +#define BLEND_FACTOR_DEPTH(n) (n-1) typedef void (*blend_func)(BLEND_FUNC_PARAMS); @@ -43,6 +42,7 @@ typedef struct FrameRateContext { int interp_end; ///< end of range to apply linear interpolation int line_size[4]; ///< bytes of pixel data per line for each plane + int height[4]; ///< height of each plane int vsub; AVRational srce_time_base; ///< timebase of source