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

Philip Langdale philipl at overt.org
Sat Nov 10 19:46:39 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.

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(-)


More information about the ffmpeg-devel mailing list