Camera patch

connect camera with yami encode
fix encode quality issue because input data and surface format doesn't match
If user set camra mode,  we can dynaimc_cast EncodeStreamInput to EncodeStreamInputCamera and set mode there. If dynamic_cast failed, it's mean base class is EncodeStreamInputFile, we can report an error.
Not so much code added in this case and it makes interface more clear.