[FFmpeg-devel] [PATCH 0/3] vaapi: switch 8bit 444 format to VUYX
Philip Langdale
philipl at overt.org
Sat Aug 20 04:24:01 EEST 2022
After discussion with Mark, I'm switching the preferred format for 8bit
444 content in vaapi to VUYX, which is the alpha-less variant of VUYA.
This format is formally supported by the driver, so we don't even need
to do any fudging.
I am not removing VUYA because we found another use for it, replacing
the previous requirement to use v408[enc|dec] to work with it.
Philip Langdale (3):
lavu/pixfmt: Introduce VUYX format
libswscale: add support for VUYX format
lavc/vaapi: Switch preferred 8bit 444 format to VUYX
libavcodec/vaapi_decode.c | 4 ++-
libavcodec/vaapi_encode.c | 2 +-
libavcodec/vaapi_encode_h265.c | 3 +-
libavcodec/vaapi_encode_vp9.c | 3 +-
libavutil/pixdesc.c | 12 ++++++++
libavutil/pixfmt.h | 2 ++
libavutil/tests/pixfmt_best.c | 1 +
libswscale/input.c | 10 ++++---
libswscale/output.c | 35 +++++++++++++++++++++---
libswscale/utils.c | 1 +
tests/ref/fate/filter-pixdesc-vuyx | 1 +
tests/ref/fate/filter-pixfmts-copy | 1 +
tests/ref/fate/filter-pixfmts-crop | 1 +
tests/ref/fate/filter-pixfmts-field | 1 +
tests/ref/fate/filter-pixfmts-fieldorder | 1 +
tests/ref/fate/filter-pixfmts-hflip | 1 +
tests/ref/fate/filter-pixfmts-il | 1 +
tests/ref/fate/filter-pixfmts-null | 1 +
tests/ref/fate/filter-pixfmts-pad | 1 +
tests/ref/fate/filter-pixfmts-scale | 1 +
tests/ref/fate/filter-pixfmts-transpose | 1 +
tests/ref/fate/filter-pixfmts-vflip | 1 +
tests/ref/fate/imgutils | 1 +
tests/ref/fate/pixfmt_best | 2 +-
tests/ref/fate/sws-pixdesc-query | 3 ++
25 files changed, 76 insertions(+), 15 deletions(-)
create mode 100644 tests/ref/fate/filter-pixdesc-vuyx
--
2.34.1
More information about the ffmpeg-devel
mailing list