[FFmpeg-devel] [PATCH 0/3] V5: VAAPI: Add high bit depth encode/decode support
Philip Langdale
philipl at overt.org
Fri Aug 26 05:17:33 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.
V5: Switched to using alpha-less variants of Y410 and Y412 (called XV30
and XV36 in libdrm) to avoid forcing the overhead of alpha handling
in situations where it can't actually be used.
Philip Langdale (3):
lavu/pixfmt: Add P012, Y212, XV30, and XV36 formats
lavc/vaapi: Add support for remaining 10/12bit profiles
lavu/hwcontext_vulkan: support mapping VUYX, P012, and XV36
libavcodec/hevcdec.c | 8 +++
libavcodec/vaapi_decode.c | 13 +++++
libavcodec/vaapi_encode.c | 4 ++
libavcodec/vaapi_encode_h265.c | 4 ++
libavcodec/vaapi_encode_vp9.c | 1 +
libavcodec/vaapi_hevc.c | 11 +++-
libavcodec/vp9.c | 2 +
libavutil/hwcontext_vaapi.c | 25 +++++++++
libavutil/hwcontext_vulkan.c | 10 ++++
libavutil/pixdesc.c | 95 +++++++++++++++++++++++++++++++-
libavutil/pixfmt.h | 16 ++++++
tests/ref/fate/imgutils | 8 +++
tests/ref/fate/sws-pixdesc-query | 38 +++++++++++++
13 files changed, 233 insertions(+), 2 deletions(-)
--
2.34.1
More information about the ffmpeg-devel
mailing list