OSDN Git Service

android-x86/frameworks-av.git
10 years agoam 319c5640: am 07a017d3: Merge "Added support for ID3v2 meta data in 3gp files"
Marco Nelissen [Fri, 17 Jan 2014 19:30:24 +0000 (19:30 +0000)]
am 319c5640: am 07a017d3: Merge "Added support for ID3v2 meta data in 3gp files"

* commit '319c5640ca2e5838e35faaddc47df00174dac1b5':
  Added support for ID3v2 meta data in 3gp files

10 years agoam fd0daeb3: am 4cc47940: Merge "Fix compile error in NuPlayerRenderer debug print"
Marco Nelissen [Fri, 17 Jan 2014 19:30:23 +0000 (19:30 +0000)]
am fd0daeb3: am 4cc47940: Merge "Fix compile error in NuPlayerRenderer debug print"

* commit 'fd0daeb3fd20ba1c0a0fae530ea263e382a811e5':
  Fix compile error in NuPlayerRenderer debug print

10 years agoam 07a017d3: Merge "Added support for ID3v2 meta data in 3gp files"
Marco Nelissen [Fri, 17 Jan 2014 19:19:50 +0000 (11:19 -0800)]
am 07a017d3: Merge "Added support for ID3v2 meta data in 3gp files"

* commit '07a017d3ff9cb36e47649a9de28e469415eb8103':
  Added support for ID3v2 meta data in 3gp files

10 years agoam 4cc47940: Merge "Fix compile error in NuPlayerRenderer debug print"
Marco Nelissen [Fri, 17 Jan 2014 19:19:49 +0000 (11:19 -0800)]
am 4cc47940: Merge "Fix compile error in NuPlayerRenderer debug print"

* commit '4cc4794029998b21a1689794cd5bcbd5e4480ef6':
  Fix compile error in NuPlayerRenderer debug print

10 years agoMerge "Added support for ID3v2 meta data in 3gp files"
Marco Nelissen [Fri, 17 Jan 2014 17:08:51 +0000 (17:08 +0000)]
Merge "Added support for ID3v2 meta data in 3gp files"

10 years agoMerge "Fix compile error in NuPlayerRenderer debug print"
Marco Nelissen [Fri, 17 Jan 2014 16:04:36 +0000 (16:04 +0000)]
Merge "Fix compile error in NuPlayerRenderer debug print"

10 years agoAdded support for ID3v2 meta data in 3gp files
Oscar Rydhé [Thu, 27 Jan 2011 13:01:24 +0000 (14:01 +0100)]
Added support for ID3v2 meta data in 3gp files

Added support for parsing ID3v2 meta data from
the ID32 chunk in 3gp files. The priority will be
3gpp -> ID3v2 -> iTunes per field.

Change-Id: I0282ecab58e3e5fa6bd738078d562c8bb8ce00ed

10 years agoam cbf9e91a: am 1e8a57c2: Merge "Avoid jumps to faulty position after seeks"
Marco Nelissen [Wed, 15 Jan 2014 22:24:02 +0000 (22:24 +0000)]
am cbf9e91a: am 1e8a57c2: Merge "Avoid jumps to faulty position after seeks"

* commit 'cbf9e91a5ab186904d3dad21eae416c23ee13668':
  Avoid jumps to faulty position after seeks

10 years agoam 1e8a57c2: Merge "Avoid jumps to faulty position after seeks"
Marco Nelissen [Wed, 15 Jan 2014 22:18:14 +0000 (14:18 -0800)]
am 1e8a57c2: Merge "Avoid jumps to faulty position after seeks"

* commit '1e8a57c212d26c41325e950ed629244071acc326':
  Avoid jumps to faulty position after seeks

10 years agoMerge "Avoid jumps to faulty position after seeks"
Marco Nelissen [Wed, 15 Jan 2014 22:12:04 +0000 (22:12 +0000)]
Merge "Avoid jumps to faulty position after seeks"

10 years agoam 3eccdde9: am c7614eb7: Merge "libcameraservice: Fix build in ISO C++11 mode"
Eino-Ville Talvala [Wed, 15 Jan 2014 20:35:37 +0000 (20:35 +0000)]
am 3eccdde9: am c7614eb7: Merge "libcameraservice: Fix build in ISO C++11 mode"

* commit '3eccdde99f7063eba4e2788aa7c8c290f7a24120':
  libcameraservice: Fix build in ISO C++11 mode

10 years agoam c7614eb7: Merge "libcameraservice: Fix build in ISO C++11 mode"
Eino-Ville Talvala [Wed, 15 Jan 2014 20:30:41 +0000 (12:30 -0800)]
am c7614eb7: Merge "libcameraservice: Fix build in ISO C++11 mode"

* commit 'c7614eb7cf2e3e121baa3de26e3622974a163786':
  libcameraservice: Fix build in ISO C++11 mode

10 years agoMerge "libcameraservice: Fix build in ISO C++11 mode"
Eino-Ville Talvala [Wed, 15 Jan 2014 20:26:02 +0000 (20:26 +0000)]
Merge "libcameraservice: Fix build in ISO C++11 mode"

10 years agoam 514ac2ba: am e311b15c: Merge "Fix c++11 narrowing"
Nick Kralevich [Sat, 11 Jan 2014 05:48:40 +0000 (05:48 +0000)]
am 514ac2ba: am e311b15c: Merge "Fix c++11 narrowing"

* commit '514ac2bae9fc32327cac3ba22c4862e8b5ef259e':
  Fix c++11 narrowing

10 years agoam e311b15c: Merge "Fix c++11 narrowing"
Nick Kralevich [Sat, 11 Jan 2014 04:25:46 +0000 (20:25 -0800)]
am e311b15c: Merge "Fix c++11 narrowing"

* commit 'e311b15cf821f65f68af2cdfe01e864cbc9a86ce':
  Fix c++11 narrowing

10 years agoMerge "Fix c++11 narrowing"
Nick Kralevich [Sat, 11 Jan 2014 04:20:10 +0000 (04:20 +0000)]
Merge "Fix c++11 narrowing"

10 years agoam d8d45edf: am 61540b5f: Merge "Frameworks: AudioFlinger: Fix effects memory leak"
Glenn Kasten [Fri, 10 Jan 2014 17:32:40 +0000 (17:32 +0000)]
am d8d45edf: am 61540b5f: Merge "Frameworks: AudioFlinger: Fix effects memory leak"

* commit 'd8d45edf6a2714fff051d67aa1ac83d74bb0c6e0':
  Frameworks: AudioFlinger: Fix effects memory leak

10 years agoam 61540b5f: Merge "Frameworks: AudioFlinger: Fix effects memory leak"
Glenn Kasten [Fri, 10 Jan 2014 17:26:02 +0000 (09:26 -0800)]
am 61540b5f: Merge "Frameworks: AudioFlinger: Fix effects memory leak"

* commit '61540b5fe82cad1c6baa018f02bd2554e62e4364':
  Frameworks: AudioFlinger: Fix effects memory leak

10 years agoMerge "Frameworks: AudioFlinger: Fix effects memory leak"
Glenn Kasten [Fri, 10 Jan 2014 17:22:39 +0000 (17:22 +0000)]
Merge "Frameworks: AudioFlinger: Fix effects memory leak"

10 years agoam 586dda1d: am 5ca94d2f: Merge "HLS: Fixed rounding error with decimal segment duration"
Marco Nelissen [Thu, 9 Jan 2014 17:54:13 +0000 (17:54 +0000)]
am 586dda1d: am 5ca94d2f: Merge "HLS: Fixed rounding error with decimal segment duration"

* commit '586dda1d0845612af88e3f4ffc46ed38e304ef85':
  HLS: Fixed rounding error with decimal segment duration

10 years agoam 5ca94d2f: Merge "HLS: Fixed rounding error with decimal segment duration"
Marco Nelissen [Thu, 9 Jan 2014 17:50:14 +0000 (09:50 -0800)]
am 5ca94d2f: Merge "HLS: Fixed rounding error with decimal segment duration"

* commit '5ca94d2f3c4662aed7b66a97b77eb2d1948464ad':
  HLS: Fixed rounding error with decimal segment duration

10 years agoMerge "HLS: Fixed rounding error with decimal segment duration"
Marco Nelissen [Thu, 9 Jan 2014 17:43:40 +0000 (17:43 +0000)]
Merge "HLS: Fixed rounding error with decimal segment duration"

10 years agoam f60cfa7f: am 99044adc: Merge "Change M4OSA_ERR_CREATE to return unsigned integer."
Narayan Kamath [Wed, 8 Jan 2014 09:45:25 +0000 (09:45 +0000)]
am f60cfa7f: am 99044adc: Merge "Change M4OSA_ERR_CREATE to return unsigned integer."

* commit 'f60cfa7faa0bdde0a4f302f1272d6aa869588cc4':
  Change M4OSA_ERR_CREATE to return unsigned integer.

10 years agoam 99044adc: Merge "Change M4OSA_ERR_CREATE to return unsigned integer."
Narayan Kamath [Wed, 8 Jan 2014 09:01:54 +0000 (01:01 -0800)]
am 99044adc: Merge "Change M4OSA_ERR_CREATE to return unsigned integer."

* commit '99044adc6e209d31e9c5308d960e2bd5f6999f85':
  Change M4OSA_ERR_CREATE to return unsigned integer.

10 years agoMerge "Change M4OSA_ERR_CREATE to return unsigned integer."
Narayan Kamath [Wed, 8 Jan 2014 08:56:10 +0000 (08:56 +0000)]
Merge "Change M4OSA_ERR_CREATE to return unsigned integer."

10 years agoFix compile error in NuPlayerRenderer debug print
Oscar Rydhé [Tue, 15 Oct 2013 07:54:08 +0000 (09:54 +0200)]
Fix compile error in NuPlayerRenderer debug print

When activating verbose log prints in NuPlayerRenderer the build
fails because a variable have changed but the log print hasn't been
updated.

Change-Id: I3089b087d296c37dfe6379d7e75d5892912fef96

10 years agoChange M4OSA_ERR_CREATE to return unsigned integer.
Ashok Bhat [Thu, 2 Jan 2014 14:54:57 +0000 (14:54 +0000)]
Change M4OSA_ERR_CREATE to return unsigned integer.

While M4OSA_ERR is defined as M4OSA_UInt32, MOSA_ERR_CREATE
is defined to return M4OSA_Int32. This leads to signed/unsigned
comparison warnings. M4OSA_ERR_CREATE has been changed to return
M4OSA_UInt32 to fix this issue.

Change-Id: I71a5c50a95c7f296469604b486a1d3969d302a3f
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
10 years agoam b904d53f: am 8115f4b2: Merge "stagefright: do not offload LD-AAC decoding"
Eric Laurent [Sat, 21 Dec 2013 01:32:26 +0000 (01:32 +0000)]
am b904d53f: am 8115f4b2: Merge "stagefright: do not offload LD-AAC decoding"

* commit 'b904d53ffaaafddb2f9b6f469b73d2a3bec3dd0d':
  stagefright: do not offload LD-AAC decoding

10 years agoam 5a086733: am 1777ed30: Merge "stagefright: fix offloading HE-AAC sampling rate."
Eric Laurent [Sat, 21 Dec 2013 01:28:59 +0000 (01:28 +0000)]
am 5a086733: am 1777ed30: Merge "stagefright: fix offloading HE-AAC sampling rate."

* commit '5a086733f8a7472bee85b371e9d02874c9317f3b':
  stagefright: fix offloading HE-AAC sampling rate.

10 years agoam 8115f4b2: Merge "stagefright: do not offload LD-AAC decoding"
Eric Laurent [Sat, 21 Dec 2013 01:26:47 +0000 (17:26 -0800)]
am 8115f4b2: Merge "stagefright: do not offload LD-AAC decoding"

* commit '8115f4b206dbd04c620f062feb3c7785e2732ab3':
  stagefright: do not offload LD-AAC decoding

10 years agoam 1777ed30: Merge "stagefright: fix offloading HE-AAC sampling rate."
Eric Laurent [Sat, 21 Dec 2013 01:23:27 +0000 (17:23 -0800)]
am 1777ed30: Merge "stagefright: fix offloading HE-AAC sampling rate."

* commit '1777ed30bfb3b9c1edc037a1b5482d5ab8f28b9b':
  stagefright: fix offloading HE-AAC sampling rate.

10 years agoMerge "stagefright: do not offload LD-AAC decoding"
Eric Laurent [Sat, 21 Dec 2013 01:19:56 +0000 (01:19 +0000)]
Merge "stagefright: do not offload LD-AAC decoding"

10 years agostagefright: do not offload LD-AAC decoding
Eric Laurent [Fri, 6 Dec 2013 19:51:42 +0000 (11:51 -0800)]
stagefright: do not offload LD-AAC decoding

For now, do not offload LD and ELD AAC decoding because there
is no way to know if it is supported by the audio DSP implementation.
The longer term fix will be to have mapMimeToAudioFormat() use the
audio object type in track metadata to refine the AAC format and the
audio HAL list supported AAC profiles.

Change-Id: Iaa88ecf3f4ae42ad48c1b42a9b007dd80eb88147

10 years agoMerge "stagefright: fix offloading HE-AAC sampling rate."
Eric Laurent [Sat, 21 Dec 2013 01:18:46 +0000 (01:18 +0000)]
Merge "stagefright: fix offloading HE-AAC sampling rate."

10 years agostagefright: fix offloading HE-AAC sampling rate.
Eric Laurent [Fri, 6 Dec 2013 19:16:54 +0000 (11:16 -0800)]
stagefright: fix offloading HE-AAC sampling rate.

Fix HE AAC SBR sampling rate reading for explicit
signaling.

Bug: 11697128.
Change-Id: Ifec0ab9d48d9293f6774ec1efd9da9445994cb7c

10 years agoHLS: Fixed rounding error with decimal segment duration
Oscar Rydhé [Tue, 17 Dec 2013 08:53:18 +0000 (09:53 +0100)]
HLS: Fixed rounding error with decimal segment duration

If segment duration is specified with decimal value only the
integer value will be used, causing the stream duration to
be wrong.

Reported to Android public issue tracker:
https://code.google.com/p/android/issues/detail?id=56223

Change-Id: I34fb7a81af6ad3d9a214228cfe3724636ebf5ab5

10 years agoAvoid jumps to faulty position after seeks
Roger1 Jonsson [Thu, 11 Oct 2012 08:32:33 +0000 (10:32 +0200)]
Avoid jumps to faulty position after seeks

When seeking multiple times it is possible that some seeks
are discarded in AwesomePlayer, which causes unwanted jumps
to faulty positions.
The reason is that a seek flag is reset twice in AwesomePlayer.
At first when the video seek is completed and then again when the
audio seek is completed. If a new seek is made after the previous
video seek completed but before the previous audio seek completed,
the new seek position is discarded by the previous audio seek
completion.

This fix makes sure that the seek flag is reset only when video
has completed the seek.

Change-Id: I8f8741d4cb8682345f1d1855bbad57c05f4e3c8d

10 years agoam d497b648: am 1f95555c: Merge "libeffects: do not use GNU old-style field designators"
Nick Kralevich [Wed, 18 Dec 2013 05:50:54 +0000 (05:50 +0000)]
am d497b648: am 1f95555c: Merge "libeffects: do not use GNU old-style field designators"

* commit 'd497b648ccb316e3fbda4c081f7c3010318bbcd9':
  libeffects: do not use GNU old-style field designators

10 years agoam 1f95555c: Merge "libeffects: do not use GNU old-style field designators"
Nick Kralevich [Wed, 18 Dec 2013 04:17:23 +0000 (20:17 -0800)]
am 1f95555c: Merge "libeffects: do not use GNU old-style field designators"

* commit '1f95555c69219180f792ac742cc0e386496c29e6':
  libeffects: do not use GNU old-style field designators

10 years agoMerge "libeffects: do not use GNU old-style field designators"
Nick Kralevich [Wed, 18 Dec 2013 04:12:18 +0000 (04:12 +0000)]
Merge "libeffects: do not use GNU old-style field designators"

10 years agolibeffects: do not use GNU old-style field designators
synergy dev [Wed, 18 Dec 2013 01:48:51 +0000 (17:48 -0800)]
libeffects: do not use GNU old-style field designators

Avoiding the use of GCC extensions improves code portability

Change-Id: I9edbedc5c8ad4aa46ca54bc2e28280441431a530

10 years agoam 35da47e5: am 274cc85d: Merge "libstagefright: Delay release of wakelock in TimedEv...
Eric Laurent [Tue, 17 Dec 2013 22:17:31 +0000 (22:17 +0000)]
am 35da47e5: am 274cc85d: Merge "libstagefright: Delay release of wakelock in TimedEventQueue"

* commit '35da47e5d55392e6adbc97efaf181cb1dd259c04':
  libstagefright: Delay release of wakelock in TimedEventQueue

10 years agoam e4301da6: am f81f7a52: Merge "audioflinger: check for condition before waiting"
Eric Laurent [Tue, 17 Dec 2013 22:17:31 +0000 (22:17 +0000)]
am e4301da6: am f81f7a52: Merge "audioflinger: check for condition before waiting"

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

10 years agoam 38138bb1: am 645e4397: Merge "AudioTrack: fix position callback after restore"
Eric Laurent [Tue, 17 Dec 2013 22:17:30 +0000 (22:17 +0000)]
am 38138bb1: am 645e4397: Merge "AudioTrack: fix position callback after restore"

* commit '38138bb1816e49f3f4e73e5bff2affe3d24a96fc':
  AudioTrack: fix position callback after restore

10 years agoam 51d166ec: am 9060d498: Merge "update offloaded audio track sampling rate"
Eric Laurent [Tue, 17 Dec 2013 22:17:29 +0000 (22:17 +0000)]
am 51d166ec: am 9060d498: Merge "update offloaded audio track sampling rate"

* commit '51d166ec7985949fa69262f213a4162708ebe81e':
  update offloaded audio track sampling rate

10 years agoam 274cc85d: Merge "libstagefright: Delay release of wakelock in TimedEventQueue"
Eric Laurent [Tue, 17 Dec 2013 22:11:15 +0000 (14:11 -0800)]
am 274cc85d: Merge "libstagefright: Delay release of wakelock in TimedEventQueue"

* commit '274cc85dcb255185838705a91dba00efa52bf436':
  libstagefright: Delay release of wakelock in TimedEventQueue

10 years agoam f81f7a52: Merge "audioflinger: check for condition before waiting"
Eric Laurent [Tue, 17 Dec 2013 22:11:14 +0000 (14:11 -0800)]
am f81f7a52: Merge "audioflinger: check for condition before waiting"

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

10 years agoam 645e4397: Merge "AudioTrack: fix position callback after restore"
Eric Laurent [Tue, 17 Dec 2013 22:11:14 +0000 (14:11 -0800)]
am 645e4397: Merge "AudioTrack: fix position callback after restore"

* commit '645e43977d3aabc5addab022d772accc32fd5bdc':
  AudioTrack: fix position callback after restore

10 years agoam 9060d498: Merge "update offloaded audio track sampling rate"
Eric Laurent [Tue, 17 Dec 2013 22:11:13 +0000 (14:11 -0800)]
am 9060d498: Merge "update offloaded audio track sampling rate"

* commit '9060d498be0c54d3caf84e2dbf1ba62516b3e76e':
  update offloaded audio track sampling rate

10 years agoMerge "libstagefright: Delay release of wakelock in TimedEventQueue"
Eric Laurent [Tue, 17 Dec 2013 22:06:50 +0000 (22:06 +0000)]
Merge "libstagefright: Delay release of wakelock in TimedEventQueue"

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: I71a5f3ac4a57e1d05dd5d9ab5c6f91ed7bb64c87

10 years agoMerge "audioflinger: check for condition before waiting"
Eric Laurent [Tue, 17 Dec 2013 22:06:10 +0000 (22:06 +0000)]
Merge "audioflinger: check for condition before waiting"

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
has already been satisfied before waiting.

Bug: 11824817
Change-Id: Ic8c2090d521ecd6a30b76ee75635258d35eb1eff

10 years agoMerge "AudioTrack: fix position callback after restore"
Eric Laurent [Tue, 17 Dec 2013 22:05:19 +0000 (22:05 +0000)]
Merge "AudioTrack: fix position callback after restore"

10 years agoAudioTrack: fix position callback after restore
Eric Laurent [Wed, 27 Nov 2013 22:29:13 +0000 (14:29 -0800)]
AudioTrack: fix position callback after restore

When restoring an AudioTrack, the next position callback point
should not be modified and set ahead of current buffer head.
Otherwise, as frames are dropped, the new position is never reached
and an application relying on position callbacks to reload the buffer
would be stalled.

Bug: 11868603.
Change-Id: I93b2a311642a0c89944b78bcc0482d4ceed98ae4

10 years agoMerge "update offloaded audio track sampling rate"
Eric Laurent [Tue, 17 Dec 2013 22:04:08 +0000 (22:04 +0000)]
Merge "update offloaded audio track sampling rate"

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.

Change-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88

10 years agoam 5893736d: am a67c7653: Merge "Increase kFastTrackMultiplier from 1 to 2"
Glenn Kasten [Tue, 17 Dec 2013 16:33:47 +0000 (16:33 +0000)]
am 5893736d: am a67c7653: Merge "Increase kFastTrackMultiplier from 1 to 2"

* commit '5893736dc1776008026e660526d34943ea888fd6':
  Increase kFastTrackMultiplier from 1 to 2

10 years agoam a67c7653: Merge "Increase kFastTrackMultiplier from 1 to 2"
Glenn Kasten [Tue, 17 Dec 2013 16:30:03 +0000 (08:30 -0800)]
am a67c7653: Merge "Increase kFastTrackMultiplier from 1 to 2"

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

10 years agoMerge "Increase kFastTrackMultiplier from 1 to 2"
Glenn Kasten [Tue, 17 Dec 2013 16:26:41 +0000 (16:26 +0000)]
Merge "Increase kFastTrackMultiplier from 1 to 2"

10 years agoam 7c464c07: am a0e1c391: Merge changes Ia684fde5,I58fcb526
Andy McFadden [Wed, 11 Dec 2013 22:07:50 +0000 (22:07 +0000)]
am 7c464c07: am a0e1c391: Merge changes Ia684fde5,I58fcb526

* commit '7c464c0783ab2917572fdc565056ca677abf90ba':
  Fix the help text
  screenrecord fixes

10 years agoam 17ce8846: am 1c9ca7d1: Merge "Add "--bugreport" option to screenrecord"
Andy McFadden [Wed, 11 Dec 2013 22:07:49 +0000 (22:07 +0000)]
am 17ce8846: am 1c9ca7d1: Merge "Add "--bugreport" option to screenrecord"

* commit '17ce8846ca97754579442f80d3e19e2d5aa7597f':
  Add "--bugreport" option to screenrecord

10 years agoam a0e1c391: Merge changes Ia684fde5,I58fcb526
Andy McFadden [Wed, 11 Dec 2013 21:48:44 +0000 (13:48 -0800)]
am a0e1c391: Merge changes Ia684fde5,I58fcb526

* commit 'a0e1c3918dd1356445df98e89dab6be2c8a78da3':
  Fix the help text
  screenrecord fixes

10 years agoam 1c9ca7d1: Merge "Add "--bugreport" option to screenrecord"
Andy McFadden [Wed, 11 Dec 2013 21:48:43 +0000 (13:48 -0800)]
am 1c9ca7d1: Merge "Add "--bugreport" option to screenrecord"

* commit '1c9ca7d13e948af4633d5e5f8117d8c53ac684f6':
  Add "--bugreport" option to screenrecord

10 years agoMerge changes Ia684fde5,I58fcb526
Andy McFadden [Wed, 11 Dec 2013 21:30:41 +0000 (21:30 +0000)]
Merge changes Ia684fde5,I58fcb526

* changes:
  Fix the help text
  screenrecord fixes

10 years agoMerge "Add "--bugreport" option to screenrecord"
Andy McFadden [Wed, 11 Dec 2013 21:29:49 +0000 (21:29 +0000)]
Merge "Add "--bugreport" option to screenrecord"

10 years agoFix the help text
Andy McFadden [Wed, 20 Nov 2013 00:48:50 +0000 (16:48 -0800)]
Fix the help text

Pesky bloggers.

(cherry-pick from Ia8677b054423db292a34e28337431b57804df259)

Change-Id: Ia684fde52697ea78fca79de958ef8b31a50e68ba

10 years agoscreenrecord fixes
Andy McFadden [Tue, 19 Nov 2013 20:50:17 +0000 (12:50 -0800)]
screenrecord fixes

Fixes to issues identified during code review.

(cherry-pick from I2203694acb5c0544878f64f4347d29ad1a0725c4)

Change-Id: I58fcb5264fc17b26fac4b03f95d35262e9e199e2

10 years agoAdd "--bugreport" option to screenrecord
Andy McFadden [Fri, 18 Oct 2013 14:31:41 +0000 (07:31 -0700)]
Add "--bugreport" option to screenrecord

The --bugreport option adds two visible features: (1) a timestamp
overlay that (mostly) matches logcat, making it easier to match what
appears in the video with what's in the log, and (2) an "info page"
at the start of the video that shows the system configuration.

Enabling this option adds an additional composition step,
increasing the overhead of screenrecord.  Depending on the device
and circumstances, this may be unnoticeable or very pronounced.
If --bugreport is not enabled, the overhead of screenrecord is
unchanged.

We also now track device orientation changes.  This is currently
detected by polling surfaceflinger, which is suboptimal.  As a
result, we detect the rotation too late, and get a weird mixed
frame before the start of the animation for 90-degree changes.

Also, allow the bit rate to be specified as e.g. "4M" for 4Mbps.

Also, --rotate is now deprecated.

Bug 11220305
Bug 11136964

(cherry pick from Ibb94b81d2f73547b95d7a47e027da75fab187a4f)

Change-Id: I829a91aaca5ab82a07c14172d9e188ec38f14e57

10 years agoDO NOT MERGE reset to goog/klp-volantis-dev
Qiwen Zhao [Mon, 9 Dec 2013 22:17:36 +0000 (14:17 -0800)]
DO NOT MERGE reset to goog/klp-volantis-dev

10 years agoam e2d617f5: Merge commit \'2381f06f374ee0cb8bca0edf5388394432b00e6d\' into HEAD
The Android Open Source Project [Fri, 6 Dec 2013 01:26:01 +0000 (17:26 -0800)]
am e2d617f5: Merge commit \'2381f06f374ee0cb8bca0edf5388394432b00e6d\' into HEAD

* commit 'e2d617f5ba7fb90f27b03e2593666b2c927e4dc9':

10 years agoam 8ec8a534: am 1e0b0808: Merge "Restore stagefright command line tool." into klp-dev
Andreas Huber [Thu, 5 Dec 2013 21:30:53 +0000 (21:30 +0000)]
am 8ec8a534: am 1e0b0808: Merge "Restore stagefright command line tool." into klp-dev

* commit '8ec8a5346831efa699d31274363da9cf516981db':

10 years agoam 00dbc7ba: am 46052913: Better error message
Andy McFadden [Thu, 5 Dec 2013 21:30:52 +0000 (21:30 +0000)]
am 00dbc7ba: am 46052913: Better error message

* commit '00dbc7ba6ba089c40ff1cbea370828b57a464b52':

10 years agoam 82278b2c: am fe9611bd: Merge "Fix potential leak of audio input handle." into...
Jeff Brown [Thu, 5 Dec 2013 21:29:06 +0000 (21:29 +0000)]
am 82278b2c: am fe9611bd: Merge "Fix potential leak of audio input handle." into klp-dev

* commit '82278b2ceeebbcf345ed81413eeffa82fa82e05b':

10 years agoMerge commit '2381f06f374ee0cb8bca0edf5388394432b00e6d' into HEAD
The Android Open Source Project [Thu, 5 Dec 2013 20:38:14 +0000 (12:38 -0800)]
Merge commit '2381f06f374ee0cb8bca0edf5388394432b00e6d' into HEAD

10 years agoam 4d9bc1a7: am b8689b31: Support for "request-sync" parameter in ACodec
Andreas Huber [Thu, 5 Dec 2013 19:46:23 +0000 (19:46 +0000)]
am 4d9bc1a7: am b8689b31: Support for "request-sync" parameter in ACodec

* commit '4d9bc1a742b386db4985ad1f973091a50207fdc2':

10 years agoam 60147776: (-s ours) am 7473e356: (-s ours) am 943917c4: (-s ours) Merge "Fix Sound...
Glenn Kasten [Thu, 5 Dec 2013 19:40:45 +0000 (19:40 +0000)]
am 60147776: (-s ours) am 7473e356: (-s ours) am 943917c4: (-s ours) Merge "Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE"

* commit '601477769cef254d3a95338e853a37ccf9aac63f':
  Fix SoundPool.play() looping regression in 4.3 DO NOT MERGE

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

Change-Id: I158f147295eebcea96e4047d7618069bc48bdd7d

10 years agoam 92630351: Merge "NuPlayer: Use a software renderer when using software codecs"
Marco Nelissen [Thu, 28 Nov 2013 17:34:37 +0000 (09:34 -0800)]
am 92630351: Merge "NuPlayer: Use a software renderer when using software codecs"

* commit '92630351d265a61faae2dfe006a8bb330283aa7b':
  NuPlayer: Use a software renderer when using software codecs

10 years agoMerge "NuPlayer: Use a software renderer when using software codecs"
Marco Nelissen [Thu, 28 Nov 2013 17:26:16 +0000 (17:26 +0000)]
Merge "NuPlayer: Use a software renderer when using software codecs"

10 years agoam 90892d1b: Merge "Fix SIGABRT when playing mp4 file"
Marco Nelissen [Tue, 26 Nov 2013 16:38:55 +0000 (08:38 -0800)]
am 90892d1b: Merge "Fix SIGABRT when playing mp4 file"

* commit '90892d1be84776f59a619ea4ef9ce51be5828ff8':
  Fix SIGABRT when playing mp4 file

10 years agoMerge "Fix SIGABRT when playing mp4 file"
Marco Nelissen [Tue, 26 Nov 2013 02:10:18 +0000 (02:10 +0000)]
Merge "Fix SIGABRT when playing mp4 file"

10 years agoam 11e71558: Merge "Fixed data offset at parsing IPMP Descriptors"
Marco Nelissen [Mon, 25 Nov 2013 17:39:47 +0000 (09:39 -0800)]
am 11e71558: Merge "Fixed data offset at parsing IPMP Descriptors"

* commit '11e715589e0f3f96389d0eedab677369da680fd4':
  Fixed data offset at parsing IPMP Descriptors

10 years agoFix SIGABRT when playing mp4 file
Marco Nelissen [Mon, 25 Nov 2013 16:39:56 +0000 (08:39 -0800)]
Fix SIGABRT when playing mp4 file

If the track duration was shorter than the segment duration, the calculated
encoder padding would be negative, resulting in a crash.
b/11823061
https://code.google.com/p/android/issues/detail?id=62610

Change-Id: I3989ad88caea38d212b61355c15aec13382c6116

10 years agoMerge "Fixed data offset at parsing IPMP Descriptors"
Marco Nelissen [Mon, 25 Nov 2013 16:34:06 +0000 (16:34 +0000)]
Merge "Fixed data offset at parsing IPMP Descriptors"

10 years agoFixed data offset at parsing IPMP Descriptors
Ichitaro Kohara [Thu, 6 Jun 2013 03:19:17 +0000 (12:19 +0900)]
Fixed data offset at parsing IPMP Descriptors

MPEG4Extractor::parseDrmSINF() miscalculated data offset in parsing
IPMP Descriptors. This commit makes it to take in 2 bytes which is
the size of IPMPS_Type field.

Change-Id: I42cbb6793af9d9b2f14dbfdd7a616096002793f9

10 years agoam 5bf2560c: Merge commit \'b2059ff384eee8ffb70a7ec8fc5570405201c734\' into HEAD
The Android Open Source Project [Sat, 23 Nov 2013 01:40:36 +0000 (17:40 -0800)]
am 5bf2560c: Merge commit \'b2059ff384eee8ffb70a7ec8fc5570405201c734\' into HEAD

* commit '5bf2560ce9b70bee077e0c264ac06648f0f63acc':

10 years agoMerge commit 'b2059ff384eee8ffb70a7ec8fc5570405201c734' into HEAD
The Android Open Source Project [Fri, 22 Nov 2013 18:35:20 +0000 (10:35 -0800)]
Merge commit 'b2059ff384eee8ffb70a7ec8fc5570405201c734' into HEAD

10 years agoam 5ea5b020: Merge "WA: Queue extra buffers on output port during reconfig if input...
Lajos Molnar [Tue, 19 Nov 2013 01:34:39 +0000 (17:34 -0800)]
am 5ea5b020: Merge "WA: Queue extra buffers on output port during reconfig if input EOS-ed" into klp-dev

* commit '5ea5b020b311a68f513d4a40aca5551abc6a07d8':
  WA: Queue extra buffers on output port during reconfig if input EOS-ed

10 years agoMerge "WA: Queue extra buffers on output port during reconfig if input EOS-ed" into...
Lajos Molnar [Tue, 19 Nov 2013 01:28:28 +0000 (01:28 +0000)]
Merge "WA: Queue extra buffers on output port during reconfig if input EOS-ed" into klp-dev

11 years agoam 24605338: Merge "Fix metadata access" into klp-dev
Marco Nelissen [Fri, 15 Nov 2013 22:21:32 +0000 (14:21 -0800)]
am 24605338: Merge "Fix metadata access" into klp-dev

* commit '246053380a9f628405a29a055a3f1f4fba13ed5b':
  Fix metadata access

11 years agoMerge "Fix metadata access" into klp-dev
Marco Nelissen [Fri, 15 Nov 2013 21:58:45 +0000 (21:58 +0000)]
Merge "Fix metadata access" into klp-dev

11 years agoFix metadata access
Marco Nelissen [Fri, 15 Nov 2013 21:49:58 +0000 (13:49 -0800)]
Fix metadata access

Metadata string pointers become invalid after setting more metadata,
so don't cache them.
b/11692062

Change-Id: Iaf1afb24cf53f7fa36f49ce759355693494076e5

11 years agoam d7e59228: audioflinger: do not use raw pointer for tracks
Eric Laurent [Fri, 15 Nov 2013 21:09:54 +0000 (13:09 -0800)]
am d7e59228: audioflinger: do not use raw pointer for tracks

* commit 'd7e59228caad3867794d847f6bf163c6495e9506':
  audioflinger: do not use raw pointer for tracks

11 years agoaudioflinger: do not use raw pointer for tracks
Eric Laurent [Fri, 15 Nov 2013 20:02:28 +0000 (12:02 -0800)]
audioflinger: do not use raw pointer for tracks

Commit 9da3d95 surfaced a problem caused by the use of a raw
pointer to a track in offload thread implementation.

Pointers to tracks should always be weak or strong pointers.

Bug: 11708529.
Change-Id: Ic48632532d186c9be8261f73cefdf824b9fbbd2b

11 years agoam 7dae71d6: Merge "AwesomePlayer: correct stream type for offload" into klp-dev
Eric Laurent [Fri, 15 Nov 2013 16:25:13 +0000 (08:25 -0800)]
am 7dae71d6: Merge "AwesomePlayer: correct stream type for offload" into klp-dev

* commit '7dae71d606ded1dbc2aa9733c3d98ffac57988f2':
  AwesomePlayer: correct stream type for offload

11 years agoMerge "AwesomePlayer: correct stream type for offload" into klp-dev
Eric Laurent [Fri, 15 Nov 2013 15:34:11 +0000 (15:34 +0000)]
Merge "AwesomePlayer: correct stream type for offload" into klp-dev

11 years agoAwesomePlayer: correct stream type for offload
Eric Laurent [Fri, 15 Nov 2013 01:28:47 +0000 (17:28 -0800)]
AwesomePlayer: correct stream type for offload

canOffloadStream() function in stagefright utils forces the
stream type to AUDIO_STREAM_MUSIC when querying the audio policy
manager if a particular track is offloadable or not.
This causes MP3 ringtones to be offloaded which is not a validated use case.

The fix consists in using the actual stream type read from the AudioSink.

Bug: 11410937.
Change-Id: I44b8e033a8e785a79cdc291b142f80b5580bdc4d

11 years agoam d8a62e25: Camera2: Rework the FPS range vs. FPS single setting detection
Eino-Ville Talvala [Thu, 14 Nov 2013 23:44:42 +0000 (15:44 -0800)]
am d8a62e25: Camera2: Rework the FPS range vs. FPS single setting detection

* commit 'd8a62e25ba6520c2531c7a3d32cc8066e1dab776':
  Camera2: Rework the FPS range vs. FPS single setting detection

11 years agoWA: Queue extra buffers on output port during reconfig if input EOS-ed
Lajos Molnar [Thu, 7 Nov 2013 05:04:34 +0000 (21:04 -0800)]
WA: Queue extra buffers on output port during reconfig if input EOS-ed

Some codecs may return input buffers before having them processed.
This causes a halt if we already signaled an EOS on the input
port.  For now keep submitting output meta buffers one at a time if
the input EOS-ed, but the output not yet.

Normally, we submit an output buffer for each input buffer that is
with the component (waiting to be processed).

Change-Id: I8a1251bfb504f40f1e4085a1e220bf9a4d0b05d9
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11433909