Remove an unused constant
Rename some decoder tables to match the name used in the encoder
Rename data types in the decoder to match the name used in the encoder
Rename a decoder macro to the name used in the encoder
Move common tables and definitions into the common library
Merge pull request #1046 from mstorsjo/share-tables

Share some tables and definitions between the encoder and decoder