X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fframerate.h;h=d2556356867edcc7d32cacdac82089f9f9153625;hb=252500a78fe1a31abc79e6070d16f50382c39343;hp=8048dfa36a6eb424ab8981616c3606cd4f4bc7fa;hpb=cd8087444bb459c7c62e21913adfef5ec09675cc;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