libavfilter/vf_yadif: Make frame management logic and options shareable
authorPhilip Langdale <philipl@overt.org>
Wed, 24 Oct 2018 18:52:42 +0000 (11:52 -0700)
committerPhilip Langdale <philipl@overt.org>
Fri, 2 Nov 2018 18:24:05 +0000 (11:24 -0700)
commit598f0f39271d6033588b4d8ccc672c5bdc85fec7
tree4450a872e639537fab7432d7f4d7c73c3da58ed1
parentef1aadffc785b48ed62c45d954289e754f43ef46
libavfilter/vf_yadif: Make frame management logic and options shareable

I'm writing a cuda implementation of yadif, and while this
obviously has a very different implementation of the actual
filtering, all the frame management is unchanged. To avoid
duplicating that logic, let's make it shareable.

From the perspective of the existing filter, the only real change
is introducing a function pointer for the filter() function so it
can be specified for the specific filter.
libavfilter/Makefile
libavfilter/vf_yadif.c
libavfilter/yadif.h
libavfilter/yadif_common.c [new file with mode: 0644]