OMXCodec: ifdef the qcom stuff breaking non-qcom camcorders

Please, ifdef such messy stuff the next time. Thanks ;)

Change-Id: I657a660b1ab211f37c1300efa0dd38028da1f1ce
camera: Add parameters for HTC msm8960

This is mainly taken from the ICS commit
dc4a6eb75a44136c9e753d1569058a7cfc1e1704

all ifdef'ed with QCOM_HARDWARE
and necessary for the camera on the HTC One S (ville)

Change-Id: Ieaf3e9110c78d677a16e096ae6848d3a08aa5ddc
Camera: Enable QC Camera feature set.

Change-Id: Ie52b6207293abe5a57d3bbe9d9c43e8c5b070af5
camera: Avoid a bug in Samsung's camera driver

 * Drop the CAF_RESTART callback which the driver seems to send no
   matter what mode it's in. We don't use it, and it can cause a
   deadlock.

Change-Id: Ica34b2263df56808955fc220e4e90b887411e093
Merge branch 'jb-release' of https://android.googlesource.com/platform/frameworks/av into aosp
Camera: Fix CameraService.cpp compilation if not QCOM_HARDWARE

The latest commit by Steve Klondik
(Change-Id: Ie52b6207293abe5a57d3bbe9d9c43e8c5b070af5)
is breaking the compilation of CameraService.cpp if not QCOM_HARDWARE.
Seen that while compiling CM10 for a Tegra3 device (HTC endeavoru).

This patch contains elementary fixes for this problem.

Change-Id: Id1792e2db1ac1b16f1d2ee940648954d67edd120
Signed-off-by: Angelo G. Del Regno <kholk11@gmail.com>
frameworks/av: Enable FM and add FMA2DPWriter.

Change-Id: Ia7d6be5386a492e5c9a89daf5059ca23e7b22260
av: Don't use fraunhofer for ARMv6 devices

Using fraunhofer on ARMv6 devices does not work - it causes a sigsev. Don't use it if ARMv7A is not present

Change-Id: I67e200ac2c1ab17a5c051fc5bc735ed7b1e5f21f
Merge "camera: Add parameters for HTC msm8960" into jellybean
audio: Squashed set of commits for QCOM audio features

frameworks/av: Add support for QCELP, EVRC, WMA and DIVX

Add support for QCELP, EVRC, WMA and DIVX

Change-Id: Ie39516c9e7b1976ece9cd95e06f4a9373a15a1db

frameworks/av: Add support for QCELP/EVRC non-tunnel encoding in SF.

Add support for QCELP and EVRC formats non-tunnel mode encoding
in StageFright using hardware accelerated encoders.

Change-Id: I4be8965158c1df425e3c8541df56539893efe164

frameworks/av: Initial gerrit change for tunnel mode recording.

Change-Id: Iab49678339d5e16fa327d7f0ae3d494ffd7fed8f

libstagefright: Fix for Noise in Voice call record.

-Using popCount function to get channel count gives incorrect value on
voice call recording.
-Only STEREO and MONO bits to be considered to count
channels on input

Change-Id: Ic1975bb69f6ce9cac2f7e92e63c47a28966b0fa6

Define FM, VOIP, and fluence audio parameters

Change-Id: I65cdecf043cde8c314ade47afbb74df3272e1a44
Merge "av: Don't use fraunhofer for ARMv6 devices" into jellybean
fix build

Change-Id: I086933f6fc7a330dea8aa7e74207462034ab23d5
Compile AudioParameter as shared library regardless of SRS flag

Change-Id: I381a7b5bf1c67a82e7fef704d621d359a843d912
framework/av: Fix EOS issue for certain midi clips

- 1.For some midi clips, at the playback ends it doesn't
    go to the next clip, stuck at end and UI freezes.
  2.Midi playback with a third party Android browser app
    stops abruptly even before playback is started. Reason
    is app api call sequence is different from Music app.
    The playback starts before duration of clip is set.
- 1.Midi parser is not sending EOS for these clips once
    it reaches the end of playback.
  2.Playback is stopped when playtime is greater than
    duration. This check is applicable only when the
    clip duration is already set.
- Fix to set midi playback status to stopped, when the
  play time is greater than the total duration of the clip.

Change-Id: Ibcd6cc2060b26e256c41b4c20df70af35da15e1d
frameworks/av: Fix to handle corrupted AAC clips

- AAC decoder was returning SUCCESS by default unless
  the state is changed to ERROR.
- For some cases, where the clip is corrupted, it will
  return SUCCESS even though it has not decoded anything.
- Fixed this by initializing the state to -1.

Change-Id: I0ddd2608216320bd4943f0fb8e03d300865a2362
libstagefright: HTTP Streaming fixes

- Stop fetching on reaching EOS
- Disconnect datasource in player's reset
- Send buffering complete when seek is issued
  when player is in buffering state

Change-Id: I685e78b7317936367f8ef6df3e97cb6ed5e04e7d
frameworks/av: Fix building pv aac library.

Change-Id: Ibb5c2b497965686af937a3f6917c66309e19e442
Merge "Compile AudioParameter as shared library regardless of SRS flag" into jellybean
Merge "frameworks/av: Fix building pv aac library." into jellybean
audioflinger: workaround for samsungs volume bug

play music via headset -> notification comes in -> music volume gets set to 0 ->
notification gets played -> music resumes with wrong (much lower) volume

Change-Id: I3961ed48d0687bacb60ee8d4ddc82575f06c908e