]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/framerate.h
avfilter/vf_identity: fix typo
[ffmpeg] / libavfilter / framerate.h
index 8048dfa36a6eb424ab8981616c3606cd4f4bc7fa..d2556356867edcc7d32cacdac82089f9f9153625 100644 (file)
@@ -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