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

Philip Langdale philipl at overt.org
Mon Sep 5 08:14:26 EEST 2022


This patch set adds swscale input support for the formats used by vaapi
for high bit depth content that are not already supported:

* 12bit 4:2:0 -> P012
* 12bit 4:2:2 -> Y212
* 10bit 4:4:4 -> XV30
* 12bit 4:4:4 -> XV36

Except for P012 where the code already existed, I've only implemented
it for LE because these formats are only interesting when working with
Intel VAAPI and that will always be a little endian system.

Philip Langdale (4):
  swscale/input: add support for XV36LE
  swscale/input: add support for P012
  swscale/input: add support for XV30LE
  swscale/input: add support for Y212LE

 libswscale/input.c | 224 ++++++++++++++++++++++++++++++---------------
 libswscale/utils.c |   5 +
 2 files changed, 155 insertions(+), 74 deletions(-)

-- 
2.34.1



More information about the ffmpeg-devel mailing list