mbox series

[FFmpeg-devel,0/4] swscale/output: Add support for new VAAPI formats

Message ID 20220906195822.83664-1-philipl@overt.org
Headers show
Series swscale/output: Add support for new VAAPI formats | expand

Message

Philip Langdale Sept. 6, 2022, 7:58 p.m. UTC
This patch set adds output support to complement the input supported
added previously.

As in the input changes, I did not implement BE support where the
infrastructure didn't already exist (ie: only P012 has it) because
these formats aren't expected to be used except in conjunction with
Intel VAAPI which will always be little endina.

Philip Langdale (4):
  swscale/output: add support for P012
  swscale/output: add support for XV36LE
  swscale/output: add support for XV30LE
  swscale/output: add support for Y210LE and Y212LE

 libswscale/output.c                      | 248 +++++++++++++++++------
 libswscale/utils.c                       |  12 +-
 tests/ref/fate/filter-pixdesc-p012be     |   1 +
 tests/ref/fate/filter-pixdesc-p012le     |   1 +
 tests/ref/fate/filter-pixdesc-xv30le     |   1 +
 tests/ref/fate/filter-pixdesc-xv36le     |   1 +
 tests/ref/fate/filter-pixdesc-y210le     |   1 +
 tests/ref/fate/filter-pixdesc-y212le     |   1 +
 tests/ref/fate/filter-pixfmts-copy       |   6 +
 tests/ref/fate/filter-pixfmts-crop       |   4 +
 tests/ref/fate/filter-pixfmts-field      |   6 +
 tests/ref/fate/filter-pixfmts-fieldorder |   4 +
 tests/ref/fate/filter-pixfmts-hflip      |   4 +
 tests/ref/fate/filter-pixfmts-il         |   6 +
 tests/ref/fate/filter-pixfmts-null       |   6 +
 tests/ref/fate/filter-pixfmts-pad        |   1 +
 tests/ref/fate/filter-pixfmts-scale      |   6 +
 tests/ref/fate/filter-pixfmts-transpose  |   4 +
 tests/ref/fate/filter-pixfmts-vflip      |   6 +
 19 files changed, 254 insertions(+), 65 deletions(-)
 create mode 100644 tests/ref/fate/filter-pixdesc-p012be
 create mode 100644 tests/ref/fate/filter-pixdesc-p012le
 create mode 100644 tests/ref/fate/filter-pixdesc-xv30le
 create mode 100644 tests/ref/fate/filter-pixdesc-xv36le
 create mode 100644 tests/ref/fate/filter-pixdesc-y210le
 create mode 100644 tests/ref/fate/filter-pixdesc-y212le

Comments

Philip Langdale Sept. 10, 2022, 7:30 p.m. UTC | #1
On Tue,  6 Sep 2022 12:58:18 -0700
Philip Langdale <philipl@overt.org> wrote:

> This patch set adds output support to complement the input supported
> added previously.
> 
> As in the input changes, I did not implement BE support where the
> infrastructure didn't already exist (ie: only P012 has it) because
> these formats aren't expected to be used except in conjunction with
> Intel VAAPI which will always be little endina.
> 
> Philip Langdale (4):
>   swscale/output: add support for P012
>   swscale/output: add support for XV36LE
>   swscale/output: add support for XV30LE
>   swscale/output: add support for Y210LE and Y212LE
> 
>  libswscale/output.c                      | 248
> +++++++++++++++++------ libswscale/utils.c                       |
> 12 +- tests/ref/fate/filter-pixdesc-p012be     |   1 +
>  tests/ref/fate/filter-pixdesc-p012le     |   1 +
>  tests/ref/fate/filter-pixdesc-xv30le     |   1 +
>  tests/ref/fate/filter-pixdesc-xv36le     |   1 +
>  tests/ref/fate/filter-pixdesc-y210le     |   1 +
>  tests/ref/fate/filter-pixdesc-y212le     |   1 +
>  tests/ref/fate/filter-pixfmts-copy       |   6 +
>  tests/ref/fate/filter-pixfmts-crop       |   4 +
>  tests/ref/fate/filter-pixfmts-field      |   6 +
>  tests/ref/fate/filter-pixfmts-fieldorder |   4 +
>  tests/ref/fate/filter-pixfmts-hflip      |   4 +
>  tests/ref/fate/filter-pixfmts-il         |   6 +
>  tests/ref/fate/filter-pixfmts-null       |   6 +
>  tests/ref/fate/filter-pixfmts-pad        |   1 +
>  tests/ref/fate/filter-pixfmts-scale      |   6 +
>  tests/ref/fate/filter-pixfmts-transpose  |   4 +
>  tests/ref/fate/filter-pixfmts-vflip      |   6 +
>  19 files changed, 254 insertions(+), 65 deletions(-)
>  create mode 100644 tests/ref/fate/filter-pixdesc-p012be
>  create mode 100644 tests/ref/fate/filter-pixdesc-p012le
>  create mode 100644 tests/ref/fate/filter-pixdesc-xv30le
>  create mode 100644 tests/ref/fate/filter-pixdesc-xv36le
>  create mode 100644 tests/ref/fate/filter-pixdesc-y210le
>  create mode 100644 tests/ref/fate/filter-pixdesc-y212le
> 

Series pushed. Thanks.

--phil