I saw this article on "re" decoding. http://letsmakerobots.com/node/24031
and gave it a spin on a 16f684 @8mhz , the full quadrature decoding works perfectly and contact bounce has been eliminated on my cheap and nasty 10 for a dollar ebay specials. these had previously defied efforts to eliminate occasional miscounting and direction reversals.