copy typedefs.h to encoder & decoder's inc directory.