mm-core: Add MPEG-2 extension and user data types

With this commit, OMX_ExtraDataMP2ExtnData and
OMX_ExtraDataMP2UserData eTypes are added to support
MPEG-2 extra data types.

Change-Id: Iffd6e216d9f6fdf30f6a99410c353a37bbe14dc7
mm-video: vidc: Add support for Smooth streaming for secure mode playback.

    -When secure playback enabled, extra data parsing can't be done to
      find new resolution.

    -This change will add the extension index required for
      Smooth Streaming for both secure and non secure mode video playback.

Change-Id: Ifbab34b3f56a7054a62588bacd618c0f68eddc5b
CRs-Fixed: 368333
mm-core: Add support for Smooth streaming for secure mode playback.

   - This change will add the extension index required for

   - Smooth Streaming for both secure and non secure mode video playback.

Change-Id: I461a0267d0d1ef8524d5db9330b23b7108616640
CRs-Fixed: 368333
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
use with legacy qcom display
libc2dcolorconvert: update display header path
Build with kernel headers and CLANG

Signed-off-by: helicopter88 <johnlemon.lol@gmail.com>