msm: vidc: Take into account rotation during downscaling checks

When rotation is 90/270, flip the output width & height, so
that the correct parameters are compared. Current checks of
width/height limits for downscaling do not account for
rotation. As a result, rotation of 90/270 results failure.

Change-Id: I8937216ac97eb781a06b00d3f849443621dbcc31
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
1 file changed