mbox series

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

Message ID 20220905051430.218289-1-philipl@overt.org
Headers show
Series swscale/input: Add support for new VAAPI formats | expand

Message

Philip Langdale Sept. 5, 2022, 5:14 a.m. UTC
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(-)