swscale: Add p016 output support and generalise yuv420p1x to p010
authorPhilip Langdale <philipl@overt.org>
Fri, 2 Mar 2018 04:16:48 +0000 (20:16 -0800)
committerPhilip Langdale <philipl@overt.org>
Fri, 2 Mar 2018 22:52:48 +0000 (14:52 -0800)
commit9d5aff09a7163b17ec98f8c712ddde7727372dbc
tree932f1008eb043e9780700dbe90a5a29e719409c7
parente990713ff9e39418318b2ca8dd8ab432e5e55c7c
swscale: Add p016 output support and generalise yuv420p1x to p010

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.
16 files changed:
libswscale/output.c
libswscale/swscale_unscaled.c
libswscale/utils.c
libswscale/version.h
tests/ref/fate/filter-pixdesc-p016be [new file with mode: 0644]
tests/ref/fate/filter-pixdesc-p016le [new file with mode: 0644]
tests/ref/fate/filter-pixfmts-copy
tests/ref/fate/filter-pixfmts-crop
tests/ref/fate/filter-pixfmts-field
tests/ref/fate/filter-pixfmts-hflip
tests/ref/fate/filter-pixfmts-il
tests/ref/fate/filter-pixfmts-null
tests/ref/fate/filter-pixfmts-pad
tests/ref/fate/filter-pixfmts-scale
tests/ref/fate/filter-pixfmts-transpose
tests/ref/fate/filter-pixfmts-vflip