mbox series

[FFmpeg-devel,v4,00/21] clean-up QSV filters

Message ID 20210729052509.30992-1-haihao.xiang@intel.com
Headers show
Series clean-up QSV filters | expand

Message

Xiang, Haihao July 29, 2021, 5:24 a.m. UTC
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.
---
v4:
* Rebase this patchset against the latest master branch
* Don't change the functionality of '-vf vpp_qsv=deinterlace=1'

Haihao Xiang (21):
  lavfi/qsv: use QSVVPPContext as base context in
    vf_vpp_qsv/vf_overlay_qsv
  lavfi/scale_qsv: simplify scale_qsv filter
  lavfi/scale_qsv: don't need variables for constants in FFmpeg
  lavfi/vpp_qsv: add "a", "dar" and "sar" variables
  lavfi/vpp_qsv: handle NULL pointer when evaluating an expression
  lavfi/vpp_qsv: allow special values for the output dimensions
  lavfi/vpp_qsv: factorize extra MFX configuration
  lavfi/vpp_qsv: pass scaling mode to the SDK
  lavfi/vpp_qsv: add vpp_preinit callback
  lavfi/scale_qsv: re-use VPPContext for scale_qsv filter
  lavfi/vpp_qsv: factor common QSV filter definition
  lavfi/scale_qsv: add new options for scale_qsv filter
  lavfi/scale_qsv: add more input / output pixel formats
  lavfi/qsvvpp: avoid overriding the returned value
  lavfi/qsvvpp: set PTS for output frame
  lavfi/vpp_qsv: check output format string against NULL pointer
  lavfi/deinterlace_qsv: simplify deinterlace_qsv filter
  lavfi/deinterlace_qsv: re-use VPPContext for deinterlace_qsv filter
  lavfi/deinterlace_qsv: add async_depth option
  lavfi/deinterlace_qsv: add more input / output pixel formats
  lavfi/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         | 481 ++++++++++++++--------
 7 files changed, 361 insertions(+), 1499 deletions(-)
 delete mode 100644 libavfilter/vf_deinterlace_qsv.c
 delete mode 100644 libavfilter/vf_scale_qsv.c