mbox series

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

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

Message

Xiang, Haihao May 14, 2021, 4:53 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. 

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

Comments

Anton Khirnov May 14, 2021, 8:19 a.m. UTC | #1
'lavf' means libavformat, 'lavfi' is used for libavfilter
Xiang, Haihao May 17, 2021, 2:11 a.m. UTC | #2
On Fri, 2021-05-14 at 10:19 +0200, Anton Khirnov wrote:
> 'lavf' means libavformat, 'lavfi' is used for libavfilter
> 

Thanks for catching this error, I will update the commit log. 

Regards
Haihao