mm-video: vidc: Try to open secure video decoder again.

Try to open secure video decoder again if first
open fails.

CRs-Fixed: 380161
(cherry picked from commit e1cc857273d078b6a30f9f171564e95fe017935f)

Change-Id: I276b0bd62dbd4def6b8d6a99a4a263c304fa3c06
mm-video: vidc: suppress non-fatal error messages.

These messages are non-fatal and appear frequently
during the video session. Hence suppressing them.

CRs-Fixed: 389408
(cherry picked from commit 21459ebf9bdc1fb22e5af62dcd4678eca7607474)

Change-Id: Iee1d87baadc626310b1463ae26951fd9305397e2
vidc: Align ion buffer length before allocating it

Align buffer legnth to the required alignment before
allocating it to resolve mmap issue for ion memory
allocations on kernel 3.0 version.

(cherry picked from commit f0324d92bc4611ee8b65763ffd5d6fb6151abe11)

Change-Id: I354918e29188d935c124447a341093d6486bfc95
mm-core: 7630: Remove the qcom mp3 decoder from Android

Remove the hardware Qcom MP3 decoder from Android registry
table.

Change-Id: Ida1c9a9b9b70456394f8037ac42f5ba33fd4a0f1
mm-video:vdec: add H264 start code parsing support

This commit will add H264 start code parsing support
for H264 decoder in omx video decoder test application.

(cherry picked from commit 95aaf086e974f1bee2a6247adc93665c4d803da0)

Change-Id: I61b30c7384f149428a508b263bb1be5d32f3790a
Use CM standard qcom naming

Change-Id: Ic04f17425f36ca29d530ef1ef30404c2e811923e
mm-core: Add QC specific MetaData and MediaDefs

- to integrate extened extractor with existing framework
  new QC specific MetaData and MediaDefs are required.
- create new files to avoid changing stock MetaData and
  MediaDefs file

Change-Id: If32e182337fa4be8b039367729ffa6cecefd8115
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
Revert "mm-video: Use actual kernel headers for all builds"

This reverts commit 2ab282b22d58f9cacc8fad1daba321b5d0c9fd01.
Revert "mm-core: Add key for HFR encoding"

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

This reverts commit 9d4b717a3972448ee6c675bdaf33dd0292b235d9.
Revert "Revert "mm-core: Add key for HFR encoding""

This reverts commit fe581b022646a89deb4fcb0787944da000698c51.

Conflicts:
	mm-core/inc/QCMetaData.h
Revert "Revert "mm-core: Add kKeySmoothStreaming""

This reverts commit 2be81ce9b676a63c2a4d9b8c27780920c54e9c62.

Conflicts:
	mm-core/inc/QCMetaData.h
Merge branch 'cm-10.1' of github.com:yanniks/android_hardware_qcom_media into cm-10.2

Conflicts:
	Android.mk
	mm-core/inc/QCMetaData.h