Fix compilation issues.

 * Only build when TARGET_QCOM_MEDIA_VARIANT=caf
 * Update makefiles for media-caf path
 * Add ifdefs for QCOM_BSP features

Change-Id: I5a7c3ce1fd7334cb9af04ee27c6efe0620ebae09
mm-core: Remove double declaration of OMX.qcom.audio.decoder.aac

Change-Id: I0d64cde98ab92c48fe9e70d26724c334f22a79f6
mm-video: Fix compile error on 7x30.

Change-Id: Ia5d25165602eb2ae42ea8ac33248c627b07fed1d
mm-video: venc: Correct a typo in variable name

A kernel variable was to be defined as unsigned long but
it is mistakenly defined as unsigned only, the space is
missing after long. This bug is silent because unsigned
is also a valid data type by itself.
Corresponding to kernel fix, similar correction is done
in userspace code.

Change-Id: Ie58f275149dc9c85553f75e02594113b1a03ddcf
CRs-fixed: 556771
Fix path for including non caf display variant files

Change-Id: Iba960c34c185593bd0afb952a05f603aa5bf0db6
Merge branch 'kk_2.7_rb1.10' of git://codeaurora.org/platform/hardware/qcom/media into cm-11.0
Merge branch 'kk_2.7_rb1.13' of git://codeaurora.org/platform/hardware/qcom/media into cm-11.0
Merge branch 'kk_2.7_rb1.15' of git://codeaurora.org/platform/hardware/qcom/media into cm-11.0
mm-video: Add NO_IOMMU flag and enable it by default for msm8660

Change-Id: Ibb76e4dead9db55619dc7fc64bfd17fa96208dc9
Initial 8x55 mr1 bring up

Change-Id: Ib2830754cd82ed201d51aa457f1b633b7cfabd4c
mm-video:vdec: Video decoder bring-up on 8x55 target

- Set TILE color format for index zero on video port format
- Add ION memory support for video decoder.

Change-Id: Ifef1a15ec7089702c7644fd0e7c1463f81035fc7
mm-core: initial video bring-up on 8x55 target

This change is needed to pick qcom video h/w libraries
for 8x55 target.

Change-Id: Ie6af7da5c30e27c796b2c6827d30682227b825d9
mm-core: Use CM standard QCOM naming for 7x30

Change-Id: I5a253f50f9800ba3419b0908f6a5895ff6615b80
mm-video: vdec: display: Change in screenRefresh interface

Display interface changed to optimise binder transaction.
This change depends on
ChangeID I4db66f2427ecf16d7a6264462ae85815217a16b1

Change-Id: I7f7861e2626fdd32efcfe3a2575a62caed91f8db
mm-video:venc: Add required ION Heap ID for video encoder buffers

- Allocate video encoder buffers from ION_CAMERA_HEAP_ID memory
  for 8x55 target.

Change-Id: If9d4d4d484d53bffe41940a04adf589d7d1a9ebe
mm-video: venc: Don't align chroma on legacy msm7x30 devices

On legacy msm7x30 devices with a 720p max resolution, the alignment
of chroma to 2K for non-camera YUV420SP input causes wrong recording
of 480p video (eg. the video layers are completely disaligned during
playback).

Change-Id: I794bacc2f714a648073b805e8c02bb568d59fc5f
mm-video: vdec: Use GRALLOC_USAGE_PRIVATE_ADSP_HEAP

* GRALLOC_USAGE_PRIVATE_CAMERA_HEAP is deprecated

Change-Id: I1c698f27274adda5972d2de3bfddf7ab7ed9041e
DashPlayer: Fix in DashCodec for Adapative Streaming

Fix in DashCodec for Adaptive Streaming

Change-Id: Ie1e30627c8095a7210ad4e16c96f5f79abff22c6
CRs-fixed: 596767
mm-video: venc: use source stride for color-converting RGB input

 -RGB input may be composed by GPU with an aligned stride
  different from the frame-width.
 -CTS test cases testEncodeDecodeVideoFromSurfaceToSurface720p
  and testVideoEdit720p fails because gralloc-handle
  stride value is not used
 -Extract this stride from gralloc-handle to interpret the buffer

Change-Id: I63fd224e933424e1e8c49a19270545f000a2ebd5
mm-video: vdec: Fix memory leak in color converter.

When OMX is deinitialized, the color converter buffers stay intact, causing the
available memory pool to have less continuous space available.

Change-Id: Icc2d730d540bae153c9fde36a6f4267ff3f9f088