On 08-12-2019 10:03 am, Gyan wrote:


On 07-12-2019 11:47 pm, Michael Niedermayer wrote:
On Sat, Dec 07, 2019 at 12:08:53PM +0530, Gyan wrote:

  doc/filters.texi             |   40 +++++++++++++++++++++++++++++
  libavfilter/scale.c          |   59 ++++++++++++++++++++++++++++++++++---------
  libavfilter/scale.h          |   20 ++++++++++++++
  libavfilter/vf_scale.c       |   28 ++------------------
  libavfilter/vf_scale_cuda.c  |   11 ++++++++
  libavfilter/vf_scale_npp.c   |   11 ++++++++
  libavfilter/vf_scale_vaapi.c |   11 ++++++++
  7 files changed, 144 insertions(+), 36 deletions(-)
f0a65d11857e709ee7cdf862ba108c765c4f5a2f v2-0001-avfilter-scale.c-factorize-ff_scale_eval_dimensio.patch
 From 863c6feac1790560f7bdc29358cfcd0e5ee370f6 Mon Sep 17 00:00:00 2001
From: Gyan Doshi <ffm...@gyani.pro>
Date: Mon, 2 Dec 2019 21:11:21 +0530
Subject: [PATCH v2] avfilter/scale.c: factorize ff_scale_eval_dimensions

Adjustment of evaluated values shifted to ff_adjust_scale_dimensions
Shifted code for force_original_aspect_ratio and force_divisble_by from
vf_scale so it is now available for scale_cuda, scale_npp and
scale_vaapi as well.
---
  doc/filters.texi             | 40 ++++++++++++++++++++++++
  libavfilter/scale.c          | 59 +++++++++++++++++++++++++++++-------
  libavfilter/scale.h          | 20 ++++++++++++
  libavfilter/vf_scale.c       | 28 ++---------------
  libavfilter/vf_scale_cuda.c  | 11 +++++++
  libavfilter/vf_scale_npp.c   | 11 +++++++
  libavfilter/vf_scale_vaapi.c | 11 +++++++
  7 files changed, 144 insertions(+), 36 deletions(-)
The changes should be ok i think.

Will push in a few hours.

Pushed with a couple of doc typos also corrected as 1b4f473d181abaa0ff4e2d63862f61763a5a6860

Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to