Change makefiles for qcom legacy

Change-Id: Ide4d145f406bc73231bb32d8c2454d3e794cad0a
Replace libI420colorconvert with libc2dcolorconvert

Change-Id: If2c29f3f69f140aa724269ec6ebab93f1a47203a
mm-video: Use actual kernel headers for all builds
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
ifdef using actual kernel headers during build

for backwords compatibility for display trees that still use prebuilt headers
(e.g. msm7x30-common)

Change-Id: I8deda52609212b9f21f6a2331324181081793049
Revert "mm-video : Switch back to ion.h from kernel sources."

This reverts commit 5ea449545d360e028207a5bf3932c16c81fd450e.
fix whitespace errors

Change-Id: Idcfe12316ed83fa2fa5d3e82501544d44f595523
fixup

Change-Id: I6a4656fc17e18ad6474c4de636e9437d48e01e1c
fix compile error with CM-10.2

Change-Id: Ic171e0c081c59dd1df958fe0affcd03786fe9d34
Revert "fixup"

This reverts commit a25d786a56a53198b29fcf7647ee1431a56c9158.
fix kernel includes
Merge pull request #2 from ProBean/cm-10.2

fix kernel includes
Added missing files to allow building with media-legacy devices

Change-Id: I7fb842f2437c81f164bf0cdfe7e7cfd2bcee44ad
libc2dcolorconvert: add include for kernel headers
remove
mm-core: Add QC specific MetaData and MediaDefs
Disable excessive debugging messages
Merge pull request #3 from Slim-glacier/cm-10.2
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