[FFmpeg-devel] [PATCH 00/22] clean-up QSV filters

Haihao Xiang haihao.xiang at intel.com
Fri May 14 07:53:38 EEST 2021


This patchset clean up scale_qsv and deinterlace_qsv filters, and take
the two filters as the special cases of vpp_qsv, so vf_scale_qsv.c and
vf_deinterlace_qsv.c can be deleted from FFmpeg. In addition, a few
small features are added in this patchset. 

Haihao Xiang (22):
  lavf/qsv: use QSVVPPContext as base context in
    vf_vpp_qsv/vf_overlay_qsv
  lavf/scale_qsv: simplify scale_qsv filter
  lavf/scale_qsv: don't need variables for constants in FFmpeg
  lavf/vpp_qsv: add "a", "dar" and "sar" variables
  lavf/vpp_qsv: handle NULL pointer when evaluating an expression
  lavf/vpp_qsv: allow special values for the output dimensions
  lavf/vpp_qsv: factorize extra MFX configuration
  lavf/vpp_qsv: pass scaling mode to the SDK
  lavf/vpp_qsv: add vpp_preinit callback
  lavf/scale_qsv: re-use VPPContext for scale_qsv filter
  lavf/vpp_qsv: factor common QSV filter definition
  lavf/scale_qsv: add new options for scale_qsv filter
  lavf/scale_qsv: add more input / output pixel formats
  lavf/vpp_qsv: double the framerate for deinterlacing
  lavf/qsvvpp: avoid overriding the returned value
  lavf/qsvvpp: set PTS for output frame
  lavf/vpp_qsv: check output format string against NULL pointer
  lavf/deinterlace_qsv: simplify deinterlace_qsv filter
  lavf/deinterlace_qsv: re-use VPPContext for deinterlace_qsv filter
  lavf/deinterlace_qsv: add async_depth option
  lavf/deinterlace_qsv: add more input / output pixel formats
  lavf/vpp_qsv: allow user to set scaling mode for vpp_qsv filter

 libavfilter/Makefile             |   4 +-
 libavfilter/qsvvpp.c             |  57 ++-
 libavfilter/qsvvpp.h             |  11 +-
 libavfilter/vf_deinterlace_qsv.c | 611 ---------------------------
 libavfilter/vf_overlay_qsv.c     |  11 +-
 libavfilter/vf_scale_qsv.c       | 685 -------------------------------
 libavfilter/vf_vpp_qsv.c         | 474 +++++++++++++--------
 7 files changed, 353 insertions(+), 1500 deletions(-)
 delete mode 100644 libavfilter/vf_deinterlace_qsv.c
 delete mode 100644 libavfilter/vf_scale_qsv.c

-- 
2.25.1



More information about the ffmpeg-devel mailing list