OSDN Git Service

android-x86/frameworks-av.git
10 years agoam 395c2fc0: Merge "audioflinger: Fix for a deadlock in track creation"
Glenn Kasten [Thu, 6 Mar 2014 21:59:23 +0000 (21:59 +0000)]
am 395c2fc0: Merge "audioflinger: Fix for a deadlock in track creation"

* commit '395c2fc0c422c9218f39f6ed2040e90b1cc9920a':
  audioflinger: Fix for a deadlock in track creation

10 years agoam 2b6191fd: am 3b7ddf83: set AAC MPEG version to MPEG-2
Chong Zhang [Thu, 6 Mar 2014 19:50:41 +0000 (19:50 +0000)]
am 2b6191fd: am 3b7ddf83: set AAC MPEG version to MPEG-2

* commit '2b6191fddb1f4a750ad03792d09d4b8efdeeb35a':
  set AAC MPEG version to MPEG-2

10 years agoMerge "audioflinger: Fix for a deadlock in track creation"
Glenn Kasten [Thu, 6 Mar 2014 19:08:44 +0000 (19:08 +0000)]
Merge "audioflinger: Fix for a deadlock in track creation"

10 years agoam 3b7ddf83: set AAC MPEG version to MPEG-2
Chong Zhang [Thu, 6 Mar 2014 18:44:46 +0000 (18:44 +0000)]
am 3b7ddf83: set AAC MPEG version to MPEG-2

* commit '3b7ddf83db2d11c08116a6476c0f11e71bd72ba4':
  set AAC MPEG version to MPEG-2

10 years agoaudioflinger: Fix for a deadlock in track creation
Haynes Mathew George [Fri, 13 Dec 2013 23:40:13 +0000 (15:40 -0800)]
audioflinger: Fix for a deadlock in track creation

AudioFlinger enters a deadlock (with itself) on trying to free a
RecordTrack or Track object that failed initialization. Clear this
bad object from the caller instead.

Bug: 12423233
Change-Id: I926f2beb922a70f6924e593e2bbf1a5b5df85b16

10 years agoset AAC MPEG version to MPEG-2
Chong Zhang [Fri, 7 Feb 2014 20:05:34 +0000 (12:05 -0800)]
set AAC MPEG version to MPEG-2

wifi display play spec only allows MPEG-2 AAC.

Bug: 12747927
Change-Id: Ic96d27ce57f5c8e7da55e43b38f629b5c7333817

10 years agoam a4aa88b8: am 9e64cd42: am d812fc01: Increase kFastTrackMultiplier from 1 to 2
Glenn Kasten [Wed, 5 Mar 2014 23:54:01 +0000 (23:54 +0000)]
am a4aa88b8: am 9e64cd42: am d812fc01: Increase kFastTrackMultiplier from 1 to 2

* commit 'a4aa88b8a9eb4028120363f226f7df6dfc8871a0':
  Increase kFastTrackMultiplier from 1 to 2

10 years agoam 09e45992: am 25a86930: am 88876fb4: AudioTrack: fix obtainBuffer timeout calculation
Eric Laurent [Wed, 5 Mar 2014 23:54:00 +0000 (23:54 +0000)]
am 09e45992: am 25a86930: am 88876fb4: AudioTrack: fix obtainBuffer timeout calculation

* commit '09e45992067f03a05f82400a6cacf16bb8018f16':
  AudioTrack: fix obtainBuffer timeout calculation

10 years agoam 44130bf5: am 994d9bad: am 145b727b: libstagefright: Delay release of wakelock...
Haynes Mathew George [Wed, 5 Mar 2014 23:53:59 +0000 (23:53 +0000)]
am 44130bf5: am 994d9bad: am 145b727b: libstagefright: Delay release of wakelock in TimedEventQueue

* commit '44130bf528842445254537604ed628ad4ac1507b':
  libstagefright: Delay release of wakelock in TimedEventQueue

10 years agoam 5248efb0: am 4f4c9a22: am 281dd4e1: audioflinger: fix static track end detection
Eric Laurent [Wed, 5 Mar 2014 23:53:59 +0000 (23:53 +0000)]
am 5248efb0: am 4f4c9a22: am 281dd4e1: audioflinger: fix static track end detection

* commit '5248efb0eecb20b2d5c02aa844c4dc7aeb925c16':
  audioflinger: fix static track end detection

10 years agoam 854e547d: am c7753b12: am abab1c33: AudioMixer: Remove tracks from enabledTracks...
Gaurav Kumar [Wed, 5 Mar 2014 23:53:58 +0000 (23:53 +0000)]
am 854e547d: am c7753b12: am abab1c33: AudioMixer: Remove tracks from enabledTracks after reseting outTemp

* commit '854e547d219ea4c7258d72442052f744dc7fc0f4':
  AudioMixer: Remove tracks from enabledTracks after reseting outTemp

10 years agoam 1de5c060: am ec94f7a6: am d0115d8c: update offloaded audio track sampling rate
Eric Laurent [Wed, 5 Mar 2014 23:53:57 +0000 (23:53 +0000)]
am 1de5c060: am ec94f7a6: am d0115d8c: update offloaded audio track sampling rate

* commit '1de5c060ea60f2fa982cfb340686deb158c9154a':
  update offloaded audio track sampling rate

10 years agoam 9e64cd42: am d812fc01: Increase kFastTrackMultiplier from 1 to 2
Glenn Kasten [Wed, 5 Mar 2014 23:51:03 +0000 (23:51 +0000)]
am 9e64cd42: am d812fc01: Increase kFastTrackMultiplier from 1 to 2

* commit '9e64cd42032665c90c52804c1042b3671621cda5':
  Increase kFastTrackMultiplier from 1 to 2

10 years agoam 25a86930: am 88876fb4: AudioTrack: fix obtainBuffer timeout calculation
Eric Laurent [Wed, 5 Mar 2014 23:51:02 +0000 (23:51 +0000)]
am 25a86930: am 88876fb4: AudioTrack: fix obtainBuffer timeout calculation

* commit '25a86930ac0ccf4750ad2fb0c2f5a4a122d24ecf':
  AudioTrack: fix obtainBuffer timeout calculation

10 years agoam 994d9bad: am 145b727b: libstagefright: Delay release of wakelock in TimedEventQueue
Haynes Mathew George [Wed, 5 Mar 2014 23:51:01 +0000 (23:51 +0000)]
am 994d9bad: am 145b727b: libstagefright: Delay release of wakelock in TimedEventQueue

* commit '994d9bad4c545cc8861e971f9dbcb4c061ee19ed':
  libstagefright: Delay release of wakelock in TimedEventQueue

10 years agoam 4f4c9a22: am 281dd4e1: audioflinger: fix static track end detection
Eric Laurent [Wed, 5 Mar 2014 23:51:01 +0000 (23:51 +0000)]
am 4f4c9a22: am 281dd4e1: audioflinger: fix static track end detection

* commit '4f4c9a22f4676c65bcae77f0805dcd699b3ba475':
  audioflinger: fix static track end detection

10 years agoam c7753b12: am abab1c33: AudioMixer: Remove tracks from enabledTracks after reseting...
Gaurav Kumar [Wed, 5 Mar 2014 23:50:55 +0000 (23:50 +0000)]
am c7753b12: am abab1c33: AudioMixer: Remove tracks from enabledTracks after reseting outTemp

* commit 'c7753b12a9c8c1cba69ba75bccc0083c37bc67f1':
  AudioMixer: Remove tracks from enabledTracks after reseting outTemp

10 years agoam ec94f7a6: am d0115d8c: update offloaded audio track sampling rate
Eric Laurent [Wed, 5 Mar 2014 23:50:49 +0000 (23:50 +0000)]
am ec94f7a6: am d0115d8c: update offloaded audio track sampling rate

* commit 'ec94f7a6eba6f55175c39c3abcd64046ecd413ad':
  update offloaded audio track sampling rate

10 years agoam d812fc01: Increase kFastTrackMultiplier from 1 to 2
Glenn Kasten [Wed, 5 Mar 2014 23:47:20 +0000 (23:47 +0000)]
am d812fc01: Increase kFastTrackMultiplier from 1 to 2

* commit 'd812fc012298470a1b8120e6d60a24b0b1d48047':
  Increase kFastTrackMultiplier from 1 to 2

10 years agoam 88876fb4: AudioTrack: fix obtainBuffer timeout calculation
Eric Laurent [Wed, 5 Mar 2014 23:47:20 +0000 (23:47 +0000)]
am 88876fb4: AudioTrack: fix obtainBuffer timeout calculation

* commit '88876fb4eb8365343f2a9ca0e8f53148ca38b845':
  AudioTrack: fix obtainBuffer timeout calculation

10 years agoam 145b727b: libstagefright: Delay release of wakelock in TimedEventQueue
Haynes Mathew George [Wed, 5 Mar 2014 23:47:18 +0000 (23:47 +0000)]
am 145b727b: libstagefright: Delay release of wakelock in TimedEventQueue

* commit '145b727b4cce8b1b8d161612f30d12bbdfc8d134':
  libstagefright: Delay release of wakelock in TimedEventQueue

10 years agoam 281dd4e1: audioflinger: fix static track end detection
Eric Laurent [Wed, 5 Mar 2014 23:47:17 +0000 (23:47 +0000)]
am 281dd4e1: audioflinger: fix static track end detection

* commit '281dd4e13309973dbb85bce531f884237e0d8fb0':
  audioflinger: fix static track end detection

10 years agoam abab1c33: AudioMixer: Remove tracks from enabledTracks after reseting outTemp
Gaurav Kumar [Wed, 5 Mar 2014 23:47:17 +0000 (23:47 +0000)]
am abab1c33: AudioMixer: Remove tracks from enabledTracks after reseting outTemp

* commit 'abab1c33caf0982c11713e6d64d60105dcbc8ab7':
  AudioMixer: Remove tracks from enabledTracks after reseting outTemp

10 years agoam d0115d8c: update offloaded audio track sampling rate
Eric Laurent [Wed, 5 Mar 2014 23:47:16 +0000 (23:47 +0000)]
am d0115d8c: update offloaded audio track sampling rate

* commit 'd0115d8c4db2f337030dea706bc0a434c4a03ed6':
  update offloaded audio track sampling rate

10 years agoam eb16bb5d: am 7028a2c8: am 7e92abea: audioflinger: fix offload write buffer offset
Eric Laurent [Wed, 5 Mar 2014 22:48:11 +0000 (22:48 +0000)]
am eb16bb5d: am 7028a2c8: am 7e92abea: audioflinger: fix offload write buffer offset

* commit 'eb16bb5dcecf430bfec1c2a4bd15851c83b9c3cc':
  audioflinger: fix offload write buffer offset

10 years agoam 7028a2c8: am 7e92abea: audioflinger: fix offload write buffer offset
Eric Laurent [Wed, 5 Mar 2014 22:44:59 +0000 (22:44 +0000)]
am 7028a2c8: am 7e92abea: audioflinger: fix offload write buffer offset

* commit '7028a2c8106ee5a22db88da5dad581820ee07254':
  audioflinger: fix offload write buffer offset

10 years agoam 7e92abea: audioflinger: fix offload write buffer offset
Eric Laurent [Wed, 5 Mar 2014 22:41:53 +0000 (22:41 +0000)]
am 7e92abea: audioflinger: fix offload write buffer offset

* commit '7e92abeafb184e8a34213d7149592e95a72601b0':
  audioflinger: fix offload write buffer offset

10 years agoIncrease kFastTrackMultiplier from 1 to 2
Glenn Kasten [Tue, 3 Dec 2013 17:06:43 +0000 (09:06 -0800)]
Increase kFastTrackMultiplier from 1 to 2

Bug: 11967381
Change-Id: Iedec06280aa745d9df5d661f4916940cede9c191

10 years agoAudioTrack: fix obtainBuffer timeout calculation
Eric Laurent [Tue, 28 Jan 2014 02:13:39 +0000 (18:13 -0800)]
AudioTrack: fix obtainBuffer timeout calculation

AudioTrack::obtainBuffer() passes a pointer to a timeout
variable that has gone out of scope when calling
ClientProxy::obtainBuffer().

Same fix for AudioRecord.

Bug: 11968591.
Change-Id: I5b3d0d86ed2bd8c0412eb2432b1ab519d70efce9

10 years agolibstagefright: Delay release of wakelock in TimedEventQueue
Haynes Mathew George [Fri, 6 Dec 2013 19:31:57 +0000 (11:31 -0800)]
libstagefright: Delay release of wakelock in TimedEventQueue

Delay release of wakelock in the TimedEventQueue to
after an event has been processed.
This ensures AP shutdown does not happen while an event
is ready but hasn't been processed yet.

Bug: 11976087.
Change-Id: I9bce83b9ff0f2b4d174a53c95e5b0f135b5ccc70

10 years agoaudioflinger: fix static track end detection
Eric Laurent [Sat, 21 Dec 2013 01:36:01 +0000 (17:36 -0800)]
audioflinger: fix static track end detection

If a static track is not a fast track,
prepareTracks_l() must rely on framesReady() to
detect end of buffer and remove the track from the active
track list.
Failing to do so results in the track staying active but
not processed by the mixer because in underrun. This leaves the
mix buffer content uninitialized and causes the effect process
function to accumulate its output onto undefined data.

Bug: 12013676.
Change-Id: I4b0819a9d93141ac3307b8786fc6a451dd585220

10 years agoAudioMixer: Remove tracks from enabledTracks after reseting outTemp
Gaurav Kumar [Mon, 6 Jan 2014 05:27:18 +0000 (10:57 +0530)]
AudioMixer: Remove tracks from enabledTracks after reseting outTemp

If any track goes through AudioMixer::process__genericNoResampling, and
its getnextbuffer returns NULL, Then that track is removed by AudioMixer
from enabledTracks.

Thus if all tracks getnextbuffer return NULL, Then this function doesn't
reset outTemp and last buffer in AudioFlinger's mMixBuffer will be
repeated and noise is observed.

Remove tracks from enabledTracks after reseting outTemp to zero, so that
process__genericNoResampling will reset outTemp and noise won't appear.

Bug: 12450065

Change-Id: I28996d425838728955f01eb1a00acf6e6dc2dea1
Signed-off-by: Gaurav Kumar <gaurav.kumar@broadcom.com>
Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
10 years agoupdate offloaded audio track sampling rate
Eric Laurent [Sat, 27 Jul 2013 00:16:50 +0000 (17:16 -0700)]
update offloaded audio track sampling rate

AudioPlayer must read the sampling rate from offloaded audio sinks
whenever a new time position is computed as the decoder can update
the sampling rate on the fly.

Bug: 12823955.

Change-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88

10 years agoaudioflinger: fix offload write buffer offset
Eric Laurent [Fri, 22 Nov 2013 17:29:56 +0000 (09:29 -0800)]
audioflinger: fix offload write buffer offset

Fix current audio HAL write buffer offset calculation
which assumes that the frame size is a multiple of 2.
'
Bug: 12823725.

Change-Id: I0195ed5cfef225a6f114e7dd405a02680bb7254e

10 years agoam 97504893: am 6b260425: am 85b3013e: fix deadlock issues that arise when there...
jpadmana [Wed, 5 Mar 2014 20:01:15 +0000 (20:01 +0000)]
am 97504893: am 6b260425: am 85b3013e: fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds

* commit '97504893a3ee96f612e0e1b47d331583a88e289b':
  fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds

10 years agoam 4287b414: am fc04776a: am 50c3157c: audioflinger: check for condition before waiting
Haynes Mathew George [Wed, 5 Mar 2014 20:01:15 +0000 (20:01 +0000)]
am 4287b414: am fc04776a: am 50c3157c: audioflinger: check for condition before waiting

* commit '4287b41411b40415b4186babf5763c3cfa0391ef':
  audioflinger: check for condition before waiting

10 years agoam 632c3790: am 7c206e5b: am e0cd1051: audioflinger: update track ready condition
Haynes Mathew George [Wed, 5 Mar 2014 20:01:14 +0000 (20:01 +0000)]
am 632c3790: am 7c206e5b: am e0cd1051: audioflinger: update track ready condition

* commit '632c3790523896260dc43fd6cd40a158765cdb15':
  audioflinger: update track ready condition

10 years agoam 4f9e38c6: am 21e81bca: am e010f65e: audioflinger: Fix for a deadlock in track...
Haynes Mathew George [Wed, 5 Mar 2014 20:01:11 +0000 (20:01 +0000)]
am 4f9e38c6: am 21e81bca: am e010f65e: audioflinger: Fix for a deadlock in track creation

* commit '4f9e38c60cc79407a8b2966b3b9780a3e395b017':
  audioflinger: Fix for a deadlock in track creation

10 years agoam 6b260425: am 85b3013e: fix deadlock issues that arise when there are simultaneous...
jpadmana [Wed, 5 Mar 2014 19:26:49 +0000 (19:26 +0000)]
am 6b260425: am 85b3013e: fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds

* commit '6b2604259c12ee28b49f26ab2adac96eefe30934':
  fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds

10 years agoam fc04776a: am 50c3157c: audioflinger: check for condition before waiting
Haynes Mathew George [Wed, 5 Mar 2014 19:26:48 +0000 (19:26 +0000)]
am fc04776a: am 50c3157c: audioflinger: check for condition before waiting

* commit 'fc04776adc5572fcc323b1dca66dee27a537c619':
  audioflinger: check for condition before waiting

10 years agoam 7c206e5b: am e0cd1051: audioflinger: update track ready condition
Haynes Mathew George [Wed, 5 Mar 2014 19:26:47 +0000 (19:26 +0000)]
am 7c206e5b: am e0cd1051: audioflinger: update track ready condition

* commit '7c206e5bd24b5ae4565d0e60b637458a1054dfcf':
  audioflinger: update track ready condition

10 years agoam 21e81bca: am e010f65e: audioflinger: Fix for a deadlock in track creation
Haynes Mathew George [Wed, 5 Mar 2014 19:26:47 +0000 (19:26 +0000)]
am 21e81bca: am e010f65e: audioflinger: Fix for a deadlock in track creation

* commit '21e81bca4d1e6f7d1ccac61b65da7c7a4a121064':
  audioflinger: Fix for a deadlock in track creation

10 years agoam 85b3013e: fix deadlock issues that arise when there are simultaneous effect contro...
jpadmana [Wed, 5 Mar 2014 01:24:11 +0000 (01:24 +0000)]
am 85b3013e: fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds

* commit '85b3013e06e8fe7802fe6259ecac80261e834332':
  fix deadlock issues that arise when there are simultaneous effect control interface calls to proxy and to non sub-effect wrappers(eg., bundlewrapper) from audioflinger Also, return NO_ERROR when CMD_OFFLOAD succeeds

10 years agoam 50c3157c: audioflinger: check for condition before waiting
Haynes Mathew George [Wed, 5 Mar 2014 01:24:10 +0000 (01:24 +0000)]
am 50c3157c: audioflinger: check for condition before waiting

* commit '50c3157c5a3e0617be77716beff1ae8801d8a72f':
  audioflinger: check for condition before waiting

10 years agoam e0cd1051: audioflinger: update track ready condition
Haynes Mathew George [Wed, 5 Mar 2014 01:24:09 +0000 (01:24 +0000)]
am e0cd1051: audioflinger: update track ready condition

* commit 'e0cd1051ed9fea0629745c29020516ae62298461':
  audioflinger: update track ready condition

10 years agoam e010f65e: audioflinger: Fix for a deadlock in track creation
Haynes Mathew George [Wed, 5 Mar 2014 01:24:09 +0000 (01:24 +0000)]
am e010f65e: audioflinger: Fix for a deadlock in track creation

* commit 'e010f65e6337267cb15f8894c950a3f64370dd36':
  audioflinger: Fix for a deadlock in track creation

10 years agofix deadlock issues that arise when there are simultaneous
jpadmana [Thu, 14 Nov 2013 11:50:52 +0000 (17:20 +0530)]
fix deadlock issues that arise when there are simultaneous
effect control interface calls to proxy and to
non sub-effect wrappers(eg., bundlewrapper) from audioflinger
Also, return NO_ERROR when CMD_OFFLOAD succeeds

Whenever there are parallel calls to proxy and non sub-effects wrappers,
some of the calls are not completed. This is due to deadlock arsing out
of Proxy waiting for the subeffect call to return and subeffect waiting
for proxy to release lock.
The call flow is changed to a cleaner and simple one - Proxy gets the
aeli(effect library info) of subeffects during the EffectGetSubEffects()
call. Therby, proxy will manage the sub effects by itself rather than
going through effects factory.

Change-Id: If4b259da5776f151c1e81a78a0239d342046d923
Signed-off-by: jpadmana <jayashree.r.padmanaban@intel.com>
Bug: 12424044

10 years agoaudioflinger: check for condition before waiting
Haynes Mathew George [Wed, 4 Dec 2013 05:26:02 +0000 (21:26 -0800)]
audioflinger: check for condition before waiting

AsyncCallbackThread must check for any condition that
was already been satisfied before waiting.

Bug: 11824817
Change-Id: I04683a1f355de4f440106cab47fd916aa39d5e35

10 years agoaudioflinger: update track ready condition
Haynes Mathew George [Sat, 28 Dec 2013 00:09:28 +0000 (16:09 -0800)]
audioflinger: update track ready condition

Signal track ready if the track isStopping().

Bug: 12423190
Change-Id: I95e14905df10ebf301e398263478c8ca25d7e2ce

10 years agoaudioflinger: Fix for a deadlock in track creation
Haynes Mathew George [Fri, 13 Dec 2013 23:40:13 +0000 (15:40 -0800)]
audioflinger: Fix for a deadlock in track creation

AudioFlinger enters a deadlock (with itself) on trying to free a
RecordTrack or Track object that failed initialization. Clear this
bad object from the caller instead.

Bug: 12423233
Change-Id: I926f2beb922a70f6924e593e2bbf1a5b5df85b16

10 years agoam d26e6522: am 57159656: am a4f24ff9: AudioTrack: fix position callback after restore
Eric Laurent [Tue, 4 Mar 2014 23:24:15 +0000 (23:24 +0000)]
am d26e6522: am 57159656: am a4f24ff9: AudioTrack: fix position callback after restore

* commit 'd26e652226b5e589d6784bd01f2c5fc381dc6e2c':
  AudioTrack: fix position callback after restore

10 years agoam 57159656: am a4f24ff9: AudioTrack: fix position callback after restore
Eric Laurent [Tue, 4 Mar 2014 23:21:48 +0000 (23:21 +0000)]
am 57159656: am a4f24ff9: AudioTrack: fix position callback after restore

* commit '571596564f4b818b8e89c4bbe824e557e8e00075':
  AudioTrack: fix position callback after restore

10 years agoam a4f24ff9: AudioTrack: fix position callback after restore
Eric Laurent [Tue, 4 Mar 2014 23:17:47 +0000 (23:17 +0000)]
am a4f24ff9: AudioTrack: fix position callback after restore

* commit 'a4f24ff9b239300b4bb2098c1413c0a60edc2d7e':
  AudioTrack: fix position callback after restore

10 years agoam 525b099a: Merge "Fix ALOGVs for 64bit"
Narayan Kamath [Mon, 3 Mar 2014 11:11:48 +0000 (11:11 +0000)]
am 525b099a: Merge "Fix ALOGVs for 64bit"

* commit '525b099ada155d6654300cb2e5d8c1a09f4eb8ba':
  Fix ALOGVs for 64bit

10 years agoMerge "Fix ALOGVs for 64bit"
Narayan Kamath [Mon, 3 Mar 2014 11:08:27 +0000 (11:08 +0000)]
Merge "Fix ALOGVs for 64bit"

10 years agoam 0cf16339: Merge "Fix preventing from heap overwrite in capture command"
Glenn Kasten [Fri, 28 Feb 2014 17:16:26 +0000 (17:16 +0000)]
am 0cf16339: Merge "Fix preventing from heap overwrite in capture command"

* commit '0cf1633922f970caee19e2cc2f5c042ca30b4aa6':
  Fix preventing from heap overwrite in capture command

10 years agoMerge "Fix preventing from heap overwrite in capture command"
Glenn Kasten [Fri, 28 Feb 2014 17:12:12 +0000 (17:12 +0000)]
Merge "Fix preventing from heap overwrite in capture command"

10 years agoFix ALOGVs for 64bit
Kévin PETIT [Fri, 28 Feb 2014 10:48:38 +0000 (10:48 +0000)]
Fix ALOGVs for 64bit

Change-Id: I556f90f9e6ace1a897d24326e5c14e7bf1e9fe29
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
10 years agoam 096d72a3: Merge "AArch64: Correction for LP64"
Narayan Kamath [Thu, 27 Feb 2014 13:54:51 +0000 (13:54 +0000)]
am 096d72a3: Merge "AArch64: Correction for LP64"

* commit '096d72a32824a0a8c86a716ba44d589183b2b0b3':
  AArch64: Correction for LP64

10 years agoMerge "AArch64: Correction for LP64"
Narayan Kamath [Thu, 27 Feb 2014 13:18:33 +0000 (13:18 +0000)]
Merge "AArch64: Correction for LP64"

10 years agoam 5969b408: Merge "Use multilib-friendly LOCAL_MODULE_RELATIVE_PATH"
Ying Wang [Wed, 26 Feb 2014 19:24:40 +0000 (19:24 +0000)]
am 5969b408: Merge "Use multilib-friendly LOCAL_MODULE_RELATIVE_PATH"

* commit '5969b40858d2046aa2b8481926e34c4cb9062a4a':
  Use multilib-friendly LOCAL_MODULE_RELATIVE_PATH

10 years agoMerge "Use multilib-friendly LOCAL_MODULE_RELATIVE_PATH"
Ying Wang [Wed, 26 Feb 2014 19:18:45 +0000 (19:18 +0000)]
Merge "Use multilib-friendly LOCAL_MODULE_RELATIVE_PATH"

10 years agoUse multilib-friendly LOCAL_MODULE_RELATIVE_PATH
Ying Wang [Wed, 26 Feb 2014 19:07:24 +0000 (11:07 -0800)]
Use multilib-friendly LOCAL_MODULE_RELATIVE_PATH

Change-Id: Ifef0dd59ab317b1799fc899bb2e898bb09d2e5f6

10 years agoAArch64: Correction for LP64
Marcus Oakland [Mon, 17 Feb 2014 08:28:25 +0000 (08:28 +0000)]
AArch64: Correction for LP64

In the Intra16x16PlanePrediction function, a u32 (unsigned 32-bit
integer) was being used for the "i" variable, and being used with a
value of 7 in the loop "for (i = 0, b = 0; i < 8; i++)" to access the
"above[6-i]" location where "above" is defined as "u8 *". Because "i"
was unsigned there was no sign extension on use with the __LP64__
64-bit pointer, so rather than 0xFFFFFFFF being treated as -1, it was
treated as 4,292,967,295 and that resulted in a SIGSEGV at an invalid
address. By changing the type of "i" to an i32 (signed 32-bit integer)
the expected sign extension occurs and the value is treated as -1.

This change fixes android.media.cts.DecoderTest#testCodeBasicH264 on
64-bit platforms

Change-Id: I85df58b0dc1d39f89ab421d04ab5481356520f0c
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
10 years agoam 8fc4d57d: Merge "Avoid a building error"
Glenn Kasten [Tue, 25 Feb 2014 19:41:19 +0000 (19:41 +0000)]
am 8fc4d57d: Merge "Avoid a building error"

* commit '8fc4d57d41f532b90187b9404a8ac705770d75b4':
  Avoid a building error

10 years agoMerge "Avoid a building error"
Glenn Kasten [Tue, 25 Feb 2014 19:36:22 +0000 (19:36 +0000)]
Merge "Avoid a building error"

10 years agoam 4ee5d2b9: Merge "LiveSession: Use the actual, possibly redirected url as base...
Marco Nelissen [Thu, 20 Feb 2014 17:27:17 +0000 (17:27 +0000)]
am 4ee5d2b9: Merge "LiveSession: Use the actual, possibly redirected url as base in the M3U"

* commit '4ee5d2b9d0cdaf936bd5fecd670e5f38da63e4ae':
  LiveSession: Use the actual, possibly redirected url as base in the M3U

10 years agoMerge "LiveSession: Use the actual, possibly redirected url as base in the M3U"
Marco Nelissen [Thu, 20 Feb 2014 17:21:06 +0000 (17:21 +0000)]
Merge "LiveSession: Use the actual, possibly redirected url as base in the M3U"

10 years agoFix preventing from heap overwrite in capture command
Ryszard Grzesica [Fri, 17 Jan 2014 10:40:16 +0000 (11:40 +0100)]
Fix preventing from heap overwrite in capture command

There was heap usage error in case of stop of audio framework while
capturePoint was negative. Pointer to reply data was moved but
final silence write was done using original buffer size.
Now silence set is done at the beginning under the condition
that framework has stopped.

Change-Id: I7dab1e922f1813e5fbfd4a64c8b0d15d9465520c

10 years agoam 80b72e6f: Merge "libeffects: don\'t set module path"
Colin Cross [Fri, 14 Feb 2014 01:08:20 +0000 (01:08 +0000)]
am 80b72e6f: Merge "libeffects: don\'t set module path"

* commit '80b72e6f4202ce26facbe51b8739814bca198a2c':
  libeffects: don't set module path

10 years agoMerge "libeffects: don't set module path"
Colin Cross [Fri, 14 Feb 2014 01:04:44 +0000 (01:04 +0000)]
Merge "libeffects: don't set module path"

10 years agolibeffects: don't set module path
Colin Cross [Fri, 14 Feb 2014 00:39:11 +0000 (16:39 -0800)]
libeffects: don't set module path

Setting the module path breaks multilib builds where there may
be two different module paths for 32-bit and 64-bit, and there
is no need to set it to the default.

Change-Id: I95d62b5573a0bb0ab6c97649041dfc4309cbc8b9

10 years agoam af191eb4: Merge "Replace size_t in shared memory by uint32_t"
Glenn Kasten [Thu, 13 Feb 2014 17:15:19 +0000 (17:15 +0000)]
am af191eb4: Merge "Replace size_t in shared memory by uint32_t"

* commit 'af191eb4feac513d17dc0362e0cea5bc9e0ffe9d':
  Replace size_t in shared memory by uint32_t

10 years agoMerge "Replace size_t in shared memory by uint32_t"
Glenn Kasten [Thu, 13 Feb 2014 15:59:58 +0000 (15:59 +0000)]
Merge "Replace size_t in shared memory by uint32_t"

10 years agoReplace size_t in shared memory by uint32_t
Glenn Kasten [Tue, 28 Jan 2014 19:03:28 +0000 (11:03 -0800)]
Replace size_t in shared memory by uint32_t

Eventually we may want to use uint64_t, but will need to confirm atomicity.

Bug: 12381724
Change-Id: Ia2c591d262d22b47b6f7dab4b9d9faa14b86d865

10 years agoam 0105027f: Fix wrong channel table in ESQueue according to the A/52 table 5.8
Dongwon Kang [Thu, 13 Feb 2014 03:00:06 +0000 (03:00 +0000)]
am 0105027f: Fix wrong channel table in ESQueue according to the A/52 table 5.8

* commit '0105027f2a385ecb29a64b055f3046fb01ca2803':
  Fix wrong channel table in ESQueue according to the A/52 table 5.8

10 years agoam 7eacea11: Merge "avcenc: Only do startcode escaping if the next byte requires it"
Lajos Molnar [Tue, 11 Feb 2014 21:45:21 +0000 (21:45 +0000)]
am 7eacea11: Merge "avcenc: Only do startcode escaping if the next byte requires it"

* commit '7eacea1156a3896ee7813cd9a06c535e63c95f6a':
  avcenc: Only do startcode escaping if the next byte requires it

10 years agoMerge "avcenc: Only do startcode escaping if the next byte requires it"
Lajos Molnar [Tue, 11 Feb 2014 21:31:40 +0000 (21:31 +0000)]
Merge "avcenc: Only do startcode escaping if the next byte requires it"

10 years agoavcenc: Only do startcode escaping if the next byte requires it
Martin Storsjo [Wed, 7 Aug 2013 11:57:20 +0000 (14:57 +0300)]
avcenc: Only do startcode escaping if the next byte requires it

Section 7.4.1 in the H.264 standard says that the only valid bytes
to follow a sequence that starts with 0x000003 are 0x00, 0x01,
0x02 or 0x03.

This makes EncodeDecodeTest pass properly when decoding using
OMX.google.h264.decoder, which is strict about the forbidden
escape sequences.

Change-Id: Ice113d9b934015003ea9cb10d0b21cee4d18d774

10 years agoam 3c9130a8: Merge "Make frameworks/av 64-bit compatible"
Narayan Kamath [Tue, 11 Feb 2014 13:41:54 +0000 (13:41 +0000)]
am 3c9130a8: Merge "Make frameworks/av 64-bit compatible"

* commit '3c9130a8a12ce962dc8d22e04243b135b9e98b01':
  Make frameworks/av 64-bit compatible

10 years agoMerge "Make frameworks/av 64-bit compatible"
Narayan Kamath [Tue, 11 Feb 2014 13:35:01 +0000 (13:35 +0000)]
Merge "Make frameworks/av 64-bit compatible"

10 years agoMake frameworks/av 64-bit compatible
Kévin PETIT [Mon, 3 Feb 2014 12:35:36 +0000 (12:35 +0000)]
Make frameworks/av 64-bit compatible

Contains the necessary changes to make frameworks/av build and work
on a 64-bit machine.

Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43

10 years agoFix wrong channel table in ESQueue according to the A/52 table 5.8
Dongwon Kang [Tue, 11 Feb 2014 09:26:40 +0000 (18:26 +0900)]
Fix wrong channel table in ESQueue according to the A/52 table 5.8

Reference: http://www.atsc.org/cms/standards/A52-2012(12-17).pdf
Bug: 12950777
Change-Id: Ic60033170b21e67408a3b3444507f6528946bdd0

10 years agoam cdda7bf4: Merge "frameworks/av: fix errors inside ALOGV"
Colin Cross [Mon, 10 Feb 2014 22:40:05 +0000 (22:40 +0000)]
am cdda7bf4: Merge "frameworks/av: fix errors inside ALOGV"

* commit 'cdda7bf4d3ca9cad6979374a18dd5be79ea83d80':
  frameworks/av: fix errors inside ALOGV

10 years agoMerge "frameworks/av: fix errors inside ALOGV"
Colin Cross [Mon, 10 Feb 2014 22:34:16 +0000 (22:34 +0000)]
Merge "frameworks/av: fix errors inside ALOGV"

10 years agoframeworks/av: fix errors inside ALOGV
Colin Cross [Fri, 7 Feb 2014 04:29:44 +0000 (20:29 -0800)]
frameworks/av: fix errors inside ALOGV

Fix errors exposed by adding compile-time checking to disabled ALOGVs.

Change-Id: Ie06db81d422bb4eee7dfc10abb8d03001627af4c

10 years agoam 5930e8eb: Merge "AudioFlinger: Remove code for supporting resampling in fast tracks"
Glenn Kasten [Mon, 10 Feb 2014 18:10:54 +0000 (18:10 +0000)]
am 5930e8eb: Merge "AudioFlinger: Remove code for supporting resampling in fast tracks"

* commit '5930e8ebdacf3a59c13eef11fd03658ba58b443e':
  AudioFlinger: Remove code for supporting resampling in fast tracks

10 years agoam 4361749d: Merge "AudioTrack: Never try to use the fast path if resampling is required"
Glenn Kasten [Mon, 10 Feb 2014 18:10:53 +0000 (18:10 +0000)]
am 4361749d: Merge "AudioTrack: Never try to use the fast path if resampling is required"

* commit '4361749d74113069aafb0620a1189404205c58d0':
  AudioTrack: Never try to use the fast path if resampling is required

10 years agoMerge "AudioFlinger: Remove code for supporting resampling in fast tracks"
Glenn Kasten [Mon, 10 Feb 2014 18:05:01 +0000 (18:05 +0000)]
Merge "AudioFlinger: Remove code for supporting resampling in fast tracks"

10 years agoMerge "AudioTrack: Never try to use the fast path if resampling is required"
Glenn Kasten [Mon, 10 Feb 2014 18:04:54 +0000 (18:04 +0000)]
Merge "AudioTrack: Never try to use the fast path if resampling is required"

10 years agoam 7142d10a: Merge "avcenc: Update video port parameters in the base class"
Lajos Molnar [Mon, 10 Feb 2014 17:50:33 +0000 (17:50 +0000)]
am 7142d10a: Merge "avcenc: Update video port parameters in the base class"

* commit '7142d10a7a3941b2deb18869a7f7b79462e0aa52':
  avcenc: Update video port parameters in the base class

10 years agoam 61bdaaa1: Merge "ChromiumHTTPDataSource: Keep track of the redirected URL"
Lajos Molnar [Mon, 10 Feb 2014 17:47:07 +0000 (17:47 +0000)]
am 61bdaaa1: Merge "ChromiumHTTPDataSource: Keep track of the redirected URL"

* commit '61bdaaa18a1d52666827e31bb7980a5784443835':
  ChromiumHTTPDataSource: Keep track of the redirected URL

10 years agoMerge "avcenc: Update video port parameters in the base class"
Lajos Molnar [Mon, 10 Feb 2014 17:45:10 +0000 (17:45 +0000)]
Merge "avcenc: Update video port parameters in the base class"

10 years agoMerge "ChromiumHTTPDataSource: Keep track of the redirected URL"
Lajos Molnar [Mon, 10 Feb 2014 17:41:54 +0000 (17:41 +0000)]
Merge "ChromiumHTTPDataSource: Keep track of the redirected URL"

10 years agoam 88e99f9a: Merge "SoftVPXEncoder: Set the frame size on the output port as well"
Lajos Molnar [Mon, 10 Feb 2014 17:39:01 +0000 (17:39 +0000)]
am 88e99f9a: Merge "SoftVPXEncoder: Set the frame size on the output port as well"

* commit '88e99f9a5e098ee50019ce85f2b1273b48883f37':
  SoftVPXEncoder: Set the frame size on the output port as well

10 years agoMerge "SoftVPXEncoder: Set the frame size on the output port as well"
Lajos Molnar [Mon, 10 Feb 2014 17:34:23 +0000 (17:34 +0000)]
Merge "SoftVPXEncoder: Set the frame size on the output port as well"

10 years agoam 44f2b8c2: Merge "M3UParser: Fix typo in 8883a38a308"
Marco Nelissen [Mon, 10 Feb 2014 17:20:15 +0000 (17:20 +0000)]
am 44f2b8c2: Merge "M3UParser: Fix typo in 8883a38a308"

* commit '44f2b8c2ff4baf64baa0510cd37ac178ef91b7bc':
  M3UParser: Fix typo in 8883a38a308

10 years agoMerge "M3UParser: Fix typo in 8883a38a308"
Marco Nelissen [Mon, 10 Feb 2014 17:12:50 +0000 (17:12 +0000)]
Merge "M3UParser: Fix typo in 8883a38a308"

10 years agoM3UParser: Fix typo in 8883a38a308
Martin Storsjo [Mon, 10 Feb 2014 17:09:59 +0000 (19:09 +0200)]
M3UParser: Fix typo in 8883a38a308

Change-Id: I09f8deb40b8b34efd4bfcfab6866b7780f8bae96

10 years agoam 8519b8a1: Merge "M3UParser: Skip query strings when looking for the last slash...
Marco Nelissen [Mon, 10 Feb 2014 16:48:42 +0000 (16:48 +0000)]
am 8519b8a1: Merge "M3UParser: Skip query strings when looking for the last slash in a URL"

* commit '8519b8a1298d80949edadce9c8f0963ef62cc3ff':
  M3UParser: Skip query strings when looking for the last slash in a URL