msm: vidc: TP10 colorformat for encoder

Addition of TP10 colorformat on the OUTPUT port of encoder to
enable 10bit encoding. Also, calculation of YUV sizes for both
decoder and encoder is removed from individual files and moved
to a common file.

CRs-Fixed: 2016190
Change-Id: I502c4f70033b9979e49d35c78368c088d4dc82bb
Signed-off-by: Umesh Pandey <umeshp@codeaurora.org>
4 files changed