[FFmpeg-devel] [PATCH 0/3] V4: VAAPI: Add high bit depth encode/decode support
Philip Langdale
philipl at overt.org
Tue Aug 16 08:02:53 EEST 2022
This changeset fills in support for the remaining high bit depth
formats the VAAPI exposes. This requires adding more weird Microsoft
pixel formats and then mapping them in the VAAPI code. I've also
enabled hw mapping between VAAPI and vulkan for sufficiently simple
formats.
* V2: Added vaapi/vulkan mapping support
* V3: Updated to use explicit 12bit pixel formats after I learned tha
the driver supports them and doesn't force the use of 16bit formats.
* V4: Fixed incorrect chunk in wrong change
Philip Langdale (3):
lavu/pixfmt: Add P012, Y212, Y410, and Y412 formats
lavc/vaapi: Add support for remaining 10/12bit profiles
lavu/hwcontext_[vaapi|vulkan]: support mapping VUYA, P012, and Y412
libavcodec/hevcdec.c | 8 +++
libavcodec/vaapi_decode.c | 13 ++++
libavcodec/vaapi_encode.c | 10 ++-
libavcodec/vaapi_encode_h265.c | 6 +-
libavcodec/vaapi_encode_vp9.c | 4 +-
libavcodec/vaapi_hevc.c | 11 +++-
libavcodec/vp9.c | 2 +
libavutil/hwcontext_vaapi.c | 21 +++++++
libavutil/hwcontext_vulkan.c | 10 +++
libavutil/pixdesc.c | 101 ++++++++++++++++++++++++++++++-
libavutil/pixfmt.h | 16 +++++
tests/ref/fate/imgutils | 8 +++
tests/ref/fate/sws-pixdesc-query | 42 +++++++++++++
13 files changed, 246 insertions(+), 6 deletions(-)
--
2.34.1
More information about the ffmpeg-devel
mailing list