diff mbox

[FFmpeg-devel,2/3] swscale: Add p016 output support and generalise yuv420p1x to p010

Message ID 20180304005609.GQ23018@michaelspb
State Not Applicable
Headers show

Commit Message

Michael Niedermayer March 4, 2018, 12:56 a.m. UTC
On Fri, Mar 02, 2018 at 08:57:27PM -0800, Philip Langdale wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sat, 3 Mar 2018 00:55:25 +0100
> Michael Niedermayer <michael@niedermayer.cc> wrote:
> 
> > On Thu, Mar 01, 2018 at 08:26:52PM -0800, Philip Langdale wrote:
> > > To make the best use of existing code, I generalised the wrapper
> > > that currently does yuv420p10 to p010 to support any mixture of
> > > input and output sizes between 10 and 16 bits. This had the side
> > > effect of yielding a working code path for all yuv420p1x formats
> > > to p01x.
> > > 
> > > Signed-off-by: Philip Langdale <philipl@overt.org>
> > > ---
> > >  libswscale/output.c           | 31 +++++++++++++++++++++++++++++++
> > >  libswscale/swscale_unscaled.c | 35
> > > +++++++++++++++++++++++++---------- libswscale/utils.c
> > > |  4 ++-- 3 files changed, 58 insertions(+), 12 deletions(-)  
> > 
> > this needs updates to fate
> > 
> > should be ok with that and if the output looks correct
> > 
> > thx
> > 
> > [...]
> 
> Pushed with fate updates.

seems to fail on qemu mips here:

Test filter-pixfmts-pad failed. Look at tests/data/fate/filter-pixfmts-pad.err for details.
make: *** [fate-filter-pixfmts-pad] Error 1
TEST    filter-pixfmts-scale



[...]
diff mbox

Patch

--- ffmpeg/tests/ref/fate/filter-pixfmts-pad   2018-03-03 23:01:41.916865351 +0100
+++ tests/data/fate/filter-pixfmts-pad  2018-03-04 01:48:22.464822530 +0100
@@ -22,7 +22,7 @@ 
 gray9le             f8f3dfe31ca5fcba828285bceefdab9a
 nv12                381574979cb04be10c9168540310afad
 nv21                0fdeb2cdd56cf5a7147dc273456fa217
-p016le              536a3b4c3b47d005f9ab033370cc1c3b
+p016le              c57224f2dc09601c66aa3365b3cd7254
 rgb0                78d500c8361ab6423a4826a00268c908
 rgb24               17f9e2e0c609009acaf2175c42d4a2a5
 rgba                b157c90191463d34fb3ce77b36c96386