refator for API test--prepareEncDecParam and EncodeOneFrame
Merge pull request #1398 from shihuade/APIUT_V1

refator for API test--prepareEncDecParam and EncodeOneFrame
Merge remote-tracking branch 'upstream/master' into travis.osx