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
Conditionally revert Adaptive playback commits

Dashplayer: enable adaptive playback based on codec format key
mm-video: vdec: Support adaptive playback mode
mm-video: vidc: set stride in gralloc-metadata for adaptive-playback

This fixes netflix playback on several devices.
Set TARGET_NO_ADAPTIVE_PLAYBACK := true to use

Change-Id: Ie68fb9f8ec2122f2fc6e6654d9fdbc773dff509a
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
Merge remote-tracking branch 'cm/cm-11.0' into kk-4.4
media-caf: update includes to point to correct location
media-caf: Add TARGET_QCOM_MEDIA_VARIANT filtering

Only build if it's set to caf

Change-Id: Ia4fa6130bcb0653a88584b9dff7aef33716a01e0
Fix handling of display vs. display-caf

Originally written by Steve Kondik at
https://github.com/CyanogenMod/android_hardware_qcom_media-caf/commit/5234181ec526471bdacadd876cc202b65c53035b

Reworked to only handle deltas between display and display-caf

Change-Id: Ia47e55f46e07266d18854f29bae7aec4903288d6
media-caf: fix 7x27a support

Conflicts:

	Android.mk

Change-Id: I4c09352698ca432ed69832f3932552f48ef1616a