Replace libI420colorconvert with libc2dcolorconvert

Change-Id: If2c29f3f69f140aa724269ec6ebab93f1a47203a
Fix build with new C2D color converter
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
mm-core: Add kKeySmoothStreaming

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

Change-Id: I0aa6978eaad25418260114fdad94d3294a0205c7
mm-video: Use actual kernel headers for all builds

This reverts commit ba9e6c47df3b8408880b0591ebc0641a0c3d9eae.

Change-Id: Ic8e2febd74c77e119cd95ffd9a4cd9bdb239f7e4

Conflicts:
	mm-video/vidc/vdec/Android.mk
	mm-video/vidc/venc/Android.mk
misc kitkat and other changes from various sources
make necessary changes for media-legacy

Change-Id: I1d921e61a1920d6bd39692caf6de683b4e2f310e
missed a few things for media-legacy

Change-Id: I8d5189cc2320fd991760366188ea1b174fc7ba01
Revert "mm-core: Add key for HFR encoding"

This reverts commit a983eede4af380321c411d3cf1b95c7c446113b1.
Revert "mm-core: Add kKeySmoothStreaming"

This reverts commit 9d4b717a3972448ee6c675bdaf33dd0292b235d9.
mm-video: Add the ability to use PMEM while using TARGET_USES_ION := true
Revert "mm-video: Add the ability to use PMEM while using TARGET_USES_ION := true"

This reverts commit 16ff8a6a2e3559bed6117239e645498a8d0d3692.
mm-video: port heap mask change to ion.
mm-video: include msm_ion.h instead of ion.h
mm-video: Add the ability to use PMEM for encoding while using ION.
Merge branch 'cm-11.0' of https://github.com/paulb-nl/android_hardware_qcom_media-legacy into cm-11.0