[FFmpeg-devel] [PATCH 0/3] V2: VAAPI: Add high bit depth encode/decode support

Philip Langdale philipl at overt.org
Mon Aug 15 00:33:10 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.

* Updated to add change to support Vulkan mapping.

Philip Langdale (3):
  lavu/pixfmt: Add Y216, Y410, and Y416 formats
  lavc/vaapi: Add support for remaining 10/12bit profiles
  lavu/hwcontext_[vaapi|vulkan]: support mapping VUYA and Y416

 libavcodec/hevcdec.c             |  8 ++++
 libavcodec/vaapi_decode.c        | 13 ++++++
 libavcodec/vaapi_encode.c        | 19 ++++++--
 libavcodec/vaapi_encode_h265.c   | 10 ++++-
 libavcodec/vaapi_encode_vp9.c    |  4 +-
 libavcodec/vaapi_hevc.c          | 11 ++++-
 libavutil/hwcontext_vaapi.c      | 16 +++++++
 libavutil/hwcontext_vulkan.c     |  6 +++
 libavutil/pixdesc.c              | 77 +++++++++++++++++++++++++++++++-
 libavutil/pixfmt.h               | 12 +++++
 tests/ref/fate/imgutils          |  6 +++
 tests/ref/fate/sws-pixdesc-query | 25 +++++++++++
 12 files changed, 198 insertions(+), 9 deletions(-)

-- 
2.34.1



More information about the ffmpeg-devel mailing list