Implementation of a line detecting processing chain on a Texas Instrument C6000 series DSP