[FFmpeg-devel] [PATCH 0/7] Add decoding/encoding support for QSV HEVC REXT

Linjie Fu linjie.fu at intel.com
Wed Dec 4 16:37:34 EET 2019


Add decoding support for:
    4:2:2  8 bit: yuyv422
    4:2:2 10 bit:    y210
    4:4:4  8 bit:    0yuv
    4:4:4 10 bit:    y410

Add encoding support for:
    4:4:4  8 bit:    0yuv
    4:4:4 10 bit:    y410

Linjie Fu (7):
  lavu/pixfmt: add new pixel format 0yuv/y210/y410
  swscale: Add swscale and fate support for 0YUV
  swscale: Add swscale input support for Y210
  lavu/hwcontext_vaapi: add vaapi_format_map support for 0YUV/Y210/Y410
  qsv: get FrameInfo.Shift by desc->comp[0].shift
  lavc/qsv: Add decoding support for HEVC Range Extension
  lavc/qsvenc: Add support for 4:4:4 8/10 bit HEVC REXT encoding

 libavcodec/qsv.c                         | 26 ++++++++++++
 libavcodec/qsvenc.c                      |  8 ++--
 libavcodec/qsvenc_hevc.c                 |  1 +
 libavutil/hwcontext_qsv.c                | 41 +++++++++++++++++-
 libavutil/hwcontext_vaapi.c              |  7 +++
 libavutil/pixdesc.c                      | 60 ++++++++++++++++++++++++++
 libavutil/pixfmt.h                       |  9 ++++
 libavutil/version.h                      |  4 +-
 libswscale/input.c                       | 73 ++++++++++++++++++++++++++++++++
 libswscale/output.c                      | 50 ++++++++++++++++++++++
 libswscale/swscale_unscaled.c            | 40 +++++++++++++++++
 libswscale/utils.c                       |  3 ++
 libswscale/version.h                     |  2 +-
 tests/ref/fate/filter-pixdesc-0yuv       |  1 +
 tests/ref/fate/filter-pixfmts-copy       |  1 +
 tests/ref/fate/filter-pixfmts-crop       |  1 +
 tests/ref/fate/filter-pixfmts-field      |  1 +
 tests/ref/fate/filter-pixfmts-fieldorder |  1 +
 tests/ref/fate/filter-pixfmts-hflip      |  1 +
 tests/ref/fate/filter-pixfmts-il         |  1 +
 tests/ref/fate/filter-pixfmts-null       |  1 +
 tests/ref/fate/filter-pixfmts-pad        |  1 +
 tests/ref/fate/filter-pixfmts-scale      |  1 +
 tests/ref/fate/filter-pixfmts-transpose  |  1 +
 tests/ref/fate/filter-pixfmts-vflip      |  1 +
 tests/ref/fate/sws-pixdesc-query         | 18 ++++++++
 26 files changed, 347 insertions(+), 7 deletions(-)
 create mode 100644 tests/ref/fate/filter-pixdesc-0yuv

-- 
2.7.4



More information about the ffmpeg-devel mailing list