Added missing files to allow building with media-legacy devices

Change-Id: I7fb842f2437c81f164bf0cdfe7e7cfd2bcee44ad
Disable excessive debugging messages
libstagefrighthw: QComOMXMetadata: Fix redefinition

In 4.4, this definition is in the MetadataBufferType.h header in frameworks/native

Signed-off-by: Sultanxda <sultanxda@gmail.com>
mm-core: inc: Add missing definitions
vidc: Use PMEM
mm-video: vdec: Update output buffer count in thumbnail mode

This change updates the output buffer requirements when thumbnail mode
is enabled. In thumbnail mode the required output buffers equal to 1.
Output Buffer required for thumbnail mode were not updated earlier from
the driver as a result of which allocating memory for default buffer
count failed and thumbnail were not shown for some file formats.

Change-Id: I607a5b0e3bfcad8056ff71557db50d0e268cf348
CRs-Fixed: 513180
mm-video: Fix issue with port reconfiguration specific clip

This change fixes the issue of UI freeze during the
playback of multiple resolution change specific clips
through decoder test app.

CRs-fixed: 476934
Change-Id: Ia5572482073bd743b641319ee246cb483bc1917e
mm-video: vdec: Convey crop information from driver to client

Crop information about uncompressed buffers need to be
conveyed to client to appropriately select the region
to display. This change takes care of this.

Conflicts:

	mm-video/vidc/vdec/src/omx_vdec.cpp

Change-Id: I1ddd129753ad3f6464ea415ded0a61f3b7c9bad6

Conflicts:

	mm-video/vidc/vdec/inc/omx_vdec.h
	mm-video/vidc/vdec/src/omx_vdec.cpp
mm-video: venc: Correct a typo in variable name

A kernel variable was to be defined as unsigned long but
it is mistakenly defined as unsigned only, the space is
missing after long. This bug is silent because unsigned
is also a valid data type by itself.
Corresponding to kernel fix, similar correction is done
in userspace code.

Change-Id: I561f1cadc0d06c2b2289dae0cb1be527f9bcd844
Update includes

Change-Id: I5c1df447a2311bf7d97d48eb6106b9c6c04ad69d
Merge branch 'cm-11.0' into kk

Conflicts:
	libstagefrighthw/QComOMXMetadata.h
	mm-core/inc/QCMediaDefs.h
	mm-core/inc/QCMetaData.h