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

Philip Langdale philipl at overt.org
Tue Sep 6 22:58:18 EEST 2022


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

-- 
2.34.1



More information about the ffmpeg-devel mailing list