Re: [FFmpeg-devel] [PATCH] avfilter/scale_vaapi: add support for basic height/width expressions

2017-01-31 Thread Mark Thompson
On 31/01/17 21:00, Aman Gupta wrote: > On Tue, Jan 31, 2017 at 12:26 PM, Mark Thompson wrote: > >> On 31/01/17 19:14, Aman Gupta wrote: >>> From: Aman Gupta >>> >>> Copied directly from vf_scale.c. >>> >>> Implements the same expression logic, however not all the variables were >> copied over. >

Re: [FFmpeg-devel] [PATCH] avfilter/scale_vaapi: add support for basic height/width expressions

2017-01-31 Thread Aman Gupta
On Tue, Jan 31, 2017 at 12:26 PM, Mark Thompson wrote: > On 31/01/17 19:14, Aman Gupta wrote: > > From: Aman Gupta > > > > Copied directly from vf_scale.c. > > > > Implements the same expression logic, however not all the variables were > copied over. > > This patch was sufficient for my particu

Re: [FFmpeg-devel] [PATCH] avfilter/scale_vaapi: add support for basic height/width expressions

2017-01-31 Thread Mark Thompson
On 31/01/17 19:14, Aman Gupta wrote: > From: Aman Gupta > > Copied directly from vf_scale.c. > > Implements the same expression logic, however not all the variables were > copied over. > This patch was sufficient for my particular use-case > `scale_vaapi=-2:min(ih\,720)`, > but perhaps it make

[FFmpeg-devel] [PATCH] avfilter/scale_vaapi: add support for basic height/width expressions

2017-01-31 Thread Aman Gupta
From: Aman Gupta Copied directly from vf_scale.c. Implements the same expression logic, however not all the variables were copied over. This patch was sufficient for my particular use-case `scale_vaapi=-2:min(ih\,720)`, but perhaps it makes sense to add support for the remaining variables and