add iBitsVaryPercentage parameters to control bitrate
use iBitsVaryPercentage passed by the app instead of the macro
Merge pull request #1568 from ruil2/cleanup

add iBitsVaryPercentage parameters to control bitrate