Project

General

Profile

Task #11289

Milestone #10477: ANUB Startup

Support chaining together filter chains

Added by John Diamond almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
12/22/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Duration:

Description

Perhaps a SpliceFilter that passes the sample through a previously defined filter chain.

History

#1 Updated by John Diamond almost 5 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Implemented SpliceFilter.
Configured I:BCDCCT and R:BCDCCT to splice in I:DCCT and R:DCCT filter chains instead of re-implementing them.

This implementation is a little naive due to time constraints. Because each AbstractFilter implementation may contain it's own state, SpliceFilter should (ideally) make a copy of the spliced-in ChainFilter and pass the processed sample through the copied filter chain. This implementation just calls get() on the spliced-in filter chain in it's process() method instead of passing through the sample. This means it's only effective at the beginning of the chain - good enough for now...



Also available in: Atom PDF