[FFmpeg-devel] [PATCH 0/2] Update vf_bwdif to use yadif_common v2

Philip Langdale philipl at overt.org
Sun Nov 11 21:47:11 EET 2018


vf_bwdif's frame management logic is almost identical to that of yadif.
The only difference is that it tracks the first and last fields in a
sequence, and that requires slight changes to the common code.

Assuming it's reasonable to do that tracking even though yadif doesn't
need it, we can then remove all the duplicated logic.

v2: Rename enum values as recommened by Thomas Mundt.

Philip Langdale (2):
  avfilter/yadif_common: Add field type tracking to help bwdif
  avfilter/vf_bwdif: Use common yadif frame management logic

 libavfilter/bwdif.h             |  34 +----
 libavfilter/vf_bwdif.c          | 235 +++++---------------------------
 libavfilter/x86/vf_bwdif_init.c |   3 +-
 libavfilter/yadif.h             |  14 ++
 libavfilter/yadif_common.c      |  12 +-
 5 files changed, 64 insertions(+), 234 deletions(-)

-- 
2.19.1



More information about the ffmpeg-devel mailing list