pre-kitkat audio policy blobs re-activated.

Change-Id: Idfcb03d0a4aa0a099bf5a17b7bf592ab402e3255
NuPlayer : Fix wrong time stamp update for offload playback

- Seekbar is updated continuously post offload audio tear down
- Pause start time is reset during session tear down causing the issue
- Fix is not to reset pause start time if clip is offload and in pause
  state

Change-Id: I4c7632dab1dddc73781e13cbf93b52afb4166c34
libstagefright: Ensure cache prefetch in underrun

NuCachedSource2::onFetch() will stop prefetching
if the total cache size exceeds highwater mark,
rather than considering the size of unaccessed data
for the calculation. If AwesomePlayer pauses due to
underrun, and NuCachedSource2 stop fetching, this
can lead to indefinite pause as AwesomePlayer will
use the unaccessed data for calculating buffered
duration while NuCachedSource2 uses the total cached
size

Added change to ensure cache prefetch in underrun so
that playback does not pause indefinitely

CRs-Fixed: 760796
Change-Id: I8124e04b18a6e200b59c9cf7d2a912a43e147db1
audio_policy: Fix for overwrite of ULL flags on record concurrency

- Touch tones are playing on Deep buffer path when
  record is in progress when record concurrency enabled

- ULL flags are over written on getoutput API when
  record session is active

- Add check for non ULL output request instead ULL output
  flags while forcing deep buffer path with record concurrency

Change-Id: Ic463cea0f9ec1d47b548e6e387f484f221ee92f7
libstagefright: back off exynos4 hacks

Change-Id: I953f502171bc98854b5d59165057c57b3c65cdaa
libstagefright: align YV12 for software codecs on exynos4

YV12 chroma stide should be aligned to 16 according to the
android framework. But, GSC & Mali couldn't accept a seperate
stride for U & V components. They just use Y_stride/2 as a
UV Stride.

Change-Id: Ibeeb3439ee10a4666420e5fa34ff0a6d6ea7c003
libstagefright: fix YV12 stride for software codecs on exynos4

Change-Id: I3612899d2bffa474eb6447788858911757a7f45d
omx: exynos4: bring inline with jellybean

Change-Id: Ic275fd30a721f8161dcc44c2706b86ab5ea213ba
Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions

An overloaded function should take the same parameters as the function
it is overloading.

Change-Id: I8327fe1b363917515cf76c8f76bdbc05b2c0fbf0
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
MPEG4Writer: fix mMoovBoxBuffer memory leak

In some cirumstances the writing of the moov box
leaks memory since mMoovBoxBuffer is not freed.

Change-Id: I441360f6c7e84e31fea06067eca98b66b86b54bc
Correctly handle unsupported OMX color format

MediaServer was caught in an infinite loop at OMX::getParameter.

OMX::getParameter returns status_t, using OMX_ErrorNoMore to loop
until the index passes beyond the last supported format
will not work since this function only returns ERROR_UNSUPPORTED.

Change-Id: Idde94a46af24641c0e5f1db909335db4c7e2b7f7
(2/3) av: disable camera shutter sound

Change-Id: I04eaf9924b0f37294fc0cb30186fc1cf0d72bf7b