fix some bugs of EC
use the parameters set by app instead of the default values
Remove useless code
Merge pull request #763 from huili2/ec_bug_fix

fix some bugs of EC
Merge pull request #764 from dongzha/Deblock

Remove useless code
remove typedef.h
Merge pull request #765 from lyao2/scrollingUT

fix re-define issue
Merge pull request #768 from ruil2/enc_param

use the parameters set by app instead of the default values
fix the issue that long term reference frame is disable for screen
Merge pull request #769 from ruil2/enc_screen_1

fix the issue that long term reference frame is disable for screen