Also at this PIC:

http://www.microchip.com/wwwproducts...cName=en010291

It has Qudrature Encoder Interface and hardware filters too!

Ioannis