remove some compile warnings
remove pre_state pointer
vadstat not use pointer anymore
remove plsfState pointer
remove lots of pointers
remove all encoder pointer