Use TARGET_QCOM_MEDIA_VARIANT flag

Needed after http://review.cyanogenmod.org/51031
Use the same logic as caf variant

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I445350621307363dfebca9fb7e4b32c6c0a459b0
mm-video: vdec: Update output buffer count in thumbnail mode

This change updates the output buffer requirements when thumbnail mode
is enabled. In thumbnail mode the required output buffers equal to 1.
Output Buffer required for thumbnail mode were not updated earlier from
the driver as a result of which allocating memory for default buffer
count failed and thumbnail were not shown for some file formats.

Change-Id: I607a5b0e3bfcad8056ff71557db50d0e268cf348
CRs-Fixed: 513180
mm-core: Add hevc coding type in mm-core

This change adds the hevc coding type to mm-core.

Change-Id: Icb2a91805061d149d5fcc160928cdec8ca0e5647
QCMetaData: Add key for interlace

key for interlace set in metadata is being used for thumbnail mode.
If the key is set, two ETB are send to the decoder

Change-Id: I1e4e996f46f022916ab5f4f14ff2c111f04717c1
mm-video: Fix issue with port reconfiguration specific clip

This change fixes the issue of UI freeze during the
playback of multiple resolution change specific clips
through decoder test app.

CRs-fixed: 476934
Change-Id: Ia5572482073bd743b641319ee246cb483bc1917e
mm-video: vdec: Convey crop information from driver to client

Crop information about uncompressed buffers need to be
conveyed to client to appropriately select the region
to display. This change takes care of this.

Conflicts:

	mm-video/vidc/vdec/src/omx_vdec.cpp

Change-Id: I1ddd129753ad3f6464ea415ded0a61f3b7c9bad6
Merge branch 'cm-10.2' of https://github.com/arco/android_hardware_qcom_media-legacy into cm-10.2