modify the encoder interface

complete the functions under the bit rate and frame rate setting interfaces