msm: vidc: Add sanity check for resolutions

Venus HW supports only YUV420 encode\decode. Encode
session can't support odd dimensions in both height
and width but decoder can support same. Add a check
to prevent this setting to HW.

Change-Id: Idcddc493f7222ee18dbed7d39a0699c3124ded3f
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
1 file changed