[mythtv] [PATCH] New filter API, first patch against CVS.
Andrew Mahone
andrewmahone at eml.cc
Fri Oct 31 10:10:40 EST 2003
This patch adds the FilterManager and FilterChain classes in libmythtv, and
makes the necessary changes to NuppelVideoRecorder, NuppelVideoPlayer, and
all VideoOut classes to use the new filter API. It also includes an updated
filters/README for the new interface, and ports to the new API for all
filters currently in CVS. The existing filters load and run on my machine,
and existing filter settings should work without any changes.
There are a few things left to do before it's complete, but it already
provides all of the filter functionality which existed with the previous
interfaces. The capture format selection code is written, but untested,
because there are currently no filters which will request a format other than
YV12. FilterManager expects a filter named "convert" to exist, which it will
insert when it can not connect the supported formats of two filters. This
filter does not yet exist, but it is not yet possible to construct a filter
chain which needs it. Filters can not output frames which are larger than
the input frame, until I add some code to make sure the buffers are large
enough for the largest frame size and format in the filter chain.
These issues are all on my TODO list, but I'm releasing the patch now because
it is already complete as a working replacement to the old filter API. I'll
try to get the extra features working next. The patch is attached, bzipped
for size.
--
Andrew Mahone
andrewmahone AT eml DOT cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-filterapi.patch.bz2
Type: application/x-bzip2
Size: 13891 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031031/89cc2825/mythtv-filterapi.patch-0001.bin
More information about the mythtv-dev
mailing list