libc2dcolorconvert: add include for kernel headers

The header msm_kgsl.h is needed.

Change-Id: Ic3ad83a7e80b99d848174fa047843a69a382cc54
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
mm-core: Add support for Smooth streaming for secure mode playback.

   - This change will add the extension index required for
   - Smooth Streaming for both secure and non secure mode video playback.

Change-Id: I351b5c68702fc2dd83d50801b9bee7f8744c31b6
CRs-Fixed: 451786
mm-video: vidc: Add support for Smooth streaming for secure mode playback.

    -When secure playback enabled, extra data parsing can't be done to
      find new resolution.
    -This change will add the extension index required for
      Smooth Streaming for both secure and non secure mode video playback.

Change-Id: I65be81b9593879466d0398ff593e4b806db5f940
CRs-Fixed: 451786
mm-core: Add kKeySmoothStreaming

Change-Id: I93036781cab1d81d8e22a626d61348b71203380b
mm-core: Add key for HFR encoding

Change-Id: I0aa6978eaad25418260114fdad94d3294a0205c7
mm-video: venc: Align chroma to 2K for non-camera YUV420SP input

Encoder has a hard-requirement of 2K alignment of UV plane.
Apps and other non-camera sources (not aware of this alignment)
will queue YUV420SP buffers, which need an explicit alignment

Change-Id: I9d23fc6c0fb935bc8d20e3e454e80272d6188652
mm-video: venc: Distinguish between normal NV12 and aligned NV12

Encoder has a hard-requirement of 2K alignment of UV plane.
Apps and other non-camera sources (not aware of this alignment)
will queue YUV420SP buffers, which need an explicit alignment.
But for some other apps(e.g VT) that are aware that the component
wants aligned NV12 and would align it themselves, causing the component
to muck up the buffer by realigning it.

To prevent the confusion, the component now makes a distinction between
NV12 (OMX_COLOR_FormatYUV420SemiPlanar) and aligned NV12 (QOMX_COLOR_\
FORMATYUV420PackedSemiPlanar32).  Clients who prefer to provide aligned
buffers will now set the latter as the input port format.

Change-Id: I73c337660fb825e9b267663266fd4b9d6e35443e
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
Revert "Revert "mm-video: Add support for ouput buffers color conversion.""

This reverts commit 739180ea8e8698c18588a5312d8f1c40d4500e04.
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
Revert "Revert "mm-video: vidc: Allow client to request inband video header""

This reverts commit b0bbcb173bc046b7aa95ca1fddbcfd7e3943ead7.

Conflicts:
	mm-core/inc/OMX_QCOMExtns.h
Revert "Revert ION heap_mask changes"

This reverts commit e9cf7c054498a7691a538e53f4bcaf3cfd224a40.
Merge remote-tracking branch 'origin/cm-10.2' into cm-10.2
Update Android.mk