[Encoder Refactor] Expand MVD table

expand MVD table
and rename some macros