summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf.h')
-rw-r--r--video/filter/vf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/filter/vf.h b/video/filter/vf.h
index 358b8135f5..bca9ebfff5 100644
--- a/video/filter/vf.h
+++ b/video/filter/vf.h
@@ -141,6 +141,9 @@ int vf_config_wrapper(struct vf_instance *vf,
int width, int height, int d_width, int d_height,
unsigned int flags, unsigned int outfmt);
+void vf_rescale_dsize(struct vf_instance *vf, int *d_width, int *d_height,
+ int old_w, int old_h, int new_w, int new_h);
+
static inline int norm_qscale(int qscale, int type)
{
switch (type) {