libc2dcolorconvert: add include for kernel headers

The header msm_kgsl.h is needed.

Change-Id: Ic3ad83a7e80b99d848174fa047843a69a382cc54
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Add missing stuff that causes compile errors

Change-Id: I93036781cab1d81d8e22a626d61348b71203380b
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
Allow usage of kernel headers

Change-Id: Ie8ede5469ebd15f108588609f9664518c960a026
vidc: Use O_SYNC for pmem device.

Necessary as usageflags are indicates an uncached
device. Without O_SYNC buffers become corrupt leading to
HW_ERRORS in vidc.

This commit will hopefully fix the video playback issue.

Change-Id: I2fe8d1ce6b8aa93c608c0fb41f94b6f0484a42c2
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
use the MetadataBufferType defined in frameworks/native

Change-Id: Ifb56622b7d0464e683882ef5b7c89e6dc5c8a097
Signed-off-by: Lajos Molnar <lajos@google.com>