pipeline controller for encoders