Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
libtizonia: add a specialised processor class for filters #70
There is a bit of common functionality that is always required in every filter component (e.g. decoders, encoders). It will be useful to abstract this logic as methods of a new class, a filter processor class (e.g.: tizfilterprc). This way decoders/encoders processing functions can derive from it and re-use this logic.
Typically, the stuff that can be abstracted into the filter processor are things like getters and setters for the in/out header members, the port disable flags and the end of stream flags