msm: vidc: Add support for encoder scaling

Venus FW supports upscaling and downscaling for encoder.
The supported scaling ratios are returned from Venus FW
as part of session_init_done message. Driver needs to
make sure that the scaling ratios are within the range.
This change adds the scaling support for encoder.

Change-Id: Ibf158cf35e93c45dd89715845a549871146a8eea
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
5 files changed