[FFmpeg-devel] [PATCH v3] avfilter/scale: refactor common code for scaling height/width expressions

Mark Thompson sw at jkqxz.net
Thu Feb 2 02:35:45 EET 2017


On 02/02/17 00:30, Aman Gupta wrote:
> From: Aman Gupta <aman at tmm1.net>
> 
> Implements support for height/width expressions in vf_scale_vaapi,
> by refactoring common code into a new libavfilter/scale.c
> ---
>  libavfilter/Makefile         |   8 +--
>  libavfilter/scale.c          | 152 +++++++++++++++++++++++++++++++++++++++++++
>  libavfilter/scale.h          |  28 ++++++++
>  libavfilter/vf_scale.c       | 109 +++----------------------------
>  libavfilter/vf_scale_npp.c   |  93 +++-----------------------
>  libavfilter/vf_scale_vaapi.c |  19 ++++--
>  6 files changed, 216 insertions(+), 193 deletions(-)
>  create mode 100644 libavfilter/scale.c
>  create mode 100644 libavfilter/scale.h

LGTM.  Michael is listed as the maintainer of vf_scale, though, so we should wait for him to look at it before applying.

Thanks,

- Mark


More information about the ffmpeg-devel mailing list