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

refator for API test--prepareEncDecParam and EncodeOneFrame