libstagefright: Fix DP Parsing issue with mpeg4 SP,ASP

- DP partition logic returns true for mpeg4 clips with SP ,ASP
  profiles.
- Fix the issue by parsing additional fields in the ESDS atom

CRs-fixed: 556619

Change-Id: I69c719011e1a0d2a0b0ae5a9b504b7cce443866b
libstagefright: Fix crash during seek

OMXCodec state is changed to EXECUTING when flush
is complete. Update assert condition to check
EXECUTING state instead of FLUSHING.

CRs-Fixed: 607762
Change-Id: I12b3eedfc83e00578d70af3ef903c5a26ccde3eb
av: fix audio stutter

Never try to use the fast path if resampling is required

Unless AudioFlinger was built with FAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE
enabled, AudioFlinger would deny using the fast path (and internally
fall back to the normal codepath) when it realized that resampling
was required. Since the buffer size calculations within AudioFlinger
don't take resampling into account properly (see the calculation
below "AUDIO_OUTPUT_FLAG_FAST denied" in audioflinger/Threads.cpp,
just below the hunk that this patch changes), make sure AudioTrack
doesn't try to use the fast path if resampling is required.

This removes the possibility to enable
FAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE in AudioFlinger since it
AudioTrack now won't even try to use the fast path for content
that requires resampling, regardless of the AudioFlinger configuration.

Fixes audio stutter in some apps on some smdk/omap4 devices.

Change-Id: I6b0856908fe40b3c980faa136e8267459d2b6880
camera: Add required symbols for Samsung camera HAL

For lt01wifi, lt013g and lt01lte (exynos4)

Change-Id: I7b0f573a97e3f43cb9a3fb67a3e8876a9539ea0c
audioflinger: Add missing code for FM volume

 * If we used a proper MR2 audio HAL, this wouldn't be needed,
   but building FM support with the hacked up MR1 audio HAL we
   uses fails miserably. Adding this back fixes that.

Change-Id: If2f6ee9e417732eaf4df8718bf73b2dfd1062011
av: fix spelling mistake derp

Change-Id: Ib10535bd26e750f6ac2871196a75510c81c2f6e5
Merge "camera: Add required symbols for Samsung camera HAL" into android-4.4
Revert "camera: Add required symbols for Samsung camera HAL"

This is currently breaking an existing device.

Also, most if not all of these parameters were handled on other Exynos Samsungs using camerawrapper to fixup the params.  (They're not really used any more due to those devices moving to opensource HALs.)

https://github.com/CyanogenMod/android_device_samsung_galaxys2-common/blob/jellybean/camera/CameraWrapper.cpp

This reverts commit 28376f3132ad50fc20dc4f1180305ab969e71214.

Change-Id: Id61062d09e61b1db72e32ffd13bd969788d1e8d3
Merge "Revert "camera: Add required symbols for Samsung camera HAL"" into android-4.4
Merge "libstagefright: Fix DP Parsing issue with mpeg4 SP,ASP" into android-4.4
Merge "libstagefright: Fix crash during seek" into android-4.4
Revert "libstagefright: Fix crash during seek"

This reverts commit 2a47745e3c82bf5a088a19daa6b99f27a789c3b2.

Change-Id: I4397a0f32b4773b0073a00c12be13057b9a6d2d0
Merge "Revert "libstagefright: Fix crash during seek"" into android-4.4
Merge remote-tracking branch 'omni/android-4.4' into defy-4.4