simplify encoder interface and remove EncoderFrame2

simplify encoder interface configure
1. remove EncoderFrame2 from interface function.
2. only one source data as input.if the user sets multiple spacial layers, VP will do down-sampling