refactor code by using common function
--prepareEncDecParam
--EncodeOneFrame
Merge branch 'APIUT_V1' of github.com:shihuade/openh264 into APIUT_V1