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
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 pull request #7 from omnirom/android-4.4

同步自 omnirom android-4.4