media: Only build when no variant is set

Change-Id: I4363e0c9163050932a52711d080b0957e1d5925c
Use actual kernel headers and display-caf paths if defined

Change-Id: I7338867f6eb4d88b33b610a2b2f93280ed6e71bc
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: 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 tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1
media: fix msm8660 omx issue

for msm8660: previous code lost libOmxVdec.so & libOmxVenc.so , now fixed it!

Change-Id: Ie6db1be912f0411bca47e9bfba9d0b7053febb18
mm-video: venc: restrict codec level based on target specific macro

Without this change, call for supported codec levels for
different codec profile returned same for different chipset.

The change will now return different codec levels supported
for different chipset.This change will fix CTS case.

Change-Id: I2da19265b5b9360aae363b2b43fe83b8f007fc96
CRs-Fixed: 572716
vidc: venc: Add support for AVCProfileConstrainedBaseline

This change adds AVCProfileConstrainedBaseline profile
support for H264 encoder. OMX Client can now set this
profile to get required profile settings in SPS NAL unit
from video component.

CRs-Fixed:525412

Change-Id: Id15f620cd3a39b199b2750db92ac1c23bc083c88