mm-core: Adding Google extensions for Graphic Buffers.

Adding Google extensions to enable and use graphic
buffers on output port of Openmax video components

Change-Id: I7b6368f7096e9ead5908d3d74f1ffe128257ce45
omxcore: Adding drmplay version information through a shared header file

- Modified registry entries in 7630 and 8660 registry tables.

CRs-fixed: 281304
(cherry picked from commit 2513992a125dc1b4e63fbe732d24e4e7487e1885)

Change-Id: Id5ea0f2fb74730ffca112c809fc8b622e90d75dc
Merge "mm-core: Adding Google extensions for Graphic Buffers." into gingerbread_house
mm-core: Protecting "core" static structure.

"core" can be shared across threads/processes
so we need to protect this structure.
Also removed FreeHandle calls in OMX_Deinit as
they may cause issues when one client is using
the library and other calls OMX_Deinit.

(cherry picked from commit 343a8a1971aed31e7ef91122daaed4b635fa0844)

Change-Id: I978f75006b2f1b1f60e84006bf1ebc8526fbdb8e
mm-core: Keeping deinit function out of lock.

Some clients deinit openmax component inside
the deinit of another openmax component, so
moving deinit out of the locks to avoid
deadlock.

CRs-fixed: 287559
(cherry picked from commit f8226d27e075a576814d5074ea31d3e42c0bccf8)

Change-Id: Ic6e6fcf24fdb263da21c96c31fe2dde50bcd3fb4
mm-core: Adding a Google extension for native buffer usage.

Adding a Google extension to query the comopnent
for native buffer usage.

(cherry picked from commit 985d7f47f651930ca2df6d2991849ba1cacd4f18)

Change-Id: I0b90a8479d7dba146508feeaacf73257ef1b8c59
mm-core: Add qcom extension to enable extradata for smooth streaming

(cherry picked from commit 57f9f30d9462698d844a4ea9fdb0503f9c29dda4)

Change-Id: I97cebb7ef14a57f7893f7fee5fcb52622230838e
mm-core: Add extension for timestamp reorder feature.

This extension will enable the client to use the
timestamp reorder feature provided by openmax video
decoder component.

CRs-fixed: 290659
Change-Id: I2b93e6b95f45c75479c9988f26b41b396a91da95
mm-core: Add new roles for video-decoder.

Load 7x30, 8660, and 8960 Video decoder with divx4 and
divx5/6 roles.

CRs-fixed: 297558
(cherry picked from commit 48544ef8ddc0710e972102dbfc2add90ff0d0599)

Change-Id: Iedb814110920f44e0f55c9a4df3a1c4fc40d7483
 mm-core: Add new roles for video-decoder.

 Load 7x27 and 7x27A  Video decoder with divx4 and
 divx5/6 roles.

CRs-fixed: 309713
Change-Id: Id4045caae4c5036768fc27b58ef621a52628eba1
mm-core: Add Buffer flag extension for End of Sequence

This extension will enable the client to know whether
there is an End of Sequence in the H264 stream which is
indicated by End of sequence NAL unit

CRs-Fixed: 313005
(cherry picked from commit 91b085fc909814798843bd619902e696dbb8c7d4)

Change-Id: I28ac2d87a660fce987bf37741322a39543b52582
omxcore: Add framerate to EXTRADATA_FRAMEINFO structure

Add framerate to OMX_QCOM_EXTRADATA_FRAMEINFO structure
to send framerate information from OpenMax Component to
Client as part the FRAMEINFO extradata.

CRs-Fixed: 313001
(cherry picked from commit e22e5a7043bb8e4b36f1b62d6aaf1b692697dfd7)

Change-Id: I89acd2af95b0dd22d028993b891cdf6cce5e408c
mm-core: omx: 8660: Add hardware multi aac decoder.

Update registry table to enable harware AAC 5.1
decoder and clean up amrnb, amrwb, amrwbp entrie
CRs-Fixed: 313635
Change-Id: If59fe2fe135443f823d41d331c99c073bd38c72c
mm-core: omx: 8660: Add support for aac dual mono playback

CRs-Fixed: 313635

Change-Id: I3504c534f5eaa424c176e99f8b8695aadf2e25cc
Merge changes I3504c534,If59fe2fe into gingerbread_house

* changes:
  mm-core: omx: 8660: Add support for aac dual mono playback
  mm-core: omx: 8660: Add hardware multi aac decoder.
omxcore: Add aspect ratio info to EXTRADATA_FRAMEINFO

Add aspect ratio info to the OMX_QCOM_EXTRADATA_FRAMEINFO
structure to send aspect ratio information from OpenMax
component to the client as part the FRAMEINFO extradata.

CRs-Fixed: 317033
(cherry picked from commit 0003ec6b1639a9c22ddd57c96d3bc71fe597129c)

Change-Id: I83c6f2971b17e082ab03570432da996952a831aa
omxcore: 8660: Featurize drm.play component for 8660

CRs-Fixed: 313331
(cherry picked from commit 1944a6b93bd25518e5e499d5d2ad71083db589c1)

Conflicts:

	omxcore/Android.mk

Change-Id: I4b6c55ef3a739b067e9e45ab6941799b1ff58d93