OSDN Git Service

android-x86/frameworks-av.git
11 years agoMark volume fields private
Glenn Kasten [Tue, 6 Mar 2012 19:34:22 +0000 (11:34 -0800)]
Mark volume fields private

Change-Id: I8ffca0460195263d159aa13015c246122d8556a2

11 years agoam 203836b7: am b8d6efba: Camera2: Don\'t hold locks while waiting to sync.
Eino-Ville Talvala [Thu, 25 Oct 2012 02:53:14 +0000 (19:53 -0700)]
am 203836b7: am b8d6efba: Camera2: Don\'t hold locks while waiting to sync.

* commit '203836b7584ccb7787202578259d27d70a8a3ede':
  Camera2: Don't hold locks while waiting to sync.

11 years agoam b8d6efba: Camera2: Don\'t hold locks while waiting to sync.
Eino-Ville Talvala [Thu, 25 Oct 2012 02:50:19 +0000 (19:50 -0700)]
am b8d6efba: Camera2: Don\'t hold locks while waiting to sync.

* commit 'b8d6efba8b87e6eeb049651cb67f9827198e658e':
  Camera2: Don't hold locks while waiting to sync.

11 years agoCamera2: Don't hold locks while waiting to sync.
Eino-Ville Talvala [Thu, 25 Oct 2012 00:30:30 +0000 (17:30 -0700)]
Camera2: Don't hold locks while waiting to sync.

Bug: 7409877
Change-Id: Ia3a0bc4f0ab4e19fca868ba04a870cf8e8ee7adb

11 years agoMake ThrottledSource more usable
Marco Nelissen [Wed, 24 Oct 2012 20:43:32 +0000 (13:43 -0700)]
Make ThrottledSource more usable

Add reconnectAtOffset(), DrmInitialization() and getDrmInfo().
Also rearrange the code a bit so all the methods that just call through
to the wrapped DataSource are in the header.

Change-Id: If25b674df317b0f6da5d36241c694e32abb0a01c

11 years agoam e3e639b1: am ac1a450a: Merge "Don\'t attempt to seek audio and video separately...
Andreas Huber [Tue, 23 Oct 2012 22:14:23 +0000 (15:14 -0700)]
am e3e639b1: am ac1a450a: Merge "Don\'t attempt to seek audio and video separately." into jb-mr1-dev

* commit 'e3e639b1714d35628f9b75276839ad55d8afc74c':
  Don't attempt to seek audio and video separately.

11 years agoam ac1a450a: Merge "Don\'t attempt to seek audio and video separately." into jb-mr1-dev
Andreas Huber [Tue, 23 Oct 2012 22:11:29 +0000 (15:11 -0700)]
am ac1a450a: Merge "Don\'t attempt to seek audio and video separately." into jb-mr1-dev

* commit 'ac1a450a76c2f42f66c876200cb724d1e93ef4c7':
  Don't attempt to seek audio and video separately.

11 years agoMerge "Don't attempt to seek audio and video separately." into jb-mr1-dev
Andreas Huber [Tue, 23 Oct 2012 22:06:11 +0000 (15:06 -0700)]
Merge "Don't attempt to seek audio and video separately." into jb-mr1-dev

11 years agoDon't attempt to seek audio and video separately.
Andreas Huber [Tue, 23 Oct 2012 20:25:05 +0000 (13:25 -0700)]
Don't attempt to seek audio and video separately.

The widevine extractor doesn't deal too well with that...

Change-Id: Iadfeede4fe0c086af788c5639782854e4fbb98ff
related-to-bug: 7262386

11 years agoam 9e83f44c: am 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb...
Eino-Ville Talvala [Tue, 23 Oct 2012 17:38:09 +0000 (10:38 -0700)]
am 9e83f44c: am 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb-mr1-dev

* commit '9e83f44c0b310a72a080c006ebc3c07bdccc7027':
  Camera2: Increase mode update timeout.

11 years agoam 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb-mr1-dev
Eino-Ville Talvala [Tue, 23 Oct 2012 17:36:05 +0000 (10:36 -0700)]
am 6ccc3c34: Merge "Camera2: Increase mode update timeout." into jb-mr1-dev

* commit '6ccc3c343e2751ebfe9fa77215bf84e1a97e38fc':
  Camera2: Increase mode update timeout.

11 years agoMerge "Camera2: Increase mode update timeout." into jb-mr1-dev
Eino-Ville Talvala [Tue, 23 Oct 2012 17:31:25 +0000 (10:31 -0700)]
Merge "Camera2: Increase mode update timeout." into jb-mr1-dev

11 years agoCamera2: Increase mode update timeout.
Eino-Ville Talvala [Tue, 23 Oct 2012 16:09:01 +0000 (09:09 -0700)]
Camera2: Increase mode update timeout.

During camera startup, it might take a few hundred milliseconds before
requests start to be dequeued by the HAL. Increase the timeout for
synchronizing mode changes and triggers so that triggers near startup
don't time out.

Bug: 6970465
Change-Id: I9dc35378e8018ec18ae31be874fcb094f8a9a0e9

11 years agoam 9cdf6db5: am 5f6f5b7d: Merge "stagefright: discard audio at start of capture"...
Eric Laurent [Tue, 23 Oct 2012 15:33:37 +0000 (08:33 -0700)]
am 9cdf6db5: am 5f6f5b7d: Merge "stagefright: discard audio at start of capture" into jb-mr1-dev

* commit '9cdf6db50c0dab30f32291bf00c702ca79132674':
  stagefright: discard audio at start of capture

11 years agoam 5f6f5b7d: Merge "stagefright: discard audio at start of capture" into jb-mr1-dev
Eric Laurent [Tue, 23 Oct 2012 15:31:29 +0000 (08:31 -0700)]
am 5f6f5b7d: Merge "stagefright: discard audio at start of capture" into jb-mr1-dev

* commit '5f6f5b7d6be5d7882102bf0fc3c691ef8fbe03a1':
  stagefright: discard audio at start of capture

11 years agoMerge "stagefright: discard audio at start of capture" into jb-mr1-dev
Eric Laurent [Tue, 23 Oct 2012 15:28:07 +0000 (08:28 -0700)]
Merge "stagefright: discard audio at start of capture" into jb-mr1-dev

11 years agoam 3aaa4e30: am c4640c9e: Increase allowed number of VHQ resamplers to 3
Glenn Kasten [Tue, 23 Oct 2012 14:35:31 +0000 (07:35 -0700)]
am 3aaa4e30: am c4640c9e: Increase allowed number of VHQ resamplers to 3

* commit '3aaa4e30f7663673f3453d3f4671b1119f1802fd':
  Increase allowed number of VHQ resamplers to 3

11 years agoam c4640c9e: Increase allowed number of VHQ resamplers to 3
Glenn Kasten [Tue, 23 Oct 2012 14:32:37 +0000 (07:32 -0700)]
am c4640c9e: Increase allowed number of VHQ resamplers to 3

* commit 'c4640c9eef850bb1c754bd6b477f1cc8350c6081':
  Increase allowed number of VHQ resamplers to 3

11 years agostagefright: discard audio at start of capture
Eric Laurent [Tue, 23 Oct 2012 00:44:24 +0000 (17:44 -0700)]
stagefright: discard audio at start of capture

The new camcorder start sound is longer than previous one and we
must discard more audio when capture starts.

Ideally, camcorder should use synchronous record start.

Bug 7394330.

Change-Id: I219b4e231aba706776dc7ccc4f1c996eaf22f61a

11 years agoIncrease allowed number of VHQ resamplers to 3
Glenn Kasten [Tue, 23 Oct 2012 00:09:27 +0000 (17:09 -0700)]
Increase allowed number of VHQ resamplers to 3

Bug: 7378660
Change-Id: I69e33ca2eb4bb9bd38e2c63df62cd1130d68baf6

11 years agoam 7f4d5714: am e384d75b: Merge "Fix a typo that caused the high quality resampler...
Mathias Agopian [Mon, 22 Oct 2012 18:54:12 +0000 (11:54 -0700)]
am 7f4d5714: am e384d75b: Merge "Fix a typo that caused the high quality resampler to produce garbage" into jb-mr1-dev

* commit '7f4d5714f3f0ab4efaf2d0929a9f984467ef95c7':
  Fix a typo that caused the high quality resampler to produce garbage

11 years agoam e384d75b: Merge "Fix a typo that caused the high quality resampler to produce...
Mathias Agopian [Mon, 22 Oct 2012 18:52:14 +0000 (11:52 -0700)]
am e384d75b: Merge "Fix a typo that caused the high quality resampler to produce garbage" into jb-mr1-dev

* commit 'e384d75b95b9db30d64a18ada93e070cf07de306':
  Fix a typo that caused the high quality resampler to produce garbage

11 years agoMerge "Fix a typo that caused the high quality resampler to produce garbage" into...
Mathias Agopian [Mon, 22 Oct 2012 18:47:39 +0000 (11:47 -0700)]
Merge "Fix a typo that caused the high quality resampler to produce garbage" into jb-mr1-dev

11 years agoam dc5f12a2: am 0328ec08: WFD use of HDCP is now optional.
Andreas Huber [Mon, 22 Oct 2012 18:08:45 +0000 (11:08 -0700)]
am dc5f12a2: am 0328ec08: WFD use of HDCP is now optional.

* commit 'dc5f12a217279d60444fc7243fe89ba4311eea88':
  WFD use of HDCP is now optional.

11 years agoam 0328ec08: WFD use of HDCP is now optional.
Andreas Huber [Mon, 22 Oct 2012 18:06:12 +0000 (11:06 -0700)]
am 0328ec08: WFD use of HDCP is now optional.

* commit '0328ec08dc1e90caa2a9e0c4e107d8ddaa74af20':
  WFD use of HDCP is now optional.

11 years agoWFD use of HDCP is now optional.
Andreas Huber [Mon, 22 Oct 2012 17:45:08 +0000 (10:45 -0700)]
WFD use of HDCP is now optional.

if the sink supports it we'll use HDCP (and fail if necessary), if it doesn't
we won't. If an HDCP session is established we'll tell our observer that
the connection is secure, otherwise we don't.

Change-Id: I7cbef384f2cf0a6ac65801c581eea227b9ef4c46
related-to-bug: 7368436

11 years agoFix a typo that caused the high quality resampler to produce garbage
Mathias Agopian [Sun, 21 Oct 2012 10:04:05 +0000 (03:04 -0700)]
Fix a typo that caused the high quality resampler to produce garbage

the problem is that if libaudio_resampler is present, it is those
coefficients that will always be selected, but the correct
meta-data.

Bug: 7385994
Change-Id: Ieebeb37b4dfb62a1a051bc29fae2ce056dbc6621

11 years agoam ad99e748: am c3ed4a1c: Merge "AAC DRC reference level for mobile is -16dB" into...
Jean-Michel Trivi [Sat, 20 Oct 2012 00:29:22 +0000 (17:29 -0700)]
am ad99e748: am c3ed4a1c: Merge "AAC DRC reference level for mobile is -16dB" into jb-mr1-dev

* commit 'ad99e748ae97be7b0f769e1895ca7f69da6c9df8':
  AAC DRC reference level for mobile is -16dB

11 years agoam c3ed4a1c: Merge "AAC DRC reference level for mobile is -16dB" into jb-mr1-dev
Jean-Michel Trivi [Sat, 20 Oct 2012 00:26:43 +0000 (17:26 -0700)]
am c3ed4a1c: Merge "AAC DRC reference level for mobile is -16dB" into jb-mr1-dev

* commit 'c3ed4a1c3ea71681c71de48c206a899e702864bd':
  AAC DRC reference level for mobile is -16dB

11 years agoMerge "AAC DRC reference level for mobile is -16dB" into jb-mr1-dev
Jean-Michel Trivi [Sat, 20 Oct 2012 00:21:55 +0000 (17:21 -0700)]
Merge "AAC DRC reference level for mobile is -16dB" into jb-mr1-dev

11 years agoam e50ba28a: am 9e760d66: Merge "Camera2: Fix potential deadlock" into jb-mr1-dev
Eino-Ville Talvala [Sat, 20 Oct 2012 00:21:46 +0000 (17:21 -0700)]
am e50ba28a: am 9e760d66: Merge "Camera2: Fix potential deadlock" into jb-mr1-dev

* commit 'e50ba28aa1846a7c2a296f122a5675476dacc4a5':
  Camera2: Fix potential deadlock

11 years agoam 9e760d66: Merge "Camera2: Fix potential deadlock" into jb-mr1-dev
Eino-Ville Talvala [Sat, 20 Oct 2012 00:19:35 +0000 (17:19 -0700)]
am 9e760d66: Merge "Camera2: Fix potential deadlock" into jb-mr1-dev

* commit '9e760d66c5dfae4d9688e32d7a02fca09569f7ef':
  Camera2: Fix potential deadlock

11 years agoMerge "Camera2: Fix potential deadlock" into jb-mr1-dev
Eino-Ville Talvala [Fri, 19 Oct 2012 23:47:32 +0000 (16:47 -0700)]
Merge "Camera2: Fix potential deadlock" into jb-mr1-dev

11 years agoAAC DRC reference level for mobile is -16dB
Jean-Michel Trivi [Fri, 19 Oct 2012 21:52:16 +0000 (14:52 -0700)]
AAC DRC reference level for mobile is -16dB

Use -16dB as the default DRC reference level when decoding streams
 with DRC metadata.

Bug 7370764

Change-Id: I900cee22f32384a5657fb041b69d42657bcddf09

11 years agoam febe48ae: am 3c9e53c6: Merge "Fix valgrind issues" into jb-mr1-dev
Marco Nelissen [Fri, 19 Oct 2012 20:22:22 +0000 (13:22 -0700)]
am febe48ae: am 3c9e53c6: Merge "Fix valgrind issues" into jb-mr1-dev

* commit 'febe48aef0cb757e149d6f4494c9d220d6ba369a':
  Fix valgrind issues

11 years agoam 424b4a57: am 291f824e: Remove active track when thread goes to standby
Glenn Kasten [Fri, 19 Oct 2012 20:22:21 +0000 (13:22 -0700)]
am 424b4a57: am 291f824e: Remove active track when thread goes to standby

* commit '424b4a57f5e1e8bd99cb619398389a467ec41f92':
  Remove active track when thread goes to standby

11 years agoam 3c9e53c6: Merge "Fix valgrind issues" into jb-mr1-dev
Marco Nelissen [Fri, 19 Oct 2012 19:41:50 +0000 (12:41 -0700)]
am 3c9e53c6: Merge "Fix valgrind issues" into jb-mr1-dev

* commit '3c9e53c6ea2b01506addd4fb1164e6a9bbe6e16f':
  Fix valgrind issues

11 years agoMerge "Fix valgrind issues" into jb-mr1-dev
Marco Nelissen [Fri, 19 Oct 2012 19:36:47 +0000 (12:36 -0700)]
Merge "Fix valgrind issues" into jb-mr1-dev

11 years agoam 291f824e: Remove active track when thread goes to standby
Glenn Kasten [Fri, 19 Oct 2012 19:35:14 +0000 (12:35 -0700)]
am 291f824e: Remove active track when thread goes to standby

* commit '291f824e02ff517a34cfe50220b4e2b402ee998d':
  Remove active track when thread goes to standby

11 years agoam 4ad27b11: am 1baa01a5: Merge "hardening: eliminate more .text relocations"
Nick Kralevich [Fri, 19 Oct 2012 16:02:42 +0000 (09:02 -0700)]
am 4ad27b11: am 1baa01a5: Merge "hardening: eliminate more .text relocations"

* commit '4ad27b11f8c883a3131d1f81d883de01b8076be1':
  hardening: eliminate more .text relocations

11 years agoam 1baa01a5: Merge "hardening: eliminate more .text relocations"
Nick Kralevich [Fri, 19 Oct 2012 16:00:32 +0000 (09:00 -0700)]
am 1baa01a5: Merge "hardening: eliminate more .text relocations"

* commit '1baa01a52f24566c134313fade8b19a582654638':
  hardening: eliminate more .text relocations

11 years agoMerge "hardening: eliminate more .text relocations"
Nick Kralevich [Fri, 19 Oct 2012 15:40:01 +0000 (08:40 -0700)]
Merge "hardening: eliminate more .text relocations"

11 years agoRemove active track when thread goes to standby
Glenn Kasten [Thu, 18 Oct 2012 22:51:31 +0000 (15:51 -0700)]
Remove active track when thread goes to standby

Bug: 7369232
Change-Id: I7ff9f525dad4be0aef562a53015b06ee7d3d50f1

11 years agohardening: eliminate more .text relocations
Nick Kralevich [Thu, 18 Oct 2012 23:52:53 +0000 (16:52 -0700)]
hardening: eliminate more .text relocations

In 74bc3e133bd59a65dbed70b5fc89549f04a545e2, a bunch of text relocations
were cleaned up from amrwbenc. Looks like we forgot one.  Fixed.

Change-Id: I80d4c68be435c3461731374d2b6d3bdbd61354a5

11 years agoMerge "Ignore SIGPIPE during write() to broken pipe"
jp abgrall [Thu, 18 Oct 2012 03:02:08 +0000 (20:02 -0700)]
Merge "Ignore SIGPIPE during write() to broken pipe"

11 years agoCamera2: Fix potential deadlock
Eino-Ville Talvala [Wed, 17 Oct 2012 23:32:34 +0000 (16:32 -0700)]
Camera2: Fix potential deadlock

setPreviewWindow was holding a lock during long-lasting HAL calls
which may cause deadlock if the HAL calls back into the service during
the call. Stop holding the lock during these calls, since it's not
essential to do so.

Bug: 7320517
Change-Id: I4a35703d751e22ac32979b5a1288e291610576e7

11 years agoIgnore SIGPIPE during write() to broken pipe
Glenn Kasten [Wed, 17 Oct 2012 19:16:50 +0000 (12:16 -0700)]
Ignore SIGPIPE during write() to broken pipe

This happens occasionally when taking a bugreport.

Bug: 6447319
Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a

11 years agoam 5ee33507: am ccd08439: Added some extra failure logging messages
James Dong [Wed, 17 Oct 2012 23:43:49 +0000 (16:43 -0700)]
am 5ee33507: am ccd08439: Added some extra failure logging messages

* commit '5ee3350785f2821a1b5aad92824ea6b380f61ece':
  Added some extra failure logging messages

11 years agoam ccd08439: Added some extra failure logging messages
James Dong [Wed, 17 Oct 2012 23:42:10 +0000 (16:42 -0700)]
am ccd08439: Added some extra failure logging messages

* commit 'ccd08439c7914d86264c7ad81bfd03cf39aaa9f7':
  Added some extra failure logging messages

11 years agoAdded some extra failure logging messages
James Dong [Wed, 17 Oct 2012 21:53:16 +0000 (14:53 -0700)]
Added some extra failure logging messages

o related-to-bug: 7282066

Change-Id: I0896551a45aab61fb571fef19061397ff84321d9

11 years agoam dfb9d42f: am 6a2d62c1: Merge "Manually merge change #111620 from tc3 to mainline...
Glenn Kasten [Wed, 17 Oct 2012 22:09:25 +0000 (15:09 -0700)]
am dfb9d42f: am 6a2d62c1: Merge "Manually merge change #111620 from tc3 to mainline, to keep the"

* commit 'dfb9d42f78e0feb1168fc88c526f7401284a9b5a':
  Manually merge change #111620 from tc3 to mainline, to keep the

11 years agoam 98d17231: am dbe1be24: Merge "Rename "Makefile" to "Android.mk" throughout the...
Glenn Kasten [Wed, 17 Oct 2012 22:09:25 +0000 (15:09 -0700)]
am 98d17231: am dbe1be24: Merge "Rename "Makefile" to "Android.mk" throughout the tree."

* commit '98d172313eb675b2a1960059527518a8609b2fbe':
  Rename "Makefile" to "Android.mk" throughout the tree.

11 years agoam 3b7e05ba: am 4cd2275d: Merge "Rename "TARGET" to "MODULE" in the build system."
Glenn Kasten [Wed, 17 Oct 2012 22:09:24 +0000 (15:09 -0700)]
am 3b7e05ba: am 4cd2275d: Merge "Rename "TARGET" to "MODULE" in the build system."

* commit '3b7e05bac887889323bb15e9c16407b9408822e6':
  Rename "TARGET" to "MODULE" in the build system.

11 years agoam e89e9c78: am 108e1961: Merge "Tweak the SINC resampler parameters and double the...
Glenn Kasten [Wed, 17 Oct 2012 22:09:23 +0000 (15:09 -0700)]
am e89e9c78: am 108e1961: Merge "Tweak the SINC resampler parameters and double the performance. It\'s using about 10% CPU in the worse case now."

* commit 'e89e9c78fd2ca3d1887ac0e2cd64a9d8265680c1':
  Tweak the SINC resampler parameters and double the performance. It's using about 10% CPU in the worse case now.

11 years agoam 9ad8de3b: am a19c8102: Merge "A sinc resampler for Audioflinger. It\'s not enabled...
Glenn Kasten [Wed, 17 Oct 2012 22:09:22 +0000 (15:09 -0700)]
am 9ad8de3b: am a19c8102: Merge "A sinc resampler for Audioflinger. It\'s not enabled yet, but fully functional and apparently working. It need more "quality" tests. In the 48->44 KHz, it takes about 25% of the CPU time."

* commit '9ad8de3b01ec276b84a8d6b70f49cc08a70e9bcd':
  A sinc resampler for Audioflinger. It's not enabled yet, but fully functional and apparently working. It need more "quality" tests. In the 48->44 KHz, it takes about 25% of the CPU time.

11 years agoam f0d3f344: am 5e8e3fc3: Merge "fix a few small typos in the FIR computation"
Glenn Kasten [Wed, 17 Oct 2012 22:09:21 +0000 (15:09 -0700)]
am f0d3f344: am 5e8e3fc3: Merge "fix a few small typos in the FIR computation"

* commit 'f0d3f344b4572832d3780de049a59b3eb8b995fb':
  fix a few small typos in the FIR computation

11 years agoam 00f8cde8: am d2186701: Merge "This is a tool to compute the the reconstruction...
Glenn Kasten [Wed, 17 Oct 2012 22:09:20 +0000 (15:09 -0700)]
am 00f8cde8: am d2186701: Merge "This is a tool to compute the the reconstruction filter coefficients for a sinc audio resampler."

* commit '00f8cde8584e184105879a01a276b8391d192273':
  This is a tool to compute the the reconstruction filter coefficients for a sinc audio resampler.

11 years agoam 6a2d62c1: Merge "Manually merge change #111620 from tc3 to mainline, to keep the"
Glenn Kasten [Wed, 17 Oct 2012 22:07:05 +0000 (15:07 -0700)]
am 6a2d62c1: Merge "Manually merge change #111620 from tc3 to mainline, to keep the"

* commit '6a2d62c1a972da25de53b1718c165f2b7df85a0e':
  Manually merge change #111620 from tc3 to mainline, to keep the

11 years agoam dbe1be24: Merge "Rename "Makefile" to "Android.mk" throughout the tree."
Glenn Kasten [Wed, 17 Oct 2012 22:07:04 +0000 (15:07 -0700)]
am dbe1be24: Merge "Rename "Makefile" to "Android.mk" throughout the tree."

* commit 'dbe1be24c9e6fb92a88a38adbd12a56aa5337f74':
  Rename "Makefile" to "Android.mk" throughout the tree.

11 years agoam 4cd2275d: Merge "Rename "TARGET" to "MODULE" in the build system."
Glenn Kasten [Wed, 17 Oct 2012 22:07:03 +0000 (15:07 -0700)]
am 4cd2275d: Merge "Rename "TARGET" to "MODULE" in the build system."

* commit '4cd2275d93a65296e20be27422a00f9e2a78d3a9':
  Rename "TARGET" to "MODULE" in the build system.

11 years agoam 108e1961: Merge "Tweak the SINC resampler parameters and double the performance...
Glenn Kasten [Wed, 17 Oct 2012 22:07:02 +0000 (15:07 -0700)]
am 108e1961: Merge "Tweak the SINC resampler parameters and double the performance. It\'s using about 10% CPU in the worse case now."

* commit '108e1961ffb858374dcb39115d1dd831a4a4a75c':
  Tweak the SINC resampler parameters and double the performance. It's using about 10% CPU in the worse case now.

11 years agoam a19c8102: Merge "A sinc resampler for Audioflinger. It\'s not enabled yet, but...
Glenn Kasten [Wed, 17 Oct 2012 22:07:00 +0000 (15:07 -0700)]
am a19c8102: Merge "A sinc resampler for Audioflinger. It\'s not enabled yet, but fully functional and apparently working. It need more "quality" tests. In the 48->44 KHz, it takes about 25% of the CPU time."

* commit 'a19c810289392e5733463703e865c7ae407868ad':
  A sinc resampler for Audioflinger. It's not enabled yet, but fully functional and apparently working. It need more "quality" tests. In the 48->44 KHz, it takes about 25% of the CPU time.

11 years agoam 5e8e3fc3: Merge "fix a few small typos in the FIR computation"
Glenn Kasten [Wed, 17 Oct 2012 22:06:56 +0000 (15:06 -0700)]
am 5e8e3fc3: Merge "fix a few small typos in the FIR computation"

* commit '5e8e3fc30111534858fbd1f52a92e5128613af0e':
  fix a few small typos in the FIR computation

11 years agoam d2186701: Merge "This is a tool to compute the the reconstruction filter coefficie...
Glenn Kasten [Wed, 17 Oct 2012 22:06:55 +0000 (15:06 -0700)]
am d2186701: Merge "This is a tool to compute the the reconstruction filter coefficients for a sinc audio resampler."

* commit 'd218670119dc19fbbc5c804ae3ab7c0a5dd985d8':
  This is a tool to compute the the reconstruction filter coefficients for a sinc audio resampler.

11 years agoMerge "Manually merge change #111620 from tc3 to mainline, to keep the"
Glenn Kasten [Wed, 17 Oct 2012 21:59:40 +0000 (14:59 -0700)]
Merge "Manually merge change #111620 from tc3 to mainline, to keep the"

11 years agoMerge "Rename "Makefile" to "Android.mk" throughout the tree."
Glenn Kasten [Wed, 17 Oct 2012 21:38:05 +0000 (14:38 -0700)]
Merge "Rename "Makefile" to "Android.mk" throughout the tree."

11 years agoMerge "Rename "TARGET" to "MODULE" in the build system."
Glenn Kasten [Wed, 17 Oct 2012 21:37:43 +0000 (14:37 -0700)]
Merge "Rename "TARGET" to "MODULE" in the build system."

11 years agoMerge "Tweak the SINC resampler parameters and double the performance. It's using...
Glenn Kasten [Wed, 17 Oct 2012 21:37:19 +0000 (14:37 -0700)]
Merge "Tweak the SINC resampler parameters and double the performance. It's using about 10% CPU in the worse case now."

11 years agoMerge "A sinc resampler for Audioflinger. It's not enabled yet, but fully functional...
Glenn Kasten [Wed, 17 Oct 2012 21:37:00 +0000 (14:37 -0700)]
Merge "A sinc resampler for Audioflinger. It's not enabled yet, but fully functional and apparently working. It need more "quality" tests. In the 48->44 KHz, it takes about 25% of the CPU time."

11 years agoMerge "fix a few small typos in the FIR computation"
Glenn Kasten [Wed, 17 Oct 2012 21:36:35 +0000 (14:36 -0700)]
Merge "fix a few small typos in the FIR computation"

11 years agoMerge "This is a tool to compute the the reconstruction filter coefficients for a...
Glenn Kasten [Wed, 17 Oct 2012 21:36:09 +0000 (14:36 -0700)]
Merge "This is a tool to compute the the reconstruction filter coefficients for a sinc audio resampler."

11 years agoManually merge change #111620 from tc3 to mainline, to keep the
Dan Bornstein [Fri, 3 Oct 2008 17:34:57 +0000 (10:34 -0700)]
Manually merge change #111620 from tc3 to mainline, to keep the

automerger from choking on it.

p4 sync
p4 integrate -r -b android_to_tc3 //...@111620,111620
p4 resolve -a
p4 resolve     # resolve a couple merge travesties

PRESUBMIT=passed
BUG=1399648
TBR=edheyl
OCL=111902

Change-Id: I854b01553dd92bbf9c864f5a9bd51a3d665f0ac2
Signed-off-by: Glenn Kasten <gkasten@google.com>
11 years agoRename "Makefile" to "Android.mk" throughout the tree.
Dave Bort [Fri, 18 Jan 2008 22:51:05 +0000 (14:51 -0800)]
Rename "Makefile" to "Android.mk" throughout the tree.

For <http://b/issue?id=960416>.

I've tested this as much as I can, but 1500 open files =
easy to mess things up.  Please let me know if there's
a problem rather than rolling back this change.

PRESUBMIT=passed
BUG=960416
TBR=joeo
OCL=46537

Change-Id: I5a404caf0f398a7afa7ae7abaf2f2a1c6ab490eb
Signed-off-by: Glenn Kasten <gkasten@google.com>
11 years agoRename "TARGET" to "MODULE" in the build system.
Dave Bort [Tue, 13 Nov 2007 09:30:32 +0000 (01:30 -0800)]
Rename "TARGET" to "MODULE" in the build system.

Part one of the grand renaming.

API_CHANGE: Third parties may need to update their makefiles.
Any variables with "LOCAL" and "TARGET" in their names
should now use "MODULE" instead of "TARGET"; e.g., LOCAL_MODULE,
LOCAL_MODULE_TAGS.

PRESUBMIT=passed
OCL=39840

Change-Id: Ica9a7937d3d9552ab84db46ac6eea8a290e404fe
Signed-off-by: Glenn Kasten <gkasten@google.com>
11 years agoTweak the SINC resampler parameters and double the performance. It's using about...
Mathias Agopian [Tue, 30 Oct 2007 06:44:25 +0000 (23:44 -0700)]
Tweak the SINC resampler parameters and double the performance. It's using about 10% CPU in the worse case now.

Change-Id: I50ac7e6c6702a427fa36ab6d976c507155057507
Signed-off-by: Glenn Kasten <gkasten@google.com>
11 years agoA sinc resampler for Audioflinger. It's not enabled yet, but fully functional and...
Mathias Agopian [Mon, 29 Oct 2007 11:34:36 +0000 (04:34 -0700)]
A sinc resampler for Audioflinger. It's not enabled yet, but fully functional and apparently working. It need more "quality" tests. In the 48->44 KHz, it takes about 25% of the CPU time.

Change-Id: I80eb5185e13ebdb907e0b85c49ba1272c23d60ec
Signed-off-by: Glenn Kasten <gkasten@google.com>
11 years agofix a few small typos in the FIR computation
Mathias Agopian [Fri, 24 Aug 2007 04:01:28 +0000 (21:01 -0700)]
fix a few small typos in the FIR computation

Change-Id: I6e56b514fe520f30f7487f85c64ea5d2a7c19b40
Signed-off-by: Glenn Kasten <gkasten@google.com>
11 years agoThis is a tool to compute the the reconstruction filter coefficients for a sinc audio...
Mathias Agopian [Thu, 23 Aug 2007 10:16:02 +0000 (03:16 -0700)]
This is a tool to compute the the reconstruction filter coefficients for a sinc audio resampler.

Change-Id: I99be2505139b8e0e7647200e1647509d4f7e6067
Signed-off-by: Glenn Kasten <gkasten@google.com>
11 years agoFix valgrind issues
Marco Nelissen [Wed, 17 Oct 2012 17:57:02 +0000 (10:57 -0700)]
Fix valgrind issues

We were reading some uninitialized memory when creating bass boost and EQ
effects, and using memcpy() with identical source and destination.

Change-Id: I15ea1b2c52ae05cbf54aef04351e89805e0ebf8e

11 years agoam ed653a35: am ecfbc952: Merge "Camera2: Improve quirks focusing behavior." into...
Eino-Ville Talvala [Wed, 17 Oct 2012 00:03:53 +0000 (17:03 -0700)]
am ed653a35: am ecfbc952: Merge "Camera2: Improve quirks focusing behavior." into jb-mr1-dev

* commit 'ed653a35784969b7d36e8b36bd421e2a54def0de':
  Camera2: Improve quirks focusing behavior.

11 years agoam ecfbc952: Merge "Camera2: Improve quirks focusing behavior." into jb-mr1-dev
Eino-Ville Talvala [Wed, 17 Oct 2012 00:01:52 +0000 (17:01 -0700)]
am ecfbc952: Merge "Camera2: Improve quirks focusing behavior." into jb-mr1-dev

* commit 'ecfbc952d51c71832f739b7483dcc8cb5fe68038':
  Camera2: Improve quirks focusing behavior.

11 years agoMerge "Camera2: Improve quirks focusing behavior." into jb-mr1-dev
Eino-Ville Talvala [Tue, 16 Oct 2012 23:57:05 +0000 (16:57 -0700)]
Merge "Camera2: Improve quirks focusing behavior." into jb-mr1-dev

11 years agoCamera2: Improve quirks focusing behavior.
Eino-Ville Talvala [Tue, 16 Oct 2012 19:58:21 +0000 (12:58 -0700)]
Camera2: Improve quirks focusing behavior.

- When scene mode is set and the AF quirk is in use, don't change AF
mode and then cancel when AF cancel is received. Just change mode
since that also implies a cancel.

- Only trigger quirks switch when a focusing area is set.

Bug: 7318812
Change-Id: I28d8755553bd78052e774701210cb94d84ee2046

11 years agoam aa00830e: am bbe11e46: Merge "Fix track estimation for presentation complete"...
Jean-Michel Trivi [Tue, 16 Oct 2012 18:34:52 +0000 (11:34 -0700)]
am aa00830e: am bbe11e46: Merge "Fix track estimation for presentation complete" into jb-mr1-dev

* commit 'aa00830e46cb7494af7217246788c1bca83b1d04':
  Fix track estimation for presentation complete

11 years agoam bbe11e46: Merge "Fix track estimation for presentation complete" into jb-mr1-dev
Jean-Michel Trivi [Tue, 16 Oct 2012 18:31:54 +0000 (11:31 -0700)]
am bbe11e46: Merge "Fix track estimation for presentation complete" into jb-mr1-dev

* commit 'bbe11e46faf8f9e3296431993c36d3efc61337b5':
  Fix track estimation for presentation complete

11 years agoMerge "Fix track estimation for presentation complete" into jb-mr1-dev
Jean-Michel Trivi [Tue, 16 Oct 2012 18:27:24 +0000 (11:27 -0700)]
Merge "Fix track estimation for presentation complete" into jb-mr1-dev

11 years agoam 74a7bcc0: am 54717320: Camera2: Don\'t touch frame counter on output frames.
Eino-Ville Talvala [Tue, 16 Oct 2012 18:17:16 +0000 (11:17 -0700)]
am 74a7bcc0: am 54717320: Camera2: Don\'t touch frame counter on output frames.

* commit '74a7bcc052d9bdd0f555e9be6f5ecaf92c6b22d8':
  Camera2: Don't touch frame counter on output frames.

11 years agoam 54717320: Camera2: Don\'t touch frame counter on output frames.
Eino-Ville Talvala [Tue, 16 Oct 2012 18:14:28 +0000 (11:14 -0700)]
am 54717320: Camera2: Don\'t touch frame counter on output frames.

* commit '547173205b3fd909dd72b597f6372840c38460e4':
  Camera2: Don't touch frame counter on output frames.

11 years agoam 522fa119: am d6cc4a62: Camera2: When focus is already locked in CAF mode, do not...
Eino-Ville Talvala [Tue, 16 Oct 2012 18:07:54 +0000 (11:07 -0700)]
am 522fa119: am d6cc4a62: Camera2: When focus is already locked in CAF mode, do not trigger HAL.

* commit '522fa119fe2745cd950b6216ad6b49587372b7b3':
  Camera2: When focus is already locked in CAF mode, do not trigger HAL.

11 years agoam d6cc4a62: Camera2: When focus is already locked in CAF mode, do not trigger HAL.
Eino-Ville Talvala [Tue, 16 Oct 2012 18:06:11 +0000 (11:06 -0700)]
am d6cc4a62: Camera2: When focus is already locked in CAF mode, do not trigger HAL.

* commit 'd6cc4a62f3d94cad4dd36bd0a844ba8764177d26':
  Camera2: When focus is already locked in CAF mode, do not trigger HAL.

11 years agoFix track estimation for presentation complete
Jean-Michel Trivi [Tue, 16 Oct 2012 17:29:01 +0000 (10:29 -0700)]
Fix track estimation for presentation complete

Audio tracks were not using the right latency estimation for
 signalling the completion of their presetation. This caused
 the synchronization mechanism between playback and record to be
 off, and a synchronized recording would contain some of the audio
 that was meant to be over once recording would start.
Use the playback thread's latency reporting which takes the audio
 pipe into account.

Bug 7237669

Change-Id: I23a907a53ad0b0d68d246789ec595a77a79fced5

11 years agoCamera2: Don't touch frame counter on output frames.
Eino-Ville Talvala [Tue, 16 Oct 2012 17:28:07 +0000 (10:28 -0700)]
Camera2: Don't touch frame counter on output frames.

Bug: 7357069
Change-Id: I9cd0cdcc23959bfecced5f47bb9e8c59c997dade

11 years agoCamera2: When focus is already locked in CAF mode, do not trigger HAL.
Eino-Ville Talvala [Tue, 16 Oct 2012 17:17:30 +0000 (10:17 -0700)]
Camera2: When focus is already locked in CAF mode, do not trigger HAL.

In HAL2 CAF modes, once focus is locked by an AF trigger, additional
triggers will not cause AF notifications, since the state will not
change again until a cancelAutofocus call.

Since the old API still expects to see a notification, short-circuit
this at the service and send an immediate success notification.

Bug: 7318298
Change-Id: Ib209a24eaf2a35a247d06aea671efe80a33d751e

11 years agoam 2e5aa980: Merge "Fix log spam: Failed to open libwvm.so" into jb-mr1-dev-plus...
Glenn Kasten [Mon, 15 Oct 2012 21:58:39 +0000 (14:58 -0700)]
am 2e5aa980: Merge "Fix log spam: Failed to open libwvm.so" into jb-mr1-dev-plus-aosp

* commit '2e5aa980c9eba995d99aa13e6b5fa2714dc9f61e':
  Fix log spam: Failed to open libwvm.so

11 years agoMerge "Fix log spam: Failed to open libwvm.so" into jb-mr1-dev-plus-aosp
Glenn Kasten [Mon, 15 Oct 2012 21:54:31 +0000 (14:54 -0700)]
Merge "Fix log spam: Failed to open libwvm.so" into jb-mr1-dev-plus-aosp

11 years agoam f93f5bf4: (-s ours) Reconcile with jb-mr1-factory-release jb-mr1-release - do...
The Android Open Source Project [Mon, 15 Oct 2012 14:42:48 +0000 (07:42 -0700)]
am f93f5bf4: (-s ours) Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit 'f93f5bf4a48df3b1557734a1e945b9556ce16f92':

11 years agoReconcile with jb-mr1-factory-release jb-mr1-release - do not merge
The Android Open Source Project [Mon, 15 Oct 2012 14:38:34 +0000 (07:38 -0700)]
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: I427041221d8f8f3237c806f3d8a3f67c0b3a4242

11 years agoFix log spam: Failed to open libwvm.so
Glenn Kasten [Fri, 12 Oct 2012 22:59:28 +0000 (15:59 -0700)]
Fix log spam: Failed to open libwvm.so

Bug: 7342813
Change-Id: I98852f036e4679a653723fc2bf1435d6e9d7d34c

11 years agoam 954f6afe: am b4a55269: Fix some missing checks against missing codecs
James Dong [Fri, 12 Oct 2012 18:10:36 +0000 (11:10 -0700)]
am 954f6afe: am b4a55269: Fix some missing checks against missing codecs

* commit '954f6afed22e8a723ddb9a6448c14bce4e008a9c':
  Fix some missing checks against missing codecs

11 years agoam b4a55269: Fix some missing checks against missing codecs
James Dong [Fri, 12 Oct 2012 18:03:43 +0000 (11:03 -0700)]
am b4a55269: Fix some missing checks against missing codecs

* commit 'b4a55269a5b39c73de2cc1d4013d0631ef18c77d':
  Fix some missing checks against missing codecs