History log of /frameworks/av/media/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96076964863ee6887f0bed9d0f11f424b48ab9b9 01-Nov-2012 Andreas Huber <andih@google.com> Make video encoders' bitrate mode (constant, variable, ...) configurable

through the desired output format. Configure the video encoder to use
constant bitrate mode for WFD.

Change-Id: Id7bd619598153c13448a9c5acd69d80f8a01f333
related-to-bug: 7459597
ibstagefright/ACodec.cpp
ibstagefright/wifi-display/source/Converter.cpp
90a92053219ae50ddf4bb54e3d54db2d309e2b8d 30-Oct-2012 Andreas Huber <andih@google.com> Various tweaks to wfd

related-to-bug: 7426218

Squashed commit of the following:

commit 1553f1a1c66af998674168f7f7a3be23fcb0c794
Author: Andreas Huber <andih@google.com>
Date: Tue Oct 30 15:51:27 2012 -0700

Add LPCM, AVC and AVC HRD descriptors as necessary.

Change-Id: Ibc836fced0fe37e8a25574c2295e886765b9ea6f

commit 4e74db61d2d31ebe239acbdec8f110f88016a4ea
Author: Andreas Huber <andih@google.com>
Date: Tue Oct 30 15:50:52 2012 -0700

added copyright headers to Sender.{cpp,h}

Change-Id: If615ccb8767e32bd83ed1f0f669acc39a72489f6

commit 7144bf8ae68c5cdb8faa6e219547aabbd750f04e
Author: Andreas Huber <andih@google.com>
Date: Tue Oct 30 15:50:25 2012 -0700

Reenable suspension of the RepeaterSource

Change-Id: I765338fcde89c65e4b69be45a5949eba6bcdcf6f

commit 812164bcfa0699821d7d8eefcc0dff96b2e2cd08
Author: Andreas Huber <andih@google.com>
Date: Tue Oct 30 14:03:50 2012 -0700

Add 2 stuffing bytes to the PES headers for audio tracks.

Change-Id: I8b9c634f6a565ab7fa7ecdb610f7d8557e0b139b

commit a084a741a63015d47c92d99fcd8b980fe615dc7d
Author: Andreas Huber <andih@google.com>
Date: Tue Oct 30 13:19:38 2012 -0700

Fix PCM audio packetization in WFD.

Change-Id: I99a435f9fe6b4397f24d6c22afae5ae2505ffc14

commit c5cb9369585f701f34bce41534940d5f9b59248f
Author: Andreas Huber <andih@google.com>
Date: Tue Oct 30 13:19:12 2012 -0700

Support extraction of PCM audio from transport streams.

Change-Id: I28a0516756ebcb5587325b6588df013ac871ffb9

commit b0a0512300ae037d6b39c2d04952d34b5fc12b2d
Author: Andreas Huber <andih@google.com>
Date: Tue Oct 30 08:54:13 2012 -0700

disable suspend of the RepeaterSource

Change-Id: Ibf42a98185b0567f817ae582a82e6580f95d3d40

commit 4330e8b7668dc92a6d882b5622c0697cf292d04c
Author: Andreas Huber <andih@google.com>
Date: Mon Oct 29 14:11:25 2012 -0700

Better handling of datagrams in ANetworkSession

reduce unnecessary copy overhead.

Change-Id: I2ed8c767274ba07764f03e8d4913041168e5755f

commit a44e73c322ba3f2c336f7cc4e1d63d3a74faa75d
Author: Andreas Huber <andih@google.com>
Date: Mon Oct 29 11:14:47 2012 -0700

Network traffic is now handled on a separate thread.

Audio and video are queued to ensure proper A/V interleaving.
Scheduled packet sends according to capture timestamps to reduce
send-jitter.

Change-Id: Ibd6357c1e663086cf87bec0a98f8e54dfdfaa0e5
related-to-bug: 7426218

Change-Id: Ia440129d656c35814abf18df06da50b73d5bb554
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
ibstagefright/wifi-display/ANetworkSession.cpp
ibstagefright/wifi-display/Android.mk
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/Sender.cpp
ibstagefright/wifi-display/source/Sender.h
ibstagefright/wifi-display/source/TSPacketizer.cpp
ibstagefright/wifi-display/source/TSPacketizer.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
2295ce2c6fcf07ffaa134440691a8cea5fe35b43 27-Oct-2012 Dave Burke <daveburke@google.com> Increase bitrate now that other issues have been resolved.

Bug: 7426218
Change-Id: I67dfa1e4b85f326f355ad0ec5b6c699e87b45564
ibstagefright/wifi-display/source/Converter.cpp
e815552c9cb17be79cb3b7eb6fbdfa9ad81c861b 27-Oct-2012 Dave Burke <daveburke@google.com> Disable silence suppression (causes issues with dongles).

Bug: 7426218
Change-Id: Ie1517a8017bae1f9a9b6c224cd3170dfcc5fb941
ibstagefright/wifi-display/source/Converter.h
14744c076e2e361f049e8c3c43cef502ba3fcbd5 23-Oct-2012 Andreas Huber <andih@google.com> 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
ibstagefright/AwesomePlayer.cpp
b1eb1a0dd38a36dd0c0626d3d57043dbd0042a92 23-Oct-2012 Eric Laurent <elaurent@google.com> 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
ibmedia/MediaProfiles.cpp
0328ec08dc1e90caa2a9e0c4e107d8ddaa74af20 22-Oct-2012 Andreas Huber <andih@google.com> 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
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
c3ed4a1c3ea71681c71de48c206a899e702864bd 20-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "AAC DRC reference level for mobile is -16dB" into jb-mr1-dev
347f35436be724a64272c41e6325f03fe6b9d43a 19-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> 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
ibstagefright/codecs/aacdec/SoftAAC2.cpp
3c9e53c6ea2b01506addd4fb1164e6a9bbe6e16f 19-Oct-2012 Marco Nelissen <marcone@google.com> Merge "Fix valgrind issues" into jb-mr1-dev
ccd08439c7914d86264c7ad81bfd03cf39aaa9f7 17-Oct-2012 James Dong <jdong@google.com> Added some extra failure logging messages

o related-to-bug: 7282066

Change-Id: I0896551a45aab61fb571fef19061397ff84321d9
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
a4fe9a13c432afc5d1e94a4617b75e8f962540e9 17-Oct-2012 Marco Nelissen <marcone@google.com> 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
ibeffects/lvm/lib/Bass/src/LVDBE_Init.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Init.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
b4a55269a5b39c73de2cc1d4013d0631ef18c77d 12-Oct-2012 James Dong <jdong@google.com> Fix some missing checks against missing codecs

o related-to-bug: 6971073

Change-Id: Ia6d926663231f9a9ef31c82c85c70595c4a30ebe
ibmediaplayerservice/StagefrightRecorder.cpp
7e2c0a15bb8086460070811a152029726479a297 11-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Support querying active record sources" into jb-mr1-dev
d7086030fcf731e4bcef6c033cc6418cd04e6b91 10-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Support querying active record sources

Add support for querying whether there is currently a recording
underway from the specified audio source.

Bug 7314859

Change-Id: I986b231a10ffd368b08ec2f9c7f348d28eaeb892
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
d243c04534d1b74bd66625c5c96a9b918d8838bf 10-Oct-2012 Andreas Huber <andih@google.com> Switch audio mode based on dongle's capabilities

properly parse rtp port and use it to setup session.

Change-Id: Ic7521cb867143278196c3ce4b19a74ecc2703d8e
related-to-bug: 7318719
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
e7bd24af08ef0722fb124a550662bcec48c56f86 04-Oct-2012 Andreas Huber <andih@google.com> Optionally emit LPCM audio instead of using AAC in wifi display code

related-to-bug: 7248248

May decrease power usage at the cost of significantly increasing audio bitrate.

Use "adb shell setprop media.wfd.use-pcm-audio true"

to turn it on (must be done before connecting).

Change-Id: I7ebeadf3209e01522a2644948287b23d7c383c7e
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/Converter.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/TSPacketizer.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
d69fd4d2567f9fce02252ce10d7ae3a28fc79e04 04-Oct-2012 James Dong <jdong@google.com> Merge "Enable hdcp for WiFi display" into jb-mr1-dev
16c090555adf9f37bad0f061fd2651b91a34ae41 03-Oct-2012 James Dong <jdong@google.com> Enable hdcp for WiFi display

o related-to-bug: 7055369

Change-Id: Ie1ddd1e961f9ff60fe32b57cf7f8de4f4ecf5aa0
ibstagefright/wifi-display/source/WifiDisplaySource.h
9f71aed36f7bb58fd8b077a5c6e414fc4af1805c 03-Oct-2012 Dave Burke <daveburke@google.com> Drop video bitrate to 2.5mbps.

We have too much corruption/loss at higher bitrates. Reviewed quality
trade-off with jdong@. We can increase in the future if we have a
better packet loss concealment solution.

Bug: 7241844
Change-Id: I3b500a9c3a4429e834fb4c5ca04164d4e106fa9e
ibstagefright/wifi-display/source/Converter.cpp
4401091bc89fc69b7fc7df58cf6b403776f2698a 03-Oct-2012 Andreas Huber <andih@google.com> Merge "Better power savings with wifi display code." into jb-mr1-dev
575a5361fc970476cd7979638ee3ac00cc6e5024 03-Oct-2012 Andreas Huber <andih@google.com> Better power savings with wifi display code.

No more polling the encoder for work to do, the encoder instead notifies
if there's activity.

Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778
related-to-bug: 7248248
ibstagefright/MediaCodec.cpp
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/Converter.h
3a555c19dbd6ae7bf0d63cb9879befb22773770d 03-Oct-2012 Andreas Huber <andih@google.com> Merge "Increase polling frequency again temporarily to fix A/V issues" into jb-mr1-dev
8d16bbc5a354d302abfd912b8d88d9c7feb3948f 03-Oct-2012 Andreas Huber <andih@google.com> Increase polling frequency again temporarily to fix A/V issues

Fixes a bug in the silence detection and increases the timeout after which
we enter "silent mode" to 10 secs.

Change-Id: I802b058f054becd5c377186664437f7b3970193f
related-to-bug: 7248248
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
2808b5902a4dd70be231fcb2e3131eb1944807da 03-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Bug 7170947 Configure AAC decoder for mobile DRC settings" into jb-mr1-dev
4213e9db1cc57ab593bb63432b4e0cf477c3f835 02-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Bug 7170947 Configure AAC decoder for mobile DRC settings

Configure the AAC decoder to use the modile DRC settings when
decoding streams with DRC metadata.
Settings are:
- target reference level of -12dB
- DRC compression factor (attenuation) at max
These settings can be overridden by platform properties if the
default values are to be modified.

Change-Id: If329fe566497685b735abe4e4b9a5e01697c063b
ibstagefright/codecs/aacdec/SoftAAC2.cpp
47aa9c47a0796bb695d09aa307b2d1c2c913f0eb 02-Oct-2012 Andreas Huber <andih@google.com> Merge "Enable silence detection and don't driver the audio encoder" into jb-mr1-dev
805b3ae300ea414ce5973e60a9b544169da0ac44 02-Oct-2012 Andreas Huber <andih@google.com> Merge "Now back to 30fps, suspend updates if surface flinger didn't send us" into jb-mr1-dev
f5aa7aa94465e774ccdb07039690a5f42de1518a 02-Oct-2012 Andreas Huber <andih@google.com> Merge "More power savings: No need to keep a history of outgoing packets" into jb-mr1-dev
16461dca0ba8ac1850463db6245d20dc1699279d 02-Oct-2012 Andreas Huber <andih@google.com> Merge "Increase converter polling interval." into jb-mr1-dev
f1b9504587b04d8a7067aca90b1f0575ccf74bb9 02-Oct-2012 Andreas Huber <andih@google.com> Merge "Take advantage of the hardware encoder's ability to prepend SPS/PPS" into jb-mr1-dev
cf2604f8940093e249ed7e5382c12ba544a48545 02-Oct-2012 Andreas Huber <andih@google.com> Enable silence detection and don't driver the audio encoder

or send any audio out over the network if we've seen at least one second
of silence.

Change-Id: Ic2bca4ce7d55bd246283dc669f5f5cb6106d88ea
related-to-bug: 7248248
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/Converter.h
4a8b9a2363b7b7b4f98022e6d9aae8b8aa8e35e5 02-Oct-2012 Andreas Huber <andih@google.com> Now back to 30fps, suspend updates if surface flinger didn't send us

any new frames for one second or longer.

Change-Id: I1c2ec349b0a4b7c4eb9dcdde483362ec87dd69fa
related-to-bug: 7248248
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/RepeaterSource.cpp
ibstagefright/wifi-display/source/RepeaterSource.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
887070dbe6b6258ba04f988fd90c3ac856d2e5bf 02-Oct-2012 Andreas Huber <andih@google.com> More power savings: No need to keep a history of outgoing packets

if we're not enabling retransmission anyway.

Change-Id: I361120607974a2fab758c28b5033716213aef88e
related-to-bug: 7248248
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
0389cc09f7b90f155a8942a0d2e1925cad1dbe2d 02-Oct-2012 Marco Nelissen <marcone@google.com> Fix video continuity

Fixes "pixelation" seen after seeking in Netflix.
b/7211673

Change-Id: Id675acaef1e5fd7151fdfa7bd79e2f25990e1ecd
ibstagefright/mpeg2ts/ATSParser.cpp
21daec5798f7e13c5ab6b513d27b3f79d4779bca 02-Oct-2012 Andreas Huber <andih@google.com> Increase converter polling interval.

Change-Id: I455005086a63c70883a71e189753a117b195f22f
related-to-bug: 7248248
ibstagefright/wifi-display/source/Converter.cpp
c6920dfdca378a168a2168f4a64d21af4d37d539 02-Oct-2012 Andreas Huber <andih@google.com> Take advantage of the hardware encoder's ability to prepend SPS/PPS

to IDR frames instead of doing it manually.

Change-Id: I994cfbd6539013406dd610393ba1f0b9a0dbf4d5
related-to-bug: 7245308
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/TSPacketizer.cpp
ibstagefright/wifi-display/source/TSPacketizer.h
bd710197a47e3772763c48bfb5d6be21df173a7f 02-Oct-2012 Jeff Tinker <jtinker@google.com> Merge "[WVDRM] Fix for stuttering on low bandwidth" into jb-mr1-dev
ee178668818eb4f43ff40735405f8fc42372620f 02-Oct-2012 Andreas Huber <andih@google.com> Use incremental updates sent by surface flinger

instead of running at a fixed framerate.

Change-Id: Ia3f36aa449e2e952bf3263ffbb709a9b79b09c26
related-to-bug: 7266398
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
1c730d33da2fa861000b3990b5e6c9ff69291387 02-Oct-2012 Andreas Huber <andih@google.com> Merge "ALooper::GetNowUs() now relies on systemTime instead of gettimeofday." into jb-mr1-dev
1a0d1670b4304f294530f4ca9ce68defad6445dc 02-Oct-2012 Andreas Huber <andih@google.com> Merge "Optionally have SurfaceMediaSource return absolute timestamps" into jb-mr1-dev
af5dd7753e62353411cf0daf3b513c38818e9662 02-Oct-2012 Andreas Huber <andih@google.com> ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.

Change-Id: Ia31eb0940b02581327a8bf51af6df135f9ab6de3
related-to-bug: 7266324
ibstagefright/AudioSource.cpp
ibstagefright/ThrottledSource.cpp
ibstagefright/TimeSource.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/foundation/ALooper.cpp
ibstagefright/omx/tests/OMXHarness.cpp
ibstagefright/rtsp/ARTPAssembler.cpp
ibstagefright/wifi-display/source/MediaPuller.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
0868deae404604b577892413c128d55a2bafc56e 02-Oct-2012 Andreas Huber <andih@google.com> Optionally have SurfaceMediaSource return absolute timestamps

based on systemTime().

Change-Id: I2eff15dd149a4b737d6e7473d1907cf0c80b6b38
related-to-bug: 7266706
ibstagefright/SurfaceMediaSource.cpp
0cb47712a4fc0e01ad8680ee6ac3a5d72eafe0ba 01-Oct-2012 Andreas Huber <andih@google.com> Inform DisplayManager that we're running over a secure channel (HDCP)

if that's the case.

Change-Id: I5f16cad04a6937a3fb65600a971866a77e0ae9fc
related-to-bug: 7265406
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
a3fafcb4ee6d6344f2b5b602d095a4ffebc8dbb7 01-Oct-2012 Jeff Tinker <jtinker@google.com> [WVDRM] Fix for stuttering on low bandwidth

Reintroduces the play/pause rebuffering logic we eliminated
in JB zero day to fix double spins and slow startup - but
activates that logic only based on a comparison of the
current bandwidth measurement and the lowest bitrate track
in the movie.

Needs to be submitted with related changes in /vendor/widevine

bug: 7230071
Change-Id: If4f5ecda36c4858ce8bf5c4abb722f90a329ecdb
ibstagefright/AwesomePlayer.cpp
ad0d97c7cf620e96a0b088dd9461645a3f8900b7 01-Oct-2012 Andreas Huber <andih@google.com> Perform an orderly shutdown if possible, force disconnect if necessary

wait for up to 2 secs for the dongle to send us a "TEARDOWN", after that
forcibly shutdown the connection.

Change-Id: Ie049857cd468b7af6986d6305f725c54571b2276
related-to-bug: 7258622
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
0e1d71641624c641a0a1abe4098943f5a42c6f94 01-Oct-2012 Andreas Huber <andih@google.com> Remove double negatives from SurfaceMediaSource

ensure mStarted actually reflects the state of SurfaceMediaSource

Change-Id: I92557896993ad8da23fe6940e997402ad63b8cbc
related-to-bug: 7258622
ibstagefright/SurfaceMediaSource.cpp
6360758ce2d171169d2a21e30266547ee4ac0fec 01-Oct-2012 Andreas Huber <andih@google.com> Make sure we still handle shutdown-related message even if we're

in error-state.

Change-Id: Ie12dd1a63306b4020b9de9eae007f6d768f02df6
related-to-bug: 7262673
ibstagefright/wifi-display/source/PlaybackSession.cpp
4769f0b873030bbaa6977fe18696961d1d1b26ba 30-Sep-2012 Dave Burke <daveburke@google.com> Merge "Even cleaner shutdown." into jb-mr1-dev
d13df2463bd09d8c1fc5b20050d3262a4e89512d 30-Sep-2012 Glenn Kasten <gkasten@google.com> Merge "Enable write side of MonoPipe to be shutdown" into jb-mr1-dev
77245813007cf903b4b73f5d0cd20313fbf0e510 29-Sep-2012 Andreas Huber <andih@google.com> Even cleaner shutdown.

Change-Id: I5a76f83db3a5e43f55eb4e04269d890c2015bae7
related-to-bug: 7247918
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/RepeaterSource.cpp
ibstagefright/wifi-display/source/RepeaterSource.h
003d9f71937070791418bf7efc1f7fe1e4c6b821 28-Sep-2012 Glenn Kasten <gkasten@google.com> Enable write side of MonoPipe to be shutdown

Bug: 7253033
Change-Id: Iea8390763b59ffa7a8e2a6b77dd04ea23442698f
ibnbaio/MonoPipe.cpp
bbe96f0f05a1f1a1b3cfec0d124cb0d63c1ebf2a 29-Sep-2012 Andreas Huber <andih@google.com> Fix shutdown if HDCP was never instantiated.

Change-Id: Icdf6785880180f417c5432dff54c7e0fb12ef84d
related-to-bug: 7247918
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
3a0ef0dc71f3776d115f30d87f1d8867daefea88 28-Sep-2012 Andreas Huber <andih@google.com> Tell the encoder to emit SPS/PPS before IDR frames in wifi display code.

Change-Id: Ic40e09b66784dd2e370d30b688d50561a47ab85a
related-to-bug: 7245308
ibstagefright/ACodec.cpp
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
96fc6cc65ca93009a759a3a874b82a35771b9714 28-Sep-2012 Andreas Huber <andih@google.com> Various improvements to a cleaner shutdown of the wifi display connection.

Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239
related-to-bug: 7247918
ibstagefright/ACodec.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/wifi-display/ANetworkSession.cpp
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/Converter.h
ibstagefright/wifi-display/source/MediaPuller.cpp
ibstagefright/wifi-display/source/MediaPuller.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/RepeaterSource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
de799a74064a363d26f4c1bbc5a59d1b7127f49f 27-Sep-2012 Andreas Huber <andih@google.com> wfd_presentation_url should not include the port number according to wfd specs

Change-Id: I9c0e0174f6ab4cb24c6eafcaae853e432b3dffb9
related-to-bug: 7247490
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ecc8db5ee83d648532be1392f53277aa3a25284e 27-Sep-2012 Andreas Huber <andih@google.com> Merge "Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit." into jb-mr1-dev
5cfd237fd70572796b86f977ff4fdfe29cab888d 27-Sep-2012 Andreas Huber <andih@google.com> Merge "Prepend SPS/PPS manually before encryption in HDCP mode. This is" into jb-mr1-dev
ef7d3793fa9bbfb25253626ede9a020ee9280a17 27-Sep-2012 Andreas Huber <andih@google.com> Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit.

Change-Id: Ie54ee3edd672ec629360b4ecc5df2f85ecbaa45f
related-to-bug: 7247584
ibmediaplayerservice/HDCP.cpp
ibmediaplayerservice/HDCP.h
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
f58cac48e5732dbc4a5f33eed9cd39f109146ca4 27-Sep-2012 Dave Burke <daveburke@google.com> Tune WFD audio bitrate (did some listening tests).
Bug: 7241844

Change-Id: I5243f7a771871e650c6c2f380e0e81e7671c7bac
ibstagefright/wifi-display/source/Converter.cpp
e399acc9d9f3b7af72106c4209e4bb40de37aa6a 27-Sep-2012 Andreas Huber <andih@google.com> Prepend SPS/PPS manually before encryption in HDCP mode. This is

a temporary change that will go away once the encoder can take care
of this.

Change-Id: Id65218f8a250d8c8fe3e8987b522065b5f5d7dca
related-to-bug: 7245308
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/TSPacketizer.cpp
ibstagefright/wifi-display/source/TSPacketizer.h
ee93c8c0f65cc1965ca09c9e33ae672f8bc9b88c 27-Sep-2012 Dave Burke <daveburke@google.com> Tune iframe interval to 1sec.
Bug: 7241844

Change-Id: Iae0d73ecc680f6fa69d82ee2e8fac18ebece7782
ibstagefright/wifi-display/source/Converter.cpp
72ff5903df5f409ea83f74c363a52f0745ced8b8 26-Sep-2012 Andreas Huber <andih@google.com> 720p24 i-frames every 2 secs.

related-to-bug: 7239971

Change-Id: I4cbf7e9b878b180b0683656e9e8c0a6bb18e06dc
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
eb11600a248cfe5b95ddd3e5aaae02bd2ab65276 26-Sep-2012 Andreas Huber <andih@google.com> Make sure we only release the HDCP module once shutdown has completed.

Change-Id: I4b614afe2b55ac53b4aa63311e5bea8fd6c4462e
related-to-bug: 7223555
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
44b175c31a96804d8f981c43145967473491540f 26-Sep-2012 Andreas Huber <andih@google.com> Merge "Fix shutdown and eliminate those annoying "failed to post..." logs." into jb-mr1-dev
019aabab44e396d9a68c8126c9e0745162a4603a 26-Sep-2012 Andreas Huber <andih@google.com> Logic to include HDCP specific PES extra header data was backwards.

Change-Id: I85ab02f0c3ab945093b27210da1e36a31c022da5
related-to-bug: 7237850
ibstagefright/wifi-display/source/PlaybackSession.cpp
df4ddebe61ac84c7773da1f774d13e4d4bbe9f72 26-Sep-2012 Andreas Huber <andih@google.com> Fix shutdown and eliminate those annoying "failed to post..." logs.

Change-Id: I963e0712f59070f83a26946c494fdeb3558aa0e3
related-to-bug: 7230886
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
cc0f1cfb69ce8b8985fc2c0984847a06a13ad22d 24-Sep-2012 Glenn Kasten <gkasten@google.com> Implement android.media.AudioManager.getProperty()

Bug: 6635041
Change-Id: I3386a4a6c226bc4eceaf65556119e4fb15f73224
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
28e17ed7e2fbb254fb99481b74db85e427c905ee 25-Sep-2012 Andreas Huber <andih@google.com> Better transport stream timestamp handling.

Properly emit PCR and PMT/PAT updates every 0.1 secs.
Don't stream RTCP unless requested by the dongle.

related-to-bug: 7232540
Change-Id: Ie9a6949a074d86ab022adfab5d2811294ba746aa
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/TSPacketizer.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
92f655fe351a5f2eb7d36123d2b687d6e7e3e913 24-Sep-2012 Andreas Huber <andih@google.com> Add some more logging, reduce startup delay to 1 sec.

Change-Id: Ic24a3d9e3e645288411efb46f7004d89e7a0a4b7
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
2a865ad8d45940bc824c02a8a8558cbcb97acc88 25-Sep-2012 Dave Burke <daveburke@google.com> Tune video bitrate to 5 mbps.

Change-Id: Ieb7ab1675db6fb21087a1258465f866ecdc5475b
ibstagefright/wifi-display/source/Converter.cpp
8d452f1c61aa70c4a86c4114532f2c0983120ef8 24-Sep-2012 Glenn Kasten <gkasten@google.com> Merge "Check clock_gettime(CLOCK_MONOTONIC) for failure" into jb-mr1-dev
80b3273cea8660fe8a5868d024d2788a1e083ffc 24-Sep-2012 Glenn Kasten <gkasten@google.com> Check clock_gettime(CLOCK_MONOTONIC) for failure

Bug: 7100774
Change-Id: I15a84a19bb6d6ef1d9dac4beaa03587638196404
ibnbaio/MonoPipe.cpp
ea4bbfdcad9478ea19257fb19a32de68a2dfd958 22-Sep-2012 Andreas Huber <andih@google.com> Attempt an orderly shutdown of the wifi display connection if possible.

Shutdown the session if the encoder signals an error.

related-to-bug:7207481

Change-Id: Id78000a336f8bb8904e7d2102f8f81a4139cdd61
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
94a68ecf2b56bd56994d0352cbaad56e58dcf0dc 23-Sep-2012 James Dong <jdong@google.com> Merge "Bug fix: MediaPlayer's deselectTrack() for subtitle." into jb-mr1-dev
207e18540fefbaf530a4fdf506d266f34ddec84f 21-Sep-2012 Andreas Huber <andih@google.com> Remove legacy code and APIs in wifi display related code.

Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
ibmedia/IMediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/wifi-display/Android.mk
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/Serializer.cpp
ibstagefright/wifi-display/source/Serializer.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/wfd.cpp
086f958a7e539acffb637b42f5a6998184544179 21-Sep-2012 Dave Burke <daveburke@google.com> Tune video bitrate to 2.5 MBPS.

Temporary workaround for buggy firmware (desired is 5 MBPS).

Change-Id: I9fb0af31ca07c9bfdc6f790b7c98ca546eaf2985
ibstagefright/wifi-display/source/Converter.cpp
efd9c63dc846dd3dea2c979fe2a9d6770e73f9ac 20-Sep-2012 Andreas Huber <andih@google.com> Code to support RTP retransmission according to rfc4585, rfc4588

Change-Id: Idfb3c0935f28e4cbc2141f0903f0d3c4e95818a6
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
23580bb8d6cafbc2b65dd0a4ce1acb52562d1b05 20-Sep-2012 Insun Kang <insun@google.com> Bug fix: MediaPlayer's deselectTrack() for subtitle.

o Previously, deselectTrack() actually doesn't work properly in
TimedTextDriver / TimedTextPlayer.
o Ignores select track operation when the same track is selected in a
row.

Bug: 7200096
TESTED=runtest -d cts-media -c android.media.cts.MediaPlayerTest

Change-Id: If7feac294cf9b358f616be45574bc2e26001c887
ibstagefright/timedtext/TimedTextDriver.cpp
ibstagefright/timedtext/TimedTextPlayer.cpp
b8c7bd418f0ee5b88923b0e0817e3a4acc53cf8d 18-Sep-2012 Andreas Huber <andih@google.com> Instantiate HDCP module, add PES_private_data for encrypted streams.

Change-Id: I970f561a56a1d489a392c3480dec13f4ed7b43bd
ibstagefright/wifi-display/Android.mk
ibstagefright/wifi-display/Parameters.cpp
ibstagefright/wifi-display/Parameters.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/TSPacketizer.cpp
ibstagefright/wifi-display/source/TSPacketizer.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
efbb781c15abf8e085f5ab8d39710bd58ea0b6e4 18-Sep-2012 Andreas Huber <andih@google.com> HDCP module binderized

Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
ibmedia/IMediaPlayerService.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/HDCP.cpp
ibmediaplayerservice/HDCP.h
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
fe5054c9cba7471c8580fe485ec5aaf12df459e8 18-Sep-2012 Eric Laurent <elaurent@google.com> Merge "Fix THD with max user EQ preset volume again" into jb-mr1-dev
c5cd686a83c6ea65a68d98023d5527fe4373d4e4 17-Sep-2012 Eric Laurent <elaurent@google.com> Fix THD with max user EQ preset volume again

There was a problem with previous fix in 1b6c677c where
the THD was good for max volume but bad for intermediate
high volume values.

This fix does not limit the band gains but apply a correction
to the effect bundle volume to take into account not only the
maximum band gain but also the average band gains weighted
by the proximity of each band to the max gain band.

Change-Id: Ibedd8da7fce1e163117f29b3da332da0e4fe8889
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
c92bed3a73c06e90217f8f199ca0b517aa7595d2 18-Sep-2012 Andreas Huber <andih@google.com> Now we only support a single client connection

and it cannot be initiated from the local interface address for security
reasons.
Also, there's at most one playback session active at any time, and when
it dies we shutdown the client connection altogether and signal an error
to the listener.

related-to-bug: 7139784
Change-Id: Ia8d02bc994ce9986936947ddda1f2a3dddbf5714
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
bd08e2f93bafd02abf2c25d740e9fb8bce455a99 13-Sep-2012 Andreas Huber <andih@google.com> Support for RTP/RTCP traffic over TCP sockets in wifi display code.

This is opt-in through

adb shell setprop media.wfd.enable-tcp true

Change-Id: I49ab22a8c8d62690065631e781a7f0057e5ce557
ibstagefright/wifi-display/ANetworkSession.cpp
ibstagefright/wifi-display/ANetworkSession.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/Serializer.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
376074ed1c3c368aeb336954a07632cd806288e2 15-Sep-2012 James Dong <jdong@google.com> Fixed a native crash due to deref of a NULL pointer

We only checked the mNativeWindow against NULL, but did not check the native window object itself against NULL.

o related-to-bug: 7153683

Change-Id: I430d344dc09a2fc337bf51001551627056713773
ibmediaplayerservice/nuplayer/NuPlayer.cpp
08654f9d7157f6d6ca0928cb438bbbed53fb0fd1 14-Sep-2012 James Dong <jdong@google.com> Make a small correction in terms of GOP structure in the recorded video

When we have a 30 fps frame rate, and one second key-frame or I-frame interval,
we really would like to have for each second, 29 P-frames + 1 I-frame. Thus,
we should calculate the number of P frames so that it is equal to
frame_rate * I_frame_interval - 1

Change-Id: I5b9be6e4c101e7a6b718015aa4041496961c0f19
ibstagefright/OMXCodec.cpp
2637cb172105939052d8a02f4eea693a90549518 14-Sep-2012 James Dong <jdong@google.com> Merge "Allow OMXCodec to specify an output color format for OMX decoder component" into jb-mr1-dev
496238cc7551d414067dcbbb4fe3bd801f205f95 14-Sep-2012 Andreas Huber <andih@google.com> Support IDR requests in wifi display, MediaCodec and ACodec.

Change-Id: I596cf8dd61b63465437f78413186fad2be287244
ibstagefright/ACodec.cpp
ibstagefright/MediaCodec.cpp
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/Converter.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
dca352880e210e0ca0ff39de074540d3640ecfab 13-Sep-2012 Andreas Huber <andih@google.com> Better video bandwidth utilization by not lying about the frame rate.

log network bandwidth used (for data traffic).

Change-Id: I043018624b3f02d94fa9c0cb9d15a6b2f2bd2eab
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
a438123bd96c7faf145683876702387efe5628d9 13-Sep-2012 Andreas Huber <andih@google.com> Various improvements to cleanly shutdown a wfd session.

Change-Id: I86f0a27d7e8eb96200153bab847a862f21a19d13
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/MediaPuller.cpp
ibstagefright/wifi-display/source/MediaPuller.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
6701a4492350169aa41f66c9c79ece0ba0b280b7 13-Sep-2012 Andreas Huber <andih@google.com> Merge "Audio and video bitrate are now configurable through system properties" into jb-mr1-dev
d168b19bc716bf04a35c380af250e1974d0aecd2 13-Sep-2012 Andreas Huber <andih@google.com> Merge "Use proper number of video buffers to be acquired simultaneously from" into jb-mr1-dev
44b59fd9326026d3f82dec25cde48c589b0438e7 12-Sep-2012 Andreas Huber <andih@google.com> Audio and video bitrate are now configurable through system properties

adb shell setprop media.wfd.audio-bitrate 64000
adb shell setprop media.wfd.video-bitrate 10000000

are the defaults.

Change-Id: Ib4d700748bdac2adffc6e7e31aff9c9f998e20f0
ibstagefright/wifi-display/source/Converter.cpp
5a832f87b680ead3606c4448a0a82c0e556d1b93 12-Sep-2012 Andreas Huber <andih@google.com> Use proper number of video buffers to be acquired simultaneously from

SurfaceMediaSource, this should match the number of encoder input buffers.

Change-Id: Ibeb102337fd23698c5321c63dd3cb00b93e632b0
ibstagefright/wifi-display/source/PlaybackSession.cpp
00f41327264fa2e59cc05abaa5c554b2a32938e1 12-Sep-2012 Andreas Huber <andih@google.com> Throttle SurfaceMediaSource.

Change-Id: I214ce60f8d94df9c07041577e34ed1ad5e199fdb
ibstagefright/SurfaceMediaSource.cpp
359cf1cac2a7851a59dfe4960a1a5992ac6fdb84 13-Sep-2012 Jean-Baptiste Queru <jbq@google.com> am a923dd4e: am 1b0ae9e4: Merge "avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame"

* commit 'a923dd4e6c14f5cba2fc5f6f152619ec6bc70c5d':
avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame
a923dd4e6c14f5cba2fc5f6f152619ec6bc70c5d 13-Sep-2012 Jean-Baptiste Queru <jbq@google.com> am 1b0ae9e4: Merge "avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame"

* commit '1b0ae9e47273357e19a9beb22466319753e8242d':
avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame
1b0ae9e47273357e19a9beb22466319753e8242d 12-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame"
e891a7888141fcd3e7956bf80425c885992fa2bf 12-Sep-2012 Andreas Huber <andih@google.com> Merge "Various improvements to the wifi display implementation." into jb-mr1-dev
e1957358f11031a554c57d4fb46988dd6044acc1 12-Sep-2012 Andreas Huber <andih@google.com> Various improvements to the wifi display implementation.

Using a MediaPuller now, audio and video on their separate threads.
No more flushing the RTP stream on audio tracks, since it wastes too much
of a full size UDP packet.

Change-Id: I53346b4aea739c3142da13bd179428503a3c98b0
ibmediaplayerservice/RemoteDisplay.cpp
ibstagefright/wifi-display/Android.mk
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/MediaPuller.cpp
ibstagefright/wifi-display/source/MediaPuller.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/RepeaterSource.cpp
ibstagefright/wifi-display/source/Serializer.cpp
02f7a7847bbad970885ec52d9629fe21689e1a46 12-Sep-2012 Elliott Hughes <enh@google.com> am fd07d616: am fbe1cc92: Merge "Don\'t include <linux/socket.h> directly."

* commit 'fd07d61614e4b358349d1d46a32f9477784404c4':
Don't include <linux/socket.h> directly.
fd07d61614e4b358349d1d46a32f9477784404c4 12-Sep-2012 Elliott Hughes <enh@google.com> am fbe1cc92: Merge "Don\'t include <linux/socket.h> directly."

* commit 'fbe1cc92d9e8930700c15f68717dd66fc1523177':
Don't include <linux/socket.h> directly.
e5167f88f3734a048dc44199f3fff0432589db43 12-Sep-2012 Elliott Hughes <enh@google.com> Don't include <linux/socket.h> directly.

In newer versions of Linux, stuff you need isn't in that file any more.

Change-Id: I62923ed2d92a75ff3182ba2ae27578ce7bde8356
ommon_time/ICommonClock.cpp
ommon_time/ICommonTimeConfig.cpp
8a74c9b8e2627560ae5a92d4261f0de4464490ad 06-Sep-2012 Edwin Wong <edwinwong@google.com> Add getError and setError to propagate error code from WVMMediaExtractor up to player.

The two virtual functions provides a path for the player(AwesomePlayer) to retrieve
the last error from WVMMediaExtractor container.

Change-Id: Iee8d4a3eccf82af95eb3d4d465f069daced4aa1a
related-to-bug: 7073630
ibstagefright/AwesomePlayer.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
37171b9d1532a7ce26ac02b707bee2fb6f25d0f3 11-Sep-2012 Elliott Hughes <enh@google.com> am ed757e97: am 290ac693: Merge "Stop building the unused host libmtp static library."

* commit 'ed757e9729b325f00e70f506ad6e217910563d0a':
Stop building the unused host libmtp static library.
ed757e9729b325f00e70f506ad6e217910563d0a 11-Sep-2012 Elliott Hughes <enh@google.com> am 290ac693: Merge "Stop building the unused host libmtp static library."

* commit '290ac69379e649a2fed1d9441a17e39c6a912d8c':
Stop building the unused host libmtp static library.
e0e2e98674caa7f6285eda122ebabee40528374b 11-Sep-2012 Elliott Hughes <enh@google.com> Stop building the unused host libmtp static library.

This removes the need to support the bionic mktime_tz and localtime_tz
extensions on glibc, which makes my life easier.

Bug: 7012465
Change-Id: Ibfa187f2857dda7bd1536348e314a80abacb9d1e
tp/Android.mk
8a9e791c0642084c1c6e758b7887b274392f5bb0 11-Sep-2012 Eric Laurent <elaurent@google.com> Merge "Limit maximum equalizer gain." into jb-mr1-dev
1b6c677c4bad5c1aea4f01277cf5aa234ad4cab4 11-Sep-2012 Eric Laurent <elaurent@google.com> Limit maximum equalizer gain.

Limit maximum gain in all EQ bands according to current volume so that
total gain (current volume + band gain) does not exceed a certain limit.
The gain difference between bands is preserved.

Change-Id: Ice5a9705a0b3353e8778b4c539a29ca9cdf60390
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
17471306f758496166cdc1b8197b4fc7f225816b 11-Sep-2012 Eric Laurent <elaurent@google.com> Merge "audio effects: no audio preprocessing by default" into jb-mr1-dev
199862ef95e4d768fbf2cc5518fe43e9ed5aa5a2 08-Sep-2012 Eric Laurent <elaurent@google.com> audio effects: no audio preprocessing by default

The audio preprocessings are not included in the default
audio_effect.conf file anymore as the audio HAL has to provide
support for them.

Each product implementing one or more audio pre processing must
provide a specific audio_effects.conf file.

Change-Id: I3b2f636f7a8748829798d4b9057d269db9424d62
ibeffects/data/audio_effects.conf
8fa80e3be63ffde5ef029afa713877440856b663 08-Sep-2012 James Dong <jdong@google.com> Allow OMXCodec to specify an output color format for OMX decoder component

The output color format is specified via the meta argument in OMXCodec::Create()

o related-to-bug: 7122195

Change-Id: Id3247686b893af25cc190685201e53ad34b0399c
ibstagefright/OMXCodec.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
66765846726c02db16a0f024f2217990a90802c0 10-Sep-2012 Andreas Huber <andih@google.com> Merge "Enable audio streaming to a wifi display. Remove startup delay hack." into jb-mr1-dev
e0f8517eac5dbd4e25aa61fff66c76a42d8fbefc 10-Sep-2012 Jean-Baptiste Queru <jbq@google.com> am f755a506: am d81be6d6: Merge "aacenc: Mark some global arrays const"

* commit 'f755a506335df3bfb32c062096deceaf045044ed':
aacenc: Mark some global arrays const
1646a0fed94c30a44128b3c379736def4b332033 10-Sep-2012 Andreas Huber <andih@google.com> Enable audio streaming to a wifi display. Remove startup delay hack.

Change-Id: I2e163db1595bb504de3a2e99cace191aa90708ca
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/Serializer.cpp
f755a506335df3bfb32c062096deceaf045044ed 10-Sep-2012 Jean-Baptiste Queru <jbq@google.com> am d81be6d6: Merge "aacenc: Mark some global arrays const"

* commit 'd81be6d670f0d89aa6048a82fbbff82c584e9922':
aacenc: Mark some global arrays const
d81be6d670f0d89aa6048a82fbbff82c584e9922 10-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge "aacenc: Mark some global arrays const"
fd48021dfc3278b048ba99ecffe7f996751fb440 10-Sep-2012 Elliott Hughes <enh@google.com> am e7c992c6: am 5abc91d6: Merge "Fix libmedia and libstagefright to get expat header files from the approved location."

* commit 'e7c992c675e0075cd60b0b11c06d5956e3ddd7a3':
Fix libmedia and libstagefright to get expat header files from the approved location.
e7c992c675e0075cd60b0b11c06d5956e3ddd7a3 10-Sep-2012 Elliott Hughes <enh@google.com> am 5abc91d6: Merge "Fix libmedia and libstagefright to get expat header files from the approved location."

* commit '5abc91d61718e334e05c6d4858bd868bd5a5769c':
Fix libmedia and libstagefright to get expat header files from the approved location.
e8057dd8208f0a185109992339a995c518b12780 09-Sep-2012 Elliott Hughes <enh@google.com> Fix libmedia and libstagefright to get expat header files from the approved location.

Found during a libexpat upgrade.

Change-Id: I9e5abd502a884975d898486edde374fb2519164e
ibmedia/Android.mk
ibmedia/MediaProfiles.cpp
ibstagefright/Android.mk
ibstagefright/MediaCodecList.cpp
888f63bcde37347061de1aabb1b7febb2eca0875 09-Sep-2012 Jean-Michel Trivi <jmtrivi@google.com> Fix buffer size issue for multichannel HE-AAC

Decoding of HE-AAC fails due to output buffer size being too small.
Size output buffer size according to maximum number of channels.

Change-Id: I6b10842cf7ba3da1f4b4075b1f7f5404bf76be41
ibstagefright/codecs/aacdec/SoftAAC2.cpp
9538ab83ed3917e643fc88f63ed83736d5a22d19 09-Sep-2012 Martin Storsjo <martin@martin.st> aacenc: Mark some global arrays const

This gets rid of initialized writeable data in the library.

Change-Id: I7c1cbeb3df10c302b645b7311591ead87a289ca1
ibstagefright/codecs/aacenc/inc/aac_rom.h
ibstagefright/codecs/aacenc/src/aac_rom.c
ibstagefright/codecs/aacenc/src/block_switch.c
ef49e2fdb1f776229a4be05aa9952a1107e94f51 09-Sep-2012 Jeff Brown <jeffbrown@google.com> Revert max buffers change.

Attempting to use 31 buffers crashes on Prime.

Bug: 7131413
Change-Id: Ib85aef9b1da01f7243bd781a0efa47de2970412d
ibstagefright/wifi-display/source/PlaybackSession.cpp
b019250df516e094b0cb648851f9a132b045378a 08-Sep-2012 Jeff Brown <jeffbrown@google.com> Add a permission for controlling wifi display.

Change-Id: I321b6c1a0223e0c3d5df04fde7a13ab91c08c7bc
ibmediaplayerservice/MediaPlayerService.cpp
5e54e0898a0110642df126238227eca150f2654a 08-Sep-2012 Eric Laurent <elaurent@google.com> Merge "Fix headroom management in equalizer" into jb-mr1-dev
7ac783252ef682abddd083104ab06619d82ac52f 08-Sep-2012 Andreas Huber <andih@google.com> Merge "Less verbose logging, lots of references." into jb-mr1-dev
72f6aea5afba3ff8ab7e8eab49552d65ee3bb97b 08-Sep-2012 Andreas Huber <andih@google.com> Less verbose logging, lots of references.

Change-Id: Idcb76848883b113e956d7e6266da882771a053b8
ibstagefright/wifi-display/ANetworkSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
f6c7a40f8cbbd2fa1a4131ef91b30cf7c5c2d0d7 08-Sep-2012 Eric Laurent <elaurent@google.com> Fix headroom management in equalizer

Fix a bug resetting the headroom parameters when
calling the bundle process function for the first time.

Change-Id: Ie05f97606f415954340ff2a4e48cd7b0a97a063b
ibeffects/lvm/lib/Bundle/src/LVM_Init.c
525098dd5442c66e9aa43ef15563fdae6d47ec9e 08-Sep-2012 Andreas Huber <andih@google.com> Merge "Make wfd code work with both old and new dongles." into jb-mr1-dev
7977e85f7287f2b0e7a5de94e853e6073736e03b 08-Sep-2012 Andreas Huber <andih@google.com> Make wfd code work with both old and new dongles.

Change-Id: Idc750dc334c47a171791587dd7e7281d565ff566
ibstagefright/wifi-display/ANetworkSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
85396642425b94ec33aa26f27e109353e3516ec4 07-Sep-2012 Eric Laurent <elaurent@google.com> Merge "audioflinger: changes for new audio devices enums" into jb-mr1-dev
8c7d147cca17961a71209c105a2676a552d3d69f 07-Sep-2012 John Grossman <johngro@google.com> Fix iTunSMPB parsing for AAC tracks encoded with Nero

Make sure to clear out the mean/name/data state when parsing
apple-style metadata from tracks every time we have a full set, not
just when we find an iTunSMPB set.

AAC tracks encoded from WAV by Nero tend to put in an additional apple
style metadata tag (cdec) before the iTunSMPB tag. The sequence in
the file goes something like

mean : "com.apple.iTunes"
name : "cdec"
data : "ndaudio 1.5.4.0 / -2pass -br 320000"
mean : "com.apple.iTunes"
name : "iTunSMPB"
data : " 00000000 00000A40 000000B8 <etc...>"

If the internal state was not cleared after the first set, then when
the second instance of "name" is encountered, an attempt is made to
parse the previous data entry as an iTunSMPB tag when it is actually a
cdec tag. Afterwards, mean, name and data are all cleared, and when
the second data is encountered there is no current mean or name
present, so the gapless metadata gets skipped. By clearing the
metadata state every time we have a full set of mean/name/data, we
make sure that we are always interpreting the data field as the proper
type.

Change-Id: I196e2e3f83e434f15d5ee55ae40a74a92d5a1845
ibstagefright/MPEG4Extractor.cpp
f1c04f952916cf70407051c9f824ab84fb2b6e09 28-Aug-2012 Eric Laurent <elaurent@google.com> audioflinger: changes for new audio devices enums

The ThreadBase class now has a separate member for input
and output devices (mInDevice, mOutDevice).

Only query get_supported_devices() from audio HAL if the function
is exposed and if the audio policy manager did not specify the
audio module to open.

Also fixed bug in AEC preprocessing that would reset
to default output device when an input device was given.

Change-Id: I19d4d06aeb920b068e3ef31e6e6be6345ce5d67a
ibeffects/preprocessing/PreProcessing.cpp
261fd2119c70fda3af64453881a6346dd48eb956 07-Sep-2012 Eric Laurent <elaurent@google.com> Merge "AudioRecord: Fix minimum frame count calculation." into jb-mr1-dev
2e5f22e85d177b34e790f832789d03aee438a7db 24-Aug-2012 John Grossman <johngro@google.com> Add a small hook to support gapless in AAH.

Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630
ibmediaplayerservice/MediaPlayerService.cpp
c56857b4cd12cd4bc3361e375f5b7554277ce9d7 06-Sep-2012 John Grossman <johngro@google.com> Merge "Fix calculations for an obscure combo of MPEG audio options." into jb-mr1-dev
6f744d75d3439f7984245e3c489cc7cf91cea41c 06-Sep-2012 Eric Laurent <elaurent@google.com> AudioRecord: Fix minimum frame count calculation.

AudioRecord::set() was calling getMinFrameCount() with
a channel count instead of a channel mask.

Change-Id: Iabace7686426430fd53deac0c71b0c36aa64171c
ibmedia/AudioRecord.cpp
a39ad61a1c9c69c2cc60f5d14243dd56040f8571 29-Aug-2012 John Grossman <johngro@google.com> Fix calculations for an obscure combo of MPEG audio options.

MPEGv2 and MPEGv2.5 Layer 2 audio payloads should 1152 samples per
access unit, not 576. Adjust the frame size and samples out
calculations accordingly.

Also, adjust the max frame size in the MP3Extractor's MediaSource to
be closer to the theoretical worst case max frame size. The
theoretical worst case for MPEG audio is 2881 bytes per frame, but the
max frame size being used was 32kB. It has been changed to be 4kB in
order to remain a power of 2 allocation, but to be the power of 2
closest to the worst case.

Change-Id: If11f5a843b06e70151bbe8298cc54f954938d9d7
ibstagefright/MP3Extractor.cpp
ibstagefright/avc_utils.cpp
49c74da132fe42dd4d2066131f8f0e2df301c1dd 06-Sep-2012 Jeff Brown <jeffbrown@google.com> Merge "Update remote display API." into jb-mr1-dev
3a6b97eba61b280bf81407ad6d6fb210ef93f9c4 06-Sep-2012 Marco Nelissen <marcone@google.com> Merge "To make mimetype for WAV file consistent over SF." into jb-mr1-dev
74262b573c3d87c323c41d364af12f206ae46642 06-Sep-2012 Marco Nelissen <marcone@google.com> Merge "To support .mxmf which is specified in Android CDD." into jb-mr1-dev
455d02eca342d8159637af317a5d83219d267812 06-Sep-2012 Jeff Brown <jeffbrown@google.com> Update remote display API.

Renamed disconnect() to dispose() to emphasize the fact that
this method is intended to clean up the IRemoteDisplay
completely, not just temporarily disconnect the current client
(which might be useful someday).

Other minor tweaks.

Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257
ibmedia/IRemoteDisplay.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/RemoteDisplay.cpp
ibmediaplayerservice/RemoteDisplay.h
9c6cb7a896f41cb8ad2f2ad63f8f6edfbb56ed4f 06-Sep-2012 Marco Nelissen <marcone@google.com> Merge "Fragmented mp4 extractor" into jb-mr1-dev
56997121c5031598fbbba7b7c53980b7fd529c2d 29-Aug-2012 Marco Nelissen <marcone@google.com> Fragmented mp4 extractor

Still experimental. Set property "media.stagefright.use-fragmp4" to true to
enable.

Change-Id: I210b9c5b5164b5c5eefc31309845ee881ac7db8e
ibmediaplayerservice/nuplayer/mp4/MP4Source.cpp
ibstagefright/Android.mk
ibstagefright/DRMExtractor.cpp
ibstagefright/DataSource.cpp
ibstagefright/FragmentedMP4Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/MetaData.cpp
ibstagefright/Utils.cpp
ibstagefright/include/FragmentedMP4Extractor.h
ibstagefright/include/FragmentedMP4Parser.h
ibstagefright/mp4/FragmentedMP4Parser.cpp
0b73d4730202fcad53aefc4314a06e7b95f442f0 05-Sep-2012 Andreas Huber <andih@google.com> Expose an IRemoteDisplay to trigger wifi display connections setup and feedback.

Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/RemoteDisplay.cpp
ibmediaplayerservice/RemoteDisplay.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
e104596061b219e9bce6d4db49a9d15242f8d2e5 05-Sep-2012 Jeff Brown <jeffbrown@google.com> Implement remote display service stubs.

Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01
ibmedia/Android.mk
ibmedia/IMediaPlayerService.cpp
ibmedia/IRemoteDisplay.cpp
ibmedia/IRemoteDisplayClient.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
6c75ad21705cde0a11f78c755dc70bdec76890e6 05-Sep-2012 Andreas Huber <andih@google.com> Merge "Configure the SurfaceMediaSource to emit the same number of buffers" into jb-mr1-dev
06096f955d486e229e19956052925f43f2f3f7c4 05-Sep-2012 Dongwon Kang <dwkang@google.com> To make mimetype for WAV file consistent over SF.

(audio/x-wav is chosen because it was also used in MediaFile.java.)
Tested: checked wav files plays well on Music app.

Change-Id: Ifc07bcbed681e509176b1c144626f6f1009e69be
ibstagefright/MediaDefs.cpp
ibstagefright/WAVExtractor.cpp
5c5f8d93667ec36fbcd01ecb113ccae78322c85b 05-Sep-2012 Dongwon Kang <dwkang@google.com> To support .mxmf which is specified in Android CDD.

Bug: 7082658
Change-Id: I21269d72d1d21627c6adb2e6fbcb078d0eda6020
Tested: checked MediaScanner scans .mxmf and Music app plays .mxmf file.
ibmediaplayerservice/MediaPlayerFactory.cpp
0d268a3cae145afb2720c88ae38fb81550be5584 31-Aug-2012 James Dong <jdong@google.com> Add setVideoScalingMode support to NuPlayer

o related-to-bug: 7089195

Change-Id: Ic30d9312673f2d5837c779e023ac64468ecd4951
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
66e72bc85fb762876baff60ef29de729da93cf26 05-Sep-2012 Andreas Huber <andih@google.com> Configure the SurfaceMediaSource to emit the same number of buffers

as the video encoder allocates for its input. Do this before connecting
the bufferqueue through surface flinger.

Change-Id: Ibc81db1359afe2d88fdb75b23fadae65c8a6f7cc
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/Converter.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
fbe9d81ff5fbdc5aecdcdd13e4a5d7f019824f96 31-Aug-2012 Andreas Huber <andih@google.com> Support for acting as a wifi display sink.

Change-Id: I0beac87025b93c60164daa865c89f16b72197a47
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/wifi-display/Android.mk
ibstagefright/wifi-display/sink/LinearRegression.cpp
ibstagefright/wifi-display/sink/LinearRegression.h
ibstagefright/wifi-display/sink/RTPSink.cpp
ibstagefright/wifi-display/sink/RTPSink.h
ibstagefright/wifi-display/sink/TunnelRenderer.cpp
ibstagefright/wifi-display/sink/TunnelRenderer.h
ibstagefright/wifi-display/sink/WifiDisplaySink.cpp
ibstagefright/wifi-display/sink/WifiDisplaySink.h
ibstagefright/wifi-display/wfd.cpp
7323115c6e55f2da73317d7ff6a69b808d74264e 04-Sep-2012 Andreas Huber <andih@google.com> Merge "Improvements to our MPEG2 Transport Stream parser" into jb-mr1-dev
312380331e28b7e5693a4b1646caf2d19aba1b2a 31-Aug-2012 Marco Nelissen <marcone@google.com> Merge "Move fragmented mp4 parser to libstagefright" into jb-mr1-dev
cb1f88c684140ce0eb407049a78f889bc7d51be1 31-Aug-2012 Marco Nelissen <marcone@google.com> Move fragmented mp4 parser to libstagefright

and rename it from Parser to FragmentedMP4Parser
Change-Id: I986f50d0c5c93648aac675d6160e18623b031541
ibmediaplayerservice/nuplayer/Android.mk
ibmediaplayerservice/nuplayer/mp4/MP4Source.cpp
ibmediaplayerservice/nuplayer/mp4/MP4Source.h
ibmediaplayerservice/nuplayer/mp4/Parser.cpp
ibmediaplayerservice/nuplayer/mp4/Parser.h
ibmediaplayerservice/nuplayer/mp4/TrackFragment.cpp
ibmediaplayerservice/nuplayer/mp4/TrackFragment.h
ibstagefright/Android.mk
ibstagefright/include/FragmentedMP4Parser.h
ibstagefright/mp4/FragmentedMP4Parser.cpp
ibstagefright/mp4/TrackFragment.cpp
ibstagefright/mp4/TrackFragment.h
cd89e8014368af1bbdfa08406d5d2eb0bbbfcca1 31-Aug-2012 Andreas Huber <andih@google.com> Merge "Added an additional virtual method IStreamSource::flags()." into jb-mr1-dev
892020e46b97adfa012be7a9dd688a2d6d528de4 31-Aug-2012 Andreas Huber <andih@google.com> Merge "Special mode for ESQueue that allows for earlier dequeuing of access units" into jb-mr1-dev
87f2a558dd12043631e12c361abef301bf603140 31-Aug-2012 Andreas Huber <andih@google.com> Improvements to our MPEG2 Transport Stream parser

Verifies the continuity counter
Parses and associates PCR time with streams
Allows for a absolute time anchor to be signalled via discontinuity.

Change-Id: I4bc88c78382c9cc6380f28df584cc6c254e0a8f9
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
f56afa4878694803a44d1b0e9a54762d1d5ab652 31-Aug-2012 Andreas Huber <andih@google.com> Special mode for ESQueue that allows for earlier dequeuing of access units

if it's know beforehand that each PES packet contains exactly one access unit.
Currently this optimization is only supported for H.264 video.

Change-Id: I0888027cc7e9850307484b11dba1191cf6bfac83
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
da7ff5321539ac07ec76d0d03bd1b9b09a1823bf 31-Aug-2012 Andreas Huber <andih@google.com> Added an additional virtual method IStreamSource::flags().

Change-Id: I89e62d84328e12f08c8f73cbfd53cfb42569de97
ibmedia/IStreamSource.cpp
6135667138a47f9139274833e49bf580633dd8f0 31-Aug-2012 Andreas Huber <andih@google.com> Merge "Add support for mpeg2 transport streams to the RTSP implementation." into jb-mr1-dev
371e121745c2e43e3c26fd1a854eaf6d3324f057 31-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 8b152566: Merge "OMXCodec: enhance error handling of OMX IL client"

* commit '8b1525663322685ff34d9c09176feebd102e1c3d':
OMXCodec: enhance error handling of OMX IL client
cfaeeec0900014d97e15829e0fa52f865ee4c786 31-Aug-2012 Andreas Huber <andih@google.com> Add support for mpeg2 transport streams to the RTSP implementation.

Change-Id: I409d7133a53a71e62523b1acc2b03302fcf824a5
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/RTSPSource.h
ibstagefright/rtsp/AMPEG2TSAssembler.cpp
ibstagefright/rtsp/AMPEG2TSAssembler.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/Android.mk
9ed644af05addc13be50e90bdc85e999885b0d58 31-Aug-2012 Glenn Kasten <gkasten@google.com> Merge "Documentation on pipes" into jb-mr1-dev
b3428f7f8ebd9b08a631889dda48bf5951ab21b6 31-Aug-2012 Glenn Kasten <gkasten@google.com> Merge "Update audio comments" into jb-mr1-dev
dc91c885f267005e06f439a3bd592b3d8706bb50 31-Aug-2012 Andreas Huber <andih@google.com> Merge "Implement the source->sink(!) keep alive the wfd specs mandate..." into jb-mr1-dev
520c3c74d701532759e12c3b54d43b415afcb6d2 27-Jul-2012 Weian Chen <weian.chen@intel.com> OMXCodec: enhance error handling of OMX IL client

Original design doesn't handle event EMPTY_BUFFER_DONE and
FILL_BUFFER_DONE which leads to buffer status mess issue,
and in turn leads to mediaserver crash.
Here we will handle those 2 events anyway to fix this.

Change-Id: Ia90b46ea7ec6026d6fda5d33fef6773435788b04
Author: Tianmi Chen<tianmi.chen@intel.com>
Signed-off-by: Tianmi Chen<tianmi.chen@intel.com>
Signed-off-by: Weian Chen <weian.chen@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 49066, 27054
ibstagefright/OMXCodec.cpp
64d7b68fc25bbb2fc5558c645138eb625ca64674 31-Aug-2012 Jamie Gennis <jgennis@google.com> Merge "Don't hard code the number of buffers for SurfaceMediaSource" into jb-mr1-dev
b6777017a68ed473d61cc9d6e77c34fd5cd301cc 31-Aug-2012 Andreas Huber <andih@google.com> Implement the source->sink(!) keep alive the wfd specs mandate...

Change-Id: I388d9911ebd243aa9c13a13ec3683e76898470a6
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
c3ae93f21280859086ae371428ffd32f39e76d50 30-Jul-2012 Glenn Kasten <gkasten@google.com> Update audio comments

Change-Id: Ie7504d0ddb252f7e4d4f99ed0b44cfc7b1049816
ibmedia/AudioTrack.cpp
ba8da29bb615bd507c4d182f8f7b3b6743edd1c8 29-Aug-2012 Glenn Kasten <gkasten@google.com> Documentation on pipes

Change-Id: I3de496c7db026c50dcb6bc577741bb65d08e7c9d
ibnbaio/README.txt
5dcc2c988eefba1049fe64172bc5fc7e6ee27c8b 31-Aug-2012 Andreas Huber <andih@google.com> Merge "Only run the wifi display RTSP server on demand, and only on the wifi direct" into jb-mr1-dev
b9cba9b731195d4387ee21b7e9ba1137a3cfda68 31-Aug-2012 Glenn Kasten <gkasten@google.com> Merge "Move libnbaio out of AudioFlinger" into jb-mr1-dev
bcf09f8c995221e75c7cd328f25c7cc6d2b5f7c9 30-Aug-2012 Andreas Huber <andih@google.com> Only run the wifi display RTSP server on demand, and only on the wifi direct

interface.

Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
ibmedia/IMediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/RemoteDisplay.cpp
ibmediaplayerservice/RemoteDisplay.h
ibstagefright/wifi-display/ANetworkSession.cpp
ibstagefright/wifi-display/ANetworkSession.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
ibstagefright/wifi-display/wfd.cpp
3d26e897fc91cf6ad3576d25b4b240e9a2189970 23-Aug-2012 James Dong <jdong@google.com> Don't hard code the number of buffers for SurfaceMediaSource

Change-Id: I9ce17b3dc82a5d3e4a66569c76ad9745ceedacd6
ibstagefright/SurfaceMediaSource.cpp
cba53fbdaa723322f7157a4890feab776beae13e 30-Aug-2012 Eric Laurent <elaurent@google.com> audio effects: fix bug in sample rate control.

Fix a bug in LVM bundle wrapper preventing audio framework sample rate
from being sent to the effect bundle instance.

Change-Id: I912027f866d3beac91b977bba869ff96a92d2a62
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
082830f92373a1b9e512dbbfb940187ffa1c2c6f 30-Aug-2012 Andreas Huber <andih@google.com> Prepare for transmitting audio through AudioSource.

AudioSource can now be configured to output buffers timestamped based
on looper time (absolute) instead of based on systemTime() relative to
start time.

Change-Id: I8eca42648eb50033ac4aafbe5daac64a98a40690
ibstagefright/AudioSource.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
2dd4bdd715f586d4d30cf90cc6fc2bbfbce60fe0 29-Aug-2012 Glenn Kasten <gkasten@google.com> Move libnbaio out of AudioFlinger

libnbaio is now a separate shared library from AudioFlinger, rather
than a static library used only by AudioFlinger.

AudioBufferProvider interface is now also independent of AudioFlinger,
moved to include/media/

Change-Id: I9bb62ffbc38d42a38b0af76e66da5e9ab1e0e21b
ibnbaio/Android.mk
ibnbaio/AudioBufferProviderSource.cpp
ibnbaio/AudioStreamInSource.cpp
ibnbaio/AudioStreamOutSink.cpp
ibnbaio/LibsndfileSink.cpp
ibnbaio/LibsndfileSource.cpp
ibnbaio/MonoPipe.cpp
ibnbaio/MonoPipeReader.cpp
ibnbaio/NBAIO.cpp
ibnbaio/Pipe.cpp
ibnbaio/PipeReader.cpp
ibnbaio/SourceAudioBufferProvider.cpp
ibnbaio/roundup.c
e05a679401c7baeb0f82ce105eb20ae1ec863cdf 30-Aug-2012 Andreas Huber <andih@google.com> Transmit frames at a higher frame rate for smoother updates, increase

video bandwidth to 5 Mbit/sec.

Change-Id: Ieb9051b0f29d5a20004d1b3befdb745bc67769c7
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/PlaybackSession.cpp
774df0dce0116c69b6d17f2e4a4912e06138e575 30-Aug-2012 Andreas Huber <andih@google.com> Optionally log the transport stream transmitted to the sink.

Change-Id: I5d392e7997d6beb09ba6eca70d6899747098d2b3
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
2f9a44101f4fd372834c67150aea76a07b94b5ec 30-Aug-2012 Andreas Huber <andih@google.com> Merge "Fix wifi display shutdown deadlock." into jb-mr1-dev
2dff0f6a7bf06a878ad0890d93dc9c1ef0b5a107 30-Aug-2012 Andreas Huber <andih@google.com> Fix wifi display shutdown deadlock.

Change-Id: I77eed39f39c0de6b427c425248ff7d21c051c074
ibstagefright/wifi-display/source/PlaybackSession.cpp
d8ee4e56f92eeb44ddc0997efe280b9f28ad814d 30-Aug-2012 Andreas Huber <andih@google.com> Merge "Initial checkin of support for acting as a wifi display source" into jb-mr1-dev
d7bee3a9d2ad76d073d91f0ee36d5ac5f9df480c 29-Aug-2012 Andreas Huber <andih@google.com> Initial checkin of support for acting as a wifi display source

Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a
ibmedia/IMediaPlayerService.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/RemoteDisplay.cpp
ibmediaplayerservice/RemoteDisplay.h
ibstagefright/ACodec.cpp
ibstagefright/wifi-display/ANetworkSession.h
ibstagefright/wifi-display/Android.mk
ibstagefright/wifi-display/ParsedMessage.h
ibstagefright/wifi-display/source/Converter.cpp
ibstagefright/wifi-display/source/Converter.h
ibstagefright/wifi-display/source/PlaybackSession.cpp
ibstagefright/wifi-display/source/PlaybackSession.h
ibstagefright/wifi-display/source/RepeaterSource.cpp
ibstagefright/wifi-display/source/RepeaterSource.h
ibstagefright/wifi-display/source/Serializer.cpp
ibstagefright/wifi-display/source/Serializer.h
ibstagefright/wifi-display/source/TSPacketizer.cpp
ibstagefright/wifi-display/source/TSPacketizer.h
ibstagefright/wifi-display/source/WifiDisplaySource.cpp
ibstagefright/wifi-display/source/WifiDisplaySource.h
ibstagefright/wifi-display/wfd.cpp
f147b722ad2405c7f92ea8691f36b04a82d62bb1 29-Aug-2012 Andreas Huber <andih@google.com> Merge "Preliminary support for HDCP as a binder service for wifi display support." into jb-mr1-dev
1b19c9d120869c3182373a9b06a1ed98898df882 29-Aug-2012 Andreas Huber <andih@google.com> Preliminary support for HDCP as a binder service for wifi display support.

Change-Id: Ie0de1c086c629a668d1c7863992eef56fb94157c
ibmedia/Android.mk
ibmedia/IHDCP.cpp
ibmediaplayerservice/HDCP.cpp
ibmediaplayerservice/HDCP.h
0a24726a64ba1c50aa6ee1610de2d80602d49fe6 29-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 8836f8e0: am 5b15adfe: Merge "MPEG2TSWriter: Read more immediately if an empty buffer is received"

* commit '8836f8e0bfc64dce81963db89dfc5d0f11c29483':
MPEG2TSWriter: Read more immediately if an empty buffer is received
55fb8470278b2eb747db3f4d7c245e37abdb7f2f 29-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am bf30787f: am 735d1b92: Merge "avcenc: Don\'t erase the InputBufferInfo before reading info from it"

* commit 'bf30787f2694057e775f3b527b649a9f8074237b':
avcenc: Don't erase the InputBufferInfo before reading info from it
8836f8e0bfc64dce81963db89dfc5d0f11c29483 29-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 5b15adfe: Merge "MPEG2TSWriter: Read more immediately if an empty buffer is received"

* commit '5b15adfe9e5ee9a92b5f0a2853246fce170d4eef':
MPEG2TSWriter: Read more immediately if an empty buffer is received
bf30787f2694057e775f3b527b649a9f8074237b 29-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 735d1b92: Merge "avcenc: Don\'t erase the InputBufferInfo before reading info from it"

* commit '735d1b926fa3e057c92d74cebacca2f243ead274':
avcenc: Don't erase the InputBufferInfo before reading info from it
5b15adfe9e5ee9a92b5f0a2853246fce170d4eef 29-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "MPEG2TSWriter: Read more immediately if an empty buffer is received"
f547a36c8f0fe11c4c425168037e3ce1d1a697df 29-Aug-2012 Martin Storsjo <martin@martin.st> avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame

Without this, the caller might hang waiting for more output buffers.

Change-Id: Ief6be00b7600be8498a953e8e88f0582ea8fce85
ibstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
e61f13d2c710918f5267b3c835fcc20447b4e4d6 29-Aug-2012 Martin Storsjo <martin@martin.st> avcenc: Don't erase the InputBufferInfo before reading info from it

Previously, the timestamp and flags were read from the InputBufferInfo
struct after it had been erased.

This fixes cases where the output timestamp from the avc encoder
could spuriously be garbage every now and then.

Change-Id: I21acf23cfac93bcc201a603feace6499ec6d8e76
ibstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
02d18453d54a05c275c03b72a8290f3c9a964446 29-Aug-2012 Martin Storsjo <martin@martin.st> MPEG2TSWriter: Read more immediately if an empty buffer is received

If writing encoded data from an OMXCodec, the last buffer can be
an empty buffer (with the EOS flag set, which isn't propagated to
MediaBuffer). If we don't retry reading, we won't ever get the
EOS error and thus won't properly signal that the source is done.

Change-Id: Ibe01dbcd0637fbf0c2529a277e9f208c48e0e8ab
ibstagefright/MPEG2TSWriter.cpp
3a1d5240f3dcf0f3538549cc94c63fde8b216762 28-Aug-2012 Andreas Huber <andih@google.com> Merge "Fix retries when server doesn't support range requests." into jb-mr1-dev
a7607a7f97b3136d5e61c0bca63760bf9fc05b19 28-Aug-2012 Andreas Huber <andih@google.com> Fix retries when server doesn't support range requests.

Change-Id: I2d137f3e799b87af36a279473c0077d860c14477
related-to-bug: 7021436
ibstagefright/NuCachedSource2.cpp
eccfd92954c1c79bd8e71b9d3df9314d0e93d287 28-Aug-2012 Andreas Huber <andih@google.com> Merge "Test to measure UDP roundtrip time between two devices on the same network." into jb-mr1-dev
bb197f84c4119651e5face418285688ddaf08ea3 28-Aug-2012 Andreas Huber <andih@google.com> Test to measure UDP roundtrip time between two devices on the same network.

Change-Id: I4c9a5190efe18da8b6be7d68bda91df878c4118c
ibstagefright/wifi-display/ANetworkSession.cpp
ibstagefright/wifi-display/ANetworkSession.h
ibstagefright/wifi-display/Android.mk
ibstagefright/wifi-display/ParsedMessage.cpp
ibstagefright/wifi-display/ParsedMessage.h
ibstagefright/wifi-display/udptest.cpp
2352a815fe99a00702dd00c5d1c6cfdfadba10fd 28-Aug-2012 Jeff Brown <jeffbrown@google.com> Merge "Use new surface flinger API." into jb-mr1-dev
db7e3856c1cb7c2a25d1b01a86339596cc2c00a0 27-Aug-2012 James Dong <jdong@google.com> Merge "Fixed a potential/rare race condtion in MediaPlayerService::Client::notify() method" into jb-mr1-dev
1c356d38527efbbee0894188c0a8f82074b0f441 27-Aug-2012 James Dong <jdong@google.com> Merge "Fixed a native crash due to unexpected state at destroy time when encoder component's source fails to start" into jb-mr1-dev
690921927f289da73556ea71c28981194af8ffcd 27-Aug-2012 Jamie Gennis <jgennis@google.com> Merge "SurfaceMediaSource: a few fixes / cleanups" into jb-mr1-dev
a0ead0a2d2ce1d114ad3a17d755dddce831abb40 24-Aug-2012 Jamie Gennis <jgennis@google.com> SurfaceMediaSource: a few fixes / cleanups

- Remove the setting of mStopped to true in onBuffersReleased
- Cleaned up a few function call logs
- Removed the 'reset' method.

Change-Id: I56bab1d5cb2f3e6d59d54698c2e045d796d1849f
ibstagefright/SurfaceMediaSource.cpp
b8a9825bf0f5c74333b0e4ff5ba7677ac6fd2a25 27-Aug-2012 James Dong <jdong@google.com> Fixed a potential/rare race condtion in MediaPlayerService::Client::notify() method

o The mClient could be disconnected before the notify message is sent out. Use
a local reference could help resolve this issue.

o related-to-bug: 6782035

Change-Id: Ia2047bd7f2666100fed83c6e5417a3bf2e20cd2c
ibmediaplayerservice/MediaPlayerService.cpp
a6195decfe4f9021bbbd7deb050495c33371366b 25-Aug-2012 Jeff Brown <jeffbrown@google.com> Use new surface flinger API.

Change-Id: I594c6e15db5f617d2feaac1a65b5316daa3812d0
ibstagefright/tests/SurfaceMediaSource_test.cpp
96272d57caa39566842795ba1f0605a5a5f72272 25-Aug-2012 Marco Nelissen <marcone@google.com> Merge "Fix deadlock" into jb-mr1-dev
fd7ec80f3d0e30c8df61b86951d926ab9c8c6d25 25-Aug-2012 Marco Nelissen <marcone@google.com> Fix deadlock

I wanted to save some space, and ended up with a deadlock.
This change basically restores setDataSource(fd, offset, size) to the
way it was before I added the new setDataSource(DataSource) method,
instead of calling through to it.

Change-Id: Iacf4627c8745369fa84b467530189a9f64f8726b
ibstagefright/NuMediaExtractor.cpp
b0c1e303913f606dca15bfb75c029f3d4a1ab04c 24-Aug-2012 Eric Laurent <elaurent@google.com> Merge "Reduce THD when equalizer is ON." into jb-mr1-dev
e44615ff6022239850a3ea459ad6e07b44c37544 24-Aug-2012 Eric Laurent <elaurent@google.com> Reduce THD when equalizer is ON.

Increase headroom in LVM bundle to reduce THD when equalizer is ON
with high band gains.

Also add a workaround for a bug in headroom parameter control.

Change-Id: I1d67c9ae475f6cf852c2e0e49bacfc82a5e484fd
ibeffects/lvm/lib/Bundle/src/LVM_Init.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
aa8879d381918335c9d829fc279b76d53a15a550 24-Aug-2012 James Dong <jdong@google.com> Fixed a native crash due to unexpected state at destroy time when encoder component's source fails to start

o Encoder component initializes to be in the state of EXECUTING before its source gets started, because we wanted to be able
to configure the source to use the advertised number of input buffers. However, if the source fails to start, then the encoder
ends up in the state of EXECUTING when OMXCodec object gets destroyed. As a result, the assertion on the expected state in
OMXCodec's constructor fails. The fix is to stop the video encoder component right way when its source fails to start so to
bring the state of the encoder component back to the expected state.

o related-to-bug: 7045494

Change-Id: I6d4a221eb809d7137f53e58098a04816998f7a25
ibstagefright/OMXCodec.cpp
ff3f75c3e827c1c1f3e3a11b1de46b19444af197 24-Aug-2012 Marco Nelissen <marcone@google.com> Merge "Allow directly setting a DataSource for NuMediaExtractor" into jb-mr1-dev
dbcb4c17f16230dfc6af908f176681c49f61b13e 24-Aug-2012 Marco Nelissen <marcone@google.com> Allow directly setting a DataSource for NuMediaExtractor

This adds NuMediaExtractor::setDataSource(const sp<DataSource> &source),
which some new code under frameworks/av will use to let applications
provide a custom data source for extractors.

Change-Id: I8fb743441d04b4eadbda3c2d76858c3d60e2a3b2
ibstagefright/NuMediaExtractor.cpp
6de95261c619d53f3e7b431fd17995e73928571e 24-Aug-2012 John Grossman <johngro@google.com> Merge "Add a missing NULL check." into jb-mr1-dev
960e46f97e3ca22e99548841816ab77ac3a30d86 24-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 07315f82: am 4b60ac04: Merge "Fixed redefinition of \'i\' with a different type error"

* commit '07315f8262f843f3624c70974642e4fb733a661c':
Fixed redefinition of 'i' with a different type error
a8d21ea6dd37683a11a7ba2a63ab0af786ef52d7 24-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 78015984: am 6e55a0f7: Merge "Fixed member access into incomplete type build error"

* commit '780159840d754eae8e4e3f693ea10932634053f8':
Fixed member access into incomplete type build error
cb0b755efc2cd24703f400729994900bf2117f66 24-Aug-2012 John Grossman <johngro@google.com> Add a missing NULL check.

Don't crash if its time to start the next media player in a media
player chain, but the current player's client has a NULL mAudioOutput,
as is the case when the low level player implements
MediaPlayerHWInterface.

Change-Id: If555da3a46960cbee91ff26e5b1fd05e52c8ef28
ibmediaplayerservice/MediaPlayerService.cpp
07315f8262f843f3624c70974642e4fb733a661c 23-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 4b60ac04: Merge "Fixed redefinition of \'i\' with a different type error"

* commit '4b60ac04a878eaf8344b56189509ccd6925855c2':
Fixed redefinition of 'i' with a different type error
780159840d754eae8e4e3f693ea10932634053f8 23-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 6e55a0f7: Merge "Fixed member access into incomplete type build error"

* commit '6e55a0f71eef07c6041077e6e9e7fad8c973a752':
Fixed member access into incomplete type build error
4b60ac04a878eaf8344b56189509ccd6925855c2 23-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Fixed redefinition of 'i' with a different type error"
f10f36d34812bae602ff018fb503ad07eaf550b1 23-Aug-2012 Jeffrey Tinker <jtinker@google.com> Send current bandwidth info event when buffering occurs

There is a dependent change in vendor/widevine repo.

Change-Id: If063f4b1c8857e5bfc7be54ab0f97a4ed169b303
related-to-bug: 5883234
ibstagefright/AwesomePlayer.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
cba4ed0039c8b8fac01b3193d19fc2364f934506 26-Jul-2012 Tareq A. Siraj <tareq.a.siraj@intel.com> Fixed redefinition of 'i' with a different type error

Renamed the redefinition of 'i' to 'k'.

Change-Id: I8ae8ed1dee42c896fa15e55be8d58b33b29254f4
Author: Tareq A. Siraj <tareq.a.siraj@intel.com>
Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
ibstagefright/matroska/MatroskaExtractor.cpp
3677437296fd1547d762b1b227a3de83dbc960d6 27-Jul-2012 Tareq A. Siraj <tareq.a.siraj@intel.com> Fixed member access into incomplete type build error

Included the ARTPAssembler.h file to fix the 'member access into
incomplete type "android::ARTPAssembler"' error reported by clang.

Change-Id: I10cb1e38bf360858bb7ebdeae82ba1e64431f87d
Author: Tareq A. Siraj <tareq.a.siraj@intel.com>
Reviewed-by: Edwin Vane<edwin.vane@intel.com>
ibstagefright/rtsp/ARTPConnection.cpp
cd3ed11664d16939f1f5763a896d7fc75dd3642e 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 8d4d590d: am 1e75e972: Merge "avcenc: Update a comment about the inline assembly"

* commit '8d4d590dcbbd2b178976d0bd024625e9d6216365':
avcenc: Update a comment about the inline assembly
562d654876c6134b1e879f56f72635dabc5535f2 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 8a825ec0: am aa411adf: Merge "h264 streaming: make profile-level-id optional"

* commit '8a825ec079da6f2b89149c53568cb9721c10d923':
h264 streaming: make profile-level-id optional
8d4d590dcbbd2b178976d0bd024625e9d6216365 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 1e75e972: Merge "avcenc: Update a comment about the inline assembly"

* commit '1e75e9721254ae5df05c3d88b30ed7f778406261':
avcenc: Update a comment about the inline assembly
8a825ec079da6f2b89149c53568cb9721c10d923 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am aa411adf: Merge "h264 streaming: make profile-level-id optional"

* commit 'aa411adfc39a4ee6c4ff57952296ba40c2fbfdb3':
h264 streaming: make profile-level-id optional
1e75e9721254ae5df05c3d88b30ed7f778406261 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Update a comment about the inline assembly"
aa411adfc39a4ee6c4ff57952296ba40c2fbfdb3 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "h264 streaming: make profile-level-id optional"
391348890849f99663dd46c475a1fc0737d6908d 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 41ee747f: am 5ebce52c: Merge "avcenc: Fix the gcc inline assembly constraints"

* commit '41ee747fc019eb5856454c698adf23f55073c69e':
avcenc: Fix the gcc inline assembly constraints
136e83a2987acdb7a6956934098bfc0d347c4e7d 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 894a7e45: am 9e13e927: Merge "avcenc: Properly indent assembly blocks"

* commit '894a7e450704b0c7858a2187a5432b479ac69c1d':
avcenc: Properly indent assembly blocks
41ee747fc019eb5856454c698adf23f55073c69e 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 5ebce52c: Merge "avcenc: Fix the gcc inline assembly constraints"

* commit '5ebce52c46360b349daa8c944ca81e3c74accec0':
avcenc: Fix the gcc inline assembly constraints
894a7e450704b0c7858a2187a5432b479ac69c1d 21-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 9e13e927: Merge "avcenc: Properly indent assembly blocks"

* commit '9e13e927206b7c7c15359af2b0ccc8f525e78a7d':
avcenc: Properly indent assembly blocks
42d515121f11389df082dd02319904c99dd50cd6 21-Aug-2012 Martin Storsjo <martin@martin.st> avcenc: Update a comment about the inline assembly

Since the inline assembly was fixed in commit 3fdb405597f the
comment was no longer accurate.

Change-Id: Id4f8a111d1fa6e0c2e97f7db64262e8d1604c519
ibstagefright/codecs/avc/enc/src/sad_halfpel_inline.h
ibstagefright/codecs/avc/enc/src/sad_inline.h
ibstagefright/codecs/avc/enc/src/sad_mb_offset.h
3fdb405597f0e062a9bb8af20199c5e67f0f764c 13-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Fix the gcc inline assembly constraints

Use +r for registers whose value is used as input to the block.

Also switch input registers to output registers with +r, for
registers that are modified by the assembly block (SUB_SAD in
sad_inline.h).

Without this, the inline assembly fails on modern gcc versions
(tested on gcc 4.6), where the intended input value never is
loaded into the registers, causing segfaults at runtime.

Currently this assembly isn't used, but this change makes it
work properly if enabled.

Change-Id: I37c247cd5c8aff213445e31ab3bd33d8f0f37e05
ibstagefright/codecs/avc/enc/src/sad_halfpel_inline.h
ibstagefright/codecs/avc/enc/src/sad_inline.h
ibstagefright/codecs/avc/enc/src/sad_mb_offset.h
ccde1257952d2c073e51ecba6180060570ffa41f 13-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Properly indent assembly blocks

Also line break multiline assembly blocks - previously they were
virtually unreadable.

Change-Id: Icb269909b78746e26b28ab7dcb6979c4655a0b0c
ibstagefright/codecs/avc/enc/src/sad_halfpel_inline.h
ibstagefright/codecs/avc/enc/src/sad_inline.h
ibstagefright/codecs/avc/enc/src/sad_mb_offset.h
6a8ea471a9f3b001bd0ffa3381eba12975dfc59f 21-Aug-2012 Glenn Kasten <gkasten@google.com> Merge "Revert "Swap the order of creating IAudioTrack and thread"" into jb-mr1-dev
3411fc2f3a44b22d69a359a3eb26f756d6116e4f 20-Aug-2012 Nick Kralevich <nnk@google.com> am add7c4d3: am 46b7eeb8: Merge "hardening: eliminate text relocations from h264"

* commit 'add7c4d329586119fb8b5501b049905004400233':
hardening: eliminate text relocations from h264
add7c4d329586119fb8b5501b049905004400233 20-Aug-2012 Nick Kralevich <nnk@google.com> am 46b7eeb8: Merge "hardening: eliminate text relocations from h264"

* commit '46b7eeb8be7449515082ecb1a61700affb44115f':
hardening: eliminate text relocations from h264
46b7eeb8be7449515082ecb1a61700affb44115f 20-Aug-2012 Nick Kralevich <nnk@google.com> Merge "hardening: eliminate text relocations from h264"
11623fa3eb2c25ace502fdbdf290e154ac66960e 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am af5f9f05: am cd622346: Merge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"

* commit 'af5f9f05937521acb4855848d77bed1d4ed7db0a':
MPEG2TSWriter: Fix an off-by-one in the condition for padding
07c6ddb431c784a24a70a5a91d8a454e9c1dde5d 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 3b939a5e: am 02a4ec21: Merge "avcenc: Remove a leftover define"

* commit '3b939a5e893ccfe87f5b7b3fe229439a9b2fc87a':
avcenc: Remove a leftover define
af5f9f05937521acb4855848d77bed1d4ed7db0a 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am cd622346: Merge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"

* commit 'cd622346235829f60246a061560adf5921ba129c':
MPEG2TSWriter: Fix an off-by-one in the condition for padding
3b939a5e893ccfe87f5b7b3fe229439a9b2fc87a 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 02a4ec21: Merge "avcenc: Remove a leftover define"

* commit '02a4ec216cf5ca903e1765ca3e7ff2985436b236':
avcenc: Remove a leftover define
cd622346235829f60246a061560adf5921ba129c 20-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "MPEG2TSWriter: Fix an off-by-one in the condition for padding"
c867a50ec5317e74602798e2e8435cde313b91e9 20-Aug-2012 Martin Storsjo <martin@martin.st> MPEG2TSWriter: Fix an off-by-one in the condition for padding

This makes a remuxed file play without any decoding warnings,
while there still were some occasional warnings with the previous
version.

Change-Id: I31d73446ded1eeb3da10783c5ef841270563ca12
ibstagefright/MPEG2TSWriter.cpp
8033393a74a6872ad8d702b10da34d98dde0bf41 20-Aug-2012 Patrik2 Carlsson <patrik2.carlsson@sonymobile.com> h264 streaming: make profile-level-id optional

profile-level-id is made optional according to rfc3984:
"If no profile-level-id is present, the Baseline Profile without
additional constraints at Level 1 MUST be implied."

Change-Id: If868468a48917ceccb963b8ac15767583da29723
ibstagefright/rtsp/APacketSource.cpp
53ae1640ffbfc690962f7f94694b02680c6f66cb 17-Aug-2012 James Dong <jdong@google.com> Don't log streaming url.

o related-to-bug: 6994761

Change-Id: I79d5549a70b3bde67ddf496cfc6283ac92b1f569
ibstagefright/AwesomePlayer.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/httplive/LiveSession.cpp
0a1b2aecb75b949df6b465a4e4ccc739af034443 17-Aug-2012 Martin Storsjo <martin@martin.st> avcenc: Remove a leftover define

This should have been removed as part of f5af6314db, but
the second __arm__ define was introduced after the original commit
was written, and not removing the second one was an oversight in
rebasing the patch on top of the new code.

Change-Id: Iccf08ffdef130446dd6e97dc1e15e6a1d4f9386f
ibstagefright/codecs/avc/enc/Android.mk
02d3c328d2c127c26ab787aa95e5240e6b7ff223 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 523c09d5: am 64b3fe55: Merge "stagefright amrnb: Remove unused leftover source files"

* commit '523c09d56c78933eea7fb4f028e0bfa595ca82b1':
stagefright amrnb: Remove unused leftover source files
f81ed0032f86ab0943baa1ad8a25de8e06498409 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am f20e4ad9: am c1d2777c: Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"

* commit 'f20e4ad9f23fe0267f8f3434a6eb961eb69bde3a':
stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h
523c09d56c78933eea7fb4f028e0bfa595ca82b1 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 64b3fe55: Merge "stagefright amrnb: Remove unused leftover source files"

* commit '64b3fe55f7edd16be32e07c28c2c90f84f3b9b80':
stagefright amrnb: Remove unused leftover source files
f20e4ad9f23fe0267f8f3434a6eb961eb69bde3a 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am c1d2777c: Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"

* commit 'c1d2777c8004a9491e1381cca33a6768faed50c3':
stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h
64b3fe55f7edd16be32e07c28c2c90f84f3b9b80 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrnb: Remove unused leftover source files"
c1d2777c8004a9491e1381cca33a6768faed50c3 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h"
7df98f17a42e47d8bc49891c370786ee3d3a1379 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 0df213ba: am dde79acf: Merge "hardening: eliminate text relocations from mp3"

* commit '0df213babc4fb41b7daa05cb3c08071f2b60f6a5':
hardening: eliminate text relocations from mp3
1a42aee5e1e975158da4754f9bae46c945e27281 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am a109e9d5: am b7ca7dc9: Merge "avcenc: Clarify the ifdefs surrounding inline assembly"

* commit 'a109e9d5d5dbdbbd63a3f32fce131c718f0f8c99':
avcenc: Clarify the ifdefs surrounding inline assembly
9bd763d1d3b7dcb30320aa70597680a53ffb5bbf 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am fba9d50d: am 4f981882: Merge "hardening: eliminate text relocations from amrwb"

* commit 'fba9d50d1b2e487bc08b59ec93d7ed3183c76dbe':
hardening: eliminate text relocations from amrwb
f365fecf8519a0a1c7e511657f79638844be02e3 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 1191287b: am c3bfa026: Merge "aacenc/amrwbenc: Remove the now unused LINUX define"

* commit '1191287bc438c164a89cf86704936aeddbefb136':
aacenc/amrwbenc: Remove the now unused LINUX define
fa172b0d2dcd761622b61701b7c7dd4d0f19610b 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am eeb9fde0: am 3f5d2e17: Merge "aacenc/amrwbenc: Remove unused and dubious typedefs"

* commit 'eeb9fde0cb8e0ace44eb720bcac272ee70282d4d':
aacenc/amrwbenc: Remove unused and dubious typedefs
0df213babc4fb41b7daa05cb3c08071f2b60f6a5 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am dde79acf: Merge "hardening: eliminate text relocations from mp3"

* commit 'dde79acfb97083d690e3cceabff78931b10d1539':
hardening: eliminate text relocations from mp3
a109e9d5d5dbdbbd63a3f32fce131c718f0f8c99 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am b7ca7dc9: Merge "avcenc: Clarify the ifdefs surrounding inline assembly"

* commit 'b7ca7dc9652456181080bf28ec376bc5a36cf6a2':
avcenc: Clarify the ifdefs surrounding inline assembly
fba9d50d1b2e487bc08b59ec93d7ed3183c76dbe 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 4f981882: Merge "hardening: eliminate text relocations from amrwb"

* commit '4f981882da8080e1d41d000bfbad92df61adcfba':
hardening: eliminate text relocations from amrwb
1191287bc438c164a89cf86704936aeddbefb136 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am c3bfa026: Merge "aacenc/amrwbenc: Remove the now unused LINUX define"

* commit 'c3bfa0260a530af3e9c091c1c9d90d1283021dd6':
aacenc/amrwbenc: Remove the now unused LINUX define
eeb9fde0cb8e0ace44eb720bcac272ee70282d4d 17-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 3f5d2e17: Merge "aacenc/amrwbenc: Remove unused and dubious typedefs"

* commit '3f5d2e1777bcf8856e966b93b2bce0b2c9cd1a49':
aacenc/amrwbenc: Remove unused and dubious typedefs
dde79acfb97083d690e3cceabff78931b10d1539 16-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "hardening: eliminate text relocations from mp3"
b7ca7dc9652456181080bf28ec376bc5a36cf6a2 16-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Clarify the ifdefs surrounding inline assembly"
4f981882da8080e1d41d000bfbad92df61adcfba 16-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "hardening: eliminate text relocations from amrwb"
fef71ef418d8ecff6d20fbd50b7fbabf6ad58f74 07-Mar-2012 Martin Storsjo <martin@martin.st> aacenc/amrwbenc: Remove the now unused LINUX define

This is no longer used by the codec code (except for the
amrwbenc sample).

Change-Id: I78c7f62f257c490bf44477217975a93abcc7779e
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/aacenc/SampleCode/Android.mk
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/amrwbenc/SampleCode/Android.mk
ibstagefright/codecs/common/Android.mk
ibstagefright/codecs/common/Config.mk
adee070820d9b038ac811b3785de618349f35293 23-Jun-2011 Martin Storsjo <martin@martin.st> aacenc/amrwbenc: Remove unused and dubious typedefs

These typedefs aren't used anywhere, and their description
doesn't really match their actual definition. The VO_TCHAR
type is even defined as pointer for one configuration and
as non-pointer for another configuration.

This gets rid of the last use of the LINUX define in the
VO codecs (except for the amrwbenc sample application).
Within the codecs, the use of this define is unclear - does it
indicate code specific to android but not normal linux, linux
but not other unixes, unix but not windows, or gcc but not
other compilers, etc.

Originally, prior to cleanup, the define has meant many
different of these - these uses has now been cleaned up to
use the proper feature detection macros (e.g. looking for
defines automatically set by the compiler, instead of
relying on manually setting this define).

Change-Id: I1a675d653d6d305f558aa7f74c7255858dc62758
ibstagefright/codecs/common/include/voType.h
ce088d274b4530fb813a030216d675b0e7262711 15-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am add9f820: am 2c3d9b7b: Merge "MPEG2TSWriter: Correctly add padding using the adaptation field"

* commit 'add9f820eaeb180b5e72a4420995a54062cfabd7':
MPEG2TSWriter: Correctly add padding using the adaptation field
add9f820eaeb180b5e72a4420995a54062cfabd7 15-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 2c3d9b7b: Merge "MPEG2TSWriter: Correctly add padding using the adaptation field"

* commit '2c3d9b7b9e34c9122c0a568d6b1fb24404021f55':
MPEG2TSWriter: Correctly add padding using the adaptation field
99b99df476b1bfb49da74fda9d6960d82b5ffd10 23-Jan-2012 Paul Fariello <fariello@archos.com> MPEG2TSWriter: Correctly add padding using the adaptation field

Change-Id: I268cce36ada910ba168c4c9dcedab0b20f6e6ebb
ibstagefright/MPEG2TSWriter.cpp
0088e930b17228f23ddfff4840ed6172da354730 14-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Fix AAC DRC metadata being ignored" into jb-mr1-dev
5696a4efef79ee474ac6bcf2639c741e159bed1b 10-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Fix AAC DRC metadata being ignored

The decoder will bypass all DRC processing during decode unless
any of the DRC parameters is set.
The fix consists in setting the DRC reference level to its
default value when after the decoder is initialized.

Change-Id: Ibb8355ab8c3c65020c5eef0752957040f7316c2a
ibstagefright/codecs/aacdec/SoftAAC2.cpp
93b68548124ec9b01b9bf4ddf010afa06a503547 14-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 979df012: am 98159acd: Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"

* commit '979df012eb0588ac7f87d5f6e8bff77e2049ee46':
amrnb: Restart the p_xn pointer when retraversing the array on overflow
979df012eb0588ac7f87d5f6e8bff77e2049ee46 14-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 98159acd: Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"

* commit '98159acd68307bf0fcec40ae0fffc1a715517d1d':
amrnb: Restart the p_xn pointer when retraversing the array on overflow
98159acd68307bf0fcec40ae0fffc1a715517d1d 13-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"
22e06318d04074d1a7c90caa173857abdcfd153e 13-Aug-2012 Ard Biesheuvel <ard.biesheuvel@gmail.com> hardening: eliminate text relocations from h264

Change-Id: I8bdf9746f28f2f7bed6c1109c0f4badbab765a7c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_DecodeCoeffsToPair_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_Interpolate_Chroma_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_PredictIntraChroma_8x8_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_PredictIntra_16x16_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_PredictIntra_4x4_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_TransformDequantChromaDCFromPair_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_TransformDequantLumaDCFromPair_s.S
9a2c14b2c96625d5be73e1a7627f5d2a3091c4a2 13-Aug-2012 Ard Biesheuvel <ard.biesheuvel@gmail.com> hardening: eliminate text relocations from mp3

Change-Id: I671ed4c8c7bb15172a8b64d513e2844319495102
ibstagefright/codecs/mp3dec/src/asm/pvmp3_dct_16_gcc.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_mdct_18_gcc.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_polyphase_filter_window_gcc.s
74bc3e133bd59a65dbed70b5fc89549f04a545e2 13-Aug-2012 Ard Biesheuvel <ard.biesheuvel@gmail.com> hardening: eliminate text relocations from amrwb

Change-Id: I47235fc4afe6b916da1e999401fb3c8b12c94e62
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Filt_6k_7k_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Filt_6k_7k_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/pred_lt4_1_neon.s
bd828233d3eda966bf7145108dde74616abd97fb 13-Aug-2012 Andreas Huber <andih@google.com> Use the correct data offset by remembering the offset of the enclosing 'moof'

container.

Change-Id: I2f0f92dabe31341a6a91d435943e4a65e34884ba
ibmediaplayerservice/nuplayer/mp4/Parser.cpp
ibmediaplayerservice/nuplayer/mp4/Parser.h
8cf9c1a8640553a146f3a7aad01b393c664a46af 13-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 10004fe6: am 5efa7bf9: Merge "amrnb: Fix audio distortion in an AMR-NB clip"

* commit '10004fe612bc38bedc258fd1c380ebccacfa0c1e':
amrnb: Fix audio distortion in an AMR-NB clip
10004fe612bc38bedc258fd1c380ebccacfa0c1e 13-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 5efa7bf9: Merge "amrnb: Fix audio distortion in an AMR-NB clip"

* commit '5efa7bf945f53c419501b0a4f9718962f24f0df5':
amrnb: Fix audio distortion in an AMR-NB clip
5efa7bf945f53c419501b0a4f9718962f24f0df5 13-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "amrnb: Fix audio distortion in an AMR-NB clip"
d58a68a4d6915d43d8b9d02ebfe04be62efe2eb1 13-Aug-2012 John Grossman <johngro@google.com> Merge changes Ibe7e6d4b,Icf8904db into jb-mr1-dev

* changes:
Move the AAH RTP code out of framework and into vendor.
Add the ability to dynamicaly register MediaPlayer types.
75767ab7cc1aee315d655538322a8349faa61a64 13-Aug-2012 Andreas Huber <andih@google.com> Merge "Signal end of stream if no more fragments are going to be available." into jb-mr1-dev
8ec1f2a4f3c72fe7472f8b8fa227f6b7bbc9279b 06-Aug-2012 John Grossman <johngro@google.com> Move the AAH RTP code out of framework and into vendor.

Relocate the AAH RTP code from framework/av into
vendor/google_devices/phantasm. This change is the deletion, there
will be a separate CL which re-introduces on the vendor side of
things.

Change-Id: Ibe7e6d4b633a3886b87a615691a2692f2382af6c
Signed-off-by: John Grossman <johngro@google.com>
ibaah_rtp/Android.mk
ibaah_rtp/MODULE_LICENSE_APACHE2
ibaah_rtp/NOTICE
ibaah_rtp/aah_decoder_pump.cpp
ibaah_rtp/aah_decoder_pump.h
ibaah_rtp/aah_rx_player.cpp
ibaah_rtp/aah_rx_player.h
ibaah_rtp/aah_rx_player_core.cpp
ibaah_rtp/aah_rx_player_ring_buffer.cpp
ibaah_rtp/aah_rx_player_substream.cpp
ibaah_rtp/aah_tx_packet.cpp
ibaah_rtp/aah_tx_packet.h
ibaah_rtp/aah_tx_player.cpp
ibaah_rtp/aah_tx_player.h
ibaah_rtp/aah_tx_sender.cpp
ibaah_rtp/aah_tx_sender.h
ibaah_rtp/pipe_event.cpp
ibaah_rtp/pipe_event.h
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerFactory.cpp
44a7e42f0310831e6a846d1b6bb40bf3a399bf6d 22-Jun-2012 John Grossman <johngro@google.com> Add the ability to dynamicaly register MediaPlayer types.

Add the ability to dynamically register low level MediaPlayer
factories which will be probed at setDataSource time to determine the
proper MediaPlayerBase to instantiate.

This change is in preparation for moving libaah_rtp out of
frameworks/base and into phantasm platform directory.

Change-Id: Icf8904db3ab9e3c85df6e780d5546d9988cb9076
Signed-off-by: John Grossman <johngro@google.com>
ibmedia/IMediaPlayer.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerFactory.cpp
ibmediaplayerservice/MediaPlayerFactory.h
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MetadataRetrieverClient.cpp
b3e12a4d15a329821979bf287c49a9630486e23f 11-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 3ca352c4: am 24893fef: Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"

* commit '3ca352c4cd01f6df3b691f835efc68a5771e724e':
MPEG2TSWriter: Write a proper CRC in PAT and PMT
3ca352c4cd01f6df3b691f835efc68a5771e724e 11-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 24893fef: Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"

* commit '24893fef8e0f816a8a21749fa3eb9eed9173a0fd':
MPEG2TSWriter: Write a proper CRC in PAT and PMT
24893fef8e0f816a8a21749fa3eb9eed9173a0fd 11-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "MPEG2TSWriter: Write a proper CRC in PAT and PMT"
751fa786aa9599c694219085601f9f5ebe96a516 10-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 31a593b9: am 2001d2ac: Merge "MPEG2TSWriter: Write proper continuity counters for PAT and PMT"

* commit '31a593b901eeb924ae5214962c628397dd0197f2':
MPEG2TSWriter: Write proper continuity counters for PAT and PMT
7edbacf24e60c01e2d3b10715ec8f9cc2f55c11a 10-Aug-2012 James Dong <jdong@google.com> Merge "Handle malformed raw AAC/AMR writer better" into jb-mr1-dev
31a593b901eeb924ae5214962c628397dd0197f2 10-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 2001d2ac: Merge "MPEG2TSWriter: Write proper continuity counters for PAT and PMT"

* commit '2001d2ac01e36c13c1abda5f73b6404cba2648e1':
MPEG2TSWriter: Write proper continuity counters for PAT and PMT
2001d2ac01e36c13c1abda5f73b6404cba2648e1 10-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "MPEG2TSWriter: Write proper continuity counters for PAT and PMT"
fa514f007bd144eb99cdd68f2fe5302a4508db28 10-Aug-2012 James Dong <jdong@google.com> Handle malformed raw AAC/AMR writer better

Change-Id: I196fe196c26b83be09fcd54174ceb4e135073c2b
ibstagefright/AACWriter.cpp
ibstagefright/AMRWriter.cpp
c7708555ea7511aea684e00a55fb5309281540ce 10-Aug-2012 Andreas Huber <andih@google.com> Signal end of stream if no more fragments are going to be available.

Change-Id: I16696740d3551aa8a5ba904ec757c64b0ecd1307
ibmediaplayerservice/nuplayer/mp4/Parser.cpp
ibmediaplayerservice/nuplayer/mp4/Parser.h
b9787142c5f5f8f47e7e35409f4f2ef7112ab72e 09-Aug-2012 Andreas Huber <andih@google.com> Fix static sample table processing, add support for h.263 video.

Change-Id: I5628d3437b5e6f8836d78557fd07ab87e5a914e3
ibmediaplayerservice/nuplayer/mp4/Parser.cpp
ibmediaplayerservice/nuplayer/mp4/TrackFragment.cpp
ibmediaplayerservice/nuplayer/mp4/TrackFragment.h
e983aa4ff4d80af7702888e230b9aaa93a7b7e57 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 51af4af2: am e28df5b9: Merge "Store correct time stamps in recorded mp4 files"

* commit '51af4af2414cdaaf0185b971a41fc0b4f8c0b7e4':
Store correct time stamps in recorded mp4 files
51af4af2414cdaaf0185b971a41fc0b4f8c0b7e4 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am e28df5b9: Merge "Store correct time stamps in recorded mp4 files"

* commit 'e28df5b996af3480b457c7a9908dbb9d52ad8d7c':
Store correct time stamps in recorded mp4 files
e28df5b996af3480b457c7a9908dbb9d52ad8d7c 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Store correct time stamps in recorded mp4 files"
1e357f4610e788c3e5dea5dd2f01b26bb75c5e36 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am ef620093: am efee0095: Merge "Correct ID3::StringSize calculation for UCS-2 data."

* commit 'ef62009372d050b431939835d4e2c5ee77da8831':
Correct ID3::StringSize calculation for UCS-2 data.
4bb0e2aa1410191a8cff1f921d1b246232ed42e9 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 662b15c3: am a858aa96: Merge "avcenc: Remove redundant zero-initialization of allocated memory"

* commit '662b15c377e1ebe6aed8ff5cf82c684f0c8894dc':
avcenc: Remove redundant zero-initialization of allocated memory
49e74946370e7af2378e28733ba6d8df8951b068 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 44237a8d: am b71298ee: Merge "avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function"

* commit '44237a8d58dc218257687f2cbe8fd33d73a713e8':
avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function
f5a66877655695af619909db6c831f78373d733e 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 68d44b06: am 0ab18f85: Merge "avcenc: Remove useless casts"

* commit '68d44b061e92fb6832240457d4f683635bf5328f':
avcenc: Remove useless casts
93f902d58cd287e8dd046621824b7de7aa985d36 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 96d18cca: am 0822156c: Merge "avcenc: Fix indentation"

* commit '96d18cca4546045df118660017e74ddd751dfbb4':
avcenc: Fix indentation
3269b5314f02eb3724be8d45880f15762fac09c0 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 80c46255: am 874a074a: Merge "avcenc: Switch malloc/free callbacks to use pointers instead of ints"

* commit '80c46255bcf3d4d5a3ffe9a1ef3aefd9310c6ed4':
avcenc: Switch malloc/free callbacks to use pointers instead of ints
ef62009372d050b431939835d4e2c5ee77da8831 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am efee0095: Merge "Correct ID3::StringSize calculation for UCS-2 data."

* commit 'efee009528f446542d51f1ce50e2189e8a2f71dd':
Correct ID3::StringSize calculation for UCS-2 data.
662b15c377e1ebe6aed8ff5cf82c684f0c8894dc 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am a858aa96: Merge "avcenc: Remove redundant zero-initialization of allocated memory"

* commit 'a858aa963d2a7e767d0d8694e29cb6fe87c9ef9f':
avcenc: Remove redundant zero-initialization of allocated memory
44237a8d58dc218257687f2cbe8fd33d73a713e8 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am b71298ee: Merge "avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function"

* commit 'b71298eeeb16d942dd5144e550731e6e29b6436e':
avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function
68d44b061e92fb6832240457d4f683635bf5328f 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 0ab18f85: Merge "avcenc: Remove useless casts"

* commit '0ab18f853571149de700930fbb783ecd6b2c5582':
avcenc: Remove useless casts
96d18cca4546045df118660017e74ddd751dfbb4 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 0822156c: Merge "avcenc: Fix indentation"

* commit '0822156cfd25c111cd33932ee9a89b3100d0350c':
avcenc: Fix indentation
80c46255bcf3d4d5a3ffe9a1ef3aefd9310c6ed4 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 874a074a: Merge "avcenc: Switch malloc/free callbacks to use pointers instead of ints"

* commit '874a074ad88117d9fabf178b5b4a1c885dc512f5':
avcenc: Switch malloc/free callbacks to use pointers instead of ints
17fa4ab45a87e042a0503356e641fa6ff72ef572 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am b7ee9c44: Merge "mediacodec: Return an error on getOutputFormat if there is no output format yet"

* commit 'b7ee9c4436c50cc5ff6e72059bf27c2c16dc1b92':
mediacodec: Return an error on getOutputFormat if there is no output format yet
efee009528f446542d51f1ce50e2189e8a2f71dd 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "Correct ID3::StringSize calculation for UCS-2 data."
a858aa963d2a7e767d0d8694e29cb6fe87c9ef9f 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Remove redundant zero-initialization of allocated memory"
b71298eeeb16d942dd5144e550731e6e29b6436e 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function"
0ab18f853571149de700930fbb783ecd6b2c5582 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Remove useless casts"
0822156cfd25c111cd33932ee9a89b3100d0350c 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Fix indentation"
874a074ad88117d9fabf178b5b4a1c885dc512f5 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> Merge "avcenc: Switch malloc/free callbacks to use pointers instead of ints"
3478eaa23c19dbbe473be70e8f3cc0c904d2465c 08-Aug-2012 John Grossman <johngro@google.com> Fix a small build warning.

Change-Id: I2b228db8f11a829399cdc6efe67d7b6e0a1917ba
ibstagefright/timedtext/TimedTextPlayer.cpp
6fb082ae298a0c6028d540c099ae5a1838701bdd 08-Aug-2012 James Dong <jdong@google.com> Merge "Make sure that the trackId starts from 1" into jb-mr1-dev
e2229fba1c7e98c243ea777f567fd72579d91e41 08-Aug-2012 Marco Nelissen <marcone@google.com> Merge "Handle empty stsc box" into jb-mr1-dev
b7e75cfd64893dde230dfc1c3b281a00ca1b4470 08-Aug-2012 Marco Nelissen <marcone@google.com> Handle empty stsc box

Change-Id: I867e2499fac3045075654aaaecf44327753327fd
ibmediaplayerservice/nuplayer/mp4/TrackFragment.cpp
219f195159f93d627af2b243732e3f9020511a46 08-Aug-2012 James Dong <jdong@google.com> Make sure that the trackId starts from 1

o this patch avoids sending incorrect track events to applications because
track events contain the trackId

Change-Id: I1cf054da8ab413d31a5b7fe8ed729486d1475c46
ibstagefright/MPEG4Writer.cpp
a9e0ea58738a50de84a80d3b4db1936e7433dce4 08-Aug-2012 Andreas Huber <andih@google.com> Merge "Remove the no longer used PV software aac decoder." into jb-mr1-dev
a997e7a7c5aa2fc7e95316218316f8b7b98786ba 07-Aug-2012 Glenn Kasten <gkasten@google.com> Revert "Swap the order of creating IAudioTrack and thread"

This reverts commit 5d464eb0b8cffb994a754ff108795e858a882414.
It caused the wrong thread ID -1 to be passed to IAudioFlinger::createTrack().

Change-Id: Ic221d2bb4af572d3d2d752af19238c52f6728e3a
ibmedia/AudioTrack.cpp
1f8834711f23f66d528aca98cca9602fb18cab66 07-Aug-2012 Andreas Huber <andih@google.com> Remove the no longer used PV software aac decoder.

Change-Id: Ia260f706780b66dc16a108aaa8780f68970380bd
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacdec/SoftAAC.h
ibstagefright/codecs/aacdec/aac_mem_funcs.h
ibstagefright/codecs/aacdec/analysis_sub_band.cpp
ibstagefright/codecs/aacdec/analysis_sub_band.h
ibstagefright/codecs/aacdec/apply_ms_synt.cpp
ibstagefright/codecs/aacdec/apply_ms_synt.h
ibstagefright/codecs/aacdec/apply_tns.cpp
ibstagefright/codecs/aacdec/apply_tns.h
ibstagefright/codecs/aacdec/bit_reversal_swap.h
ibstagefright/codecs/aacdec/buf_getbits.cpp
ibstagefright/codecs/aacdec/buf_getbits.h
ibstagefright/codecs/aacdec/buffer_normalization.h
ibstagefright/codecs/aacdec/byte_align.cpp
ibstagefright/codecs/aacdec/calc_auto_corr.cpp
ibstagefright/codecs/aacdec/calc_auto_corr.h
ibstagefright/codecs/aacdec/calc_gsfb_table.cpp
ibstagefright/codecs/aacdec/calc_sbr_anafilterbank.cpp
ibstagefright/codecs/aacdec/calc_sbr_anafilterbank.h
ibstagefright/codecs/aacdec/calc_sbr_envelope.cpp
ibstagefright/codecs/aacdec/calc_sbr_envelope.h
ibstagefright/codecs/aacdec/calc_sbr_synfilterbank.cpp
ibstagefright/codecs/aacdec/calc_sbr_synfilterbank.h
ibstagefright/codecs/aacdec/chans.h
ibstagefright/codecs/aacdec/check_crc.cpp
ibstagefright/codecs/aacdec/check_crc.h
ibstagefright/codecs/aacdec/dct16.cpp
ibstagefright/codecs/aacdec/dct16.h
ibstagefright/codecs/aacdec/dct64.cpp
ibstagefright/codecs/aacdec/dct64.h
ibstagefright/codecs/aacdec/decode_huff_cw_binary.cpp
ibstagefright/codecs/aacdec/decode_noise_floorlevels.cpp
ibstagefright/codecs/aacdec/decode_noise_floorlevels.h
ibstagefright/codecs/aacdec/deinterleave.cpp
ibstagefright/codecs/aacdec/digit_reversal_tables.cpp
ibstagefright/codecs/aacdec/digit_reversal_tables.h
ibstagefright/codecs/aacdec/dst16.cpp
ibstagefright/codecs/aacdec/dst16.h
ibstagefright/codecs/aacdec/dst32.cpp
ibstagefright/codecs/aacdec/dst32.h
ibstagefright/codecs/aacdec/dst8.cpp
ibstagefright/codecs/aacdec/dst8.h
ibstagefright/codecs/aacdec/e_adif_const.h
ibstagefright/codecs/aacdec/e_blockswitching.h
ibstagefright/codecs/aacdec/e_coupling_mode.h
ibstagefright/codecs/aacdec/e_elementid.h
ibstagefright/codecs/aacdec/e_huffmanconst.h
ibstagefright/codecs/aacdec/e_infoinitconst.h
ibstagefright/codecs/aacdec/e_invf_mode.h
ibstagefright/codecs/aacdec/e_maskstatus.h
ibstagefright/codecs/aacdec/e_mp4ff_const.h
ibstagefright/codecs/aacdec/e_progconfigconst.h
ibstagefright/codecs/aacdec/e_rawbitstreamconst.h
ibstagefright/codecs/aacdec/e_sbr_element_id.h
ibstagefright/codecs/aacdec/e_sbr_error.h
ibstagefright/codecs/aacdec/e_sbr_header_status.h
ibstagefright/codecs/aacdec/e_sbr_master_status.h
ibstagefright/codecs/aacdec/e_sbr_sync_state.h
ibstagefright/codecs/aacdec/e_sr_mode.h
ibstagefright/codecs/aacdec/e_tmp4audioobjecttype.h
ibstagefright/codecs/aacdec/e_tns_const.h
ibstagefright/codecs/aacdec/e_window_sequence.h
ibstagefright/codecs/aacdec/e_window_shape.h
ibstagefright/codecs/aacdec/esc_iquant_scaling.cpp
ibstagefright/codecs/aacdec/esc_iquant_scaling.h
ibstagefright/codecs/aacdec/extractframeinfo.cpp
ibstagefright/codecs/aacdec/extractframeinfo.h
ibstagefright/codecs/aacdec/fft_rx4.h
ibstagefright/codecs/aacdec/fft_rx4_long.cpp
ibstagefright/codecs/aacdec/fft_rx4_short.cpp
ibstagefright/codecs/aacdec/fft_rx4_tables_fxp.cpp
ibstagefright/codecs/aacdec/find_adts_syncword.cpp
ibstagefright/codecs/aacdec/find_adts_syncword.h
ibstagefright/codecs/aacdec/fwd_long_complex_rot.cpp
ibstagefright/codecs/aacdec/fwd_long_complex_rot.h
ibstagefright/codecs/aacdec/fwd_short_complex_rot.cpp
ibstagefright/codecs/aacdec/fwd_short_complex_rot.h
ibstagefright/codecs/aacdec/fxp_mul32.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_gcc.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_v4.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_v4_gcc.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_v5.h
ibstagefright/codecs/aacdec/fxp_mul32_c_equivalent.h
ibstagefright/codecs/aacdec/fxp_mul32_c_msc_evc.h
ibstagefright/codecs/aacdec/fxp_mul32_c_msc_evc_armv5.h
ibstagefright/codecs/aacdec/fxp_mul32_pentium.h
ibstagefright/codecs/aacdec/gen_rand_vector.cpp
ibstagefright/codecs/aacdec/gen_rand_vector.h
ibstagefright/codecs/aacdec/get_adif_header.cpp
ibstagefright/codecs/aacdec/get_adif_header.h
ibstagefright/codecs/aacdec/get_adts_header.cpp
ibstagefright/codecs/aacdec/get_adts_header.h
ibstagefright/codecs/aacdec/get_audio_specific_config.cpp
ibstagefright/codecs/aacdec/get_audio_specific_config.h
ibstagefright/codecs/aacdec/get_dse.cpp
ibstagefright/codecs/aacdec/get_dse.h
ibstagefright/codecs/aacdec/get_ele_list.cpp
ibstagefright/codecs/aacdec/get_ele_list.h
ibstagefright/codecs/aacdec/get_ga_specific_config.cpp
ibstagefright/codecs/aacdec/get_ga_specific_config.h
ibstagefright/codecs/aacdec/get_ics_info.cpp
ibstagefright/codecs/aacdec/get_ics_info.h
ibstagefright/codecs/aacdec/get_prog_config.cpp
ibstagefright/codecs/aacdec/get_prog_config.h
ibstagefright/codecs/aacdec/get_pulse_data.cpp
ibstagefright/codecs/aacdec/get_pulse_data.h
ibstagefright/codecs/aacdec/get_sbr_bitstream.cpp
ibstagefright/codecs/aacdec/get_sbr_bitstream.h
ibstagefright/codecs/aacdec/get_sbr_startfreq.cpp
ibstagefright/codecs/aacdec/get_sbr_startfreq.h
ibstagefright/codecs/aacdec/get_sbr_stopfreq.cpp
ibstagefright/codecs/aacdec/get_sbr_stopfreq.h
ibstagefright/codecs/aacdec/get_sign_bits.h
ibstagefright/codecs/aacdec/get_tns.cpp
ibstagefright/codecs/aacdec/get_tns.h
ibstagefright/codecs/aacdec/getbits.h
ibstagefright/codecs/aacdec/getfill.cpp
ibstagefright/codecs/aacdec/getfill.h
ibstagefright/codecs/aacdec/getgroup.cpp
ibstagefright/codecs/aacdec/getics.cpp
ibstagefright/codecs/aacdec/getmask.cpp
ibstagefright/codecs/aacdec/hcbtables.h
ibstagefright/codecs/aacdec/hcbtables_binary.cpp
ibstagefright/codecs/aacdec/huffcb.cpp
ibstagefright/codecs/aacdec/huffdecode.cpp
ibstagefright/codecs/aacdec/hufffac.cpp
ibstagefright/codecs/aacdec/huffman.h
ibstagefright/codecs/aacdec/huffspec_fxp.cpp
ibstagefright/codecs/aacdec/ibstream.h
ibstagefright/codecs/aacdec/idct16.cpp
ibstagefright/codecs/aacdec/idct16.h
ibstagefright/codecs/aacdec/idct32.cpp
ibstagefright/codecs/aacdec/idct32.h
ibstagefright/codecs/aacdec/idct8.cpp
ibstagefright/codecs/aacdec/idct8.h
ibstagefright/codecs/aacdec/imdct_fxp.cpp
ibstagefright/codecs/aacdec/imdct_fxp.h
ibstagefright/codecs/aacdec/infoinit.cpp
ibstagefright/codecs/aacdec/init_sbr_dec.cpp
ibstagefright/codecs/aacdec/init_sbr_dec.h
ibstagefright/codecs/aacdec/intensity_right.cpp
ibstagefright/codecs/aacdec/intensity_right.h
ibstagefright/codecs/aacdec/inv_long_complex_rot.cpp
ibstagefright/codecs/aacdec/inv_long_complex_rot.h
ibstagefright/codecs/aacdec/inv_short_complex_rot.cpp
ibstagefright/codecs/aacdec/inv_short_complex_rot.h
ibstagefright/codecs/aacdec/iquant_table.cpp
ibstagefright/codecs/aacdec/iquant_table.h
ibstagefright/codecs/aacdec/long_term_prediction.cpp
ibstagefright/codecs/aacdec/long_term_prediction.h
ibstagefright/codecs/aacdec/long_term_synthesis.cpp
ibstagefright/codecs/aacdec/long_term_synthesis.h
ibstagefright/codecs/aacdec/lt_decode.cpp
ibstagefright/codecs/aacdec/lt_decode.h
ibstagefright/codecs/aacdec/lt_prediction.h
ibstagefright/codecs/aacdec/ltp_common_internal.h
ibstagefright/codecs/aacdec/mdct_fxp.cpp
ibstagefright/codecs/aacdec/mdct_fxp.h
ibstagefright/codecs/aacdec/mdct_tables_fxp.cpp
ibstagefright/codecs/aacdec/mdst.cpp
ibstagefright/codecs/aacdec/mdst.h
ibstagefright/codecs/aacdec/mix_radix_fft.cpp
ibstagefright/codecs/aacdec/mix_radix_fft.h
ibstagefright/codecs/aacdec/ms_map_mask.h
ibstagefright/codecs/aacdec/ms_synt.cpp
ibstagefright/codecs/aacdec/ms_synt.h
ibstagefright/codecs/aacdec/pns_corr.cpp
ibstagefright/codecs/aacdec/pns_corr.h
ibstagefright/codecs/aacdec/pns_intensity_right.cpp
ibstagefright/codecs/aacdec/pns_intensity_right.h
ibstagefright/codecs/aacdec/pns_left.cpp
ibstagefright/codecs/aacdec/pns_left.h
ibstagefright/codecs/aacdec/ps_all_pass_filter_coeff.cpp
ibstagefright/codecs/aacdec/ps_all_pass_filter_coeff.h
ibstagefright/codecs/aacdec/ps_all_pass_fract_delay_filter.cpp
ibstagefright/codecs/aacdec/ps_all_pass_fract_delay_filter.h
ibstagefright/codecs/aacdec/ps_allocate_decoder.cpp
ibstagefright/codecs/aacdec/ps_allocate_decoder.h
ibstagefright/codecs/aacdec/ps_applied.cpp
ibstagefright/codecs/aacdec/ps_applied.h
ibstagefright/codecs/aacdec/ps_bstr_decoding.cpp
ibstagefright/codecs/aacdec/ps_bstr_decoding.h
ibstagefright/codecs/aacdec/ps_channel_filtering.cpp
ibstagefright/codecs/aacdec/ps_channel_filtering.h
ibstagefright/codecs/aacdec/ps_constants.h
ibstagefright/codecs/aacdec/ps_decode_bs_utils.cpp
ibstagefright/codecs/aacdec/ps_decode_bs_utils.h
ibstagefright/codecs/aacdec/ps_decorrelate.cpp
ibstagefright/codecs/aacdec/ps_decorrelate.h
ibstagefright/codecs/aacdec/ps_fft_rx8.cpp
ibstagefright/codecs/aacdec/ps_fft_rx8.h
ibstagefright/codecs/aacdec/ps_hybrid_analysis.cpp
ibstagefright/codecs/aacdec/ps_hybrid_analysis.h
ibstagefright/codecs/aacdec/ps_hybrid_filter_bank_allocation.cpp
ibstagefright/codecs/aacdec/ps_hybrid_filter_bank_allocation.h
ibstagefright/codecs/aacdec/ps_hybrid_synthesis.cpp
ibstagefright/codecs/aacdec/ps_hybrid_synthesis.h
ibstagefright/codecs/aacdec/ps_init_stereo_mixing.cpp
ibstagefright/codecs/aacdec/ps_init_stereo_mixing.h
ibstagefright/codecs/aacdec/ps_pwr_transient_detection.cpp
ibstagefright/codecs/aacdec/ps_pwr_transient_detection.h
ibstagefright/codecs/aacdec/ps_read_data.cpp
ibstagefright/codecs/aacdec/ps_read_data.h
ibstagefright/codecs/aacdec/ps_stereo_processing.cpp
ibstagefright/codecs/aacdec/ps_stereo_processing.h
ibstagefright/codecs/aacdec/pulse_nc.cpp
ibstagefright/codecs/aacdec/pulse_nc.h
ibstagefright/codecs/aacdec/pv_audio_type_defs.h
ibstagefright/codecs/aacdec/pv_div.cpp
ibstagefright/codecs/aacdec/pv_div.h
ibstagefright/codecs/aacdec/pv_log2.cpp
ibstagefright/codecs/aacdec/pv_log2.h
ibstagefright/codecs/aacdec/pv_normalize.cpp
ibstagefright/codecs/aacdec/pv_normalize.h
ibstagefright/codecs/aacdec/pv_pow2.cpp
ibstagefright/codecs/aacdec/pv_pow2.h
ibstagefright/codecs/aacdec/pv_sine.cpp
ibstagefright/codecs/aacdec/pv_sine.h
ibstagefright/codecs/aacdec/pv_sqrt.cpp
ibstagefright/codecs/aacdec/pv_sqrt.h
ibstagefright/codecs/aacdec/pvmp4audiodecoder_api.h
ibstagefright/codecs/aacdec/pvmp4audiodecoderconfig.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecoderframe.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecodergetmemrequirements.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecoderinitlibrary.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecoderresetbuffer.cpp
ibstagefright/codecs/aacdec/pvmp4setaudioconfig.cpp
ibstagefright/codecs/aacdec/q_normalize.cpp
ibstagefright/codecs/aacdec/q_normalize.h
ibstagefright/codecs/aacdec/qmf_filterbank_coeff.cpp
ibstagefright/codecs/aacdec/qmf_filterbank_coeff.h
ibstagefright/codecs/aacdec/s_adif_header.h
ibstagefright/codecs/aacdec/s_bit_buffer.h
ibstagefright/codecs/aacdec/s_bits.h
ibstagefright/codecs/aacdec/s_ch_info.h
ibstagefright/codecs/aacdec/s_crc_buffer.h
ibstagefright/codecs/aacdec/s_elelist.h
ibstagefright/codecs/aacdec/s_frameinfo.h
ibstagefright/codecs/aacdec/s_hcb.h
ibstagefright/codecs/aacdec/s_huffman.h
ibstagefright/codecs/aacdec/s_hybrid.h
ibstagefright/codecs/aacdec/s_lt_pred_status.h
ibstagefright/codecs/aacdec/s_mc_info.h
ibstagefright/codecs/aacdec/s_mixdown.h
ibstagefright/codecs/aacdec/s_patch.h
ibstagefright/codecs/aacdec/s_progconfig.h
ibstagefright/codecs/aacdec/s_ps_dec.h
ibstagefright/codecs/aacdec/s_pulseinfo.h
ibstagefright/codecs/aacdec/s_sbr_channel.h
ibstagefright/codecs/aacdec/s_sbr_dec.h
ibstagefright/codecs/aacdec/s_sbr_element_stream.h
ibstagefright/codecs/aacdec/s_sbr_frame_data.h
ibstagefright/codecs/aacdec/s_sbr_header_data.h
ibstagefright/codecs/aacdec/s_sbrbitstream.h
ibstagefright/codecs/aacdec/s_sectinfo.h
ibstagefright/codecs/aacdec/s_sr_info.h
ibstagefright/codecs/aacdec/s_tdec_int_chan.h
ibstagefright/codecs/aacdec/s_tdec_int_file.h
ibstagefright/codecs/aacdec/s_tns_frame_info.h
ibstagefright/codecs/aacdec/s_tnsfilt.h
ibstagefright/codecs/aacdec/s_wnd_shape.h
ibstagefright/codecs/aacdec/sbr_aliasing_reduction.cpp
ibstagefright/codecs/aacdec/sbr_aliasing_reduction.h
ibstagefright/codecs/aacdec/sbr_applied.cpp
ibstagefright/codecs/aacdec/sbr_applied.h
ibstagefright/codecs/aacdec/sbr_code_book_envlevel.cpp
ibstagefright/codecs/aacdec/sbr_code_book_envlevel.h
ibstagefright/codecs/aacdec/sbr_constants.h
ibstagefright/codecs/aacdec/sbr_crc_check.cpp
ibstagefright/codecs/aacdec/sbr_crc_check.h
ibstagefright/codecs/aacdec/sbr_create_limiter_bands.cpp
ibstagefright/codecs/aacdec/sbr_create_limiter_bands.h
ibstagefright/codecs/aacdec/sbr_dec.cpp
ibstagefright/codecs/aacdec/sbr_dec.h
ibstagefright/codecs/aacdec/sbr_decode_envelope.cpp
ibstagefright/codecs/aacdec/sbr_decode_envelope.h
ibstagefright/codecs/aacdec/sbr_decode_huff_cw.cpp
ibstagefright/codecs/aacdec/sbr_decode_huff_cw.h
ibstagefright/codecs/aacdec/sbr_downsample_lo_res.cpp
ibstagefright/codecs/aacdec/sbr_downsample_lo_res.h
ibstagefright/codecs/aacdec/sbr_envelope_calc_tbl.cpp
ibstagefright/codecs/aacdec/sbr_envelope_calc_tbl.h
ibstagefright/codecs/aacdec/sbr_envelope_unmapping.cpp
ibstagefright/codecs/aacdec/sbr_envelope_unmapping.h
ibstagefright/codecs/aacdec/sbr_extract_extended_data.cpp
ibstagefright/codecs/aacdec/sbr_extract_extended_data.h
ibstagefright/codecs/aacdec/sbr_find_start_andstop_band.cpp
ibstagefright/codecs/aacdec/sbr_find_start_andstop_band.h
ibstagefright/codecs/aacdec/sbr_generate_high_freq.cpp
ibstagefright/codecs/aacdec/sbr_generate_high_freq.h
ibstagefright/codecs/aacdec/sbr_get_additional_data.cpp
ibstagefright/codecs/aacdec/sbr_get_additional_data.h
ibstagefright/codecs/aacdec/sbr_get_cpe.cpp
ibstagefright/codecs/aacdec/sbr_get_cpe.h
ibstagefright/codecs/aacdec/sbr_get_dir_control_data.cpp
ibstagefright/codecs/aacdec/sbr_get_dir_control_data.h
ibstagefright/codecs/aacdec/sbr_get_envelope.cpp
ibstagefright/codecs/aacdec/sbr_get_envelope.h
ibstagefright/codecs/aacdec/sbr_get_header_data.cpp
ibstagefright/codecs/aacdec/sbr_get_header_data.h
ibstagefright/codecs/aacdec/sbr_get_noise_floor_data.cpp
ibstagefright/codecs/aacdec/sbr_get_noise_floor_data.h
ibstagefright/codecs/aacdec/sbr_get_sce.cpp
ibstagefright/codecs/aacdec/sbr_get_sce.h
ibstagefright/codecs/aacdec/sbr_inv_filt_levelemphasis.cpp
ibstagefright/codecs/aacdec/sbr_inv_filt_levelemphasis.h
ibstagefright/codecs/aacdec/sbr_open.cpp
ibstagefright/codecs/aacdec/sbr_open.h
ibstagefright/codecs/aacdec/sbr_read_data.cpp
ibstagefright/codecs/aacdec/sbr_read_data.h
ibstagefright/codecs/aacdec/sbr_requantize_envelope_data.cpp
ibstagefright/codecs/aacdec/sbr_requantize_envelope_data.h
ibstagefright/codecs/aacdec/sbr_reset_dec.cpp
ibstagefright/codecs/aacdec/sbr_reset_dec.h
ibstagefright/codecs/aacdec/sbr_update_freq_scale.cpp
ibstagefright/codecs/aacdec/sbr_update_freq_scale.h
ibstagefright/codecs/aacdec/set_mc_info.cpp
ibstagefright/codecs/aacdec/set_mc_info.h
ibstagefright/codecs/aacdec/sfb.cpp
ibstagefright/codecs/aacdec/sfb.h
ibstagefright/codecs/aacdec/shellsort.cpp
ibstagefright/codecs/aacdec/shellsort.h
ibstagefright/codecs/aacdec/stereo_2_mono.h
ibstagefright/codecs/aacdec/synthesis_sub_band.cpp
ibstagefright/codecs/aacdec/synthesis_sub_band.h
ibstagefright/codecs/aacdec/tns_ar_filter.cpp
ibstagefright/codecs/aacdec/tns_ar_filter.h
ibstagefright/codecs/aacdec/tns_decode_coef.cpp
ibstagefright/codecs/aacdec/tns_decode_coef.h
ibstagefright/codecs/aacdec/tns_inv_filter.cpp
ibstagefright/codecs/aacdec/tns_inv_filter.h
ibstagefright/codecs/aacdec/trans4m_freq_2_time_fxp.cpp
ibstagefright/codecs/aacdec/trans4m_time_2_freq_fxp.cpp
ibstagefright/codecs/aacdec/unpack_idx.cpp
ibstagefright/codecs/aacdec/unpack_idx.h
ibstagefright/codecs/aacdec/window_block_fxp.h
ibstagefright/codecs/aacdec/window_tables_fxp.cpp
ibstagefright/codecs/aacdec/write_output.h
51d7547944967d1157b7fe18e1fb8f7ee6810412 07-Aug-2012 Andreas Huber <andih@google.com> Only emit padding at the end of the stream in the aac and mp3 decoders

if we actually discarded content at the beginning of the stream.

Change-Id: I1e79835bb3a02350060a137b94f85f2c90f4a12b
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/omx/tests/OMXHarness.cpp
e671207115fac3914134c61b336d5fa0242c68ca 26-Jun-2012 Andreas Huber <andih@google.com> Make sure codec names and corresponding quirks are returned together.

Previously they were returned in separate vectors and only one of them was sorted if
software codecs were preferred, leaving the quirks no longer matching the codec name
at the same index.

Change-Id: Id3f1e6f9f7f8c9cc4b6ebfb86a203b4d59de8604
related-to-bug: 6737884
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
28620ee3e9926ef07f0b4cb3e22b156b812e2d7e 07-Aug-2012 Andreas Huber <andih@google.com> Merge "mediacodec: Return an error on getOutputFormat if there is no output format yet" into jb-mr1-dev
972f2321583ef4094477271e0fc6a1d05a1a0eea 12-Jul-2012 Martin Storsjo <martin@martin.st> mediacodec: Return an error on getOutputFormat if there is no output format yet

This avoids crashing if calling the public java method
MediaCodec.getOutputFormat immediately after MediaCodec.start
(as the documentation example shows that one should do!).

Change-Id: Icd3dd7ab9ae9e8f2a67cef171ff176735de95f58
ibstagefright/MediaCodec.cpp
a6ee7bc5f9524c220377e37f6525e2d46c69b75b 07-Aug-2012 James Dong <jdong@google.com> Remove obsolete hack for TI specific code

o related-to-bug: 6566886

Change-Id: I39aad214cbf7b748a95a9d22db50cd8f421931e6
ibstagefright/OMXCodec.cpp
e643ccba8b8476595ab353c9bcecc8863c53242e 04-Aug-2012 Ying Wang <wangying@google.com> Merge "Remove circular dependency." into jb-mr1-dev
8d5ec2a336c114688e5d2950b124440e07e79ad9 04-Aug-2012 Ying Wang <wangying@google.com> Remove circular dependency.

libstagefright_chromium_http is added to build/target/product/core.mk
instead.

Bug: 6933259
Change-Id: I2e87037eea0f1f2a56936dd02419cde564c8670d
ibstagefright/Android.mk
a3b71fa5235b758d5f9ea00b9c58fbfd707fb9dd 03-Aug-2012 Marco Nelissen <marcone@google.com> Merge "experimental support for fragmented mp4 playback in nuplayer" into jb-mr1-dev
840667883fd09d44015716d79bc3ac4d60edc0f0 16-Aug-2011 Andreas Huber <andih@google.com> experimental support for fragmented mp4 playback in nuplayer

cherry picked from change 170999

Change-Id: I407775f0290154ad4961134839a15c9f296424c0
ibmediaplayerservice/nuplayer/Android.mk
ibmediaplayerservice/nuplayer/GenericSource.cpp
ibmediaplayerservice/nuplayer/GenericSource.h
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.h
ibmediaplayerservice/nuplayer/NuPlayerSource.h
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/RTSPSource.h
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.h
ibmediaplayerservice/nuplayer/mp4/MP4Source.cpp
ibmediaplayerservice/nuplayer/mp4/MP4Source.h
ibmediaplayerservice/nuplayer/mp4/Parser.cpp
ibmediaplayerservice/nuplayer/mp4/Parser.h
ibmediaplayerservice/nuplayer/mp4/TrackFragment.cpp
ibmediaplayerservice/nuplayer/mp4/TrackFragment.h
ibstagefright/foundation/AMessage.cpp
ibstagefright/foundation/hexdump.cpp
983cf231ab2d176a14595cdae46ff1b0c239af47 02-Aug-2012 James Dong <jdong@google.com> Dynamically configure the number of video buffers used by camera source, if supported

o related-to-bug: 6920805

Change-Id: I413bb50954cc84e32ed40bcb713842dc7b58e2b6
ibstagefright/CameraSource.cpp
0dff606f42292b8a31b9eee842877f9875279dab 02-Aug-2012 James Dong <jdong@google.com> Allocate buffers before calling start on its source in OMXCodec::start() for encoder case

o This makes it possible to configure the source to use the same number of input buffers
as requested by the video encoder, before the source starts. As a result, hardcoded
number of video buffers for camera source, for instance, can be avoided.

o related-to-bug: 6920805

Change-Id: I13d2c308dce34967768cd407f02988e92ef10a89
ibstagefright/OMXCodec.cpp
c9729ca1cb1760da836e293e3ed7a82f769f3e07 24-Jul-2012 Insun Kang <insun@google.com> Unifying TimedTextDriver's resume() and start().

(cherry picked from gtv bb23a2b7e06c59f56e353fd4a2a66a9b8179d425)

Change-Id: If5f14549fa315c34e32d6fed7c1ea09deabceb63
ibstagefright/timedtext/TimedTextDriver.cpp
6472badc497a9e748411f8c8c9ed5d83ef335a85 18-Jun-2012 Insun Kang <insun@google.com> Fix: status checking in TimedTextDriver.

o fixes seeking error when there's no enabled text track.
o clean up status checking code for deselectTrack.
o fixes a potential bug : pause->backward seek can trigger unwanted
resume.

Bug: 6682160
Change-Id: I03d8788b27fb9c0a6092be83ad3578ccf3266905
(cherry picked from commit 2dafb6071d4f14e0e208912500694912211aa26b)
ibstagefright/timedtext/TimedTextDriver.cpp
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
bb6bc8491fe819f96e1902e56694715cb110ce94 10-Jul-2012 Insun Kang <insun@google.com> Adds resume() function

o Revived resume() function to fix pause/resume bug. (Bug: 6663740)
o Mannually cherry-picked from GTV change.
(commit: ad1197226d1c6745959f0e469f510ca06f99489f)

Change-Id: I77ac90085fb1f1d2e7eb706642978a4fa4d28b49
ibstagefright/timedtext/TimedTextDriver.cpp
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
2f0632f12cd02b0350918720443c888b48f4417b 01-Jun-2012 Insun Kang <insun@google.com> Adjust fire time of a timed text message before firing it.

related-to-bug: 6501328

o When Video/Audio is stuttering, subtitle's firing time should be
adjusted.

Change-Id: I0e7e8a1796cb2b3c8a09c8fbd41690bce2689e85
(cherry picked from gtv: commit b2c3aedcb6c145e33ded39ef81e3202b2419469f)
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
5a81ad893eada20c32596be53dabe203b99bec3c 31-Jul-2012 James Dong <jdong@google.com> Allows MediaMetadataRetriever to retrieve video rotation angle

o related-to-bug: 6872687

Change-Id: I34e74b0756f8269edefdf3a25d8806c76fd1e2f8
ibstagefright/StagefrightMetadataRetriever.cpp
25f0d7ba1987de61c75f8c68b19de48e0ad9736c 31-Jul-2012 James Dong <jdong@google.com> Should really compare the pos to the total number of values in get() and set() methods in ListTableEntries class

o related-to-bug: 6435176

Change-Id: Ib6f6e598304e7c9becfa6cb3fc925c55b2df2682
ibstagefright/MPEG4Writer.cpp
c620cbd7f8dc75f6819e2b862d3c09970560bc63 28-Jul-2012 James Dong <jdong@google.com> Refactoring how the box table entries are stored in MPEG4Writer

o Helps drastically reduce the time writing all the box table entries for long duration video recording sessions.
Experiments showed that the time is reduced from multiple seconds to less than one second for around 2.5 hours of video recording.

Change-Id: I6a696823e2938b76fcf2c73605f51bf5e5c2d749

related-to-bug: 6435176
ibstagefright/MPEG4Writer.cpp
efcdf187baab9ec29e12adcf85e63fe3e6d5aa4d 08-Mar-2012 Johannes Carlsson <johannes.carlsson.x@sonymobile.com> Store correct time stamps in recorded mp4 files

According to the specification (ISO_IEC_14496-12_2008 page 17, 19 and
21) the time is "in seconds since midnight, Jan. 1, 1904, in UTC time"
which is not the same as Unix epoch time. This is already correctly
handled in MPEG4Extractor.cpp when reading files.

The specification also supports 64 bit timestamps which would make
it a bit more future proof, but unfortunately it seems like support
for this in players are poor (tested both Windows media player and
Quicktime player).

Change-Id: I102d728f098b8b0a21013956f017b0c4f2d69112
ibstagefright/MPEG4Writer.cpp
9fbe94294ce2053d102ff5de89846a0c5015fb58 30-Jul-2012 Ed Heyl <ed@google.com> Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev

Conflicts:
services/audioflinger/AudioFlinger.cpp

Change-Id: If27e4ff35de1e182394cc149e1557a49f0f7c95b
5d464eb0b8cffb994a754ff108795e858a882414 23-Jun-2012 Glenn Kasten <gkasten@google.com> Swap the order of creating IAudioTrack and thread

Simplifies the error recovery in case IAudioTrack fails.

Change-Id: I6aee41a2ac747a5689fb4836b04174e6107bf32f
ibmedia/AudioTrack.cpp
0ec23ce0d1ff79566c402bc30df3074f6e25a22b 10-Jul-2012 Glenn Kasten <gkasten@google.com> Clean up start() parameters

Document where int is used instead of AudioSystem::sync_event_t
(probably because of a header file dependency).
TrackBase::start() and RecordTrack::start() don't need default parameters.

Change-Id: I82f4a4d078be900f3aa4bd926697e32f5ed68ec8
ibmedia/IAudioRecord.cpp
58e5aa34f01d663654d8bafad65db1dda42161ff 20-Jun-2012 Glenn Kasten <gkasten@google.com> effect_descriptor_t const correctness

Change-Id: Iad008f20d35a18acf500f773900164552fd0c19e
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
5d246efa220a7c7b22e490576c488b3853c664dd 09-Jul-2012 Haynes Mathew George <hgeorge@codeaurora.org> NuPlayer: Prevents creation of Video Decoder when we use Music Player

- Prevents instantion of Video Decoder when we use applications like
Music Player which do not support Video Playback
- Adds a check to prevent scanning for sources when it is either an
Audio only clip or a video only clip or an AV clip played with a
Music Player.

Change-Id: I74dd9bc53e54fd4f3682536c987289ac252690b0
Signed-off-by: Arvind Thatikonda <arvindt@codeaurora.org>
ibmediaplayerservice/nuplayer/NuPlayer.cpp
bf5bea96f236adb5eef78c2f414ef82b3602a0f7 19-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Codecs: Add MetaDataMode support to software video encoders.

This support is needed to enable efficient video recording with
emulator and camera HAL 2.

- Update SoftAVCEncoder and SoftMPEG4Encoder to support MetaDataMode
extension.
- Allow CameraSource to handle opaque pixel formats, so that
MetaDataMode can be used.
- Remove hardware codec restriction for MetaDataMode

Bug: 6243944
Change-Id: I970eb3d55542a413b6d75a78f76d3a8583155601
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
ibstagefright/codecs/avc/enc/SoftAVCEncoder.h
ibstagefright/codecs/m4v_h263/enc/Android.mk
ibstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
ibstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.h
3499e2d178960ca3392855716c963eec7403a089 23-Jul-2012 James Dong <jdong@google.com> Don't make the decrypted content available to Java applications via MediaExtractor.java API

Change-Id: I38df6a6be30a34ce3f2640f79784dc94c8ca1158
ibstagefright/NuMediaExtractor.cpp
f1b3ee26cafc80900bae681bddf47446a6a3733f 21-Jul-2012 James Dong <jdong@google.com> Merge "Added number of encoded frames and duration to the MPEG4Writer::Track::dump"
f5545b962794b78a97cafa73d0b592f55ffe06d8 21-Jul-2012 James Dong <jdong@google.com> Merge "Bugfix: Seek on SRT external track"
76da2635edbe0e6d023c665d5c344a3b7e070d73 21-Jul-2012 James Dong <jdong@google.com> Merge "Added a callback in nuplayer via informational event to signal the start of video rendering"
c374dae535b83d9b499dd9fe8f9dabdb8b0ac9fd 20-Jul-2012 James Dong <jdong@google.com> Added a callback to signal when the rendering of the video frame just occurred

Change-Id: Ifbd78606ffc33483aecebf02cb18e0e52af9624d
related-to-bug: 6851811
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
f57b4ea3e409537b1d5f9aaea93d356b1cebbc6a 20-Jul-2012 James Dong <jdong@google.com> Added a callback in nuplayer via informational event to signal the start of video rendering

Change-Id: Id7b9b82d4e5467ad8701bfbad4dcc5070f3703cf
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
a08412711b3266d336134b16a45e98baa8d11b9d 20-Jul-2012 Marco Nelissen <marcone@google.com> Merge "Ensure MEDIA_INFO_BUFFERING_END is always sent"
cf9465b83405a1ec26a164b079d9898c09d87fcd 20-Jul-2012 Glenn Kasten <gkasten@google.com> Merge "AudioRecord locking"
6f434482331b55876cb09c638149c21ca40c7690 20-Jul-2012 Marco Nelissen <marcone@google.com> Ensure MEDIA_INFO_BUFFERING_END is always sent

b/6620761

Change-Id: Iafd2eeac7b3cbbeb42af3638628a32dc6c2bb414
ibstagefright/AwesomePlayer.cpp
45dfb6ae94b33eea04d74afa378c1664e884f09a 06-Jul-2012 Haynes Mathew George <hgeorge@codeaurora.org> Synchronize access to OMX class member variables

- Protect access to mLiveNodes KeyedVector member variable in freeNode function

Change-Id: Ic86844aabc2bc897ffb7fc91cd1f54254f5e29fe
ibstagefright/omx/OMX.cpp
a3c9d82d0f898d30982840b48d1f00fd0d831e19 10-Jul-2012 Insun Kang <insun@google.com> Bugfix: Seek on SRT external track

o Need to return closest upcoming subtitle when seeking time is within
gap ranges.
o Manually cherry-picked from GTV change.
(commit e026a83dc88888b42da77eca739b8f09a0cd6dae)

related-to-bug: 6796228
Change-Id: I02b7718a432d6b2f5575fa1a1a42bda6f04aa25b
ibstagefright/timedtext/TimedTextSRTSource.cpp
ibstagefright/timedtext/TimedTextSRTSource.h
ibstagefright/timedtext/test/Android.mk
ibstagefright/timedtext/test/TimedTextSRTSource_test.cpp
13210f3346462a86ce9fe3af72a0c200dba84e27 20-Jul-2012 James Dong <jdong@google.com> Added number of encoded frames and duration to the MPEG4Writer::Track::dump

o also removed unused varialble mMaxTimeStampUs

Change-Id: I61a47e1ec8ee96a25df668637c4d4661188a1a8c
ibstagefright/MPEG4Writer.cpp
77e8ae9967a078770416619e99ddb5b010def312 18-Jul-2012 James Dong <jdong@google.com> When a request max file size is relatively small, don't store moov header at the
beginning of a recorded mp4 file.

Trying to put the 'moov' box at the beginning of an mp4 file requires to reserve
some estimated space for 'moov'. The estimate can be larger or smaller than the
actual 'moov' size. When the estimate is larger, we could meet the file
size limit, although some space is wasted; but when the estimate is smaller than
the actual 'moov' size, we not only waste the reserved space but also have to
use extra space to write 'moov' space at the end of the file. In this case, often
the requested file size limit could be exceeded by a large margin.

This patch avoids putting the 'moov' box at the beginning when a file size limit
is explicitly requested.

Change-Id: I838443d08b5589f33f3c486c662195600e3edb9b
related-to-bug: 6697505
ibstagefright/MPEG4Writer.cpp
955e78180ac6111c54f50930b0c4c12395e86cf7 21-Feb-2012 Glenn Kasten <gkasten@google.com> AudioRecord locking

Fix race conditions for EVENT_MARKER and EVENT_NEW_POS callbacks.
Marker and new position update fields are protected by lock.

getSampleRate() doesn't need a lock because it reads from shared memory
control block.

Enforce that the parameter passed with EVENT_MARKER and EVENT_NEW_POS
cannot not be changed by the callback handler, and will not change during
the call by another thread.

Session ID should never change; log if it does.

Change-Id: Ia2c63cf1a71b10bb06c37981bd76437f83fffa91
ibmedia/AudioRecord.cpp
b46ccde3610d3f1713f7ebf0e9ffe943e44b54d2 18-Jul-2012 Edwin Wong <edwinwong@google.com> Merge from jb-dev for "sample video corruption in MediaCodec mode." DO NOT MERGE

jb-dev commit: fa2b8f243eb048fb2b8e5a14356190f69eb31a36

Change-Id: I4f08b9c8e9682a998db01c509a390e51bae60c2d
related-to-bug: 6732061
ibmedia/ICrypto.cpp
ibmediaplayerservice/Crypto.cpp
ibmediaplayerservice/Crypto.h
ibstagefright/MediaCodec.cpp
a189a6883ee55cf62da1d7bf5bf5a8ab501938a4 20-Feb-2012 Glenn Kasten <gkasten@google.com> Use struct assignment instead of explicit memcpy

for POD structs effect_descriptor_t and effect_config_t

Change-Id: Ib2fc47f85fb65ed91b0abb1f87217c49b5eb571d
ibeffects/factory/EffectsFactory.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/preprocessing/PreProcessing.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
28b76b334f92a15a2be3cc9e2f7d229a3275d1ac 04-Jul-2012 Glenn Kasten <gkasten@google.com> Use audio_channel_mask_t for channel mask

Change-Id: I1c1896da48983aa9f1462a4b471f910498816f60
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
dcda3b325f465aa6ec2be11db1c56c8a5e867f33 16-Jul-2012 Glenn Kasten <gkasten@google.com> Merge "AudioRecord::stop() return void"
2bdb2f25861f3a3ac9cf3b7af561975fc9b9eead 14-Jul-2012 Edwin Wong <edwinwong@google.com> am 190313ec: am 65e8d62a: Merge "Fixed sample video corrupted in MediaCodec mode." into jb-dev

* commit '190313ec68e81c10d200ff3c20ac152cf90760d6':
Fixed sample video corrupted in MediaCodec mode.
d64cd233eef39430561c1e1df423336a199cc5d7 21-Feb-2012 Glenn Kasten <gkasten@google.com> AudioRecord::stop() return void

like AudioTrack::stop()

Change-Id: Iab62f4665151345f1ad5874c97a21d1a331f0154
ibmedia/AudioRecord.cpp
190313ec68e81c10d200ff3c20ac152cf90760d6 14-Jul-2012 Edwin Wong <edwinwong@google.com> am 65e8d62a: Merge "Fixed sample video corrupted in MediaCodec mode." into jb-dev

* commit '65e8d62a5b243518795cdafa498df4a49baf6940':
Fixed sample video corrupted in MediaCodec mode.
68337edf595a0c345ba4b8adcd4f1e541a1d7eb7 12-Jul-2012 Glenn Kasten <gkasten@google.com> AudioRecord client threading cleanup

Rename ClientRecordThread to AudioRecordThread to be more similar to
AudioTrack naming.

Only create the thread once, and use resume() and pause() for start()
and stop(). This will allow us to have a known client callback thread
tid that we can pass to AudioFlinger before start().

mActive:
Made mActive a bool not int.
mActive is protected by mLock; volatile is meaningless.
Fixed a few places where mActive was accessed without a lock:
- stopped()
- processAudioBuffer()
These aren't used internally, so no need for _l() versions.

Change-Id: I4b8a5c90f3a22d3894b344564cb1c5aef4f1fda2
ibmedia/AudioRecord.cpp
fa2b8f243eb048fb2b8e5a14356190f69eb31a36 11-Jul-2012 Edwin Wong <edwinwong@google.com> Fixed sample video corrupted in MediaCodec mode.

Change-Id: I50c5660072d40f6e297e58fd026ea04c89d6a70a
related-to-bug: 6732061
ibmedia/ICrypto.cpp
ibmediaplayerservice/Crypto.cpp
ibmediaplayerservice/Crypto.h
ibstagefright/MediaCodec.cpp
04cd0186305e2b59d23c9147787046c6662029cc 25-Jun-2012 Glenn Kasten <gkasten@google.com> getMinFrameCount error handling

Convention is for "get" APIs that directly return status_t and indirectly
return a value via a pointer, to return BAD_VALUE if the pointer is NULL.
Also indirectly return 0 for other errors.

Change-Id: I1599f20ecb26e9723f9fb384ffbf911ff3a2ce1c
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
5f0033d27b75fead593ed7ca2b86f5b6f5adf6cc 13-Jul-2012 Glenn Kasten <gkasten@google.com> Merge "Remove dead code in libmedia"
5c63a648f943b0ec91c3262ced77d1598ff32093 12-Jul-2012 Martin Storsjo <martin@martin.st> mediacodec: Return an error on getOutputFormat if there is no output format yet

This avoids crashing if calling the public java method
MediaCodec.getOutputFormat immediately after MediaCodec.start
(as the documentation example shows that one should do!).

Change-Id: Icd3dd7ab9ae9e8f2a67cef171ff176735de95f58
ibstagefright/MediaCodec.cpp
1879fff068422852c1483dcf8365c2ff0e2fadfc 12-Jul-2012 Glenn Kasten <gkasten@google.com> Add tid parameter to IAudioFlinger::openRecord

Not yet implemented

Change-Id: I35523fb15ad71727ecc9f4bb870f07e4b7397dc4
ibmedia/AudioRecord.cpp
ibmedia/IAudioFlinger.cpp
d4070955e28ae62aa4be1657f9d32acde104bb86 12-Jul-2012 Glenn Kasten <gkasten@google.com> Remove dead code in libmedia

Change-Id: I7d8201590cda29c9fa99662a4fdba222091febfe
ibmedia/AudioTrack.cpp
ibmedia/Visualizer.cpp
bf04a5d7f287fc712e0ed91849dc85c90c1e182d 12-Jul-2012 Glenn Kasten <gkasten@google.com> Simplify AudioRecord::getInputFramesLost()

This also fixes a benign race in reading mActive without a lock.

Change-Id: I19e953d4f275e5c266ca1ca3fece7b6c02ad1707
ibmedia/AudioRecord.cpp
21dc4b6a99f0427cc1c0b10d3dcdb34c7571d10f 16-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Remove redundant zero-initialization of allocated memory

The allocation callback is now supposed to always return initialized
memory.

Change-Id: I7a4d036e498c9f87c730dda3aab5057eb764a1e7
ibstagefright/codecs/avc/enc/src/avcenc_api.cpp
ibstagefright/codecs/avc/enc/src/rate_control.cpp
359d8fcd30ff0a8390e4c5560d53ec55a4cc5bcd 16-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Initialize all memory allocated by the CBAVC_Malloc callback function

Valgrind reported use of uninitialized memory in AVCEncodeSlice,
which this fixes.

Change-Id: Ia09ad3e50d05b2b0487a4d588d9b00fc0828c816
ibstagefright/codecs/avc/common/include/avcapi_common.h
ibstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
be5016bac5c1b422d850e299d3cb11fecf0ac19d 11-Jul-2012 Jesper Tragardh <jesper.tragardh@sonyericsson.com> Correct ID3::StringSize calculation for UCS-2 data.

Album art was not displayed when albums were transferred via MediaGo
because the length of the description in the APIC tag was not
correctly calculated.

The method StringSize used to calculate the length of the tag
does not add the size of the null termination in UCS-2 case.

Change-Id: I5409d42f5e87d315e6e03c4d7e6cbd8a378a160d
ibstagefright/id3/ID3.cpp
254af180475346b6186b49c297f340c9c4817511 03-Jul-2012 Glenn Kasten <gkasten@google.com> Use audio_channel_mask_t more places

Use it in AudioSystem::getOutput(), AudioSystem::getInput(),
IAudioPolicyService::getOutput(), IAudioPolicyService::getInput(),
and various other places in AudioFlinger.

Not done: AudioTrack and OutputDescriptor.

Change-Id: I70e83455820bd8f05dafd30c63d636c6a47cd172
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
f89a0deef1ecafcba164045b76d4d6c7bf8eb24d 10-Jul-2012 Glenn Kasten <gkasten@google.com> Merge "Move declarations of local variables to first use"
955585cca11173b07e2e7db3d636ee97b69b053b 13-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Fix indentation

Change-Id: I4fcdf619e3b75387a7909272f3164b8d608b6cc2
ibstagefright/codecs/avc/enc/src/sad_mb_offset.h
f5af6314db25ff3bef9bd2eeba201bc6cc60805d 13-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Clarify the ifdefs surrounding inline assembly

Previously, the code was structured like this:

#if defined(__GNUC__) && defined(__arm__)
/* Generic C implementation */
#elif defined(__CC_ARM)
/* RVCT version */
#elif defined(__GNUC__) && defined(__arm__)
/* GCC arm assembly version */
#endif

This had two implications - the gcc arm version never was used
in practice, and the code required -D__arm__ to build at all for
other architectures.

The inline assembly constraints are buggy (requires changes so as
to not crash), and if fixed, the optimizations still aren't faster
than the generic C code on modern gcc versions. Therefore, just
ignore them and use the generic C code.

Due to the peculiar code block ordering and preprocessor conditions,
the generic C code is what has been used before anyway, but it
did require -D__arm__ to build, which can cause problems if building
for other architectures, if the system headers have ifdefs for this
define. This change makes it build without that define.

Change-Id: Ib3fcf5651ee720310b7dff10fd04279b5f90759c
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/avc/enc/src/sad_halfpel_inline.h
ibstagefright/codecs/avc/enc/src/sad_inline.h
ibstagefright/codecs/avc/enc/src/sad_mb_offset.h
2f3152dee8e763fd7eae9d7b71078d5c6aec5881 13-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Remove useless casts

Change-Id: I73a6f74268bcf6ca22d489d13936be8fd1b3fc92
ibstagefright/codecs/avc/enc/src/bitstream_io.cpp
23da4cf305b9bfff07954711a8a2d9ec040865af 13-Apr-2012 Martin Storsjo <martin@martin.st> avcenc: Switch malloc/free callbacks to use pointers instead of ints

There is no reason for casting the pointers to ints. This fixes
building the code on platforms where pointers are larger than ints,
e.g. 64 bit platforms.

Change-Id: I910cd207d0908287931c9a96eb270139967e029b
ibstagefright/codecs/avc/common/include/avcapi_common.h
ibstagefright/codecs/avc/common/src/dpb.cpp
ibstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
ibstagefright/codecs/avc/enc/src/avcenc_api.cpp
ibstagefright/codecs/avc/enc/src/bitstream_io.cpp
ibstagefright/codecs/avc/enc/src/motion_est.cpp
ibstagefright/codecs/avc/enc/src/rate_control.cpp
223933e8e7419d0d4431d01e8980592fcafd2404 23-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Remove unused leftover source files

This allows getting rid of adding the plain common directory
(not common/include) to the include paths in projects that use
this code, too.

Change-Id: Ifb1fe4fc1f5c6f1264cb2b64f7b78e42b1e7833a
ibstagefright/codecs/amrnb/common/include/pvgsmamr.h
ibstagefright/codecs/amrnb/common/pvgsmamrdecoderinterface.h
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/amrnb/dec/include/pvamrnbdecoder_api.h
ibstagefright/codecs/amrnb/dec/src/pvgsmamrdecoder.cpp
ibstagefright/codecs/amrnb/enc/Android.mk
448239b929de32621e26504b86482ab4d436a5e3 01-Mar-2012 Martin Storsjo <martin@martin.st> stagefright amrnb: Move the bitstream_format enum into frame_type_3gpp.h

Change-Id: I6d6f9dc5799750394a853325466ffa2ebec44625
ibstagefright/codecs/amrnb/common/include/frame_type_3gpp.h
ibstagefright/codecs/amrnb/common/pvgsmamrdecoderinterface.h
ibstagefright/codecs/amrnb/dec/src/amrdecode.h
ibstagefright/codecs/amrnb/dec/src/gsmamr_dec.h
8d5a687f4f4c50f4fc8c1a29ab7a0cd618bcf9d1 17-May-2011 PacketVideo CM <engbuild@pv.com> amrnb: Fix audio distortion in an AMR-NB clip

This fix had the PacketVideo internal tracking number
RIO-9190.

This was committed on the master branch of the opencore
repository in commit 7d6ccc907d3a15ca2ff74b9c76f122ab87d0ffbe.

Change-Id: Icbd7d6fe94e02cae360946cfb6f3b8dc90c8b518
ibstagefright/codecs/amrnb/dec/src/post_pro.cpp
6d72a807dc3910ddd0b7c4f85130951dd189e8f5 17-May-2011 Martin Storsjo <martin@martin.st> amrnb: Restart the p_xn pointer when retraversing the array on overflow

This is a safeguard to avoid issues in a rare codepath.

This was committed on the master branch of the opencore
repository in commit f532d145194e474cb30d8644b8eee83873ad24cc,
based on AOSP contribution 10905.

Change-Id: I9688b009bcbe63d88ee5040e883a021aefa30664
ibstagefright/codecs/amrnb/enc/src/g_pitch.cpp
983995747ed3adaf25035c433df1ccbaa056a898 23-Jan-2012 Paul Fariello <fariello@archos.com> MPEG2TSWriter: Write a proper CRC in PAT and PMT

Change-Id: I6ec8039b176878da6f02691194d96b0a1e894055
ibstagefright/MPEG2TSWriter.cpp
d4e5af6bc0a012e8d43975ca8b5627631333920d 23-Jan-2012 Paul Fariello <fariello@archos.com> MPEG2TSWriter: Write proper continuity counters for PAT and PMT

Change-Id: If94e31e51c563867db6d2376ad771f9751416084
ibstagefright/MPEG2TSWriter.cpp
dd8104cc5367262f0e5f13df4e79f131e8d560bb 02-Jul-2012 Glenn Kasten <gkasten@google.com> Use audio_channel_mask_t more consistently

In IAudioFlinger::createTrack() and IAudioFlinger::openRecord(),
declare input parameter to use correct type audio_channel_mask_t.

In IAudioFlinger::getInputBufferSize(), input parameter is now channel mask
instead of channel count.

Remove unused IAudioFlinger::channelCount(audio_io_handle_t).

In AudioRecord::getMinFrameCount() and AudioSystem::getInputBufferSize(),
input parameter is channel mask instead of channel count.

Change-Id: Ib2f1c29bea70f016b3cfce83942ba292190ac965
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibstagefright/AudioSource.cpp
faa5bdd1efff301962537a7b271bd31c78ec13dc 15-Jun-2012 Colin Cross <ccross@android.com> libstagefright: dynamically load libstagefright_chromium_http

dlopen libstagefright_chromium_http to allow it to be on the platform
side of the pdk without getting overwritten during a pdk fusion build.

Bug: 6772533

Change-Id: I391e81d98beab165c3313bc8a71bb370ebb8584d
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/chromium_http/Android.mk
ibstagefright/chromium_http/chromium_http_stub.cpp
ibstagefright/chromium_http_stub.cpp
ibstagefright/include/chromium_http_stub.h
a0108697f86d8625eb7ad3f13e422427fe7573ca 30-Jun-2012 James Dong <jdong@google.com> Fixed a media server crash due to unintialized mRecord member variable

mRecord is not properly initialized if the call to AudioRecord::getMinFrameCount() fails.
media server crashes when the unintialized mRecord object is deleted in AudioSource's destructor.

Change-Id: Ia89222789d044c11c9957a99725bc89f9c709e17

related-to-bug: 6744014
ibstagefright/AudioSource.cpp
f89a87ab3708e75c406b2abcb7e69dc1b076868a 26-Jun-2012 Haynes Mathew George <hgeorge@codeaurora.org> Process EBD and FBD messages in ERROR state

- OMXCodec::on_message() function drops all OMX messages if
OMXCodec is in ERROR state
- This can cause EBD/FBD messages containing valid buffers to be
dropped
- Avoid dropping EBD/FBD messages so that buffer book-keeping is still
possible

Change-Id: Idc1174b3fa946b26458d49394b87fba1738b228e
Signed-off-by: Iliyan Malchev <malchev@google.com>
ibstagefright/OMXCodec.cpp
af8e8aa1ada2948972555592570ec9ad90cbf372 26-Jun-2012 Nick Kralevich <nnk@google.com> Add mode when open(O_CREAT) is used.

When creating a new file using open(..., O_CREAT), it is an error
to fail to specify a creation mode. If a mode is not specified, a
random stack provided value is used as the "mode".

This will become a compile error in a future Android change.

Change-Id: I36a3d67d294a915c1f79632a1b0ba45edd1214b1
ibstagefright/AACWriter.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
tp/MtpDevice.cpp
tp/MtpServer.cpp
f18da5524ecc50b12ea8233f82892f99106fc009 26-Jun-2012 Jamie Gennis <jgennis@google.com> am 33e28dd3: Merge "SurfaceMediaSource: keep refs to current buffers" into jb-dev

* commit '33e28dd3c033641f4db9d1b99c7c88d6d08c61f7':
SurfaceMediaSource: keep refs to current buffers
20010053daabfa43fcfe781bbf004473b4c08538 22-Jun-2012 Glenn Kasten <gkasten@google.com> Remove acoustics from AudioSystem::getInput()

Change-Id: I29fb3ee5664c1f0ee0409c1bb2be087ecca637db
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
624a7fcb377f2a40109c16de5109ae8ea1f67a69 22-Jun-2012 Glenn Kasten <gkasten@google.com> Use audio_channel_mask_t in AudioRecord

Change-Id: I9e1b918b2635d961604a4a9d88eb1c7179a167a7
ibmedia/AudioRecord.cpp
868a6a357018e5872e064b7a13a9b891e2078962 22-Jun-2012 Glenn Kasten <gkasten@google.com> Include what you use

Change-Id: I12ef9367d05dbe069c037b1b4acd6347a8cf3ece
ibmedia/AudioRecord.cpp
46ec58976b3c04a99ce6e7eda2531543bfb151c7 25-Jun-2012 Glenn Kasten <gkasten@google.com> Merge "Remove AudioRecord record_flags"
f15f6e2e7fc51d48ba95890e1f562908e6e957c0 13-Jun-2012 Jesse Hall <jessehall@google.com> Provide new argument to BufferQueue::releaseBuffer

Change-Id: Ib86f1af80a0d2833535a0ad170dce5ac061eec75
ibstagefright/SurfaceMediaSource.cpp
0f59d4815400649943716f10305a77c7d56b47c4 23-Jun-2012 Jamie Gennis <jgennis@google.com> am e6cb412b: am 33e28dd3: Merge "SurfaceMediaSource: keep refs to current buffers" into jb-dev

* commit 'e6cb412b677966c25b424766dc6ceb2787d49caa':
SurfaceMediaSource: keep refs to current buffers
e6cb412b677966c25b424766dc6ceb2787d49caa 23-Jun-2012 Jamie Gennis <jgennis@google.com> am 33e28dd3: Merge "SurfaceMediaSource: keep refs to current buffers" into jb-dev

* commit '33e28dd3c033641f4db9d1b99c7c88d6d08c61f7':
SurfaceMediaSource: keep refs to current buffers
33e28dd3c033641f4db9d1b99c7c88d6d08c61f7 23-Jun-2012 Jamie Gennis <jgennis@google.com> Merge "SurfaceMediaSource: keep refs to current buffers" into jb-dev
2cd25a9056cc150b9fd3ac9b0bca37a1334ffd47 22-Jun-2012 Jamie Gennis <jgennis@google.com> SurfaceMediaSource: keep refs to current buffers

This change fixes a bug in SurfaceMediaSource where it would not keep a
reference to all of the Gralloc buffers that the video encoder is currently
using.

Bug: 6655597
Change-Id: Ifd99976cc7ae57ed724bbf2bbcff357a39497391
ibstagefright/SurfaceMediaSource.cpp
f92eec53f886f43e4374a36195be55f2a7bbcf36 07-Mar-2012 Glenn Kasten <gkasten@google.com> Remove AudioRecord record_flags

Change-Id: I021ddcc1bcb63132a4597d13e3d09db2a5f2c628
ibmedia/AudioRecord.cpp
ibstagefright/AudioSource.cpp
1e5b2b3361ddd07259bf4b29820ca4aa5f3a861b 14-Jun-2012 Jamie Gennis <jgennis@google.com> Update ANativeWindow client code for sync

This change updates all the uses of ANativeWindow to use the new ANW functions
that accept and return Sync HAL fence file descriptors.

Change-Id: Id7db42d8d6380f8b440d88476ce9211c6225fb16
ibstagefright/ACodec.cpp
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/tests/Android.mk
ibstagefright/tests/SurfaceMediaSource_test.cpp
18faac2af4e3b27deec0a707757883e5e569c591 21-Jun-2012 Haynes Mathew George <hgeorge@codeaurora.org> Add vendor specific output color format

- Add Qualcomm specific color format support to OMXCodec and ACodec
- This is the default color format supported on QCom chipsets

Change-Id: Id947b158c3b403c2d347f708bc1e780b4d65e220
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
d3a9ff4b725de612bf0354c035ba8f8564dbc6e8 21-Jun-2012 Glenn Kasten <gkasten@google.com> Move declarations of local variables to first use

Change-Id: I48b193a742b32b6746aa938b84dc405124a6a5c3
ibmedia/AudioTrack.cpp
95e6e6efcac831874b3d08947d1751d8f65503f9 21-Jun-2012 Glenn Kasten <gkasten@google.com> Merge "Workaround for corrupt Vorbis comment"
a43787a8cc513715543fb5c80c7c464e2cd51b6e 20-Jun-2012 Andreas Huber <andih@google.com> am e77c76dc: am 39a31135: Revert input buffer count for the SoftAAC* decoders back to 4.

* commit 'e77c76dc57f88ec9e6b370dcba8a8c3e0684461d':
Revert input buffer count for the SoftAAC* decoders back to 4.
e77c76dc57f88ec9e6b370dcba8a8c3e0684461d 20-Jun-2012 Andreas Huber <andih@google.com> am 39a31135: Revert input buffer count for the SoftAAC* decoders back to 4.

* commit '39a3113539f9bcc86a8efe562780c23ac8731098':
Revert input buffer count for the SoftAAC* decoders back to 4.
39a3113539f9bcc86a8efe562780c23ac8731098 20-Jun-2012 Andreas Huber <andih@google.com> Revert input buffer count for the SoftAAC* decoders back to 4.

This improves the netflix bandwidth change responsiveness.
With the old count of 32 the audio decoder running at a higher
priority would starve the video decoder for about 1 sec while
draining the input data.

I haven't been able to break any stream playback using MediaCodec
using the lower count, even though I'm sure I had a good reason
to increase it in the first place (see bug 6478823)

Change-Id: I7fd3e71794b0cc1570ea9d27d1d869ab1e1750c4
related-to-bug: 6685031
ibstagefright/codecs/aacdec/SoftAAC.h
ibstagefright/codecs/aacdec/SoftAAC2.h
af2e65ca9a0415e68acfae9497ce445e96fb738a 19-Jun-2012 Glenn Kasten <gkasten@google.com> Workaround for corrupt Vorbis comment

Bug: 6682991
Change-Id: I8b0d91ab76b700ab981f2524124109234023a9da
ibstagefright/FLACExtractor.cpp
c67d875fde2158e60e45b7f0a79edaa959ca9464 18-Jun-2012 Colin Cross <ccross@android.com> Merge "libstagefright: dynamically load libstagefright_chromium_http"
bea455c8e4a230cc5aedc9df33e1ba97c64cec5f 15-Jun-2012 Colin Cross <ccross@android.com> libstagefright: dynamically load libstagefright_chromium_http

dlopen libstagefright_chromium_http to allow it to be on the platform
side of the pdk without getting overwritten during a pdk fusion build.

Change-Id: I391e81d98beab165c3313bc8a71bb370ebb8584d
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/chromium_http/Android.mk
ibstagefright/chromium_http/chromium_http_stub.cpp
ibstagefright/chromium_http_stub.cpp
ibstagefright/include/chromium_http_stub.h
fbb26f5101d9ef14251d561dba37f87d001fbbf6 15-Jun-2012 James Dong <jdong@google.com> am fc42e16d: Merge "Fix track selection code in AwesomePlayer" into jb-dev

* commit 'fc42e16d96b7e1b18b573f40df1319c56f8ab933':
Fix track selection code in AwesomePlayer
8a15dfba686b50f2b8163af247e236d52150321f 15-Jun-2012 Insun Kang <insun@google.com> Fix track selection code in AwesomePlayer

Change-Id: I1c5a2f13f562a0ba253a93b4346cbe2c60099ddd
related-to-bug: 6671977
ibstagefright/AwesomePlayer.cpp
be8cf4a280b0aa786ba1aa3dad85d51125e0a86f 14-Jun-2012 Jamie Gennis <jgennis@google.com> am 7b4de101: Merge "stagefright: set scaling mode for blank frames" into jb-dev

* commit '7b4de10199f3a1803350e9a65baa671874d9c2f1':
stagefright: set scaling mode for blank frames
7b4de10199f3a1803350e9a65baa671874d9c2f1 14-Jun-2012 Jamie Gennis <jgennis@google.com> Merge "stagefright: set scaling mode for blank frames" into jb-dev
4ebbabda6584aeb5ad2714e7db1702d00e84dad4 14-Jun-2012 Eric Laurent <elaurent@google.com> am 192cbbad: Fix audio track pause.

* commit '192cbbad773979a6fe3b5a0c223356de4fc3309c':
Fix audio track pause.
1d5ac80d0c6d3deabcc9e9b4abc9e3ef536aeb27 14-Jun-2012 Jamie Gennis <jgennis@google.com> stagefright: set scaling mode for blank frames

This change sets the ANativeWindow scaling mode before pushing the blank frames
during decoder tear down.

Bug: 6603254
Change-Id: Ic64011645e2d3671b4a8d302ac7f39e6fd3affcd
ibstagefright/OMXCodec.cpp
192cbbad773979a6fe3b5a0c223356de4fc3309c 13-Jun-2012 Eric Laurent <elaurent@google.com> Fix audio track pause.

AudioTrack::pause() should signal the control block condition
to release threads waiting for available buffers in obtainBuffer().
Otherwise the behavior relies on the timout on the condition
or the fact that audioflinger will mix a new audio buffer while executing
the pause.

Bug 6653769.

Change-Id: I5f8f73c471fe306070f30b814f32fd4b4dc1d575
ibmedia/AudioTrack.cpp
c3c044ab1b2b5f9bebcff610795b6a1a9b60d01b 14-Jun-2012 Marco Nelissen <marcone@google.com> am 82233b4b: Merge "Better handle invalid duration in Xing/VBRI tags" into jb-dev

* commit '82233b4b5bee06f11618a558ae465abbfdedfd6e':
Better handle invalid duration in Xing/VBRI tags
82233b4b5bee06f11618a558ae465abbfdedfd6e 14-Jun-2012 Marco Nelissen <marcone@google.com> Merge "Better handle invalid duration in Xing/VBRI tags" into jb-dev
48a0bfa6f731386f2794ff36d6677d56e98fc6ea 14-Jun-2012 Glenn Kasten <gkasten@google.com> am 49dd5cf3: Merge "Log track name on obtain/releaseBuffer warnings" into jb-dev

* commit '49dd5cf3469cd755321f8ec10013ad4fcfaf723d':
Log track name on obtain/releaseBuffer warnings
49dd5cf3469cd755321f8ec10013ad4fcfaf723d 14-Jun-2012 Glenn Kasten <gkasten@google.com> Merge "Log track name on obtain/releaseBuffer warnings" into jb-dev
cc0df657cdc8316c2b816c562f269be1706f00ea 14-Jun-2012 James Dong <jdong@google.com> am e20435de: Merge "Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/" into jb-dev

* commit 'e20435de10f63af812da9d4f801b61a8817733a0':
Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/
e20435de10f63af812da9d4f801b61a8817733a0 14-Jun-2012 James Dong <jdong@google.com> Merge "Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/" into jb-dev
8fe9840be2ce6aac8a008fc15cb641f858b5a32e 14-Jun-2012 James Dong <jdong@google.com> am cac467b3: Merge "Fix one of the potential ANR issues from AwesomePlayer" into jb-dev

* commit 'cac467b3af9235229522a134d2c57e4fa605ba2f':
Fix one of the potential ANR issues from AwesomePlayer
cac467b3af9235229522a134d2c57e4fa605ba2f 14-Jun-2012 James Dong <jdong@google.com> Merge "Fix one of the potential ANR issues from AwesomePlayer" into jb-dev
5fd7d3a23316ec0d2320fece85201859b52c2aef 13-Jun-2012 Marco Nelissen <marcone@google.com> Better handle invalid duration in Xing/VBRI tags

b/6654637

Change-Id: Ie92eddd84ef5914b77dbadaacd80b4de6cd66e1c
ibstagefright/VBRISeeker.cpp
ibstagefright/XINGSeeker.cpp
3d51d5cb53cc630709a0ba78d0e60501a675f2d5 13-Jun-2012 James Dong <jdong@google.com> Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/

Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26
related-to-bug: 6647465
ommon_time/MODULE_LICENSE_APACHE2
ommon_time/NOTICE
ibaah_rtp/MODULE_LICENSE_APACHE2
ibaah_rtp/NOTICE
ibeffects/downmix/MODULE_LICENSE_APACHE2
ibeffects/downmix/NOTICE
ibeffects/lvm/lib/MODULE_LICENSE_APACHE2
ibeffects/lvm/lib/NOTICE
ibeffects/lvm/wrapper/MODULE_LICENSE_APACHE2
ibeffects/lvm/wrapper/NOTICE
ibeffects/preprocessing/MODULE_LICENSE_APACHE2
ibeffects/preprocessing/NOTICE
ibeffects/testlibs/MODULE_LICENSE_APACHE2
ibeffects/testlibs/NOTICE
ibeffects/visualizer/MODULE_LICENSE_APACHE2
ibeffects/visualizer/NOTICE
ibmediaplayerservice/MODULE_LICENSE_APACHE2
ibmediaplayerservice/NOTICE
ibmediaplayerservice/nuplayer/MODULE_LICENSE_APACHE2
ibmediaplayerservice/nuplayer/NOTICE
ibstagefright/MODULE_LICENSE_APACHE2
ibstagefright/NOTICE
ibstagefright/codecs/aacdec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/aacdec/NOTICE
ibstagefright/codecs/aacenc/MODULE_LICENSE_APACHE2
ibstagefright/codecs/aacenc/NOTICE
ibstagefright/codecs/aacenc/SampleCode/MODULE_LICENSE_APACHE2
ibstagefright/codecs/aacenc/SampleCode/NOTICE
ibstagefright/codecs/amrnb/common/MODULE_LICENSE_APACHE2
ibstagefright/codecs/amrnb/common/NOTICE
ibstagefright/codecs/amrnb/dec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/amrnb/dec/NOTICE
ibstagefright/codecs/amrnb/enc/MODULE_LICENSE_APACHE2
ibstagefright/codecs/amrnb/enc/NOTICE
ibstagefright/codecs/amrwb/MODULE_LICENSE_APACHE2
ibstagefright/codecs/amrwb/NOTICE
ibstagefright/codecs/amrwbenc/MODULE_LICENSE_APACHE2
ibstagefright/codecs/amrwbenc/NOTICE
ibstagefright/codecs/amrwbenc/SampleCode/MODULE_LICENSE_APACHE2
ibstagefright/codecs/amrwbenc/SampleCode/NOTICE
ibstagefright/codecs/avc/common/MODULE_LICENSE_APACHE2
ibstagefright/codecs/avc/common/NOTICE
ibstagefright/codecs/avc/enc/MODULE_LICENSE_APACHE2
ibstagefright/codecs/avc/enc/NOTICE
ibstagefright/codecs/common/MODULE_LICENSE_APACHE2
ibstagefright/codecs/common/NOTICE
ibstagefright/codecs/flac/enc/MODULE_LICENSE_APACHE2
ibstagefright/codecs/flac/enc/NOTICE
ibstagefright/codecs/g711/dec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/g711/dec/NOTICE
ibstagefright/codecs/m4v_h263/dec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/m4v_h263/dec/NOTICE
ibstagefright/codecs/m4v_h263/enc/MODULE_LICENSE_APACHE2
ibstagefright/codecs/m4v_h263/enc/NOTICE
ibstagefright/codecs/mp3dec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/mp3dec/NOTICE
ibstagefright/codecs/raw/MODULE_LICENSE_APACHE2
ibstagefright/codecs/raw/NOTICE
ibstagefright/codecs/vorbis/dec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/vorbis/dec/NOTICE
ibstagefright/colorconversion/MODULE_LICENSE_APACHE2
ibstagefright/colorconversion/NOTICE
ibstagefright/foundation/MODULE_LICENSE_APACHE2
ibstagefright/foundation/NOTICE
ibstagefright/httplive/MODULE_LICENSE_APACHE2
ibstagefright/httplive/NOTICE
ibstagefright/id3/MODULE_LICENSE_APACHE2
ibstagefright/id3/NOTICE
ibstagefright/matroska/MODULE_LICENSE_APACHE2
ibstagefright/matroska/NOTICE
ibstagefright/mpeg2ts/MODULE_LICENSE_APACHE2
ibstagefright/mpeg2ts/NOTICE
ibstagefright/omx/MODULE_LICENSE_APACHE2
ibstagefright/omx/NOTICE
ibstagefright/omx/tests/MODULE_LICENSE_APACHE2
ibstagefright/omx/tests/NOTICE
ibstagefright/rtsp/MODULE_LICENSE_APACHE2
ibstagefright/rtsp/NOTICE
ibstagefright/tests/MODULE_LICENSE_APACHE2
ibstagefright/tests/NOTICE
ibstagefright/timedtext/MODULE_LICENSE_APACHE2
ibstagefright/timedtext/NOTICE
ibstagefright/yuv/MODULE_LICENSE_APACHE2
ibstagefright/yuv/NOTICE
ediaserver/MODULE_LICENSE_APACHE2
ediaserver/NOTICE
tp/MODULE_LICENSE_APACHE2
tp/NOTICE
0c9d26d187017f7fb028ab52a0fbc6395142faa4 31-May-2012 Glenn Kasten <gkasten@google.com> Log track name on obtain/releaseBuffer warnings

This should help diagnose problems by allowing us to correlate
the logs with the dumpsys media.audio_flinger output.

Change-Id: I8c7c592b4f87d13b0f29c66ce7a2f301a0f063c9
ibmedia/AudioTrack.cpp
ce3d3ef78d6512cc272d469e236fba4fca1189b0 13-Jun-2012 James Dong <jdong@google.com> Fix one of the potential ANR issues from AwesomePlayer

Change-Id: I8ac7bbb5fe219f65bdbdd223538fbac0575e2957
related-to-bug: 6565826
ibstagefright/AwesomePlayer.cpp
02bd296991e7e8a17939419cf197a6747ea441de 13-Jun-2012 Eric Laurent <elaurent@google.com> am b4ea1ab8: Merge "stagefright: fix AudioRecord callback buffer size" into jb-dev

* commit 'b4ea1ab821d652cb080910d4081f5f1318597a90':
stagefright: fix AudioRecord callback buffer size
b4ea1ab821d652cb080910d4081f5f1318597a90 13-Jun-2012 Eric Laurent <elaurent@google.com> Merge "stagefright: fix AudioRecord callback buffer size" into jb-dev
92a6141ea0bae283c898a8542604f6b47e226fad 13-Jun-2012 James Dong <jdong@google.com> am 958f463c: Add NOTICE and MODULE_LICENSE_APACHE2 for libstagefright_soft_h264dec and libstagefright_soft_vpxdec

* commit '958f463c4cddba6437c86d5bfef68167f767ee66':
Add NOTICE and MODULE_LICENSE_APACHE2 for libstagefright_soft_h264dec and libstagefright_soft_vpxdec
958f463c4cddba6437c86d5bfef68167f767ee66 13-Jun-2012 James Dong <jdong@google.com> Add NOTICE and MODULE_LICENSE_APACHE2 for libstagefright_soft_h264dec and libstagefright_soft_vpxdec

Change-Id: Id4f1ef8dfc21731846a9862b8d12940a92fe99bb
related-to-bug: 6647465
ibstagefright/codecs/on2/dec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/on2/dec/NOTICE
ibstagefright/codecs/on2/h264dec/MODULE_LICENSE_APACHE2
ibstagefright/codecs/on2/h264dec/NOTICE
e49f2b424318aa8e830e7a1338e5e32ab82992f9 13-Jun-2012 Eric Laurent <elaurent@google.com> stagefright: fix AudioRecord callback buffer size

Make sure that the maximum number of frames passed to
AudioSource by the AudioRecord callback always fits within
the maximum buffer size defined by kMaxBufferSize.

Also make sure that the total AudioRecord buffer size is more
than the minimum required.

Change-Id: I26a1f998e0cf75ac88b02e67ec9d8db3c0cca193
ibstagefright/AudioSource.cpp
8f1dd6fdc2f788492e5ca77344eac13755c304ff 12-Jun-2012 Dave Burke <daveburke@google.com> am 10cf121f: Merge "Update make file" into jb-dev

* commit '10cf121f7285e23c37264dab3bad7cffefd754b1':
Update make file
c6a957fca84ee2a673a3b7363b481afcf4b7e784 12-Jun-2012 Marco Nelissen <marcone@google.com> am b7706712: Merge "Fix gapless for deep buffers" into jb-dev

* commit 'b7706712938c55706c87724af7f6d2f2156b8d1b':
Fix gapless for deep buffers
b8d07d4b8dce11cfb293e4b0f2232ec860e9ccd5 12-Jun-2012 Marco Nelissen <marcone@google.com> am 58c8db6b: Merge "Fix gapless playback" into jb-dev

* commit '58c8db6b7667db7a3bdb9b4bdd973091a5b0202f':
Fix gapless playback
ddc757cacf0336f028aec11380387cfdf3b3089c 12-Jun-2012 James Dong <jdong@google.com> am 8a61dc02: Merge "Revert "Added some informational log messages to track down ANR related issues"" into jb-dev

* commit '8a61dc02dbbc325dee51f2e9c9f0bbc238759ec5':
Revert "Added some informational log messages to track down ANR related issues"
10cf121f7285e23c37264dab3bad7cffefd754b1 12-Jun-2012 Dave Burke <daveburke@google.com> Merge "Update make file" into jb-dev
c68f4a226fc5af54a882b0603d3051793a781037 12-Jun-2012 Dave Burke <daveburke@google.com> Update make file

Change-Id: I7dbd128245f584df2689457df0dd12ce888cf8ef
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacenc/Android.mk
b7706712938c55706c87724af7f6d2f2156b8d1b 12-Jun-2012 Marco Nelissen <marcone@google.com> Merge "Fix gapless for deep buffers" into jb-dev
d791e094da5698c787f8db28ca5d5d490c512cf1 12-Jun-2012 Marco Nelissen <marcone@google.com> Fix gapless for deep buffers

Forward current flags to next output.
b/6645676

Change-Id: I584f7a67472d99cbd6bc38f3fe84763331d115d1
ibmediaplayerservice/MediaPlayerService.cpp
58c8db6b7667db7a3bdb9b4bdd973091a5b0202f 12-Jun-2012 Marco Nelissen <marcone@google.com> Merge "Fix gapless playback" into jb-dev
67295b543c16ed7c77b67f859d598fe7b4571660 11-Jun-2012 Marco Nelissen <marcone@google.com> Fix gapless playback

On some devices the actual framecount per buffer of an AudioTrack
will be different than what was requested, which prevented the
track from being reused. Now we create a new AudioTrack with the
requested parameters, and then compare it to the track we already
have. If they match, we throw away the new track and reuse the
existing one.
b/6644559

Change-Id: Id3e8c4460436f52e59b98ecaeb01c94f02877c1d
ibmediaplayerservice/MediaPlayerService.cpp
b5325c8a8fff4d735c24d9a8138e4213ee0833d5 23-May-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Move system headers before local headers

This avoids issues with the encoder's own definition of __inline,
which conflicts with headers brought in by string.h in glibc.

Change-Id: I9e3fbf8d892529940ea67a46e67a9abe71d9c5fa
ibstagefright/codecs/aacenc/src/adj_thr.c
01e5b5699fb049bedbb7e156fbf7f5952c39130d 11-Jun-2012 James Dong <jdong@google.com> Revert "Added some informational log messages to track down ANR related issues"

This reverts commit c558fa89016ba9583049b84dc57e66a913cabde8.

related-to-bug: 6565826
ibstagefright/OMXCodec.cpp
93eb01fd39e31b7532932f60828abf11a494fb8f 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Add parentheses in expression with mixed && and ||

This doesn't maintain the exact behaviour, but seems closer to
what the original author probably intended.

This avoids a warning.

Change-Id: I191292faa0a25f715f2b7d46ec770827e2ac0b7b
ibstagefright/codecs/aacenc/src/aacenc.c
ea5008d8abfdf1479b4efa266cdb7c842d168aa9 08-Jun-2012 Glenn Kasten <gkasten@google.com> am 28ed2f93: Reduce underruns in screen off, esp. with EQ

* commit '28ed2f93324988767b5658eba7c1fa781a275183':
Reduce underruns in screen off, esp. with EQ
28ed2f93324988767b5658eba7c1fa781a275183 07-Jun-2012 Glenn Kasten <gkasten@google.com> Reduce underruns in screen off, esp. with EQ

Add MonoPipe APIs to specify setpoint.
Use screen state to configure pipe setpoint.
Fix a long-standing bug where pipe sleep time was excessive,
which interacted poorly with governor and low clock frequencies.
Now it deducts the elapsed time since last write(),
which was significant when there was EQ and low clock frequency.

Bug: 6618373
Change-Id: I6f3b0072c2244aeb033ef0795ad164491a164ff5
ibmedia/AudioParameter.cpp
d89dea161ff3c3da515c02928cad4a9c73b23312 07-Jun-2012 Marco Nelissen <marcone@google.com> am e35a55fb: Merge "Take latency and current time into account for visualization" into jb-dev

* commit 'e35a55fbdff5a695ee35ff43f1466a62fb75662b':
Take latency and current time into account for visualization
f06c2ed50e1db871ae9eb2bd15a196064f8c278c 06-Jun-2012 Marco Nelissen <marcone@google.com> Take latency and current time into account for visualization

Buffer more data, and return the data that is currently being
output from the audio output, to ensure that visualizations are
smooth and responsive even when the audio output has a large
latency and/or large buffers.
b/6522728

Change-Id: I401637f01be7600b3c594a55c869036c13b206c0
ibeffects/visualizer/EffectVisualizer.cpp
c9bdf9b442bd6bb8f59e8e25c145ac625ac07c54 01-Jun-2012 Jeff Tinker <jtinker@google.com> am dadc0ddb: Part of fix for double spins & faster startup

* commit 'dadc0ddbfe309086801b479ddc91c55eeb2a9cbb':
Part of fix for double spins & faster startup
dadc0ddbfe309086801b479ddc91c55eeb2a9cbb 01-Jun-2012 Jeff Tinker <jtinker@google.com> Part of fix for double spins & faster startup

This change alters the way that the media player
interacts with the Widevine adaptive streaming buffer
logic. It eliminates the reliance on cached buffer
duration to determine pause/play states and instead
only generates buffering events when the widevine
library is not producing data (i.e. when it is
buffering). This eliminates unnecessary pause and
rebuffer cycles, reducing startup time and the
frequency and duration of spinners.

Multi-repo commit, depends on related changes in vendor/widevine

Change-Id: I387db2decd83841775a8351bddf5a6381fe4104f
related-to-bug:6503294
related-to-bug:6463780
ibstagefright/AwesomePlayer.cpp
721e18b75824eae3f3e79c915f4800ecad5dac80 01-Jun-2012 Eric Laurent <elaurent@google.com> am 27d33134: Merge "Do not keep audio wake lock when apps underrun." into jb-dev

* commit '27d33134130379cc91d936cdc742700311901a9d':
Do not keep audio wake lock when apps underrun.
df839841d2db4cb8e2acb10205b3942622b3e7a2 31-May-2012 Eric Laurent <elaurent@google.com> Do not keep audio wake lock when apps underrun.

Do not automatically restart an AudioTrack after an underrun
if the callback is executed but no data is written by the app.

Bug 6541286.

Change-Id: I11e7ab8dc968d7ff087058fec68f44490d3a7731
ibmedia/AudioTrack.cpp
3878fbedd8cd1f09aa2c1c2b6a44efd57c75e834 30-May-2012 James Dong <jdong@google.com> am cc9833b5: Only send port settings changed if the number of channels and sample rate are both known to be valid.

* commit 'cc9833b5db0e96f12daddb90a747fd146627377d':
Only send port settings changed if the number of channels and sample rate are both known to be valid.
cc9833b5db0e96f12daddb90a747fd146627377d 30-May-2012 James Dong <jdong@google.com> Only send port settings changed if the number of channels and sample rate are both known to be valid.

Change-Id: I9f8813eedc95db202488d8860cf485bdb8e69e11
related-to-bug: 6553089
ibstagefright/codecs/aacdec/SoftAAC2.cpp
16c4cc1ecd9f907a34846117a3b3c7f59d9838ad 30-May-2012 Dave Burke <daveburke@google.com> am 4364d2d1: Merge "Precautionary logging to identify a potential infinite loop." into jb-dev

* commit '4364d2d1fd712faed7e839b58fedba3f48f626d0':
Precautionary logging to identify a potential infinite loop.
4364d2d1fd712faed7e839b58fedba3f48f626d0 30-May-2012 Dave Burke <daveburke@google.com> Merge "Precautionary logging to identify a potential infinite loop." into jb-dev
503775e4e2c3ead1cbd3c10561e3bdd90f2e70d5 30-May-2012 Dave Burke <daveburke@google.com> Precautionary logging to identify a potential infinite loop.

Bug: 6571063
Change-Id: I433659c6da333d5acd25ad03cb7f4a6ab0b6a4a5
ibstagefright/codecs/aacdec/SoftAAC2.cpp
c5a5ebde7d14292e54532692fc9082051119fb80 30-May-2012 James Dong <jdong@google.com> am c558fa89: Added some informational log messages to track down ANR related issues

* commit 'c558fa89016ba9583049b84dc57e66a913cabde8':
Added some informational log messages to track down ANR related issues
c558fa89016ba9583049b84dc57e66a913cabde8 29-May-2012 James Dong <jdong@google.com> Added some informational log messages to track down ANR related issues

Change-Id: Ie991c86e75d58f7eb4c9f524815c4de054d5f262
related-to-bug: 6565826
ibstagefright/OMXCodec.cpp
aeb1ce5fe2e23d89d2f3f00a7623741945d75b12 29-May-2012 Andreas Huber <andih@google.com> am 91b0d43a: Merge "Unwedge ACodec if allocating output buffers fails while reconfiguring." into jb-dev

* commit '91b0d43a27b3a1cebd75270f953f3fb9fa4f2047':
Unwedge ACodec if allocating output buffers fails while reconfiguring.
91b0d43a27b3a1cebd75270f953f3fb9fa4f2047 29-May-2012 Andreas Huber <andih@google.com> Merge "Unwedge ACodec if allocating output buffers fails while reconfiguring." into jb-dev
755b9861197f1566f916785ba7d35cf86fd5b2d5 29-May-2012 Andreas Huber <andih@google.com> Unwedge ACodec if allocating output buffers fails while reconfiguring.

Change-Id: I871cf639167c01860e65c0408d3ce935f8f8f1ea
related-to-bug: 6571060
ibstagefright/ACodec.cpp
35a144765f0403bf93765a01691c898e38b4ef55 29-May-2012 Andreas Huber <andih@google.com> am 40fe18f2: Force shutdown of the omx decoder even if it\'s in a wedged state...

* commit '40fe18f20e07f3626ff23d89ebdd5113733e155d':
Force shutdown of the omx decoder even if it's in a wedged state...
40fe18f20e07f3626ff23d89ebdd5113733e155d 29-May-2012 Andreas Huber <andih@google.com> Force shutdown of the omx decoder even if it's in a wedged state...

Change-Id: I5899928a3df4bcf7715769992955a0b834db1e2f
related-to-bug: 6571060
ibstagefright/OMXCodec.cpp
f8321d624f4bbbfcf01d59f346d3eb390f75f24c 25-May-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Fix reading out of bounds in pow2_xy

This fixes cases where x was a large number, causing fPart to
exceed the 32 bit signed integer range (while fitting in an
unsigned 32 bit integer), making the table index a negative
number.

Change-Id: I674047db65f89148a93d218c138b42cd8305f80e
ibstagefright/codecs/aacenc/basic_op/oper_32b.c
f655483263128529bc01aa1c2e80c229a2d169b8 25-May-2012 Dave Burke <daveburke@google.com> am 6350e21e: Merge "Property to enable AAC 5.1 pass-through." into jb-dev

* commit '6350e21e8947398a94402bc2969d13d407fbc3fb':
Property to enable AAC 5.1 pass-through.
6350e21e8947398a94402bc2969d13d407fbc3fb 25-May-2012 Dave Burke <daveburke@google.com> Merge "Property to enable AAC 5.1 pass-through." into jb-dev
1adacd921319ec52fac1a4596ab6eaf8689e6a7d 23-May-2012 Dave Burke <daveburke@google.com> Property to enable AAC 5.1 pass-through.

Bug: 6275957
Change-Id: I8debdce872fc8287a4f6340f1790e02c075886e3
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/aacdec/SoftAAC2.h
61b0ca86d3d853172ccc147256a64a9fd2ba6606 25-May-2012 Jean-Michel Trivi <jmtrivi@google.com> am c9d0294e: Merge "Prevent occurences of clipping in loud downmixed scenes" into jb-dev

* commit 'c9d0294e0526510267a0c4148a0dbc0449bed223':
Prevent occurences of clipping in loud downmixed scenes
c9d0294e0526510267a0c4148a0dbc0449bed223 25-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Prevent occurences of clipping in loud downmixed scenes" into jb-dev
41ced0ade8a90f071e85fe1cf49f073c0738e95a 25-May-2012 James Dong <jdong@google.com> am 49fcd3cc: Fix an error caused by sample size value by order

* commit '49fcd3cc0c0bf352c5c0516e53805278e94951ca':
Fix an error caused by sample size value by order
49fcd3cc0c0bf352c5c0516e53805278e94951ca 25-May-2012 James Dong <jdong@google.com> Fix an error caused by sample size value by order

The sample size was saved in the array in network order, but it was treated as host order when
writeInt32() is called. Calling write(void *, int, int) resolves the issue.

related-to-bug: 6555366

Change-Id: If7ef99911ad65108c61b533673ac4d4cd580a370
ibstagefright/MPEG4Writer.cpp
aea2715e65994e665a3732551880419ba1cecc0d 24-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Prevent occurences of clipping in loud downmixed scenes

The downmixer effect is a mixer, wich, like the platform mixer,
hard-clips. To prevent clipping during loud scenes across multiple
chanels, apply a fixed attenuation on the result of the downmix.
Note that this attenuation is lower the theoretical required
attenuation (except for quad and surround) but is adequate for
most content.

Bug 4280902
Change-Id: Iec520e9f1367284d6102633f532429361717692d
ibeffects/downmix/EffectDownmix.c
4719fa8ae1259d6a94ba5b5ecdaa01e69f553996 29-Mar-2012 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> libstagefright/matroska: Fix build with gcc 4.7

gcc 4.7 doesn't like the redefinition of i in the
same scope

Change-Id: Idf1b33af7041f0302f2f2562442a3e11ce9607d9
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
ibstagefright/matroska/MatroskaExtractor.cpp
3c8889e827d95b195fe5ba077a01cb5b6042e534 29-Mar-2012 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> libmedia: Fix build with gcc 4.7

gcc 4.7 doesn't like the redefinition of n in the same
scope:
for(size_t n=...;;) {
size_t n = 2; // <-- duplicate definition
}

Change-Id: Idfc2e768a0eb85a3dacccd3431b4ad44775432a4
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
ibmedia/MediaProfiles.cpp
73e9a35c41efe4dac6b05387a9dafecdc662f140 22-May-2012 Andreas Huber <andih@google.com> am 8d9846c0: Merge "Tell surface flinger that we want to protect output buffers from being" into jb-dev

* commit '8d9846c0693b7651b243f0161caa86be506f764a':
Tell surface flinger that we want to protect output buffers from being
bc098410be55f9d96f394b3981a0c482b83859b6 22-May-2012 Andreas Huber <andih@google.com> Tell surface flinger that we want to protect output buffers from being

sent to HDMI (without HDCP) and push a few black frames on IDLE->LOADED
similar to OMXCodec's behaviour.

Change-Id: Iea6055a115151ca881220a70a31af6ade2c58cb3
related-to-bug: 6537187
ibstagefright/ACodec.cpp
ibstagefright/NuMediaExtractor.cpp
bbc0940562f8cb6cbf19750246eb259b43a5a698 22-May-2012 Andreas Huber <andih@google.com> am a6490c65: Only mark the audio player as started if it did so successfully.

* commit 'a6490c65f93e1cbe969fba499978e8d64214108a':
Only mark the audio player as started if it did so successfully.
d684da86233357b51f0dc096bbe840892165bb3e 22-May-2012 Andreas Huber <andih@google.com> am 4575beb3: Revert "Stop audio source if AudioPlayer could not be started"

* commit '4575beb3dea80e271eaa6619234fdc02e914e6e6':
Revert "Stop audio source if AudioPlayer could not be started"
a6490c65f93e1cbe969fba499978e8d64214108a 22-May-2012 Andreas Huber <andih@google.com> Only mark the audio player as started if it did so successfully.

Change-Id: I4683f5ca243f9f1b80990028d225d0f6c5973899
related-to-bug: 6500580
ibstagefright/AwesomePlayer.cpp
4575beb3dea80e271eaa6619234fdc02e914e6e6 22-May-2012 Andreas Huber <andih@google.com> Revert "Stop audio source if AudioPlayer could not be started"

This reverts commit 022048e95f3f1d65cb776cf21de2001423fcf7d9.
ibstagefright/AudioPlayer.cpp
93a417da48394ff929c9bb0b36cc3bef77a893a8 22-May-2012 Dave Burke <daveburke@google.com> am c9ef89cd: Revert "Revert to PV for AAC codec for FactoryROM."

* commit 'c9ef89cd40bea216046ed28e5366f8ac361d3dd4':
Revert "Revert to PV for AAC codec for FactoryROM."
96286ab6ec6dfa178f9356dc5f9595648eb37e60 22-May-2012 Dave Burke <daveburke@google.com> am d7d79a2b: Revert to PV for AAC codec for FactoryROM.

* commit 'd7d79a2bbf38d1d19ec7cc8d6a514fc999b5c444':
Revert to PV for AAC codec for FactoryROM.
c9ef89cd40bea216046ed28e5366f8ac361d3dd4 22-May-2012 Dave Burke <daveburke@google.com> Revert "Revert to PV for AAC codec for FactoryROM."

This reverts commit d7d79a2bbf38d1d19ec7cc8d6a514fc999b5c444.

Change-Id: I7076feab31ab64fccd364699280d821011edc099
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacenc/Android.mk
d7d79a2bbf38d1d19ec7cc8d6a514fc999b5c444 19-May-2012 Dave Burke <daveburke@google.com> Revert to PV for AAC codec for FactoryROM.

Change-Id: I72cf856685c0c4bae745646f870a0415d416afb5
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacenc/Android.mk
4b43b41eaf8c4c80f66185e13620cf94b8b2ef5b 13-Apr-2012 Martin Storsjo <martin@martin.st> stagefright avcenc: Use intptr_t for casting pointers to integers

This is used for doing integer arithmetic on the pointers, for
checking pointer alignment.

Change-Id: I7a7ff834dc631ac9cce90e46216f64645e1ae6e5
ibstagefright/codecs/avc/enc/src/avcenc_api.cpp
ibstagefright/codecs/avc/enc/src/motion_comp.cpp
ibstagefright/codecs/avc/enc/src/sad_inline.h
4e1d7b8d16abbe8a60fa3957646297b552e82fb0 13-Apr-2012 Martin Storsjo <martin@martin.st> stagefright avcenc: Switch tmp variables to use the right type, to avoid casting

This fixes building on platforms where int is smaller than
pointers, e.g. 64 bit platforms.

Change-Id: I3da0459bac10cbffd1db699bf4782fe926cd391f
ibstagefright/codecs/avc/common/src/deblock.cpp
ibstagefright/codecs/avc/enc/src/motion_comp.cpp
0c072553f20085b18e6204afc8818b7922bffa9d 21-May-2012 James Dong <jdong@google.com> am a92896f6: Merge "Fix a mediaserver crash caused by dereferencing a NULL pointer." into jb-dev

* commit 'a92896f62d8f4a4a6ff61f26439ad61c210ce728':
Fix a mediaserver crash caused by dereferencing a NULL pointer.
ff29e48676ceca9655c37ebd9023d2e389c584e2 21-May-2012 Andreas Huber <andih@google.com> am 9ec3547e: Merge "For an RTSP live stream we won\'t map rtp time to normal play time," into jb-dev

* commit '9ec3547e741f72adcf0ce5d173b1f4ab2cdd5db1':
For an RTSP live stream we won't map rtp time to normal play time,
a92896f62d8f4a4a6ff61f26439ad61c210ce728 21-May-2012 James Dong <jdong@google.com> Merge "Fix a mediaserver crash caused by dereferencing a NULL pointer." into jb-dev
9ec3547e741f72adcf0ce5d173b1f4ab2cdd5db1 21-May-2012 Andreas Huber <andih@google.com> Merge "For an RTSP live stream we won't map rtp time to normal play time," into jb-dev
21a0dca457bc0f3b8bafca0c49dfe2d442acbde0 21-May-2012 James Dong <jdong@google.com> Fix a mediaserver crash caused by dereferencing a NULL pointer.

The pointer (info in method drainInputBuffer) in can be null at the point of the dereference,
but it will get updated subsequently. Thus, we should move the logging after the pointer gets updated.

related-to-bug: 6530159

Change-Id: Ifa5f19a694953af6942454e5c28cd3fa024f11d2
ibstagefright/OMXCodec.cpp
c9d1696d214d2175327067ccc1991bcb36976404 21-May-2012 Andreas Huber <andih@google.com> For an RTSP live stream we won't map rtp time to normal play time,

since we don't have the information necessary.

Change-Id: I3119fcc061c4b6756a69c6139ffdf013d806fee1
related-to-bug: 6528548
ibmediaplayerservice/nuplayer/RTSPSource.cpp
602b899432e1540a8e874c9dfd73aaa9743d1b3b 21-May-2012 Andreas Huber <andih@google.com> am cd8a36fd: Merge "Add more verbose ADTS error logging to SoftAAC." into jb-dev

* commit 'cd8a36fdc49a823f78d45e8e1a464dc261553b26':
Add more verbose ADTS error logging to SoftAAC.
cd8a36fdc49a823f78d45e8e1a464dc261553b26 21-May-2012 Andreas Huber <andih@google.com> Merge "Add more verbose ADTS error logging to SoftAAC." into jb-dev
e35ac2860e99d809a2ccca59bd4eb2f8c02d15ad 21-May-2012 Andreas Huber <andih@google.com> Add more verbose ADTS error logging to SoftAAC.

and fix the corresponding code in SoftAAC2.

Change-Id: I6c745fb6e8e093708fdfe2861963b0a35fa7b912
related-to-bug: 6519161
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacdec/SoftAAC2.cpp
c86ae70bf5a7ae7f62d3b5ea3f459aed4e362095 21-May-2012 Andreas Huber <andih@google.com> am 91bfadb4: If we encounter an error during buffer allocation change state back

* commit '91bfadb4aa75444c60e9949232de3c184cfe060a':
If we encounter an error during buffer allocation change state back
91bfadb4aa75444c60e9949232de3c184cfe060a 21-May-2012 Andreas Huber <andih@google.com> If we encounter an error during buffer allocation change state back

to LOADED instead of remaining in the transitional state LOADED->IDLE
that won't properly handle flush or shutdown requests.

Change-Id: Ica1bf22eb884b220f18ed2a4f7a9c56eec228796
related-to-bug: 6516512
ibstagefright/ACodec.cpp
60359f49d38c16d95b6e4f5c024e256b37d03f0c 18-May-2012 Andreas Huber <andih@google.com> am 8370c7ad: Instead of asserting on malformed ADTS headers or insufficient data,

* commit '8370c7ad4136ad7e0787d5a91ccfa3d63cfbe5cc':
Instead of asserting on malformed ADTS headers or insufficient data,
e40d461e4826a8515aaa74779a1705ff1b1997ef 18-May-2012 Dave Burke <daveburke@google.com> am bf2461ec: Don\'t reconfigure stream after outputing data.

* commit 'bf2461ecc71c0aacf8c03fcdaf0dc46bc8285c7f':
Don't reconfigure stream after outputing data.
8370c7ad4136ad7e0787d5a91ccfa3d63cfbe5cc 18-May-2012 Andreas Huber <andih@google.com> Instead of asserting on malformed ADTS headers or insufficient data,

stop decoding and signal a runtime error.

Change-Id: Ib66a17a2908273f65a92999951439cc6f0752164
related-to-bug: 6519161
ibstagefright/codecs/aacdec/SoftAAC2.cpp
bf2461ecc71c0aacf8c03fcdaf0dc46bc8285c7f 18-May-2012 Dave Burke <daveburke@google.com> Don't reconfigure stream after outputing data.

Handle invalid configuration.
Bug: 6519161

Change-Id: Ib2d38bee769e63e627c93d7f3839c3a55de694e9
ibstagefright/codecs/aacdec/SoftAAC2.cpp
896da3c8f8a1e252bf088f2602caf9f79296b875 18-May-2012 Dave Burke <daveburke@google.com> am 441fbdea: Robustness - use defaults if we see bogus sample rate / channels from decoder.

* commit '441fbdea6e46ddc6b99fa864ab1edaa9759ec033':
Robustness - use defaults if we see bogus sample rate / channels from decoder.
441fbdea6e46ddc6b99fa864ab1edaa9759ec033 18-May-2012 Dave Burke <daveburke@google.com> Robustness - use defaults if we see bogus sample rate / channels from decoder.

Bug: 6498711
Change-Id: I6950d316a292cfd0cb516ee6d95b6af071b08fdc
ibstagefright/codecs/aacdec/SoftAAC2.cpp
00e7ebd0fc7674ab885dcddd09c1f53bf0423e69 18-May-2012 Dave Burke <daveburke@google.com> am 3748b71a: Handle stream changes at any point in the stream.

* commit '3748b71a7fe73b0365a93f1fd28ced14219f85e5':
Handle stream changes at any point in the stream.
3748b71a7fe73b0365a93f1fd28ced14219f85e5 18-May-2012 Dave Burke <daveburke@google.com> Handle stream changes at any point in the stream.

Also, handle discontinuity properly (was using wrong flag before).
Bug: 6498711

Change-Id: I18a6684f7dc96aa04b1e8113b54ec1053895ca98
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/aacdec/SoftAAC2.h
540b65bcd4cad71593abb49d305b01a807cf2a92 18-May-2012 Dave Burke <daveburke@google.com> am 3eda271f: Merge "Clear the decoder input buffer after it signalled an error to be able to continue." into jb-dev

* commit '3eda271f8b1879467759f98e5538577b1b6804f4':
Clear the decoder input buffer after it signalled an error to be able to continue.
3eda271f8b1879467759f98e5538577b1b6804f4 18-May-2012 Dave Burke <daveburke@google.com> Merge "Clear the decoder input buffer after it signalled an error to be able to continue." into jb-dev
b5733a9474cb8bf3f29965a0c5faa467238e015e 18-May-2012 Andreas Huber <andih@google.com> am 8dfa2282: Fixes parsing of PSI sections in MPEG2 transport streams

* commit '8dfa228201131da0bf3ba1d74c819c27c0500f6b':
Fixes parsing of PSI sections in MPEG2 transport streams
8dfa228201131da0bf3ba1d74c819c27c0500f6b 15-May-2012 Andreas Huber <andih@google.com> Fixes parsing of PSI sections in MPEG2 transport streams

They can span multiple transport stream packets, something the parser
previously did not support.

Change-Id: I78da6ffd2d422cceedb87aad61cba2062419e635
related-to-bug: 6166596
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
e672a0eea2cdc2ed43e002f0583902f20705de57 18-May-2012 Andreas Huber <andih@google.com> Clear the decoder input buffer after it signalled an error to be able to continue.

Change-Id: I06d43723dea7688d63cfb05e7fc7754672788562
related-to-bug: 6419102
ibstagefright/codecs/aacdec/SoftAAC2.cpp
d361f18957a3470ef9c2e23d92039371f7105060 17-May-2012 Andreas Huber <andih@google.com> am e00e0485: Merge "Buffer at least 2 secs worth of data at startup of after a seek before" into jb-dev

* commit 'e00e0485b0aa1e432be8c639da0eb5285942777b':
Buffer at least 2 secs worth of data at startup of after a seek before
e00e0485b0aa1e432be8c639da0eb5285942777b 17-May-2012 Andreas Huber <andih@google.com> Merge "Buffer at least 2 secs worth of data at startup of after a seek before" into jb-dev
bfd4d0d9fe0033abf3f55b94f30f6a58846a875e 17-May-2012 Andreas Huber <andih@google.com> Buffer at least 2 secs worth of data at startup of after a seek before

resuming starting RTSP playback.

Change-Id: I060c6c7fd627ab7ebd5c095ddcfdb4cc0f637aad
related-to-bug: 6364126
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/RTSPSource.h
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
569a6fe322da8cd3ae0bc37307254af1f91102d4 17-May-2012 Andreas Huber <andih@google.com> am b33eaec7: Merge "Prefix MPEG4-generic audio data with ADTS headers" into jb-dev

* commit 'b33eaec751d712c237e1c1b53a18a259456fa682':
Prefix MPEG4-generic audio data with ADTS headers
b33eaec751d712c237e1c1b53a18a259456fa682 17-May-2012 Andreas Huber <andih@google.com> Merge "Prefix MPEG4-generic audio data with ADTS headers" into jb-dev
ece3dcfe23ccd804293dbb408f0f680c94f7dd72 17-May-2012 Dave Burke <daveburke@google.com> am 35c53ccd: Merge "Add informational logging to track 0 channel issue." into jb-dev

* commit '35c53ccdc1be56879ba25956bf2284d2cff7c3c4':
Add informational logging to track 0 channel issue.
35c53ccdc1be56879ba25956bf2284d2cff7c3c4 17-May-2012 Dave Burke <daveburke@google.com> Merge "Add informational logging to track 0 channel issue." into jb-dev
e893150187191299002626c75232f8985189cb0d 17-May-2012 Dave Burke <daveburke@google.com> Add informational logging to track 0 channel issue.

Bug #: 6498711

Change-Id: I952777923569511a171fe8b79eab579625eda073
ibstagefright/codecs/aacdec/SoftAAC2.cpp
8647bbe4420ca487467318404127f52c567e346b 17-May-2012 Andreas Huber <andih@google.com> Prefix MPEG4-generic audio data with ADTS headers

to work around limitations of the new AAC decoder.

Change-Id: I4988c7c39fedb7d04eb1ae2ba2d618aa6cb14e77
related-to-bug: 6488547
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPAssembler.cpp
ibstagefright/rtsp/ARTPAssembler.h
cd160b175dbccc4581131653e3fcd08b632150ca 17-May-2012 James Dong <jdong@google.com> am 022048e9: Stop audio source if AudioPlayer could not be started

* commit '022048e95f3f1d65cb776cf21de2001423fcf7d9':
Stop audio source if AudioPlayer could not be started
022048e95f3f1d65cb776cf21de2001423fcf7d9 17-May-2012 James Dong <jdong@google.com> Stop audio source if AudioPlayer could not be started

related-to-bug: 6500580

Change-Id: If47e442db2f1ea400e9b598502bb48513f28cd6d
ibstagefright/AudioPlayer.cpp
87cbe8aed7e6c9306df8c9c68a2fa82c24da66c3 17-May-2012 Andreas Huber <andih@google.com> am 88ba895b: Merge "Stop extrapolating audio time from the anchor if we\'re paused or reached eos." into jb-dev

* commit '88ba895b5ddd8b3da364c3ceacdb698224ee746f':
Stop extrapolating audio time from the anchor if we're paused or reached eos.
88ba895b5ddd8b3da364c3ceacdb698224ee746f 17-May-2012 Andreas Huber <andih@google.com> Merge "Stop extrapolating audio time from the anchor if we're paused or reached eos." into jb-dev
8c21080d6651f415672d59da9ca53fba68a1ae3f 16-May-2012 Jean-Michel Trivi <jmtrivi@google.com> am cd28dc10: Merge "Stereo downmixer supports generic configurations. Fix 7.1 downmix" into jb-dev

* commit 'cd28dc10d49c359566c69d48a29a6f0d3eefa6d9':
Stereo downmixer supports generic configurations. Fix 7.1 downmix
cd28dc10d49c359566c69d48a29a6f0d3eefa6d9 16-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Stereo downmixer supports generic configurations. Fix 7.1 downmix" into jb-dev
6895deeecc8797e6f5b28e7d07ec6bc499355c0c 16-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Stereo downmixer supports generic configurations. Fix 7.1 downmix

Added a generic downmixer to stereo function to handle the
multichannel configurations not supported by the dedicated
downmix functions.
It first verifies the mask is supported, and then derives
channel indices for the downmix.
Added support for forcing the generic downmixer to be always
used instead of the format-specific functions (define
DOWNMIX_ALWAYS_USE_GENERIC_DOWNMIXER to force it).

Fixed 7.1 downmix function where handling of accumulate vs
overwrite was inversed.

Bug 4280902

Change-Id: I8259b32c4e90f76ef4dcd803592fc71df4ae90c5
ibeffects/downmix/EffectDownmix.c
ibeffects/downmix/EffectDownmix.h
7d2256a535434d4f05a57eebc592790a1d1edd90 16-May-2012 Dave Burke <daveburke@google.com> am 62999949: Merge "Add logging for invalid channel count or sample rate." into jb-dev

* commit '62999949c58ae18784a6061d83e4f2b78dbc3465':
Add logging for invalid channel count or sample rate.
62999949c58ae18784a6061d83e4f2b78dbc3465 16-May-2012 Dave Burke <daveburke@google.com> Merge "Add logging for invalid channel count or sample rate." into jb-dev
26976984d4f882f5da385360e76bc1c29fb4a696 16-May-2012 Dave Burke <daveburke@google.com> Add logging for invalid channel count or sample rate.

Change-Id: I2e2145e4b258923cf6c2907106345b7172c12280
ibstagefright/codecs/aacdec/SoftAAC2.cpp
e9f4e016145f9bd1f2d133425dde6440d2f4c27e 16-May-2012 James Dong <jdong@google.com> am 50a9908f: Merge "Speed up stsz box write in MPEG4Writer" into jb-dev

* commit '50a9908f987fd5a73d8a95d6fe46b530386cdc86':
Speed up stsz box write in MPEG4Writer
50a9908f987fd5a73d8a95d6fe46b530386cdc86 16-May-2012 James Dong <jdong@google.com> Merge "Speed up stsz box write in MPEG4Writer" into jb-dev
6051af9e024700a1ce5f3243e543f9aac09f934f 16-May-2012 Andreas Huber <andih@google.com> am 6d0780ae: Merge "Log which OMX component is not returning all buffers to us on executing->idle." into jb-dev

* commit '6d0780ae34ed2fa3e9631667f200e15ddd472464':
Log which OMX component is not returning all buffers to us on executing->idle.
8c460498c028888c533ab442be12b6d4b669b965 15-May-2012 James Dong <jdong@google.com> Speed up stsz box write in MPEG4Writer

With this patch, the write time for 30+ minutes recording session is reduced from 10+ seconds down to around 2-3 seconds.

related-to-bug: 6435176

Change-Id: I83b705cea42d8de798e7032c770c5c7b033e267e
ibstagefright/MPEG4Writer.cpp
5179ff34cf3ca69b3d3eaa71cdbf0c2aec6b45b3 16-May-2012 Andreas Huber <andih@google.com> Log which OMX component is not returning all buffers to us on executing->idle.

Change-Id: I8cd102cc5b1f3c9c36e3c5832ae4bee75c471efd
related-to-bug: 6498711
ibstagefright/OMXCodec.cpp
a99a5bca365277271915cbaeea811ad87131270d 16-May-2012 Andreas Huber <andih@google.com> Stop extrapolating audio time from the anchor if we're paused or reached eos.

Change-Id: I55903ba625d9c075a9a6e7bcd5ff95d450b915b2
related-to-bug: 6479613
ibstagefright/AudioPlayer.cpp
e5575ae2280dc02f1e623c92a31b0ea83081d49f 15-May-2012 Andreas Huber <andih@google.com> am 859c897b: Merge "Ignore sideband parsing errors and spit out a frame of silence." into jb-dev

* commit '859c897b87593386d7c37ab844d4890aaa19bceb':
Ignore sideband parsing errors and spit out a frame of silence.
859c897b87593386d7c37ab844d4890aaa19bceb 15-May-2012 Andreas Huber <andih@google.com> Merge "Ignore sideband parsing errors and spit out a frame of silence." into jb-dev
259b39cbfc03cb94c48e66d752836e153e9a2f8b 15-May-2012 Andreas Huber <andih@google.com> Ignore sideband parsing errors and spit out a frame of silence.

Change-Id: I274d8e9018e02eb42121a2440b42caefeca94fb0
related-to-bug: 6498193
ibstagefright/codecs/mp3dec/SoftMP3.cpp
8311aa4a6a33563232f9b94b43a5eb6482f369b9 15-May-2012 Andreas Huber <andih@google.com> am 2879bb21: Merge "Explicitly set the video scaling mode to "stretch"." into jb-dev

* commit '2879bb2181c4c315ae653724f6b605b3e3831bdd':
Explicitly set the video scaling mode to "stretch".
3f9d05d2d8f92498172b0260a4284b649dc0af85 15-May-2012 Andreas Huber <andih@google.com> am de321c32: Instead of asserting, turn an unsupported colorspace conversion into a

* commit 'de321c324cc4af88a8ea54d08c63546f73677037':
Instead of asserting, turn an unsupported colorspace conversion into a
2879bb2181c4c315ae653724f6b605b3e3831bdd 15-May-2012 Andreas Huber <andih@google.com> Merge "Explicitly set the video scaling mode to "stretch"." into jb-dev
1ec498e67f78fb0c3ab2a1cd9a071e6356618dad 15-May-2012 Andreas Huber <andih@google.com> Explicitly set the video scaling mode to "stretch".

Change-Id: I23b8848cfef51bc8ea72deb22783e21d093dbd98
related-to-bug: 6498150
ibstagefright/ACodec.cpp
de321c324cc4af88a8ea54d08c63546f73677037 15-May-2012 Andreas Huber <andih@google.com> Instead of asserting, turn an unsupported colorspace conversion into a

runtime error.

Change-Id: I0a1754ecaa2a6aac8b0b1bcc829aa873cf238b9b
related-to-bug: 6499326
ibstagefright/StagefrightMetadataRetriever.cpp
73730bec0f30f517f66481f939d474bdfef39ed3 15-May-2012 Eric Laurent <elaurent@google.com> am 29864609: Fix issues with synchronous record start.

* commit '2986460984580833161bdaabc7f17da1005a8961':
Fix issues with synchronous record start.
cb013629eaac7fa42a5b1e2f9b6b10af87851909 15-May-2012 Andreas Huber <andih@google.com> am dfa29ab1: Merge "Smoothen audio "real" time by compensating with system_time()" into jb-dev

* commit 'dfa29ab13647f22b30b2de34d4830c9e815bf120':
Smoothen audio "real" time by compensating with system_time()
0cfd2ada44749a934bf943da9c90ab91d2208d95 15-May-2012 James Dong <jdong@google.com> am 804c27e9: Merge "Switch audio tracks at runtime" into jb-dev

* commit '804c27e91ea324c5d8dc89b60637695adc776141':
Switch audio tracks at runtime
3a01ce738476b2543e1d0a31aa54875b1c69a31b 15-May-2012 Andreas Huber <andih@google.com> am 44f84ded: ACodec mustn\'t override the video scaling mod.

* commit '44f84ded62bffd5f04e0f5961e8304427a7b9f34':
ACodec mustn't override the video scaling mod.
2986460984580833161bdaabc7f17da1005a8961 09-May-2012 Eric Laurent <elaurent@google.com> Fix issues with synchronous record start.

- Added a timeout in case the trigger event is never fired.
- Extend AudioRecord obtainBuffer() timeout in case of
synchronous start to avoid spurious warning.
- Make sure that the event is triggered if the track is
destroyed.
- Reject event if the triggering track is in an incompatible state.

Also fix a problem when restoring a static AudioTrack after
a mediaserver crash.

Bug 6449468.

Change-Id: Ib36e11111fb88f73caa31dcb0622792737d57a4b
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
dfa29ab13647f22b30b2de34d4830c9e815bf120 15-May-2012 Andreas Huber <andih@google.com> Merge "Smoothen audio "real" time by compensating with system_time()" into jb-dev
e4451a91a61a341014f5eff61db356156c3ecb37 15-May-2012 Andreas Huber <andih@google.com> Smoothen audio "real" time by compensating with system_time()

for the delay since the last buffer submission to the audio sink.

Change-Id: Ib1a8672f96ba8bbef07d23372f1076fbb1f0bdcc
related-to-bug: 6479613
ibstagefright/AudioPlayer.cpp
804c27e91ea324c5d8dc89b60637695adc776141 14-May-2012 James Dong <jdong@google.com> Merge "Switch audio tracks at runtime" into jb-dev
ab7a2e544643edcb2e09ed5f204580afd763edc1 27-Apr-2012 James Dong <jdong@google.com> Switch audio tracks at runtime

o The switching is not allowed if there is an audio seek operation ongoing.

o related-to-bug: 6110705

Change-Id: Ib92a165f3984aa033d97800184d3d17319522db5
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
44f84ded62bffd5f04e0f5961e8304427a7b9f34 14-May-2012 Andreas Huber <andih@google.com> ACodec mustn't override the video scaling mod.

Change-Id: Id9b569446d73dcfe44ab4a3488812203758c9c42
related-to-bug: 6490687
ibstagefright/ACodec.cpp
89463ee03d8393cf42cc3d6b1ebf95a8a0d35e99 13-May-2012 Dave Burke <daveburke@google.com> am 94f60e29: Remove ASC workaround (now fixed in Franhofer library).

* commit '94f60e297b9e45fac387cf10b6ce1acc067cb4a1':
Remove ASC workaround (now fixed in Franhofer library).
94f60e297b9e45fac387cf10b6ce1acc067cb4a1 12-May-2012 Dave Burke <daveburke@google.com> Remove ASC workaround (now fixed in Franhofer library).

Change-Id: Ia0ce8155def9f6dea85da7f88942ac1b11c16823
ibstagefright/codecs/aacdec/SoftAAC2.cpp
6906d17e061b6fb9ee9f9294a280134d48a8ff41 12-May-2012 Jamie Gennis <jgennis@google.com> am bb9d731b: Merge "stagefright: add tracing to AwesomePlayer." into jb-dev

* commit 'bb9d731bc2b5759f72f6d382834e431a0389cf07':
stagefright: add tracing to AwesomePlayer.
bb9d731bc2b5759f72f6d382834e431a0389cf07 12-May-2012 Jamie Gennis <jgennis@google.com> Merge "stagefright: add tracing to AwesomePlayer." into jb-dev
e9c21233c3fd08e0ae5be60f11a898c1866ed470 12-May-2012 James Dong <jdong@google.com> am 7cf0de49: Merge "Remove unused VideoSourceDownSampler class" into jb-dev

* commit '7cf0de49dbdcb2da7d9bf9421f58adf442dfeaea':
Remove unused VideoSourceDownSampler class
7cf0de49dbdcb2da7d9bf9421f58adf442dfeaea 12-May-2012 James Dong <jdong@google.com> Merge "Remove unused VideoSourceDownSampler class" into jb-dev
3a2633008be4a92fbca6e76c057f86e220558197 11-May-2012 James Dong <jdong@google.com> Remove unused VideoSourceDownSampler class

Change-Id: I2faf5962ff4cc366c688ef5bb27f53596f08fe0a
related-to-bug: 6484217
ibstagefright/Android.mk
ibstagefright/VideoSourceDownSampler.cpp
68be0108a701cbae2d9e3335a7b1056d8eedb140 11-May-2012 Andreas Huber <andih@google.com> am 7d580566: Merge "Increase AAC software decoder\'s buffer count. Refactor how clients" into jb-dev

* commit '7d5805669dea851e70115c494154a2d26b8dc39e':
Increase AAC software decoder's buffer count. Refactor how clients
7d5805669dea851e70115c494154a2d26b8dc39e 11-May-2012 Andreas Huber <andih@google.com> Merge "Increase AAC software decoder's buffer count. Refactor how clients" into jb-dev
eb61431af13741aa8b7e57a39f69bba5a6c190dc 11-May-2012 Andreas Huber <andih@google.com> Increase AAC software decoder's buffer count. Refactor how clients

of ACodec get notified about codec buffers and buffer ids.

Change-Id: I962f873262dae7aa7b43f5f68a6d60268282f91e
related-to-bug: 6478823
ibstagefright/ACodec.cpp
ibstagefright/MediaCodec.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacdec/SoftAAC.h
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/aacdec/SoftAAC2.h
cb0e6ac3d9f9f006652ead57f5b4d5e54ecc5d37 11-May-2012 James Dong <jdong@google.com> am c20f467d: Merge "Fix a bug on sending a message to retry in TimedText." into jb-dev

* commit 'c20f467d54f921730aa0b2fd087ad83496aeaf4b':
Fix a bug on sending a message to retry in TimedText.
c20f467d54f921730aa0b2fd087ad83496aeaf4b 11-May-2012 James Dong <jdong@google.com> Merge "Fix a bug on sending a message to retry in TimedText." into jb-dev
2163320110d2f971becbad82e15b2ab360a1ddb6 11-May-2012 Jamie Gennis <jgennis@google.com> stagefright: add tracing to AwesomePlayer.

Change-Id: Id84419a1c54e41e158b24477f0676071e90f6922
ibstagefright/AwesomePlayer.cpp
3b963c60693c10276f5ebf5e0abb95f6be78070f 10-May-2012 Insun Kang <insun@google.com> Fix a bug on sending a message to retry in TimedText.

related-to-bug: 6480861

Change-Id: I86f24f1304dea42a7501c578cff0c590b048ccc2
ibstagefright/timedtext/TimedTextPlayer.cpp
0c0e003f8e4557eb3ddb477c6adbdb3cd2ba28f4 11-May-2012 Andreas Huber <andih@google.com> am 96409203: Merge "Add "support" for AMR WB comfort noise, no data and speech lost frame types" into jb-dev

* commit '96409203b4a857768e38137e88001378ad383584':
Add "support" for AMR WB comfort noise, no data and speech lost frame types
8ab086d0356f90bc1901d1c4e7e0687f6ac273c3 11-May-2012 Dave Burke <daveburke@google.com> am da66e667: Merge "Make decoder more robust to inaccurate ASCs." into jb-dev

* commit 'da66e667840de77d3b9a9a094bbf12f43975d7e0':
Make decoder more robust to inaccurate ASCs.
96409203b4a857768e38137e88001378ad383584 11-May-2012 Andreas Huber <andih@google.com> Merge "Add "support" for AMR WB comfort noise, no data and speech lost frame types" into jb-dev
da66e667840de77d3b9a9a094bbf12f43975d7e0 11-May-2012 Dave Burke <daveburke@google.com> Merge "Make decoder more robust to inaccurate ASCs." into jb-dev
dc5db5d281d57ff59d92105cf0cd383df3b3c368 11-May-2012 Dave Burke <daveburke@google.com> Make decoder more robust to inaccurate ASCs.

Bug: 6408518
Bug: 6463794
Change-Id: Ice4ae327bc53e9d826adce572a2706e045eacd62
ibstagefright/codecs/aacdec/SoftAAC2.cpp
a9605efa3edfae96fa618a4b78f6c2276f941fab 10-May-2012 Andreas Huber <andih@google.com> Add "support" for AMR WB comfort noise, no data and speech lost frame types

by emitting silence.

Change-Id: I27b7f31051f0c9a14adde866305bbc91a827a00c
related-to-bug: 6478154
ibstagefright/codecs/amrnb/dec/SoftAMR.cpp
0bf474261dc5656990ecc25af63f3b2d125b2b20 10-May-2012 Andreas Huber <andih@google.com> am af9e6a17: Merge "Properly connect/disconnect to/from the native window in MediaCodec." into jb-dev

* commit 'af9e6a17d7038b411b61a3cb0669694058511a05':
Properly connect/disconnect to/from the native window in MediaCodec.
af9e6a17d7038b411b61a3cb0669694058511a05 10-May-2012 Andreas Huber <andih@google.com> Merge "Properly connect/disconnect to/from the native window in MediaCodec." into jb-dev
0857d4e2bdca4d4b0fd085b6fe7058d61b080165 10-May-2012 Andreas Huber <andih@google.com> am 5c36fc87: Don\'t attempt to support content the software MPEG4 decoder clearly wasn\'t

* commit '5c36fc8701eb7468c268c47dae5dba58dbd8e83e':
Don't attempt to support content the software MPEG4 decoder clearly wasn't
5c36fc8701eb7468c268c47dae5dba58dbd8e83e 10-May-2012 Andreas Huber <andih@google.com> Don't attempt to support content the software MPEG4 decoder clearly wasn't

prepared for.

Change-Id: I4614ba25a1c67e47bde27ddebd99cb50892c1a94
related-to-bug: 6327803
ibstagefright/codecs/m4v_h263/dec/include/mp4dec_api.h
7541ff5d83a3e77cb533841a0326a241550b95d9 10-May-2012 Andreas Huber <andih@google.com> Properly connect/disconnect to/from the native window in MediaCodec.

Change-Id: Ib5bf90a3b81fca8ff2346235bc28a2bd0bc7bfb1
related-to-bug: 6472161
ibstagefright/MediaCodec.cpp
ce7380818e9b19668730fdc527ee7876d3427078 10-May-2012 Jean-Michel Trivi <jmtrivi@google.com> am 2f74ef3c: OMX IL wrapper for FLAC encoder

* commit '2f74ef3cdc192f817ee1121f41765f0852c1d81e':
OMX IL wrapper for FLAC encoder
2f74ef3cdc192f817ee1121f41765f0852c1d81e 30-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> OMX IL wrapper for FLAC encoder

Add wrapper around libFLAC for FLAC encoding in OpenMAX IL.

Declare FLAC encoder in OMX component roles.

Bug 5525503

Change-Id: I19bbce41c216870669d09365693f4ea89f8bc0f7
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/flac/Android.mk
ibstagefright/codecs/flac/enc/Android.mk
ibstagefright/codecs/flac/enc/SoftFlacEncoder.cpp
ibstagefright/codecs/flac/enc/SoftFlacEncoder.h
ibstagefright/omx/SoftOMXPlugin.cpp
89f24546f131e78ada87d60c3843470fd737fa24 09-May-2012 Andreas Huber <andih@google.com> am c150ca7d: Merge "Submit codec specific data automatically" into jb-dev

* commit 'c150ca7dda844891fa684f6898da7f7e0c40329d':
Submit codec specific data automatically
f4407649ea26382dd33109c71cc0c3b150f56f87 09-May-2012 Andreas Huber <andih@google.com> am a9623e01: Merge "Fix both H.263 and MPEG4 decoders." into jb-dev

* commit 'a9623e018737889d32f6b231f913a70d020c7ac5':
Fix both H.263 and MPEG4 decoders.
70dbe3e9c240e6ae1a23edc4dc7ee8b6261667c5 09-May-2012 Fred Gylys-Colwell <fredgc@google.com> am 1d02a827: Fix DRM timer start for Widevine.

* commit '1d02a827bc0bb5023a551bc9ce3fb37457240daa':
Fix DRM timer start for Widevine.
c150ca7dda844891fa684f6898da7f7e0c40329d 08-May-2012 Andreas Huber <andih@google.com> Merge "Submit codec specific data automatically" into jb-dev
8ee516a515c70a492c395b67ce12e19e7d159804 08-May-2012 Andreas Huber <andih@google.com> Submit codec specific data automatically

if it is contained in the format passed to MediaCodec::configure.

Change-Id: I8ef6755e8389ec47b44a9c70904ea6c03a00f4f2
related-to-bug: 6364139
ibstagefright/MediaCodec.cpp
a9623e018737889d32f6b231f913a70d020c7ac5 08-May-2012 Andreas Huber <andih@google.com> Merge "Fix both H.263 and MPEG4 decoders." into jb-dev
02accddf8d69da7b2b5e05631ad222cd842ff547 08-May-2012 Andreas Huber <andih@google.com> Fix both H.263 and MPEG4 decoders.

Change-Id: I6c76fa33f6ea4b439abc14c396a86c3553c85189
related-to-bug: 6460112
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
1d02a827bc0bb5023a551bc9ce3fb37457240daa 05-May-2012 Fred Gylys-Colwell <fredgc@google.com> Fix DRM timer start for Widevine.

The DRM flag should always be true for WVMExtractor. The WVMExtractor always
turns on the DRM flag. Before this change, it was reset to false in
MediaExtractor::Create. After this change, MediaExtractor::Create will return
as soon as the WVMExtractor has been created.

Change-Id: I04949d2cd11b912bde61a106ee6b805932041c25
related-to-bug:6261699
ibstagefright/MediaExtractor.cpp
d57c4548766e112cd70c43773e296122eb489a50 08-May-2012 Marco Nelissen <marcone@google.com> am a62bde0a: Merge "Use new sd card mount point for dumpsys" into jb-dev

* commit 'a62bde0a391f65a418d77c46e6ba468433d81dba':
Use new sd card mount point for dumpsys
a62bde0a391f65a418d77c46e6ba468433d81dba 08-May-2012 Marco Nelissen <marcone@google.com> Merge "Use new sd card mount point for dumpsys" into jb-dev
73ac1eebff620714c6977f7342ff8dcc4858b3cf 08-May-2012 Marco Nelissen <marcone@google.com> Use new sd card mount point for dumpsys

b/6455962

Change-Id: I5c9f8c16c50587b25cafab03c48662e63855868e
ibmediaplayerservice/MediaPlayerService.cpp
706bb450ee7eb56691c61b40284136d9e2228444 08-May-2012 James Dong <jdong@google.com> am 3e0f56df: Merge "Get rid of vendor specific video encoder component names from ACodec and OMXCodec" into jb-dev

* commit '3e0f56df1a22b76f59d85699d0cc78c37ddd37c5':
Get rid of vendor specific video encoder component names from ACodec and OMXCodec
3e0f56df1a22b76f59d85699d0cc78c37ddd37c5 08-May-2012 James Dong <jdong@google.com> Merge "Get rid of vendor specific video encoder component names from ACodec and OMXCodec" into jb-dev
907a33bce9457a8b27de35c554856dc6d45b0d9b 07-May-2012 Andreas Huber <andih@google.com> am e5177094: Remove/Disable the AVI extractor.

* commit 'e51770946feca174d2d65811f773dcfc3d66ad3b':
Remove/Disable the AVI extractor.
7c25df82dfc8bbedb58608242f0d923a4594bb14 07-May-2012 James Dong <jdong@google.com> Get rid of vendor specific video encoder component names from ACodec and OMXCodec

o related-to-bug: 6446245

Change-Id: I1fa07ad8a39337e3b19ac51c10533a2de8c11bb5
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
e51770946feca174d2d65811f773dcfc3d66ad3b 07-May-2012 Andreas Huber <andih@google.com> Remove/Disable the AVI extractor.

Change-Id: I47dcae710df9c66688a937fb1e648f9b00ca0f65
related-to-bug: 5717242
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaExtractor.cpp
f2861d6b867827ec752930e12825f278ab7cebab 05-May-2012 Eric Laurent <elaurent@google.com> am fc52dd88: Merge "Revert "Merge "Improve AudioPlayer position reporting""" into jb-dev

* commit 'fc52dd88e4d2f433feba5d5aaff1880659d46319':
Revert "Merge "Improve AudioPlayer position reporting""
fc52dd88e4d2f433feba5d5aaff1880659d46319 05-May-2012 Eric Laurent <elaurent@google.com> Merge "Revert "Merge "Improve AudioPlayer position reporting""" into jb-dev
b48aea123775fb6ec7e6944826fc99da8d8996a5 04-May-2012 Eric Laurent <elaurent@google.com> Revert "Merge "Improve AudioPlayer position reporting""

This reverts commit 887c5d2ac34d81bde66dadbd7b2ff07501744778, reversing
changes made to 5aaeb0d64fc98f9b019a4378eb39f0ee49ee6ec4.
ibstagefright/AudioPlayer.cpp
4ded4983983aa8597e927d3a7f0dc241fa993951 04-May-2012 Andreas Huber <andih@google.com> am 9dc4c66f: Until we have emulator support for YUV12 rendering do software color conversion.

* commit '9dc4c66f36ca0158b470c78b0929cd9dd929a375':
Until we have emulator support for YUV12 rendering do software color conversion.
9dc4c66f36ca0158b470c78b0929cd9dd929a375 04-May-2012 Andreas Huber <andih@google.com> Until we have emulator support for YUV12 rendering do software color conversion.

Change-Id: Id2e118cae224facad7077f2f62c62cd21e95e749
related-to-bug: 6444358
ibstagefright/colorconversion/SoftwareRenderer.cpp
b26105c04508f32528f59dd66b78d1e0858fe90e 04-May-2012 Andreas Huber <andih@google.com> am f53c36c6: Merge "Respect channel mask in ACodec and NuPlayer." into jb-dev

* commit 'f53c36c6463d899895719b8b17ba45bd2d552cee':
Respect channel mask in ACodec and NuPlayer.
f53c36c6463d899895719b8b17ba45bd2d552cee 04-May-2012 Andreas Huber <andih@google.com> Merge "Respect channel mask in ACodec and NuPlayer." into jb-dev
9806555d3930be43e11106281dee354820ac1c88 03-May-2012 Andreas Huber <andih@google.com> Respect channel mask in ACodec and NuPlayer.

Refactor conversion from MetaData into AMessage while we're at it.

Change-Id: I5479129836ea4316e8de28cf1b472bf19e3ac4ab
related-to-bug: 6439076
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibstagefright/ACodec.cpp
ibstagefright/NuMediaExtractor.cpp
ibstagefright/Utils.cpp
878044b88a088ca021fdfa113150e7a2233a8f16 03-May-2012 Andreas Huber <andih@google.com> am ef7f3794: Merge "Revert our seek behaviour to SEEK_CLOSEST_SYNC instead of SEEK_CLOSEST." into jb-dev

* commit 'ef7f379497199148b5694615e75b3fb2bf666a18':
Revert our seek behaviour to SEEK_CLOSEST_SYNC instead of SEEK_CLOSEST.
ef7f379497199148b5694615e75b3fb2bf666a18 03-May-2012 Andreas Huber <andih@google.com> Merge "Revert our seek behaviour to SEEK_CLOSEST_SYNC instead of SEEK_CLOSEST." into jb-dev
49e7daaf6c2fd7f3e3d06d350de73de1ffeff5dd 03-May-2012 Andreas Huber <andih@google.com> Revert our seek behaviour to SEEK_CLOSEST_SYNC instead of SEEK_CLOSEST.

Change-Id: I375ca724b228cb0bb4776b87eeaab788e365be84
related-to-bug: 6437985
ibstagefright/AwesomePlayer.cpp
e5121e9da8298021cf245ead2145ba5eb3fb6077 03-May-2012 Glenn Kasten <gkasten@google.com> am 093000f7: Don\'t allow AudioTrack frameCount to decrease

* commit '093000f7d11839b920e8dfaa42ed1d09f48e24b8':
Don't allow AudioTrack frameCount to decrease
093000f7d11839b920e8dfaa42ed1d09f48e24b8 03-May-2012 Glenn Kasten <gkasten@google.com> Don't allow AudioTrack frameCount to decrease

This is a workaround for bug that client can cache return value of
frameCount(), and is not notified when this value changes due to automatic
re-recreation of the underlying IAudioTrack.

A better long-term fix would be to notify clients when these kinds of
parameters change, and to fix assumptions in client code that they are
constant (e.g. in SoundPool and maybe obtainBuffer).

Also, once a fast track request is denied, don't request it again.

Bug: 6431187
Change-Id: I55b4ff30bbd9ed3a402e39452a38de52cdea53a9
ibmedia/AudioTrack.cpp
588f93d3130774056a8c568e31adeac29eb84579 03-May-2012 Edwin Wong <edwinwong@google.com> am 6a3969cc: Removed mutex lock in addTextSource, and rename to addTextSource_l to indicate this method needs to be called with a lock hold.

* commit '6a3969cc3bcbfc84dbcc27aa726eb96bc03a830b':
Removed mutex lock in addTextSource, and rename to addTextSource_l to indicate this method needs to be called with a lock hold.
6a3969cc3bcbfc84dbcc27aa726eb96bc03a830b 03-May-2012 Edwin Wong <edwinwong@google.com> Removed mutex lock in addTextSource, and rename to addTextSource_l
to indicate this method needs to be called with a lock hold.

Change-Id: I7e99f0a622e7de49c288be09dd4fc955bbca390b
related-to-bug: 5629511
related-to-bug: 5542712
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
a8f613283901dfbe4c06c9149930f4c923c15374 02-May-2012 James Dong <jdong@google.com> am 359f90ce: Merge "The presence of the kKeyAACProfile is optional, we should not mandate its presence in AACWriter." into jb-dev

* commit '359f90cea8a59c4a8d25b422fd0b0569e31db2fa':
The presence of the kKeyAACProfile is optional, we should not mandate its presence in AACWriter.
359f90cea8a59c4a8d25b422fd0b0569e31db2fa 02-May-2012 James Dong <jdong@google.com> Merge "The presence of the kKeyAACProfile is optional, we should not mandate its presence in AACWriter." into jb-dev
ce0a54de16aa2197fe4e6ac9a8c91562ae0ff114 02-May-2012 Jean-Michel Trivi <jmtrivi@google.com> am 06f6ae34: Fix build, WAVExtractor typo

* commit '06f6ae34c735640dccdaca6ab1567d8afc9d3938':
Fix build, WAVExtractor typo
8a6dbce54b814b453eb8ff4d86257c5770918f7e 02-May-2012 Glenn Kasten <gkasten@google.com> am 428a59d9: Merge "Fix race in AudioTrack destruction" into jb-dev

* commit '428a59d9f6deb548f46151e7c7962aa204f13cf0':
Fix race in AudioTrack destruction
38f45a53ff1a19d3a6440e03a579b23186267062 02-May-2012 Jean-Michel Trivi <jmtrivi@google.com> am 95c157cc: Merge "Tolerate 0 valid bits value in WAV_EXT" into jb-dev

* commit '95c157cc6b109a5058f29edd73811e90d91e92ab':
Tolerate 0 valid bits value in WAV_EXT
2d94235a343151bed9aa74e86697fa01241ea5cf 02-May-2012 James Dong <jdong@google.com> The presence of the kKeyAACProfile is optional, we should not mandate its presence in AACWriter.

o related-to-bug: 6421833

Change-Id: Ia1d75e73270430177d3010e8024b48c88eb7b430
ibstagefright/AACWriter.cpp
06f6ae34c735640dccdaca6ab1567d8afc9d3938 02-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Fix build, WAVExtractor typo

Change-Id: I6885f3f259619526165c6e76364bfe9a4ce49f97
ibstagefright/WAVExtractor.cpp
428a59d9f6deb548f46151e7c7962aa204f13cf0 02-May-2012 Glenn Kasten <gkasten@google.com> Merge "Fix race in AudioTrack destruction" into jb-dev
f4022f90db5acb680870db8c1150b673cdd211d9 02-May-2012 Glenn Kasten <gkasten@google.com> Fix race in AudioTrack destruction

Bug: 6427369
Change-Id: Id3b4487406235b881f6f0b4b95c5a02a9b797e75
ibmedia/AudioTrack.cpp
95c157cc6b109a5058f29edd73811e90d91e92ab 02-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Tolerate 0 valid bits value in WAV_EXT" into jb-dev
72b2b9ba68ee85a3054a0de3a8414b8dfb217aeb 02-May-2012 Jean-Michel Trivi <jmtrivi@google.com> Tolerate 0 valid bits value in WAV_EXT

Some WAV_EXT writers don't properly set the "valid bits per sample"
value and set it to 0. Don't return an error when such a header
is parsed.

Change-Id: I21763087af4f3fc8c62a24b883aae53b23ae71d4
ibstagefright/WAVExtractor.cpp
375172c4ccb1b810e1065cf9dad98b8a9c4c5fc8 02-May-2012 Jean-Michel Trivi <jmtrivi@google.com> am 2c3297ab: No warning on using channel order in AudioPlayer

* commit '2c3297ab6c4daaaa7b27eed8418c64cf168fe2a1':
No warning on using channel order in AudioPlayer
e0b6fc58cb1b5a560da8e7903b1f7d291e7448de 16-Apr-2012 Martin Storsjo <martin@martin.st> stagefright: Remove useless declarations

The encoder common library doesn't contain any source
code with assembly optimizations (there is nothing
using the defines in the single source file in the library),
and the source directories added to the include path do
not exist.

Change-Id: If8854ea3bac4ad3504615ae4ad022267103a8b65
ibstagefright/codecs/common/Android.mk
2c3297ab6c4daaaa7b27eed8418c64cf168fe2a1 01-May-2012 Jean-Michel Trivi <jmtrivi@google.com> No warning on using channel order in AudioPlayer

Don't log a warning when an AudioPlayer derives a channel mask
from the channel count, only info-log when channel count is
higher than 2.

Change-Id: Ia1cbced660903483654eede300ef72f7f17dcf78
ibstagefright/AudioPlayer.cpp
daaf7b119649674cfc414a8761585fed6b0296df 01-May-2012 James Dong <jdong@google.com> Merge "Impl for supporting two video scaling modes" into jb-dev
31dfd1db7a4d2228d9642008af6f3dd744368eb6 01-May-2012 Glenn Kasten <gkasten@google.com> Disable fast track log spam

except for "denied by client" and "denied by server"

Change-Id: I133ab747933729cc1f386813ee06ece055bdb294
ibmedia/AudioTrack.cpp
2409e4337b1e5968cbf75a839778f849266b64d9 01-May-2012 Glenn Kasten <gkasten@google.com> Merge "Enable fast track for SoundPool" into jb-dev
1477e92867a950016579a644e74f803ed1d90cbb 01-May-2012 Glenn Kasten <gkasten@google.com> Enable fast track for SoundPool

Change-Id: Ia80b3a7738e4c5dbe2bd5b0f55f0ca49943e2f64
ibmedia/SoundPool.cpp
6635c44c27a8fc2f1eeaaefd5dfc2e65464bcb5d 01-May-2012 Andreas Huber <andih@google.com> Merge "Fix assertion triggered when mediaserver dies at roughly the same" into jb-dev
4f6eed0d1c7972a983c075bdcf03089569e13fe1 30-Apr-2012 James Dong <jdong@google.com> Impl for supporting two video scaling modes

o allows the video scaling mode to change at any time
o also remove the scaling mode logic in OMXCodec.cpp

o related-to-bug: 5454345

Change-Id: I6f1714eb0c2774591ce650d56c1e779b8afd085f
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/AwesomePlayer.h
b78ff5fb6f56c679bce936078180ce61a1e97288 01-May-2012 Andreas Huber <andih@google.com> Fix assertion triggered when mediaserver dies at roughly the same

time that a client attempts to explicitly free an OMX node.

Change-Id: I767e6af402801357da20b328611cc7cddeed0260
related-to-bug: 6012750
ibstagefright/omx/OMX.cpp
8b6bacd02a0478ed51b3b15a9e997624c95a7564 01-May-2012 Andreas Huber <andih@google.com> Properly handle the case where a pending connection process is disconnected

just at the time when the connection is established.

Change-Id: Icbae5a61edfd6a1336e4b8d3ee513337363c09ea
related-to-bug: 6154825
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/chromium_http/support.cpp
27431de020e535c31365884316f656bc60b4fe4f 01-May-2012 James Dong <jdong@google.com> Merge "Fix a bug on subtitle (SRT)." into jb-dev
0a2f0e047a2e593c62f54b07b903baf4728b9d0a 21-Apr-2012 Insun Kang <insun@google.com> Fix a bug on subtitle (SRT).

Bug: 6375542

Change-Id: Ic5dd5a1826b9f78ccbbddc4dec33b0e915b9329f
ibstagefright/timedtext/TimedTextSRTSource.cpp
ibstagefright/timedtext/TimedTextSRTSource.h
98f153091e8f4190b35b9ce15250f308baf4805c 25-Apr-2012 Glenn Kasten <gkasten@google.com> Re-enable fast track for ToneGenerator

Change-Id: If4152169778df124c750dc45023322ee23c80587
ibmedia/ToneGenerator.cpp
a3cbc03f7c646ad9b05d24e72a6d306cb457807c 28-Apr-2012 James Dong <jdong@google.com> Removed software video encoders that are not OMX-based.

o related-to-bug: 5933287

Change-Id: I63635375e2bef00733b61adc3fa12c29df7e2155
ibstagefright/Android.mk
ibstagefright/MediaCodecList.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/m4v_h263/enc/Android.mk
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/include/AVCEncoder.h
ibstagefright/include/M4vH263Encoder.h
99bbaff7853eab325bd87b315d532909206592b1 30-Apr-2012 Andreas Huber <andih@google.com> Merge "Make the transport stream extraction code output ADTS AAC frames." into jb-dev
4c9cd95b27a638701be2ffa1713273ba2f624770 30-Apr-2012 Dave Burke <daveburke@google.com> Merge "Added support for HE-AAC recording" into jb-dev
56ad61a253a94586d946cc09ed814e7a95a40ca7 30-Apr-2012 Andreas Huber <andih@google.com> Make the transport stream extraction code output ADTS AAC frames.

Change-Id: I145f4b1265045750f1b0425269f3ffe5fb055f61
related-to-bug: 6419102
ibstagefright/mpeg2ts/ESQueue.cpp
0c0abd4ad26971b5fba94734137fe0bb1a590ab6 30-Apr-2012 Andreas Huber <andih@google.com> Merge "Notify the client about an initial size of (0, 0) instead of (320, 240)." into jb-dev
0b7c9a327f5d10b841a3aa2bbe103a2ca6dcac37 30-Apr-2012 Andreas Huber <andih@google.com> Notify the client about an initial size of (0, 0) instead of (320, 240).

which is documented as "we don't have that information just yet".

Change-Id: I158a53af83d526f713cd30372fce28558894b857
related-to-bug: 6293020
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
8b71241ce7353731ab75322c46e090ee35014a33 27-Apr-2012 Marco Nelissen <marcone@google.com> Fix mono gapless playback for decoders that output stereo

The old AAC decoder always outputs stereo, even for mono source material, so we
need to use the number of channels of the output when calculating the number of
bytes to skip, not the number of channels in the source.
This makes OMXCodec skip the right amount of data, and prevents NuPlayer from
writing half a frame and then asserting when the AudioSink doesn't accept it.
Also move use of the SkipCutBuffer from NuPlayer to ACodec, so that it also
works when using the new Java APIs, and make SkipCutBuffer derive from RefBase.
b/774846

Change-Id: I34df9fea3e6730617eae559afaa556f4085ef0a0
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibstagefright/ACodec.cpp
ibstagefright/NuMediaExtractor.cpp
ibstagefright/OMXCodec.cpp
f60c660f048d5f5e2458cff243c20400d73757a7 29-Apr-2012 Dave Burke <daveburke@google.com> Added support for HE-AAC recording

Fixed bug in decoder related to sample rates / channel counts
Made decoder follow Fraunhofer pattern
Log if bitrate not available
Bug: 6275957

Change-Id: I47a8e29358fa4a88ebc73fe02d46a2bfb96c64fe
ibmedia/MediaProfiles.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/aacenc/SoftAACEncoder2.cpp
d8b0003739768953b6e28080f434fdadec55c0e3 27-Apr-2012 Andreas Huber <andih@google.com> Merge "Opt in to the WVM extractor's secondary (cryptoPlugin) mode." into jb-dev
e6d7f46c566d16792068f25ef479e3fbae7365b8 27-Apr-2012 Jeff Tinker <jtinker@google.com> Merge "Expose an API to run the WV extractor in crypto plugin mode." into jb-dev
543f0fd46b2355c0ffc22445c8594f6dcde6a388 27-Apr-2012 James Dong <jdong@google.com> Merge "Bug fix : enqueue one next subtitle for each subtitle." into jb-dev
e0c026e32277de27627b2bc24e51f333a2f1c4ee 27-Apr-2012 James Dong <jdong@google.com> Merge "Handle the case when there is no timed text track" into jb-dev
ed709d00ead015b8a0de50ebc410073f6a078fd5 26-Apr-2012 Jeff Tinker <jtinker@google.com> Expose an API to run the WV extractor in crypto plugin mode.

Provides compatibility with the MediaCodec model.

Change-Id: I76f2c7d1e9d2cfc3e76b531ac9b2cf66aa6a4327
related-to-bug: 5986621
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
94c1c8c99b70f2fdab87e131812eb253271e5500 27-Apr-2012 Andreas Huber <andih@google.com> Opt in to the WVM extractor's secondary (cryptoPlugin) mode.

Change-Id: If0abec6e34b20b59ee2fc5bd97573a73d68465f0
related-to-bug: 6276111
ibstagefright/NuMediaExtractor.cpp
41914becfd019c619783d875c61ef71db0e67400 26-Apr-2012 Marco Nelissen <marcone@google.com> Account for new AAC decoder's delay

This drops the first block of decoded samples, and flushes the decoder
at the end of the stream to get the last bit of valid data.
b/774846

Change-Id: I1ae61b3e0619444441d160f33903eb61f57c6d31
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/aacdec/SoftAAC2.h
514bcaf1e842e8e90fbeabf35e7e654622b75b02 17-Apr-2012 James Dong <jdong@google.com> Handle the case when there is no timed text track

o also replaced mTimedTextLock with mLock, since there is no particular reason to use a separate lock for timed text

o related-to-bug: 6110705

Change-Id: Ia687e96956692c42d492e57992e5721ca1e8e18b
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
0756aa99dffd5740d963fdda60699fdefe58ce85 26-Apr-2012 Andreas Huber <andih@google.com> Merge "NuMediaExtractor API to unselect tracks and finer control over seeking." into jb-dev
9d07855aaff8a6b502a3ab058002cdd4a278b965 26-Apr-2012 Andreas Huber <andih@google.com> NuMediaExtractor API to unselect tracks and finer control over seeking.

Change-Id: I44d5a2b01d34b771bb0ff48b12829e33314c2374
related-to-bug: 6276111
ibstagefright/NuMediaExtractor.cpp
2b095b74526cf5c9472131452600a02d8a66c32e 26-Apr-2012 James Dong <jdong@google.com> Merge "Software MPEG4/H263 video encoder is now OMX-based" into jb-dev
940335776b6d4eb91b13c4e56bc20bed3ac0011b 26-Apr-2012 Dave Burke <daveburke@google.com> Handle reconfiguration properly.

Bug 6388957.

Change-Id: I61a86ed6fdad99497535249acda5e4a325911918
ibstagefright/codecs/aacdec/SoftAAC2.cpp
aeb8fd460ed87d032b3fb8bb61e21eb542ce0f5b 19-Apr-2012 Dave Burke <daveburke@google.com> Add Fraunhofer AAC encoder with AAC-ELD support.

Change-Id: I6cd499d257d72f50a5b508bed97796a591a51506
ibmedia/MediaProfiles.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AACWriter.cpp
ibstagefright/ACodec.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/aacenc/SoftAACEncoder2.cpp
ibstagefright/codecs/aacenc/SoftAACEncoder2.h
c4ddeeb06a9defc359e99d1ce20882e1d688d1b3 21-Apr-2012 Insun Kang <insun@google.com> Bug fix : enqueue one next subtitle for each subtitle.

o Do not enqueue another subtitle when notifying a null message.
related-to-bug: 6401574

Change-Id: I366e643ffa1601c11a12e46fcf7c00a469c77448
ibstagefright/timedtext/TimedTextPlayer.cpp
e0fa467e1150c65a7b1b1ed904c579b40f97c9df 24-Apr-2012 Glenn Kasten <gkasten@google.com> Move frame count calculations for fast tracks

For fast tracks: move the default and minimum frame count calculations
from client to server. If accepted, the default and minimum frame count
is the fast mixer (HAL) frame count. If denied, the default and minimum
frame count is the same as it currently is for normal tracks.

For normal tracks: there is no change yet, preserve legacy behavior for
now but add a FIXME to change this later.

Bug fix: the test for buffer alignment matches channelCount was wrong.

Bug fix: check for 8-bit data in shared memory, which isn't supported.

Optimizations:
- in set(), only call AudioSystem::getOutputSamplingRate() when needed
- in createTrack_l(), only call AudioSystem::getSamplingRate() and
AudioSystem::getFrameCount() when needed

Change-Id: I79d2fe507db1a8f7bb094c71da8a129951dbb82f
ibmedia/AudioTrack.cpp
1700744ae0ce2fcf722816453ae0af2cd5646458 24-Apr-2012 James Dong <jdong@google.com> Software MPEG4/H263 video encoder is now OMX-based

o related-to-bug: 6401068

Change-Id: If8eccea060f38e42ad31eb6e91aaa832e67c5559
ibstagefright/codecs/m4v_h263/enc/Android.mk
ibstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.cpp
ibstagefright/codecs/m4v_h263/enc/SoftMPEG4Encoder.h
ibstagefright/omx/SoftOMXPlugin.cpp
e370bb62b89d2f2980f519392010ea08a24c558e 25-Apr-2012 Andreas Huber <andih@google.com> Bump up the max number of items in an AMessage, remove overly stringent

CHECK() limiting us to just audio/* or video/* tracks.

related-to-bug: 6399405
Change-Id: I9bdaf7e709665ecc22da8839c8b16c081dbf4535
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibstagefright/NuMediaExtractor.cpp
e4f70a7ea72c2a9fca60e6b64a258604e9333580 25-Apr-2012 James Dong <jdong@google.com> Merge "Software AVC encoder is now OMX-based"
c1d8115e8a0bdaeb2b723d395b9a85a02c90c933 24-Apr-2012 Andreas Huber <andih@google.com> Make sure OMXCodec and ACodec both accept more than 2 channels of audio

and fill in the OMX channel mask properly.

Change-Id: I915950a0b252142b9eb3277cf7c6e0d9f5875305
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
5c61b361d1c55a93a215cfb2c325b4987f57f1c5 29-Mar-2012 James Dong <jdong@google.com> Software AVC encoder is now OMX-based

o related-to-bug: 6383440

Change-Id: I0b1ae50a704b0979857ea447585eabe86602149a
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/avc/enc/SoftAVCEncoder.cpp
ibstagefright/codecs/avc/enc/SoftAVCEncoder.h
ibstagefright/omx/SoftOMXPlugin.cpp
a636433cbd09c0708b85f337ef45c0cdef3bcb4d 19-Apr-2012 Glenn Kasten <gkasten@google.com> Use C APIs instead of C++ APIs for policy

The C++ APIs are going away.

Note: we use tid == 0 which is not supported yet by the C APIs,
do not submit this until that is added.

Change-Id: I0e90789e6c81c69f2544e899c52421ea5d1342be
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
9adb12830ac2da72c91b842d24725ced6d236b16 24-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Downmix support for 5.1 and quad with side channels"
db46b48d24e03f5bcb8de6d0ff852ec4153401e7 23-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Downmix support for 5.1 and quad with side channels

In DOWNMIX_TYPE_FOLD mode, add support for variants of quad and
5.1 channel masks where the "side" channels are used instead of
the "back" channels. These variants have the same channel order,
so they can share the same downmix function.

Change-Id: I5f9cb7cb120927189de680c2a968d6136dc1fc43
ibeffects/downmix/EffectDownmix.c
adb6e8dc714f38e261b1593efa4eb17bac5e1678 23-Apr-2012 Glenn Kasten <gkasten@google.com> Merge "Fix regression in AudioTrack::pause()"
ca8b28013c0558a4a3323a1a0f58520277200086 23-Apr-2012 Glenn Kasten <gkasten@google.com> Fix regression in AudioTrack::pause()

Bug: 6379646
Change-Id: I12b53bc4118499ddc73a53a981f3f56328140868
ibmedia/AudioTrack.cpp
36513e357dfc6c53898d4b4f768c9fd4822f4653 23-Apr-2012 Andreas Huber <andih@google.com> Merge "Make sure NuMediaExtractor is thread safe."
dc7431e70b4b030b5f42d0dfc3ef244d4f583dd2 23-Apr-2012 Andreas Huber <andih@google.com> Make sure NuMediaExtractor is thread safe.

Change-Id: If261c4d87d5569a0d7cfd75afe311803a6ce0109
ibstagefright/NuMediaExtractor.cpp
1d685d767a5dd1003eb62f6ad1a26b39645a474f 23-Apr-2012 Glenn Kasten <gkasten@google.com> Fix ToneGenerator regression

Bug: 6378847
Change-Id: Ib3324c7a5951ac95f99993bfae27ea02bfda08ff
ibmedia/ToneGenerator.cpp
0818e739bdbcf16f6dfb21d507002ceaaf664ee4 23-Apr-2012 Andreas Huber <andih@google.com> Merge "Make sure we restore our input buffer to its original state if we want to revisit it."
3acbd053c842e76e1a40fc8a0bf62de87eebf00f 28-Feb-2012 Glenn Kasten <gkasten@google.com> Configure policy of mediaserver threads

Change-Id: Ifd825590ba36996064a458f64453a94b84722cb0
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
f853499c6a088ef8506cacbb3ccdffa87e0cec3e 21-Apr-2012 Eric Laurent <elaurent@google.com> Merge "Add support for deep audio buffers"
6b7b8227cc8753fde4094ca8af2d381c2740826f 21-Apr-2012 Andreas Huber <andih@google.com> Make sure we restore our input buffer to its original state if we want to revisit it.

Change-Id: Iab62562c4dea13520751c37c9448c0b19c82d739
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacdec/SoftAAC2.cpp
1948eb3ea6eee336e8cdab9b0c693f93f5f19993 14-Apr-2012 Eric Laurent <elaurent@google.com> Add support for deep audio buffers

Allow AudioSink to use deep audio buffering when the
source is audio only and its duration is more than
a certain threshold.
This helps improve battery life but implies higher
audio latency.

Change-Id: Ie79915b61c370292f05aabda9779356570e03cbb
ibmedia/AudioTrack.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
a53d87c7b1428fe02f535c31dafd64cb1362fde9 20-Apr-2012 Andreas Huber <andih@google.com> Add the ability to query the amount of cached data to NuMediaExtractor.

Change-Id: I0966270a2bd36698330beaa03f47d02fc6a40c44
related-to-bug: 6364341
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuMediaExtractor.cpp
ibstagefright/include/NuCachedSource2.h
8d6086781c79620ce6133df7bd27f0efdee6b4e6 19-Apr-2012 Andreas Huber <andih@google.com> Merge "Allow propagation of error information and description from the CryptoPlugin to"
5b8987e7de9d04b09153f329c680d2316cdb44ec 19-Apr-2012 Andreas Huber <andih@google.com> Allow propagation of error information and description from the CryptoPlugin to

the higher layers.

Change-Id: I9f434ad55cdf575803c208bedf47b607baff2330
related-to-bug: 6365261
ibmedia/ICrypto.cpp
ibmediaplayerservice/Crypto.cpp
ibmediaplayerservice/Crypto.h
ibstagefright/MediaCodec.cpp
1345ef0f49f83f37953e6d30616611a92294144a 19-Apr-2012 Dave Burke <daveburke@google.com> Merge "Revert "Temporary revert of new AAC codec to fix build""
eee7f9dd0d3410877dd58a14c4b80aacbeb32d72 19-Apr-2012 James Dong <jdong@google.com> Merge "Make timed text source type explicit in TimedTextDriver"
05cd06e19f968c7320e8e85fc7122125f284741c 19-Apr-2012 Dave Burke <daveburke@google.com> Revert "Temporary revert of new AAC codec to fix build"

This reverts commit f356cc9c9995ba292bf116f1cb28a6caa1b65fd2.
ibstagefright/codecs/aacdec/Android.mk
fd9e14bc28f377065e43ec6833d754ca151b3941 19-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Turn off debug in downmix effect"
2d359a85ef5b72f1cb47df227b44fe4f3c5fbd60 19-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Add support for scaling mode parameter"
324c81a9f45614cb1d924ba0bcecddc120b2d69f 19-Apr-2012 Dave Burke <daveburke@google.com> Merge "Temporary revert of new AAC codec to fix build"
a43af9853f4dfdea03c01037f1c73cf29441f89b 19-Apr-2012 Wu-cheng Li <wuchengli@google.com> Merge "Remove new camera connect API."
f356cc9c9995ba292bf116f1cb28a6caa1b65fd2 19-Apr-2012 Dave Burke <daveburke@google.com> Temporary revert of new AAC codec to fix build

Change-Id: I5c7f0360883fc68e313d10b1aa5dac1463fae7fb
ibstagefright/codecs/aacdec/Android.mk
c2dabeb11d625fadfd923e6461405f5fbf383320 19-Apr-2012 Dave Burke <daveburke@google.com> Merge "Make AAC 5.1 work Fix bug with pausing audio"
08ad5efcef90e24db2863c0f85972ed05fe848a2 18-Apr-2012 Wu-cheng Li <wuchengli@google.com> Remove new camera connect API.

Applications are not resumed under the lock screen now.
This API is not needed anymore.

bug:5584464
Change-Id: I115daf6b647348617ec0fc05b626878c945b9b29
ibstagefright/CameraSource.cpp
f28c8792f64e10c3c477d86bf4804a8566ff524e 19-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Turn off debug in downmix effect

Change-Id: I4eda43166d23b3297cf769056a6db720401799aa
ibeffects/downmix/EffectDownmix.c
3476de62fb10e76412452ef4c6bd71936c9f7db1 16-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Add support for scaling mode parameter

Support VISUALIZER_PARAM__SCALING_MODE parameter.

Modify process() function to use new volume scaling parameter,
used to set whether captured values are maximized by current
headroom in the buffer (default existing behaviora) or left
as is and thus affected by volume.

Modify AudioEffect to allow subclasses to override the following
events: control status changed, enable status changed, command
executed.
In Visualizer class (a subclass of AudioEffect), reset the
scaling mode and capture size on the actual effect
as cached when control is regained.
This will allow the effect to be properly
configured whenever Visualizers with different scaling
modes or capture sizes are released (e.g. from java
release() method).

Change-Id: I05cb9f925a296dceca91bafa9fe294ef2b2c2bd5
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/Visualizer.cpp
692ac36c4b6a09fed5113a4f45f00a041665a769 19-Apr-2012 James Dong <jdong@google.com> Make timed text source type explicit in TimedTextDriver

o related-to-bug: 5542712

Change-Id: Ifdc730e616336e8b16783e8a5766f27df62a0592
ibstagefright/timedtext/TimedTextDriver.cpp
0ca3cf94c0dfc173ad7886ae162c4b67067539f6 18-Apr-2012 Eric Laurent <elaurent@google.com> rename audio policy output flags

Change-Id: I27c46bd1d1b2b5f96b87af7d05b951fef18a1312
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioPolicyService.cpp
ibmedia/JetPlayer.cpp
ibmedia/SoundPool.cpp
ibmedia/ToneGenerator.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AudioPlayer.cpp
ee685f6d19a6cc3b0bf02e69eb5dea11a2aeb601 18-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Set gralloc consumer usage bits in SurfaceMediaSource."
c34ee0429c4663a97f6a5c342633eeac46de081e 18-Apr-2012 Andreas Huber <andih@google.com> Merge "Some refactoring and cleanup of now obsolete crypto fields."
f69e53033f23f9f70fcdb28a3c2e650de0147459 18-Apr-2012 Andreas Huber <andih@google.com> Some refactoring and cleanup of now obsolete crypto fields.

codec commandline tool no longer supports decryption.

Change-Id: I7b10be6524631b20ac5d361d47949b00addf4a93
ibstagefright/NuMediaExtractor.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
13692a5d885405701a8a9b16af98a2e693085216 18-Apr-2012 Eddy Talvala <etalvala@google.com> Merge "Fixed leaks in SurfaceMediaSource_test"
52bef17f5953cd07b1655a3371d833f4de01caae 18-Apr-2012 James Dong <jdong@google.com> Merge "Fix for multiple audio/timed track feature implementation - part one"
095c2da8d6c2058b02142c940f6e6346d6581780 13-Apr-2012 Dave Burke <daveburke@google.com> Make AAC 5.1 work
Fix bug with pausing audio

Change-Id: Icd6b095dac8d1a68b027de853d11ae02cc070b10
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/aacdec/SoftAAC2.h
4835705370584f6904c80afebcc6e8b9fdb110a5 18-Apr-2012 Andreas Huber <andih@google.com> NuMediaExtractor accidentally returned what looked like errors to the caller...

Change-Id: Iec0c62ba98c8a8afc5cb423a76b8f53778aeb867
related-to-bug: 6276111
ibstagefright/NuMediaExtractor.cpp
183058b1515e276a03d5aae28c7814f367a7b330 17-Apr-2012 Andreas Huber <andih@google.com> Merge "Support widevine:// URLs in NuMediaExtractor / java MediaExtractor."
1608735ef488ecd8c3c012a3b0d4b1d4ef3d93c7 13-Apr-2012 Andreas Huber <andih@google.com> Support widevine:// URLs in NuMediaExtractor / java MediaExtractor.

Allow anyone to talk to drm services.

Change-Id: I5c2f3c419d01de30c3d6e2bc85b1fe5c9c37b392
related-to-bug: 6276111
ibmediaplayerservice/Crypto.cpp
ibstagefright/DataSource.cpp
ibstagefright/NuMediaExtractor.cpp
ibstagefright/WVMExtractor.cpp
eee482b84bb456e87fa42e8ad02fd2d803839586 17-Apr-2012 Glenn Kasten <gkasten@google.com> Merge "ToneGenerator requests fast track"
9d06df4ecfe39e7e46873f7cd75a71e32a01d4f7 17-Apr-2012 Daniel Lam <dalam@google.com> Fixed leaks in SurfaceMediaSource_test

mEglSurface was being reused which resulted in
EGLSurfaces being lost.

Change-Id: Ica07cd24b0e4f3d4b2156f55b7de8e83d5466136
ibstagefright/tests/SurfaceMediaSource_test.cpp
2120fe5bd4e14b53d8bef4a220e8a32830cf8cf9 11-Apr-2012 Glenn Kasten <gkasten@google.com> ToneGenerator requests fast track

Also add comments to AudioTrack::set() parameter list

Change-Id: I28c76e9d813778d86b15d75cf7f01a17c258b6d9
ibmedia/ToneGenerator.cpp
99a80e10f2d0e88c0509a298bdd1df0308b55a7b 16-Apr-2012 Glenn Kasten <gkasten@google.com> Merge "Order of evaluation of parameters is not specified"
8add6cf4976de9b7bca7b73b1473a1e5f7201087 14-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Set gralloc consumer usage bits in SurfaceMediaSource.

BufferQueue is no longer setting these for its endpoints; set the bits
to GRALLOC_USAGE_HW_VIDEO_ENCODER | GRALLOC_USAGE_HW_TEXTURE. In the
longer term, the set flags should be just
GRALLOC_USAGE_HW_VIDEO_ENCODER, but that requires other changes.

Change-Id: I4170658de49bf88d829d34605a15684e72a90706
ibstagefright/SurfaceMediaSource.cpp
77d837ae86c791c46ce019b58e09ac62780bf973 16-Apr-2012 Glenn Kasten <gkasten@google.com> Order of evaluation of parameters is not specified

Change-Id: Id545e54c2ec8ed2f70ede630542ed999a9b2c5e2
ibmedia/IAudioRecord.cpp
eec46abb88dcc50621fd2d3f17a6b8d24fd07a19 12-Apr-2012 James Dong <jdong@google.com> Fix for multiple audio/timed track feature implementation - part one

o getTrackInfo now returns all tracks, rather than just the timed text tracks.
o the index of the track info is kept to the same as the track index if the
track is not from an external source
o correctly maps the selectTrack() and unselectTrack() calls to the right
track index

o TODO:
1) note that the selectTrack() and unselectTrack() only works for timed text
track at present; 2) the lock is timed text specific

o related-to-bug: 6110705

Change-Id: Ib1feeef2184bc992930ace0d1197b6c00a2636d7
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/timedtext/TimedTextDriver.cpp
a98db787397633155fd71b06ecaa765a7ad20cf2 16-Apr-2012 Andreas Huber <andih@google.com> Merge "Change NuMediaExtractor's API to support different kinds of data sources."
fbe308d428e42fe249ec317f76e3d11feb3264d5 14-Apr-2012 Marco Nelissen <marcone@google.com> Merge "Make mediascanner use filedescriptors instead of paths"
25736fd247ba757feefe15d3071f7e747c64fea4 27-Mar-2012 Insun Kang <insun@google.com> To return default track info even if there's no metadata for a
subtitle track.

It would rather return empty data than return NULL data for an existing track.

Change-Id: Ie0c18e6851bfbe2c471041589670a3012605b584
ibstagefright/timedtext/TimedTextDriver.cpp
db9b87e30a2ffe71554150e33066738ab134bc3c 13-Apr-2012 James Dong <jdong@google.com> Merge "Add external timed text source using a passed file descriptor"
a28976b04c70cef3c8e79137478b6a7bc05608ac 13-Apr-2012 Marco Nelissen <marcone@google.com> Make mediascanner use filedescriptors instead of paths

Media scanner needs to open the files now, because media server doesn't
have the required permission.

b/6330061

Change-Id: I2364d93dcc0530c15676664fc4a8c306351dde08
ibstagefright/StagefrightMediaScanner.cpp
613c8ae1b7a2b4f43b33a72dc2fff0bc8b7d4c6f 13-Apr-2012 James Dong <jdong@google.com> Add external timed text source using a passed file descriptor

o Also fixed a minor issue where the file length should be of type off64_t rather than size_t

o related-to-bug: 5542712

Change-Id: I35fd8ceea0bc75e553b7f4a99932cf58ea560c4e
ibstagefright/AwesomePlayer.cpp
ibstagefright/timedtext/TimedTextDriver.cpp
918c7652b9a38c02e26c0c46541cea82070c0e43 13-Apr-2012 Andreas Huber <andih@google.com> Change NuMediaExtractor's API to support different kinds of data sources.

Change-Id: I080aa2ce28300a72a85751509334dbdc491936c6
related-to-bug: 6276111
ibstagefright/DataSource.cpp
ibstagefright/NuMediaExtractor.cpp
b34364269683363ca54aeed4952937cf37da7e06 12-Apr-2012 Andreas Huber <andih@google.com> Merge "Make it possible to pass empty opaque data as (NULL, 0) to ICrypto."
1fe40b374fc13c477d42b3fc59f3d21f1e552aea 12-Apr-2012 Dave Burke <daveburke@google.com> Merge "Add support for a new AAC decoder library."
705868c0f2a6e85a39addefe4db9f2130627c219 12-Apr-2012 Andreas Huber <andih@google.com> Make it possible to pass empty opaque data as (NULL, 0) to ICrypto.

Change-Id: Ifee1744890b645e008c9aff3783625a7bfbcff27
related-to-bug: 6275919
ibmedia/ICrypto.cpp
e5becb51c64cb8a3f6bbd8a417f54510567f37dd 11-Apr-2012 Andreas Huber <andih@google.com> Merge "Changes to add support for H263-1999/2000 formats for streaming"
9b8ae38ac8c5384d178bfe3f61907f973b98c740 11-Apr-2012 Andreas Huber <andih@google.com> Merge "Better error logging during meta data retrieval. Fixed the stagefright"
f4b7d94062c896dca565d849c6188cd3489be257 11-Apr-2012 Andreas Huber <andih@google.com> Better error logging during meta data retrieval. Fixed the stagefright

commandline tool to open the file to extract thumbnails from itself since
mediaserver may not have permission to open files.

Change-Id: Iabe16b3248e9bb0f266b0866a8d2ccba2ab7d2a8
related-to-bug: 6321237
ibstagefright/FileSource.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
b92dee530c72c3e22f2fee585e0cc53ae9c02f2e 11-Apr-2012 Eric Laurent <elaurent@google.com> Merge "audio pre processing: test code for dual mic"
3f9c84c0a5af83fceb8669390e2d71b75ec7b550 04-Apr-2012 Eric Laurent <elaurent@google.com> audio pre processing: test code for dual mic

Added functional test code to validate effect API for
multi mic simplementations.

Also fixed warning in AudioFlinger.

Change-Id: I07be4d2e4d17791d3626c804ba3e9f87ff26d05a
ibeffects/preprocessing/PreProcessing.cpp
f95439afa8eb2484969d4a928b0fdd6a4d3a38d7 11-Apr-2012 Andreas Huber <andih@google.com> Changes to add support for H263-1999/2000 formats for streaming

contributed by sureshc@nvidia.com (and subsequently simplified)

Change-Id: Ia1c2ac9233f5414ce3e4a70e42e68c1c5c35eb9d
ibstagefright/rtsp/AH263Assembler.cpp
b3eb2b7e0ad11bc03344e10cc5204bdb71f0686e 11-Apr-2012 Andreas Huber <andih@google.com> Merge "Cache the file size in favour of extraneous seek requests."
4ee31e2603b4019e4ae76e027115f80b818527aa 11-Apr-2012 Andreas Huber <andih@google.com> Cache the file size in favour of extraneous seek requests.

Change-Id: Ia922b13179c69749d09cd3fccbd5c30109c28bd7
related-to-bug: 6321952
ibstagefright/FileSource.cpp
2d531e1b5865d61d5ca25d77d53017b1ad180efa 11-Apr-2012 Mathias Agopian <mathias@google.com> Merge "Refactored SurfaceMediaSource"
bdddc659a941afdb7f4958f582c6901c07246097 31-Mar-2012 Daniel Lam <dalam@google.com> Refactored SurfaceMediaSource

SurfaceMediaSource takes advantage of BufferQueue to avoid
duplicated code.

Change-Id: I5e60b8eca21e6c3cf728d363cd8f3786125182d1
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
7d5b26230a179cd7bcc01f6578cd80d8c15a92a5 05-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> AudioMixer uses downmix effect for multichannel content

In the AudioMixer structure associated with each track, add an object
that acts as the buffer provider when the track has more than two
channels of input in the mixer. This object, DownmixerBufferProvider,
gets audio from the actual buffer provider of the track, and applies
a downmix effect on it.
The downmix effect is created and configured when the track gets
created in AudioFlinger, which causes AudioMixer::getTrackName()
to be called with the new track's channel mask. It is released
when the track is disabled in the mixer.

Change-Id: I05281ed5f61bef663a8af7ca7d5ceac3517c82db
ibeffects/data/audio_effects.conf
ibeffects/downmix/EffectDownmix.c
4b75a9c8b93a90749bc5d22912ad0d96c12f4ecf 06-Apr-2012 Andreas Huber <andih@google.com> New API to support submitting encrypted buffers to the decoder.

Change-Id: I69dd60e43078c4211c6123cf6e0ce90e676bf873
related-to-bug: 6275919
ibmedia/ICrypto.cpp
ibstagefright/MediaCodec.cpp
8d0648eff7a9a7bc7cd6318ba5fc96c759bef978 05-Apr-2012 Andreas Huber <andih@google.com> Merge "Trust the Cues element"
5faee0829f673f6147636820eafae2c0fa238c77 05-Apr-2012 Andreas Huber <andih@google.com> Merge "Fix a bug: WOULD_BLOCK handling in TimedTextPlayer."
f02a7f5c42db707d20e59ff28f32d1eaebcc5429 05-Apr-2012 Johann <johannkoenig@google.com> Trust the Cues element

With the Cue based seeking we will get the closest previous key frame.
For audio, use the Cue file to find the Cluster with the video key frame
then incrementally look for the audio Block.

Change-Id: Idc934cca1286b1bb48ee7577b27903ca488a0610
ibstagefright/matroska/MatroskaExtractor.cpp
4762a5164a986bd6a7ca0e7aba43881b64f146dd 04-Apr-2012 Marco Nelissen <marcone@google.com> Send video width and height to mediascanner

b/5820120

Change-Id: Ia5c48eb1ab15fe3bbe773131148470a06eb2b96d
ibstagefright/StagefrightMediaScanner.cpp
99448608f375a7191c068c3bfd296f204b58a219 02-Apr-2012 Marco Nelissen <marcone@google.com> Allow AudioTrack to start at nonzero position

When creating a new AudioTrack (not inheriting one from a previous play),
the AudioSink should take the AudioTrack's position as the initial starting
point for mBytesWritten, since otherwise NuPlayer's calculations will be off.
Normally this position will be 0, but if the test code for 32 bit wraparound
in AudioFlinger.cpp is enabled, it might be (much) larger.

Change-Id: I1e4f906d529861c3dea996de8afc6dbd491589af
ibmediaplayerservice/MediaPlayerService.cpp
a4c5a550e2a3bc237179b8684e51718e05894492 29-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: load audio hw modules.

Audio HW modules are now loaded upon request from audio policy manager
according to the configuration in audio_policy.conf.
Removed hard coded HW module loading by AudioFlinger at init time.
Added methods to IAudioFlinger and AudioPolicyInterface
to control the loading of audio HW modules.
Added methods to open an output or input stream on a specific hw module.

Change-Id: I361b294ece1a9b56b2fb39cc64259dbb73b804f4
ibmedia/IAudioFlinger.cpp
4e1c91dd07fad96ee2387eda510c6da45e5dff0a 27-Mar-2012 Insun Kang <insun@google.com> Fix a bug: WOULD_BLOCK handling in TimedTextPlayer.

Bug: 6234756

Change-Id: I0fae6e5ad8607d472faad7dd680e020f20ac1669
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
1a9ed11a472493cac7f6dfcbfac2064526a493ed 21-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: add configuration file

removed outputs to stream mapping cache in audio system: the output for a
given stream type must always be queried from audio policy manager as the cache
is not always updated fast enough by audioflinger callback.

removed AudioFlinger::PlaybackThread::setStreamValid() not used anymore if
stream to output mapping is not cached.

Change-Id: Ieca720c0b292181f81247259c8a44359bc74c66b
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
290ca3a767a974ce9d041e5bcb0c69153f7851d5 03-Apr-2012 Andreas Huber <andih@google.com> Merge "fix crash with cues at the beginning of the file"
1bd139a2a68690e80398b70b27ca59550fea0e65 03-Apr-2012 Andreas Huber <andih@google.com> New Crypto services talking to the new crypto "HAL".

Change-Id: I69ed31e7a8b4d69d1209d2d516f94d258f072566
related-to-bug: 6275919
ibmedia/ICrypto.cpp
ibmediaplayerservice/Crypto.cpp
ibmediaplayerservice/Crypto.h
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/MediaCodec.cpp
be7ac3d682729048af27871311808a76c618abdb 03-Apr-2012 Johann <johannkoenig@google.com> fix crash with cues at the beginning of the file

previous implementation tried to be clever about economizing Cue loads.
however, files with the cues at the beginning missed the initial load in
the seek function and would crash with a null pointer.

Change-Id: I49c15d6688909cd13afabf33a54d9f5896aab7cd
ibstagefright/matroska/MatroskaExtractor.cpp
d22da88fd555f1262357c7dcdeface8445e3a012 03-Apr-2012 Andreas Huber <andih@google.com> Merge "Use Cues to seek Matroska files"
4a446bd090efb36ce06ae8966d42357fd5472715 03-Apr-2012 Andreas Huber <andih@google.com> Merge "Add a few more APIs to MediaCodecList."
b7ddcc9460f488f0b032aeb27b52a423318a97ea 02-Apr-2012 Dave Burke <daveburke@google.com> Add support for a new AAC decoder library.

Change-Id: I867bf95f7c20503e55b38d0087ac027647834f37
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacdec/SoftAAC2.cpp
ibstagefright/codecs/aacdec/SoftAAC2.h
69829f3bd09ee4e6be49fee8795c5df24c4da70e 30-Mar-2012 Andreas Huber <andih@google.com> Add a few more APIs to MediaCodecList.

Change-Id: I5ac193cd40c82bbcd87c1e55003b78102e8d4674
ibstagefright/MediaCodecList.cpp
ibstagefright/OMXCodec.cpp
10f0fe7bcd60bdb0eceb905e84ac11555e8c1b9d 30-Mar-2012 Johann <johannkoenig@google.com> Use Cues to seek Matroska files

On the first seek, load the Cues element. Parse it incrementally until
the desired seek point can be located.

This allows files to begin playing immediately. However, the Browser
still seeks to 0 before playing embedded YouTube files. Because YouTube
stores the cues at the end of the file, this causes it to seek, load the
cues, then begin playing. It is still better than the previous behavior
which blocked until the entire file was loaded.

BUG=5921311

Change-Id: Iad2abc64ded3b4e2c2d2c478a969f68450754282
ibstagefright/matroska/MatroskaExtractor.cpp
2d6486f9112a6f0d23f17eaaad94bac62e16caab 02-Apr-2012 Glenn Kasten <gkasten@google.com> Merge "Update AudioParameter"
dca856f5cb849b8feab2d24f3248f25d887211ee 02-Apr-2012 Glenn Kasten <gkasten@google.com> Merge "AudioTrack client fast policy"
4110c101c3d0dd8dbc44c8d2d0edd3e2e7d6652f 29-Mar-2012 Marco Nelissen <marcone@google.com> Add gapless playback support for NuPlayer

This makes NuPlayer use a SkipCutBuffer when needed, and adds a new
AudioSink method to retrieve the number of frames written so far, so
NuPlayerRenderer can calculate how much data it can write without blocking.
Also make some more methods const.

Change-Id: Id7d253ad8a7b85e9a84ca2baafbe32817b16c744
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
4a4a0959bca78e03e3c3f486ba17829c28314d8c 19-Mar-2012 Glenn Kasten <gkasten@google.com> AudioTrack client fast policy

Change-Id: I42ce691df3f586ac061b62237f35a263a0116f1f
ibmedia/AudioTrack.cpp
edf47a8cba2d1d8985b64bf4a4fac661ba34f35a 01-Apr-2012 Glenn Kasten <gkasten@google.com> Update AudioParameter

Use definitions for AUDIO_PARAMETER_STREAM_* from <hardware/audio.h>
instead of repeating these constants.

String constants are const char * const.

Change-Id: I1c9ebe0bc9c827d719d3181aea55251c6db28ec4
ibmedia/AudioParameter.cpp
a1472d9883e35edd280201c8be3191695007dfd4 30-Mar-2012 Marco Nelissen <marcone@google.com> Make AudioTrack/AudioRecord handle more than 2^32 frames

b/6160363
Change-Id: I471815012c6a113ec2c4dd7676e8fa288a70bc76
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
40a1da57d21bbc883630e7a854a279685fe1fa61 31-Mar-2012 Eric Laurent <elaurent@google.com> Merge "implemented synchronous audio capture"
a011e35b22f95f558d81dc9c94b68b1465c4661d 30-Mar-2012 Eric Laurent <elaurent@google.com> implemented synchronous audio capture

Added the infrastructure to support the synchronization of playback and
capture actions on specific events.
The first requirement for this feature is to synchronize the audio capture
start with the full rendering of a given audio content.
The applications can further be extended to other use cases
(synchronized playback start...) by adding new synchronization events and
new synchronous control methods on player or recorders.

Also added a method to query the audio session from a ToneGenerator.

Change-Id: I51f1167290d9cafdf2fbcdf9e4785156973af44c
ibmedia/AudioRecord.cpp
ibmedia/IAudioRecord.cpp
df7e6ea0c755fb95a77d21010105e3a2eac69ff8 30-Mar-2012 Mathias Agopian <mathias@google.com> reduce IPCs in BufferQueue

Change-Id: I1f8c32a771a411476d225adc62d1f07c24f39a3e
ibstagefright/SurfaceMediaSource.cpp
ecdd39c5af016e2fa57cbfd837aa670b706dabd3 29-Mar-2012 Andreas Huber <andih@google.com> Implementation of a raw audio "decoder".

Change-Id: Ie89f01e59dd8106883937188afbb407550f0ac92
ibstagefright/ACodec.cpp
ibstagefright/MediaCodecList.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/raw/Android.mk
ibstagefright/codecs/raw/SoftRaw.cpp
ibstagefright/codecs/raw/SoftRaw.h
ibstagefright/omx/SoftOMXPlugin.cpp
cb5b766bb0a3ed992998a5bd66de0ee1d2223b81 29-Mar-2012 Marco Nelissen <marcone@google.com> Add ABuffer support to SkipCutBuffer

Add support for ABuffer to SkipCutBuffer, and make it (re)allocate an
appropriately sized buffer when needed, rather then relying on the
caller to tell it ahead of time how big the buffers are going to be.

Change-Id: I8b5c9ba5dd2fc13ef8870b7d4fe93a1bfdc7a626
ibstagefright/OMXCodec.cpp
ibstagefright/SkipCutBuffer.cpp
559bf2836f5da25b75bfb229fec0d20d540ee426 28-Mar-2012 James Dong <jdong@google.com> AV Android make files changes

o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc
o remove some runtime dependencies to libandroid, libandroid_runtime, etc

Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
ibaah_rtp/Android.mk
ibmedia/SoundPool.cpp
ibmedia/SoundPool.h
ibmedia/SoundPoolThread.h
ibmediaplayerservice/ActivityManager.cpp
ibmediaplayerservice/ActivityManager.h
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/nuplayer/Android.mk
ibstagefright/Android.mk
ibstagefright/chromium_http/Android.mk
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/amrnb/enc/Android.mk
ibstagefright/codecs/amrwb/Android.mk
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/g711/dec/Android.mk
ibstagefright/codecs/m4v_h263/dec/Android.mk
ibstagefright/codecs/m4v_h263/enc/Android.mk
ibstagefright/codecs/mp3dec/Android.mk
ibstagefright/codecs/on2/dec/Android.mk
ibstagefright/codecs/on2/h264dec/Android.mk
ibstagefright/codecs/vorbis/dec/Android.mk
ibstagefright/foundation/Android.mk
ibstagefright/httplive/Android.mk
ibstagefright/mpeg2ts/Android.mk
ibstagefright/omx/Android.mk
ibstagefright/omx/tests/Android.mk
ibstagefright/rtsp/Android.mk
ibstagefright/tests/Android.mk
ibstagefright/timedtext/Android.mk
ediaserver/Android.mk
4116807a35a27abf635bf6199ed9ad8703c9e94d 24-Mar-2012 Colin Cross <ccross@android.com> stagefright: compile without chromium for pdk builds

Change-Id: I7d85e04fb9f0caa8460a111ca6181bba6f6497ac
ibstagefright/Android.mk
ibstagefright/chromium_http/Android.mk
15147270aa1c56503902b424f946389294875665 26-Mar-2012 Andreas Huber <andih@google.com> Merge "Provisional support for secure decryption of media streams."
b14f18245d64b38aae1c02db79b2ad516d69891c 26-Mar-2012 James Dong <jdong@google.com> Merge "Removed code related to simulator build in TimedEventQueue to get rid of the dependency on jni.h"
48a98a55465764f377bd612a4883d6e01d95965b 26-Mar-2012 Eric Laurent <elaurent@google.com> Merge "fix visualizer inactivity detection"
ed3e3e046840d5bf1ca84a8c0cc097425e89d6d6 26-Mar-2012 Andreas Huber <andih@google.com> Provisional support for secure decryption of media streams.

Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
ibmedia/Android.mk
ibmedia/ICrypto.cpp
ibmedia/IMediaPlayerService.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/Crypto.cpp
ibmediaplayerservice/Crypto.h
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibstagefright/ACodec.cpp
ibstagefright/MediaCodec.cpp
ibstagefright/NuMediaExtractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacdec/SoftAAC.h
ibstagefright/foundation/AString.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
131c36ef343a604e9aee10c830ebe9c55a743379 26-Mar-2012 Eric Laurent <elaurent@google.com> Merge "reorganize SoundPool and JetPlayer code."
1f08900408927bd2b3bef59aaa15ab68ec765c06 26-Mar-2012 Colin Cross <ccross@android.com> Merge changes Ib4d0e0c0,Iea8f4a23

* changes:
libmedia: remove skia include
stagefright: remove dependency on skia
6eb463b1d07492bf5a89e1cd8a2a131c7bba5bfb 26-Mar-2012 James Dong <jdong@google.com> Removed code related to simulator build in TimedEventQueue to get rid of the dependency on jni.h

o related-to-bug: 6214141

Change-Id: I548d84a9888be884d3903dc9dea9235258792165
ibstagefright/TimedEventQueue.cpp
183dc7772d7eba127aab63829c7ca0359d817593 23-Mar-2012 Eric Laurent <elaurent@google.com> fix visualizer inactivity detection

Current method implemented by the visualizer to detect that audioflinger has
stopped providing audio buffers does not work if the application
reads pcm captures too fast.

The fix consist in implementing a method based on real time measurement only.
One drawback is that the new method makes use of system calls that add some
overhead to the process and capture functions.

Change-Id: I53bd596b856f1cc7f0f47e08413af3335227100b
ibeffects/visualizer/EffectVisualizer.cpp
2e66a7896c9a9da3a15fc6cff9be28b4174d8719 26-Mar-2012 Eric Laurent <elaurent@google.com> reorganize SoundPool and JetPlayer code.

Reorganize SoundPool and JetPlayer code to be ready for the
creation of libmedia_native.

Split SoundPool between libsoundpool (JNI) and libmedia(sound pool implementation).
Remove dependencies on nativehelper/jni.h from JetPlayer.

Change-Id: I130c6014173b714329929dd82c5dfb70b757a610
ibmedia/Android.mk
ibmedia/JetPlayer.cpp
ibmedia/SoundPool.cpp
ibmedia/SoundPool.h
ibmedia/SoundPoolThread.cpp
ibmedia/SoundPoolThread.h
b83d38feeeb88a8a2a6219e1fca2480b5a14fb0d 26-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "IAudioFlinger::createTrack and openRecord flags"
60d3a4160f3edb38fa6168237f3275f4d6d9e019 25-Mar-2012 Colin Cross <ccross@android.com> libmedia: remove skia include

skia is not used in this file, remove the unnecessary include.

Change-Id: Ib4d0e0c0090c6b37ff8cfb816c0d8ba82a9638a4
ibmedia/IMediaMetadataRetriever.cpp
3ee26944b082def647fe5bb2b75116ffb0267059 24-Mar-2012 James Dong <jdong@google.com> Remove JNI in LOCAL_C_INCLUDE from non-JNI related Android.mk files.

o related-to-bug: 6214141

Change-Id: Ic88d1732b3e014af47532a0809e01f6086e8464d
ibmedia/Android.mk
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
ibstagefright/chromium_http/Android.mk
ibstagefright/httplive/Android.mk
ibstagefright/matroska/Android.mk
ibstagefright/mpeg2ts/Android.mk
ibstagefright/omx/Android.mk
ibstagefright/omx/tests/Android.mk
ibstagefright/rtsp/Android.mk
ibstagefright/timedtext/Android.mk
ef36d496477d1e2ae99c3cd43eee5cf7e82b0883 23-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Revert "Split libmedia into libmedia and libmedia_native""
78b5e82f421bfdf5c1c72bd0ca2fb7f3bc1a45ff 23-Mar-2012 Glenn Kasten <gkasten@google.com> Revert "Split libmedia into libmedia and libmedia_native"

This reverts commit 0a3edd38df0743dcc7091bb7ebf29e7e7dadc7cb
ibmedia/Android.mk
ibmedia_native/Android.mk
bc8b5faec8a0a9ad7c8d94945e7b000d63f0afe6 23-Mar-2012 Andreas Huber <andih@google.com> Fix the file mimetype reported by the mpeg4 extractor.

Change-Id: I72474c17757dba5867f55b0e99e76e9e4e32ce7b
related-to-bug: 6217289
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaDefs.cpp
ab55517549170b0def3d7b625324b6a44b60d5ae 22-Mar-2012 Andreas Huber <andih@google.com> Merge "Use NuPlayer for media playback everywhere"
afed0e1fa37473a4cd30018577b560acc79d9a3f 21-Sep-2011 Andreas Huber <andih@google.com> Use NuPlayer for media playback everywhere

if media.stagefright.use-nuplayer is set to true.

Change-Id: Ibb217e7d7d5195b7feeea557554fe78e1585744c
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/nuplayer/Android.mk
ibmediaplayerservice/nuplayer/GenericSource.cpp
ibmediaplayerservice/nuplayer/GenericSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
a411f779465504ff3e1a59c8ffa43d18385852b8 22-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Remove enforceFrameCount"
a98478bfbcc0f7fb4b164d3dce40ca96df75667d 21-Mar-2012 Marco Nelissen <marcone@google.com> Support gapless playback for mp3 and m4a

Gapless playback for appropriately tagged mp3 and m4a files.
Currently this is implemented in OMXCodec, which most players
use, but should be easy to support in other players as well by
using the SkipCutBuffer utility class.

Change-Id: I748c669adc1cfbe5ee9a7dea2fad945d48882551
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/SkipCutBuffer.cpp
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/codecs/mp3dec/SoftMP3.h
898b11f2aeaaa2bed84d963a3fcfd3b229e00b99 22-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Split libmedia into libmedia and libmedia_native"
c524ffda17017d8467a237a1eddfd7e7c03c6617 21-Mar-2012 Glenn Kasten <gkasten@google.com> Split libmedia into libmedia and libmedia_native

This is still in the old location

Change-Id: Ic1be549b5b607cfd519cb4cecc581624510a4ee1
ibmedia/Android.mk
ibmedia_native/Android.mk
291f4d505aff81969e6666049d3cc3446f836af2 19-Mar-2012 Glenn Kasten <gkasten@google.com> Remove enforceFrameCount

It was only used to decide whether to issue a warning.
The warning was issued the first time track was created but
not at re-creation. Now it is a verbose message every time,
not a warning since it happens all the time with key clicks on A2DP.

Change-Id: I9d39f53c0a7eb84b666e55b1b76ff830cf8f37ba
ibmedia/AudioTrack.cpp
2f694b3ef6af235e7ba850d57538eece9f136499 21-Mar-2012 Marco Nelissen <marcone@google.com> Merge "Add MetaData::dumpToLog"
feba11fd788c99b0b63e0bce724730817688d82f 21-Mar-2012 Marco Nelissen <marcone@google.com> Add MetaData::dumpToLog

Utility method for dumping the content of a MetaData object to the log.

Change-Id: I2d91b991e1d9fed2215e8995a73c2b1854205074
ibstagefright/MetaData.cpp
4949c36978b844f65abf84027e1cf2dcf82c1184 21-Mar-2012 Marco Nelissen <marcone@google.com> Merge "Parse gapless info from mp4 files"
5d2f8ba30c24ea597d54468cda01c7ec5f6a0e66 20-Mar-2012 Marco Nelissen <marcone@google.com> Parse gapless info from mp4 files

Change-Id: I4c83d4e12e996dc29708268e68a4bb74b368c6f3
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/MPEG4Extractor.h
63c1faa8dea7feb90255d31ef2a133d8f2818844 21-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Update comments"
7153494670bdac8b650cb10b8b1838651e0ca418 21-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Whitespace"
e9ddbf9466a64e211e518efa2f2058f8bbb4d513 21-Mar-2012 James Dong <jdong@google.com> Merge "Handling end times of subtitles."
bae00e73c6d1d87cc5fd42b50f95d1d9572162ea 14-Mar-2012 Insun Kang <insun@google.com> Handling end times of subtitles.

Change-Id: Ic19ec8980d0a2bf9f265d375cd56e638a2460af8
ibstagefright/timedtext/TimedText3GPPSource.cpp
ibstagefright/timedtext/TimedText3GPPSource.h
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
ibstagefright/timedtext/TimedTextSRTSource.cpp
ibstagefright/timedtext/TimedTextSRTSource.h
ibstagefright/timedtext/TimedTextSource.h
f6e7ad1543ce19f05600d9414360c74c83e467bb 20-Mar-2012 Marco Nelissen <marcone@google.com> Merge "Move COM tag parsing to constructor"
092406a2568316bbe5ed1ec6335e6f1d128ebf8e 20-Mar-2012 Marco Nelissen <marcone@google.com> Move COM tag parsing to constructor

Change-Id: Icfcf05655ca98ccccad4f94834770c2f4098a764
ibstagefright/MP3Extractor.cpp
6da08fc33642b832d1cde2e46815a5fd67dd0016 20-Mar-2012 Marco Nelissen <marcone@google.com> Merge "Parse mp3 encoder padding/delay"
b636abde14f2612ea236257846b9ab15d87d4623 19-Mar-2012 Marco Nelissen <marcone@google.com> Parse mp3 encoder padding/delay

Get the mp3 encoder padding and delay from a XING frame or iTunSMPB tag.

Change-Id: Icde598c8857d7e7c187a718f478ee9799d6a1b8a
ibstagefright/MP3Extractor.cpp
ibstagefright/XINGSeeker.cpp
ibstagefright/id3/ID3.cpp
ibstagefright/include/ID3.h
ibstagefright/include/XINGSeeker.h
fa6494d086e697543efa3d16440647e14ea09f30 20-Mar-2012 Wu-cheng Li <wuchengli@google.com> Merge "Do not set camera preview display if the surface is null."
ea7939a079b3600cab955760839b021326f8cfc3 14-Mar-2012 Glenn Kasten <gkasten@google.com> Whitespace

Fix indentation, and add blank lines in key places for clarity

Change-Id: I57a0a8142394f83203161aa9b8aa9276abf3ed7c
ibmedia/AudioTrack.cpp
1bb8e81b066a2311fd238fc6dae8f026e33ed99e 20-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Add libmedia_native"
17a736c3e1d062d7fc916329eb32aef8935614af 14-Feb-2012 Glenn Kasten <gkasten@google.com> Update comments

Change-Id: I327663a020670d0a72ff57bd0b682e2ce0528650
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibmedia/AudioTrack.cpp
ibmedia/JetPlayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
a075db4ff9b086ac2885df77bb6da0869293df92 06-Mar-2012 Glenn Kasten <gkasten@google.com> IAudioFlinger::createTrack and openRecord flags

createTrack and openRecord don't need the "old" flags parameter,
which was either audio_policy_output_t or audio_in_acoustics_t
shifted left by 16 bits. But they do need "new" flags, which
are defined by the application use case. Initially, the only
application use case flag is timed output, but others are planned.

For output, the audio_policy_output_t flags are passed to
AudioSystem::getOutput, which returns an audio_io_handle_t, and that
handle is then passed to createTrack. So createTrack doesn't need the
old flags parameter.

For input, the audio_in_acoustics_t flags are passed to
AudioSystem::getInput, which returns an audio_io_handle_t, and that
handle is then passed to openRecord. So openRecord doesn't need the
old flags parameter.

Change-Id: I18a9870911846cca69d420c19fe6a9face2fe8c4
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
1746929ddc7592ab397c402724a61352e45df093 19-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "audio_channel_in/out_mask_from_count"
8e0792bb55a604ffcd4aa90fdb4419d8b3c6ad24 14-Mar-2012 Wu-cheng Li <wuchengli@google.com> Do not set camera preview display if the surface is null.

MediaRecorder.setPreviewDisplay() is not required if applications
use MediaRecorder.setCamera(). Besides, this causes a problem when
apps use Camera.setPreviewTexture. Camera service thinks the
surface texture from Camera.setPreviewTexture and the surface from
MediaRecorder.setPreviewDisplay are different.

bug:5988937

Change-Id: Ia345705b6679ef349db6e354feaa3cc0fe8bcd8c
ibstagefright/CameraSource.cpp
a673ba75ab58aaf380ca2420b1d63d3639cf1960 16-Mar-2012 Andreas Huber <andih@google.com> Merge "ACodec is a little more aggressive in its error checking now."
c5255ac5b1bd313dcb50159566163b24dce7483f 16-Mar-2012 Andreas Huber <andih@google.com> ACodec is a little more aggressive in its error checking now.

Update components to do the right thing.

Change-Id: Ibfbad3f53effc16368cca4a0e978d01d54d08a1d
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/amrnb/dec/SoftAMR.cpp
ibstagefright/codecs/g711/dec/SoftG711.cpp
b12153e36ae5e514d96c77d660b327d1a8f5000f 16-Mar-2012 Glenn Kasten <gkasten@google.com> Add libmedia_native

Change-Id: Ib8cff8abd73723b793f08da99ad59549f219e0e7
ibaah_rtp/Android.mk
ibmedia/Android.mk
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
6469edeeac6079b118e8f81252116c40574c9841 16-Mar-2012 Andreas Huber <andih@google.com> Merge "Remove obsolete software codec header files and amr encoders."
ded61aa958278147b5a150c189f86d025165f095 16-Mar-2012 Andreas Huber <andih@google.com> Remove obsolete software codec header files and amr encoders.

Change-Id: Ifbdf252ee312c9cb5ab29498f1e06dae8f23faf7
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrnb/enc/Android.mk
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/include/AACDecoder.h
ibstagefright/include/AMRNBDecoder.h
ibstagefright/include/AMRNBEncoder.h
ibstagefright/include/AMRWBDecoder.h
ibstagefright/include/AMRWBEncoder.h
ibstagefright/include/AVCDecoder.h
ibstagefright/include/G711Decoder.h
ibstagefright/include/M4vH263Decoder.h
ibstagefright/include/MP3Decoder.h
ibstagefright/include/VPXDecoder.h
ibstagefright/include/VorbisDecoder.h
0893d312070143e45c630d4a212df187b99a0e3e 16-Mar-2012 Marco Nelissen <marcone@google.com> Merge "Skip XING/VBRI frame when decoding"
19dd09bcab75e23afa08ded1caece433266d3c23 16-Mar-2012 Glenn Kasten <gkasten@android.com> am 97824b70: am aa1bd6de: am d8cc1421: am 42c6d163: Merge "Add empty libmedia_native in old location"

* commit '97824b706d8865b50faf2f09d0cf969bec0874e3':
Add empty libmedia_native in old location
0fce406301b24dafb98dff8f9cab3873e5398728 16-Mar-2012 Glenn Kasten <gkasten@android.com> am d8cc1421: am 42c6d163: Merge "Add empty libmedia_native in old location"

* commit 'd8cc14211a3d5597d6b5807d6c79a4631e36ba2d':
Add empty libmedia_native in old location
ce40e081de3ecb5aa1c49d98775c99975710aed2 16-Mar-2012 Andreas Huber <andih@google.com> Merge "Remove obsolete OMXComponentBase class"
cc3190bcd4bd9321a68fb726b055c45b35229ec1 16-Mar-2012 Andreas Huber <andih@google.com> Remove obsolete OMXComponentBase class

Change-Id: I701ff5a57b0ab49cc772c4f82d03b5005e54ec6f
ibstagefright/omx/Android.mk
ibstagefright/omx/OMXComponentBase.cpp
ibstagefright/omx/OMXComponentBase.h
9e50385f34676d8fcb3b473ec4c9f5c388a4c887 16-Mar-2012 Marco Nelissen <marcone@google.com> Skip XING/VBRI frame when decoding

Don't send the XING/VBRI frame to the decoder, as it will result in
extra data being output. Also clean up the XING seeker code a bit.

Change-Id: I714a94180edae9bedc1bc0c96bf382fe6f928ac6
ibstagefright/MP3Extractor.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/XINGSeeker.cpp
7c5afe93c9ca2f9f3958663bc3fa9649ec2f5331 15-Mar-2012 Insun Kang <insun@google.com> Fix a bug in MediaPlayer's addExternalSource().

Change-Id: I035cbfb7acccc7ff88d659861ece7d0f61314fda
ibstagefright/AwesomePlayer.cpp
ibstagefright/timedtext/TimedTextDriver.cpp
f281c227ee4b5732df3af8c7d4f43ab0e65cabfd 16-Mar-2012 Glenn Kasten <gkasten@android.com> am 42c6d163: Merge "Add empty libmedia_native in old location"

* commit '42c6d163aaf5170ac23a4d1e5baadddd0fb71406':
Add empty libmedia_native in old location
49f306f863b14f8bfc3b405ebfd3a2fb2b403c15 16-Mar-2012 Wu-cheng Li <wuchengli@google.com> Merge "Add a new camera open API that allows taking the ownership."
2ae5a73d4994bd294ee17b8bfb8d722ef9a2564a 15-Mar-2012 Glenn Kasten <gkasten@android.com> Add empty libmedia_native in old location

Submitting this first, in the old location, will allow early testing of
the build for all the dependent projects. Then those projects will not
need to be updated atomically when libmedia_native is moved.

Change-Id: I31ab315e53970986d18a4e3b1673e31460f6a3f1
ibmedia_native/Android.mk
ab334fd351ae5a0e18903da123d63e565b536874 14-Mar-2012 Glenn Kasten <gkasten@google.com> audio_channel_in/out_mask_from_count

and avoid ambiguous term "channels" where it might be confusing
as to whether it is a channel mask or channel count

Change-Id: I744fa08ccb6001a98c97bd638d2c9d56836c4234
ibaah_rtp/aah_decoder_pump.cpp
ibaah_rtp/aah_decoder_pump.h
ibeffects/preprocessing/PreProcessing.cpp
ibmedia/JetPlayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AudioPlayer.cpp
ibstagefright/AudioSource.cpp
3c5bbaee376d235404f267fbe1693d1960bfaaef 15-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Remove dependency on audio_* location"
2fd2440d0175ca3e196b01b7541a9e0d4ed9a694 24-Feb-2012 Wu-cheng Li <wuchengli@google.com> Add a new camera open API that allows taking the ownership.

The purpose is to let face unlock always get the camera
successfully. What happened was the camera applications may
have opened the camera in onResume under the lock screen.
This API lets face unlock take the camera from the camera
application. A new permission will be added, so other
applicatoins won't be able to take the camera from the face
unlock.

bug:5584464

Change-Id: Ib3d9dcbc2161815b68db42327dc01148453704c6
ibstagefright/CameraSource.cpp
cbcd6e869dd41158076e742a31c1ee410fc0c713 15-Mar-2012 James Dong <jdong@google.com> Merge "Defines MediaPlayer APIs to support multiple audio/video/timedtext tracks."
33b383948e8f270bff30378476f00dce289004eb 13-Mar-2012 Glenn Kasten <gkasten@google.com> Remove dependency on audio_* location

Change-Id: I4bc66115fcb9ba22b057bd72db3f561dcb18a0d8
ibeffects/downmix/Android.mk
ibeffects/factory/Android.mk
ibeffects/lvm/wrapper/Android.mk
ibeffects/preprocessing/Android.mk
ibeffects/testlibs/Android.mk_
ibeffects/visualizer/Android.mk
ibmedia/Android.mk
5102400104ce1f0a6de7bf913381a91e4f18a22a 15-Mar-2012 Marco Nelissen <marcone@google.com> Fix Xing seeking when TOC[0] == 0

A file purchased from the Amazon mp3 store had two 0 entries at the
start of the TOC (presumably because there was a lot of silence at
the beginning, which compresses well), which made TOC based seeking
think the TOC was not valid.
b/6170518

Change-Id: Ie7135b4af06ebb925f63a374be780cf3a9404347
ibstagefright/XINGSeeker.cpp
ibstagefright/include/XINGSeeker.h
f9d660a5e0196240add5daf0199f128d471e592c 16-Feb-2012 Insun Kang <insun@google.com> Defines MediaPlayer APIs to support multiple audio/video/timedtext
tracks.

o Newly introduced APIs are (MediaPlayer):
getTrackInfo() / addExternalSource() / enableTrack() / disableTrack().

o Timed text tracks are supported only, for now.

o TODOs:
- Define the audio/video behavior for enableTrack and disableTrack.
- Refactoring AwesomePlayer / TimedTextDriver so that all types of
track index can be managed in the correct order and be ready for
supporting audio/video tracks.
(MediaExtractor and MediaSource for text file might be necessary.)

Change-Id: Idb85e1b3f2ed49a64f377d05472dd6663ce94e07
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/timedtext/TimedText3GPPSource.cpp
ibstagefright/timedtext/TimedText3GPPSource.h
ibstagefright/timedtext/TimedTextDriver.cpp
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
ibstagefright/timedtext/TimedTextSRTSource.cpp
ibstagefright/timedtext/TimedTextSRTSource.h
ibstagefright/timedtext/TimedTextSource.cpp
ibstagefright/timedtext/TimedTextSource.h
8e5b72c39cf0e4d4bec6f843bb54f6409b073c64 14-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Prepare frameworks/native/services/audioflinger"
d191213ab0146526541913f3fed2d5aa95f58899 14-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Use correct syntax for #include <> """
b4d307481960b6b348fae4b4e8edefd003c3d36c 13-Mar-2012 Glenn Kasten <gkasten@google.com> Use correct syntax for #include <> ""

Change-Id: I943137108668ae66f8eba18dafe069a7951bcd8f
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ediaserver/main_mediaserver.cpp
0e9350254736c4aea154a7a871dd212038050f70 14-Mar-2012 Glenn Kasten <gkasten@google.com> Prepare frameworks/native/services/audioflinger

Part of this change will be reverted after the move is complete.

Change-Id: Ie7f6355368258f2b1344f4ef754da9151a06e41d
ediaserver/Android.mk
abf0610a8cea021548f2909e1d47d656206f641c 23-Feb-2012 Daniel Lam <dalam@google.com> SurfaceTexture: Fully refactored from BufferQueue

Cleaning up camera and media interactions as part of SurfaceTexture refactoring

Change-Id: Iea2b10ff80b5f01f83ed0902c725df1d3b4c541a
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
36a4d2cc7a44eb42d0d9ef5fe50b6747a7a34cab 13-Mar-2012 Marco Nelissen <marcone@google.com> Merge "Gapless playback, step 1."
6b74d671a1321a6ecc4a40b6c87beedfecc1ec44 29-Feb-2012 Marco Nelissen <marcone@google.com> Gapless playback, step 1.

Currently able to play Ogg Vorbis, PCM WAV and other lossless files seamlessly
by reusing the initial AudioTrack for subsequent players.

Change-Id: Ie7cf6b9076bdf4f9211574456d192c02c04fecc7
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/AudioPlayer.cpp
5e7616cc0e5493241211333134555d74aec89982 13-Mar-2012 James Dong <jdong@google.com> Merge "Switched to use the header files in /frameworks/native and deleted the duplicate header files in /frameworks/base"
e53b9ead781c36e96d6b6f012ddffc93a3d80f0d 13-Mar-2012 Glenn Kasten <gkasten@google.com> Whitespace and indentation

Fix indentation to be multiple of 4.
Make it easier to search:
sp< not sp < to
"switch (...)" instead of "switch(...)" (also "if" and "while")
Remove redundant blank line at start or EOF.
Remove whitespace at end of line.
Remove extra blank lines where they don't add value.

Use git diff -b or -w to verify.

Change-Id: I966b7ba852faa5474be6907fb212f5e267c2874e
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IAudioPolicyService.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IEffect.cpp
ibmedia/IEffectClient.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerClient.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/IMediaRecorderClient.cpp
ibmedia/JetPlayer.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScanner.cpp
ibmedia/MediaScannerClient.cpp
ibmedia/Metadata.cpp
ibmedia/ToneGenerator.cpp
ibmedia/Visualizer.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
083c271152f2d930f259816d52327ed47e022780 13-Mar-2012 Insun Kang <insun@google.com> Fixing coding style : Indentation

Change-Id: Ia66f92aa74c55719bbc32211c75ea1ebdf828373
ibstagefright/timedtext/TimedText3GPPSource.h
ibstagefright/timedtext/TimedTextSRTSource.h
6c6b4d0d2b98a7ceee8b697daaf611f8df3254fb 12-Mar-2012 James Dong <jdong@google.com> Switched to use the header files in /frameworks/native
and deleted the duplicate header files in /frameworks/base

o related-to-bug: 6044887

Change-Id: I17e0692d9a9b5c8796ded36677c833ca8ab36795
ibaah_rtp/Android.mk
ibmedia/Android.mk
ibmedia/MediaProfiles.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/nuplayer/Android.mk
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/chromium_http/Android.mk
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/amrnb/enc/Android.mk
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/g711/dec/Android.mk
ibstagefright/codecs/m4v_h263/dec/Android.mk
ibstagefright/codecs/m4v_h263/enc/Android.mk
ibstagefright/codecs/mp3dec/Android.mk
ibstagefright/codecs/on2/dec/Android.mk
ibstagefright/codecs/on2/h264dec/Android.mk
ibstagefright/codecs/vorbis/dec/Android.mk
ibstagefright/colorconversion/Android.mk
ibstagefright/httplive/Android.mk
ibstagefright/matroska/Android.mk
ibstagefright/mpeg2ts/Android.mk
ibstagefright/omx/Android.mk
ibstagefright/omx/OMXMaster.h
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/SoftOMXPlugin.h
ibstagefright/omx/tests/Android.mk
ibstagefright/rtsp/Android.mk
ibstagefright/tests/Android.mk
4a47e1a47e56fc0b9612c538001e49ebb4ab0e0f 12-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Extend WAV extractor for multichannel"
3bed68cb3d43af40475f56211869c40470c1fb4d 09-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Extend WAV extractor for multichannel

Support multichannel (more than 2) audio in WAV.
Support WAV_EXT format.

Change-Id: If0e6cf28cb3096f4f148ff6583f7e01db8f8a901
ibstagefright/WAVExtractor.cpp
ibstagefright/include/WAVExtractor.h
18868c5db2f90309c6d11e5837822135e4a0c0fa 07-Mar-2012 Glenn Kasten <gkasten@google.com> Use audio_policy_output_flags_t consistently

This affects:
- IAudioFlinger::openOutput
- AudioTrack::AudioTrack
- AudioTrack::set
- apps that call these

Change-Id: I26fb281bac6cb87593d17697bc9cb37a835af205
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/JetPlayer.cpp
ibmedia/ToneGenerator.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AudioPlayer.cpp
f2015b625cd6bea86da7401e725332c35b90e7cf 10-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Use AudioRecord::record_flags consistently"
5e9ce08417c36aa572c3f18b40ff9335d409b1e9 10-Mar-2012 Conley Owens <cco3@android.com> am ea374096: am c24f5ba4: am 9a3f3b9d: am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"

* commit 'ea374096511f92206c264f3f1eb0551a05a34cd5':
stagefright amrwbenc: Simplify the definition of static_vo
ca17672e75faf59492527a5b168cc01db8badabb 10-Mar-2012 Conley Owens <cco3@android.com> am 3557654c: am 66da3fdc: am 972efafb: am 6db6ea02: Merge changes I00c852e4,Ib31bf028

* commit '3557654c95bae7754dcd1951ec10742b895817e2':
stagefright aacenc: Avoid overflows when calculating normFactor
stagefright aacenc: Avoid a division by zero
ec431bbd9c7ab07c61290b12d41d9995794e0f61 10-Mar-2012 Conley Owens <cco3@android.com> am 9a3f3b9d: am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"

* commit '9a3f3b9db63e7e109a417c0959b8bc589ab70e04':
stagefright amrwbenc: Simplify the definition of static_vo
62dac15d10f940b3bdb9f78d79cdc3e793ff63dd 10-Mar-2012 Conley Owens <cco3@android.com> am 972efafb: am 6db6ea02: Merge changes I00c852e4,Ib31bf028

* commit '972efafb90b543eea51aa5b23104d469a1bcc1fb':
stagefright aacenc: Avoid overflows when calculating normFactor
stagefright aacenc: Avoid a division by zero
c98c8831388d206f3883767fda3e9c0e5b2e816b 10-Mar-2012 Conley Owens <cco3@android.com> am 67cf093d: Merge "stagefright amrwbenc: Simplify the definition of static_vo"

* commit '67cf093d86539d4f3db7e2a2b168c9a250c0a5b8':
stagefright amrwbenc: Simplify the definition of static_vo
9045f8d6bf6f052b8fa0e34de2d703e8bff75a95 10-Mar-2012 Conley Owens <cco3@android.com> am 6db6ea02: Merge changes I00c852e4,Ib31bf028

* commit '6db6ea02b999e86dfbddd08780eeab0034389f93':
stagefright aacenc: Avoid overflows when calculating normFactor
stagefright aacenc: Avoid a division by zero
824ab1a4138faa7a2dda1571282f0938e4b6cc40 09-Mar-2012 Andreas Huber <andih@google.com> Merge "Fix memory leak when carrying ABuffer* in AMessages."
bdaa29a9bc63d8d0d86879e40286a06655623322 09-Mar-2012 Andreas Huber <andih@google.com> Fix memory leak when carrying ABuffer* in AMessages.

Change-Id: Icb4770ca238d316e6dd2d89159357a8fdb504ea9
ibstagefright/foundation/AMessage.cpp
e7d0c712f1c9fa0b0e413b8eb729049995290aee 09-Mar-2012 Marco Nelissen <marcone@google.com> Improve AudioPlayer position reporting

The latency was not taken into account when updating mPositionTimeRealUs
inside of the fillBuffer hook, contrary to what the getRealTimeUsLocked()
method does. This caused the realTimeOffset calculated in the
getMediaTimeUs to always be negative, causing the reported position to
always be equal to mPositionTimeMediaUs, which is updated infrequently.
With this change, the reported position is updated more frequently, allowing
apps to perform smoother UI updates.

Change-Id: I61e05c1a8b53d46b9091afb0d18a6289d13a7a5e
ibstagefright/AudioPlayer.cpp
dc1696c890698d55aade9dbadf3148c2fac01cd0 09-Mar-2012 Conley Owens <cco3@android.com> Merge "stagefright amrwbenc: Simplify the definition of static_vo"
1f7e2d9906d25b4e709c247d78537ee826d31051 09-Mar-2012 Conley Owens <cco3@android.com> Merge changes I00c852e4,Ib31bf028

* changes:
stagefright aacenc: Avoid overflows when calculating normFactor
stagefright aacenc: Avoid a division by zero
679ab0b0792846a89162ce41c953819d70030112 07-Mar-2012 Glenn Kasten <gkasten@google.com> Use AudioRecord::record_flags consistently

Change-Id: I6f369a2b99eb515603bc7d5629a07db2b96783fe
ibmedia/AudioRecord.cpp
ibstagefright/AudioSource.cpp
a19ffb656616feec70613ba67ddfe15a504a4e76 09-Mar-2012 Eric Laurent <elaurent@google.com> Merge "audio policy: use audio_devices_t when appropriate"
5e5631bbf2403b8242e77977792318d65362ed91 09-Mar-2012 Jeff Tinker <jtinker@google.com> Merge "Fix videos app bandwidth accounting for 4G streaming"
6374252107fd6539397598195ea6defd5870fafb 08-Mar-2012 Eric Laurent <elaurent@google.com> audio policy: use audio_devices_t when appropriate

Change-Id: I1b3a5879e81c789fb53d356af3d3a1ee2dca955f
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
381f475475b11a552a5233c48947cc570c28b1d8 08-Mar-2012 Dirk Dougherty <ddougherty@google.com> resolved conflicts for merge of 532679a5 to master

Change-Id: Id60d047c0e1f288acff97526c016cca632873b6b
b279312a9038b9c5b9b05b31b1b1db86f748efd8 08-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "IAudioFlingerClient::ioConfigChanged param2 const"
f2eda12fb968829ee6f67e9b45e01eb4e2105c09 07-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Effect for multichannel PCM downmix to stereo"
04c1e531b5913c09aa9b2e59e2b8ed9b4d8a4cba 02-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Effect for multichannel PCM downmix to stereo

First pass at implementing an audio effect whose role is to
downmix multichannel PCM buffers to stereo.
The effect is not handling volume changes.
The effect code here handles quad, 4.0, 5.1 and 7.1 input configurations,
to optimize the most commom configurations, and does not yet handle
generic multichanel configurations.

Change-Id: I74d04bd961348f3f0e4ae7714b70e620808a0829
ibeffects/downmix/Android.mk
ibeffects/downmix/EffectDownmix.c
ibeffects/downmix/EffectDownmix.h
b81cc8c6f3eec9edb255ea99b6a6f243585b1e38 01-Mar-2012 Glenn Kasten <gkasten@google.com> IAudioFlingerClient::ioConfigChanged param2 const

The 3rd parameter (param2) to AudioFlingerClient::ioConfigChanged
is used as an input. So changed it from void * to const void *.
It is then cast to const OutputDescriptor *
or const audio_stream_type_t * depending on the event.

Change-Id: Ieec0d284f139b74b3389b5ef69c7935a8e5650ee
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlingerClient.cpp
6556e5bb99bda64f3ab92e8b540fccdd59e9ed8d 06-Mar-2012 Eric Laurent <elaurent@google.com> Merge "MediaPlayerService: fix AudioSink latency"
22f9dd98d9c4c3e0e58586cf6a6008ca6ee946e5 06-Mar-2012 Eric Laurent <elaurent@google.com> Merge "AudioTrack: relax check on minimum buffer size"
56617834920554fc68a818da17b56e0c2ad8f254 06-Mar-2012 James Dong <jdong@google.com> Merge "Remove unused code - MediaSourceSplitter"
70a1577d42c6e222c98f0245e7b81b0e8bc238f7 06-Mar-2012 Glenn Kasten <gkasten@google.com> Merge "Remove references to sched_policy.h"
6a26abbafe8d9a9c2250afcc037c3db5e9d1b42a 06-Mar-2012 Dirk Dougherty <ddougherty@google.com> am 4d7bc655: Doc change: String changes for Android Market

* commit '4d7bc65538c7cd9fbb1fbbcf22d1da47fcee1219':
Doc change: String changes for Android Market
083644fee99d23491554484301943e6a7daf262b 28-Jan-2012 Dirk Dougherty <ddougherty@google.com> Doc change: String changes for Android Market

Change-Id: I823812a4fd24021bec906ad856479c92a8d2a759
ibstagefright/codecs/m4v_h263/dec/src/vop.cpp
054a5a69374efae97924c83c2ee7ec7210bf3283 06-Mar-2012 James Dong <jdong@google.com> Remove unused code - MediaSourceSplitter

Change-Id: Icf37832a1c234501ee3ff91ff13eece2242425ae
ibstagefright/Android.mk
ibstagefright/MediaSourceSplitter.cpp
c236eb8ae848997d47b47371f86c37389eef013e 06-Mar-2012 Glenn Kasten <gkasten@google.com> Remove references to sched_policy.h

As part of scheduling policy cleanup, remove obsolete
references to sched_policy.h and its APIs.

Change-Id: Id957d11dd645cdf9d53dd6c02e568369aef23243
ibstagefright/TimedEventQueue.cpp
db354e58e65592777aa17caa47933e14838b8b35 06-Mar-2012 Eric Laurent <elaurent@google.com> MediaPlayerService: fix AudioSink latency

The AudioSink latency is currently cached when the associated AudioTrack
is created. However, the AudioTrack latency can change if the AudioTrack is moved
from one output stream to another.
The AudioPlayer must also periodically update its view of the latency
as it is needed to compensate the real audio time used for A/V sync.

This fixes an A/V sync problem seen when switching A2DP on and off while
playing a video.

Change-Id: I28b24049ca114e1af3e24791dcc900f463536ba4
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/AudioPlayer.cpp
d8d6185c978c9b27ca69e7791785e0983ed9e8b8 06-Mar-2012 Eric Laurent <elaurent@google.com> AudioTrack: relax check on minimum buffer size

Current AudioTrack implementation enforces that the requested audio
buffer size is at least corresponding the audio latency.
This requirement is too strong and leads to problems with current
stagefright and AudioSink implementations when playing over output
streams with long latency.

Ultimately, the AudioSink design should be changed to specify a minimum
buffer size in time or frames units but not in buffer count units.

Change-Id: I8ba603956f92ac49143a8249572665aa548f2f0f
ibmedia/AudioTrack.cpp
786618ffe881aceb64d65a6a2e2d76ede6e01ec0 02-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Add channel mask in AudioSink

Add support for specifying a channel mask when opening an AudioSink.
This parameter does not replace the channel count parameter in order
to not have to duplicate the logic to derive a mask from the
channel count everywhere an AudioSink is used without a known mask.

A mask of 0 (CHANNEL_MASK_USE_CHANNEL_ORDER) means a mask will
be automatically derived from the number of channels.

Update existing AudioSink implementations to use the channel mask,
and users of AudioSink to specify the mask if available, and
CHANNEL_MASK_USE_CHANNEL_ORDER otherwise.

Change-Id: Ifa9bd259874816dbc25ead2b03ea52e873cff474
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/AudioPlayer.cpp
e7c795f3300814aa3f26ceb845f29695383c7edc 02-Mar-2012 Jean-Michel Trivi <jmtrivi@google.com> Correct GUID errors in audio effect configuration

Correct erroneous spaces that were present in some audio effect GUIDs.

Change-Id: Ide3a1552b2f8976f96ee980f1341f935555656d9
ibeffects/data/audio_effects.conf
4bce61f407d43b216c288a8d7b26fb5519853dba 02-Mar-2012 Andreas Huber <andih@google.com> Merge "Remove hacks that worked around issues in OMX components several releases back."
79967af7ba8fb2ddd3a106afc0361f3ad836c174 02-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am 9de7793b: am 4f906362: am 97348431: am 704131cb: Merge changes I46c81dba,If1f40e9c,I652eaaa5

* commit '9de7793b425be89889412f3a86466d7b19055c3c':
stagefright aacenc: Use QDADD/QDSUB instructions
stagefright aacenc: Remove useless inline asm for simple right shift
stagefright aacenc: Use ARMv6 SSAT instruction
6c1f1cb5bd2b22f8b21b78ea020a0b6370f5b9ff 02-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am 715c78b9: am 225eec8d: am f9d4ba77: am 69aae36e: Merge "stagefright aacenc: Safeguard against overwriting bits"

* commit '715c78b933f8dec04882ebb73acd61fdd42c6c64':
stagefright aacenc: Safeguard against overwriting bits
25a9ce1b1fea65341299c262b944825d233006f6 02-Mar-2012 Andreas Huber <andih@google.com> Remove hacks that worked around issues in OMX components several releases back.

Change-Id: I89bb3d0be4d2c1824de382aedfdd4f9bd2547dbc
ibstagefright/OMXCodec.cpp
c795b64060c3af9d7961fc1371e4ccfa8ee3e450 23-Feb-2012 John Grossman <johngro@google.com> Switch the way we configure for MediaPlayer retransmission.

This is a cherry-pick of I6ab07d89b2eeb0650e634b8c3b7a0b36aba4e7dd
with merge conflicts addressed by hand and additional changes made in
response to code review feedback.

Move in the direction of a more publishable API for configuring a
media player for retransmission. It used to be that we used a custom
invoke and a modified URL (prefixed with aahTX://). There are many
issues with this technique and it was never meant to stand the test of
time.

This CL gets rid of all that. A new (but currently hidden) method was
introduced to the java level MediaPlayer API, called
setRetransmitTarget(InetSocketAddress), which allows an app writer to
set the retransmit target. For now, this method needs to be called
before a call to setDataSource (which is pretty unusual for the
MediaPlayer API) because this mid level code uses this as a cue to
instantiate an aahTX player instead of relying on the data source to
select a player. When retranmit functionality becomes part of the
existing android player implemenation, this
set-retrans-before-set-data-source behavior can go away, along with
the aahTX player itself.

Change-Id: I3b46c5227bbf69acb2f3cc4f93cfccad9777be98
Signed-off-by: John Grossman <johngro@google.com>
ibaah_rtp/aah_tx_player.cpp
ibaah_rtp/aah_tx_player.h
ibaah_rtp/aah_tx_sender.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
4b77dc28097288cb062fce6bf5de0fb3394877a9 19-Feb-2012 John Grossman <johngro@google.com> LibAAH_RTP: Add support for AAC in MP4.

Cherry picked from Ie8298eb9d253fc6ede448da87660a60d23170987 and
conflicts fixed by hand.

Change-Id: I6f0a59357ba1a3d57caf67d2eb0ade7486723e7b
Signed-off-by: John Grossman <johngro@google.com>
ibaah_rtp/aah_decoder_pump.cpp
ibaah_rtp/aah_rx_player.h
ibaah_rtp/aah_rx_player_core.cpp
ibaah_rtp/aah_rx_player_ring_buffer.cpp
ibaah_rtp/aah_rx_player_substream.cpp
ibaah_rtp/aah_tx_packet.cpp
ibaah_rtp/aah_tx_packet.h
ibaah_rtp/aah_tx_player.cpp
ibaah_rtp/aah_tx_player.h
ibaah_rtp/aah_tx_sender.cpp
afc16d667afa23f5aa00154ccad62f8c45cf5419 01-Mar-2012 Andreas Huber <andih@google.com> Instead of hardcoding OMX component names in our code, support

a config file instead.

Change-Id: I5835903ab9f1c4a22ccc605ca99ed966767adf57
ibstagefright/ACodec.cpp
ibstagefright/Android.mk
ibstagefright/MediaCodecList.cpp
ibstagefright/OMXCodec.cpp
d1aeb29912c93863a05b8023bc30cd139c97c5f5 01-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am 704131cb: Merge changes I46c81dba,If1f40e9c,I652eaaa5

* commit '704131cb7e4f9cc682ea57ed569375f9f289368e':
stagefright aacenc: Use QDADD/QDSUB instructions
stagefright aacenc: Remove useless inline asm for simple right shift
stagefright aacenc: Use ARMv6 SSAT instruction
769501aad4e1c69af713b27dada849f99db22914 01-Mar-2012 Jean-Baptiste Queru <jbq@google.com> am 69aae36e: Merge "stagefright aacenc: Safeguard against overwriting bits"

* commit '69aae36e900cf7114c5895618747906951a11730':
stagefright aacenc: Safeguard against overwriting bits
e8286332f3817a8b7cc4cfd8f6450a3913533660 29-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Shorten thread names"
ec539ae64d8a3eadf9115ec7ebe31e4e47788a2e 29-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "AudioRecord const methods"
9f422f59fcb74283fa52c3bfd0a2665ec9ce9e10 29-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge changes I46c81dba,If1f40e9c,I652eaaa5

* changes:
stagefright aacenc: Use QDADD/QDSUB instructions
stagefright aacenc: Remove useless inline asm for simple right shift
stagefright aacenc: Use ARMv6 SSAT instruction
de99ee3d507bf1284fdb5d6b84a32f4227f16a6f 29-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Safeguard against overwriting bits"
5687da3359c7939dbd982de9fa2e5f19e41ae411 29-Feb-2012 Andreas Huber <andih@google.com> Merge "Separate the notion of "stop" from that of "release", i.e."
41acadea86b763f4cc6f7aeb292f943d4570ac90 29-Feb-2012 James Dong <jdong@google.com> Merge "Moves TimedTextDriver.h into include/media/stagefright/timedtext."
480b46802bef1371d5caa16ad5454fce04769c57 28-Feb-2012 Glenn Kasten <gkasten@google.com> Shorten thread names

prctl(PR_SET_NAME) limits to 15 characters. Before we had names like
"Binder Thread #" and the counter was cut off :-( Also remove redundant
"thread" at end of name; it's always a thread.

Change-Id: I1f99c2730ba0787ed9b59c15914356cddf698e2f
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
c95c2ddcdfc974f42408a377fbe2de51b94a8c94 29-Feb-2012 Andreas Huber <andih@google.com> Separate the notion of "stop" from that of "release", i.e.

stop - means transition back to LOADED state and keeping the component
instance allocated.

release - means we get rid of the component completely.

Change-Id: I40ad01ce70821faaad43f57999249904f9144924
ibstagefright/ACodec.cpp
ibstagefright/MediaCodec.cpp
606ee61616efdba4696ae591ad10a4be33d8c946 25-Feb-2012 Glenn Kasten <gkasten@google.com> AudioRecord const methods

Change-Id: Ifae4fd7820b650aaca2b13c8658c292db1c46c0f
ibmedia/AudioRecord.cpp
3f791be1032e6c4cc499598dd2be116db6fb33c3 28-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 254cf597: am 7b6b81f8: am f016dc1b: am f881fa51: Merge "stagefright amr: Avoid C++/C99 for loops with variable declaration"

* commit '254cf5973ebe5ebdce9ef261d826e88ed2f67f58':
stagefright amr: Avoid C++/C99 for loops with variable declaration
77f70f7de1977d7b0a9f9c37a25e34db16feb7b4 28-Feb-2012 Mathias Agopian <mathias@google.com> remove dependency on unneeded headers

Change-Id: I890f40c430beca055bedd95c878eb68b42f232c2
ibstagefright/colorconversion/SoftwareRenderer.cpp
279612dd95acc127e41b8a7aa3277f3ffacaa849 28-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am f881fa51: Merge "stagefright amr: Avoid C++/C99 for loops with variable declaration"

* commit 'f881fa517978adc7ea610a1982e0d071f1fd3425':
stagefright amr: Avoid C++/C99 for loops with variable declaration
400ef2023badece85a18accb94194ed601ba6d72 28-Feb-2012 Eric Laurent <elaurent@google.com> Merge "audio preprocessing: fix multiple enable problem"
bc303ed5fd25228b8523adbfcc9c007e73bc04ea 28-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amr: Avoid C++/C99 for loops with variable declaration"
acb364073e62acddced517f2edfe0326245b2af9 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 19bb6261: am bf826923: am faf38b24: am 9e3d9575: Merge "stagefright aacenc: Add prototypes for arm specific implementations of functions"

* commit '19bb62613f512b62d492fb4caf36de88fd1914dd':
stagefright aacenc: Add prototypes for arm specific implementations of functions
7b419b45b4c810c0c7ebcca5d613cd9356fa4939 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 360db46e: am b7913f70: am 163777b8: am 354ac772: Merge "stagefright amrwb: Make local const arrays static"

* commit '360db46e78a1492b695d5be6e779386dc66a502e':
stagefright amrwb: Make local const arrays static
d6b15d3d101b2fb253895e611e081c82afe6d9e2 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 5ba910d8: am 040c5b2c: am ded8e681: am 695cfe1e: Merge "stagefright amrwb: Change a C++ style cast into a C style cast"

* commit '5ba910d867d029e69c4f52667c02a4c114f849df':
stagefright amrwb: Change a C++ style cast into a C style cast
7b65e71b662ce3bd7983fbfb62e8dafade5ccc55 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am b205a5d8: am 50ee92e9: am d91b744d: am f7f1280e: Merge changes Ib4e27ea3,I4ad55266,Ie32b32c7

* commit 'b205a5d861c5ba31599084a42c7d92549f464dac':
stagefright amrnb: Remove extern from table definitions
stagefright amrnb: Add includes for prototype declarations of tables
stagefright amrnb: Add missing const qualifier to table declarations in headers
d7fe790fe59089394ee01f5d56106c0f488aad0a 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 18a64b74: am a887ff9a: am 4f74be57: am 1a864db7: Merge "stagefright aacenc: Simplify the definition of __inline"

* commit '18a64b74aa3cb0babb5f50e5f80660f601d80123':
stagefright aacenc: Simplify the definition of __inline
bf9fc69dd171c99794725171c38f65a3c6f6e544 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 6b4d7bad: am f7210cf5: am 7346d73c: am 77576ff4: Merge "stagefright amrwbenc: Remove a useless check"

* commit '6b4d7bada0b1d34f93149211cb179b71c864d5d3':
stagefright amrwbenc: Remove a useless check
14f94704418852fe83eabd3e0e13288951fee574 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 2bf76b98: am 3e61e413: am 32901b39: am be9a7055: Merge "stagefright aacenc: Remove a stray semicolon"

* commit '2bf76b983da1d1730d685f9907d5d4fa6ea46fcd':
stagefright aacenc: Remove a stray semicolon
54fd89aec2b34f6ea14d7b93b34a4a7a69ab0278 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 484fc74b: am 4bcdeb86: am 716a0517: am fe5f5d77: Merge "stagefright amrwb: Make a global const array static"

* commit '484fc74beb79d0b8d49223cb3fce9e1ccbfd3501':
stagefright amrwb: Make a global const array static
f2f4a649d71aea5066d609c10cd9449df9abd453 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am eb483de5: am bf5c5e5b: am c1da1e1b: am 94ee1bf2: Merge "stagefright amrwbenc: Change keyword ordering"

* commit 'eb483de58e4b41cb549149459e492e9ad1d65bd0':
stagefright amrwbenc: Change keyword ordering
c0502b930651092683a5f47c55159b559fae7727 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 5b299d2f: am 18643e70: am 6bc542e0: am 5aff259c: Merge "stagefright aacenc: Don\'t address a Word32 with a Word16 pointer"

* commit '5b299d2f9038452aa09a97d4f2ce57ec20bbc06a':
stagefright aacenc: Don't address a Word32 with a Word16 pointer
021c841c460993c0db515826a17460fc36eaf744 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 9e3d9575: Merge "stagefright aacenc: Add prototypes for arm specific implementations of functions"

* commit '9e3d957599c76ba19e23fd25b75ccc02d54efe3e':
stagefright aacenc: Add prototypes for arm specific implementations of functions
1b1123d45da74ae4916e12b119a6ad5458dea5a2 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 354ac772: Merge "stagefright amrwb: Make local const arrays static"

* commit '354ac772eca0afea25dd12d233e5cdee9677888b':
stagefright amrwb: Make local const arrays static
67caa6dfef0b98235616102eb5c503f84782bbed 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 695cfe1e: Merge "stagefright amrwb: Change a C++ style cast into a C style cast"

* commit '695cfe1e1e189f176fdf994f72d05a0129a66394':
stagefright amrwb: Change a C++ style cast into a C style cast
c6531cfdf04db7f75de3fe82697149f6e28b94e1 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am f7f1280e: Merge changes Ib4e27ea3,I4ad55266,Ie32b32c7

* commit 'f7f1280e0c71d64098efb42b58a922d056164b5e':
stagefright amrnb: Remove extern from table definitions
stagefright amrnb: Add includes for prototype declarations of tables
stagefright amrnb: Add missing const qualifier to table declarations in headers
43a1734eba6f409f9982d2e35dde6a869dbbdc90 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 1a864db7: Merge "stagefright aacenc: Simplify the definition of __inline"

* commit '1a864db7723a7947b72d24e6008ba48341d0feff':
stagefright aacenc: Simplify the definition of __inline
30a186e062e6301d54cf3140275fff866237c5fd 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 77576ff4: Merge "stagefright amrwbenc: Remove a useless check"

* commit '77576ff487e227092cdaf09db163e21f1e07604a':
stagefright amrwbenc: Remove a useless check
ea6293131b72a65afabef16e18874c535f061d0a 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am be9a7055: Merge "stagefright aacenc: Remove a stray semicolon"

* commit 'be9a705586edafcedc9fabb94d3259f882b7cbd7':
stagefright aacenc: Remove a stray semicolon
30e927947126e87f4865b626ffe17bec74ff5ffe 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am fe5f5d77: Merge "stagefright amrwb: Make a global const array static"

* commit 'fe5f5d7728b7f8be24716fda6eb1480eb9dfb72f':
stagefright amrwb: Make a global const array static
59e82a04949ffca325508f5ebf43fdb8657e350c 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 94ee1bf2: Merge "stagefright amrwbenc: Change keyword ordering"

* commit '94ee1bf232d1f1cc97902dab1e4148eb478cd304':
stagefright amrwbenc: Change keyword ordering
7917b452eae7340fcab09b7b406d9d8ca28a4a87 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 5aff259c: Merge "stagefright aacenc: Don\'t address a Word32 with a Word16 pointer"

* commit '5aff259c61e54e441ed04bf77e3cc69a0374432d':
stagefright aacenc: Don't address a Word32 with a Word16 pointer
df712ea86e6350f7005a02ab0e1c60c28a343ed0 26-Feb-2012 Mathias Agopian <mathias@google.com> fix libgui header location

Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/IOMX.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibstagefright/ACodec.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
61d07fbe79533517dbd4390d90206badd8df4641 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Add prototypes for arm specific implementations of functions"
94530642d4a742888363d90875a9b44498100658 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwb: Make local const arrays static"
9d0e88ca1ceee29e4bc4f38fb0897c53cb79b1e9 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwb: Change a C++ style cast into a C style cast"
f27422a71112e77af77de0da2e60d4deb94a9375 23-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amr: Avoid C++/C99 for loops with variable declaration

This makes the code compileable in C89 mode, too.

Change-Id: I9b76f8bfca148d1aec6081b8db139f351d64cfed
ibstagefright/codecs/amrnb/enc/src/ton_stab.cpp
ibstagefright/codecs/amrwb/src/get_amr_wb_bits.cpp
ibstagefright/codecs/amrwb/src/oversamp_12k8_to_16k.cpp
fbaf72b701316c8050d73690ff387e62f724f216 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge changes Ib4e27ea3,I4ad55266,Ie32b32c7

* changes:
stagefright amrnb: Remove extern from table definitions
stagefright amrnb: Add includes for prototype declarations of tables
stagefright amrnb: Add missing const qualifier to table declarations in headers
7c7674ea2d7ba099b5afd3badf4d69da55b377dd 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Simplify the definition of __inline"
e98a953903240da9e5118594b6e4f454dcd2c123 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwbenc: Remove a useless check"
7d8e0f1ae48058ac1613272fd66e4d8335adbb93 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Remove a stray semicolon"
a4999a9f0fb1a5690d967c08c7c6216221bc028a 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwb: Make a global const array static"
d78b7149dd619c73b1160ba68a7e05ffdd50cb0c 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwbenc: Change keyword ordering"
5b9c33c7239c996135c0021ec9a0d9afedd81a78 27-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Don't address a Word32 with a Word16 pointer"
3254b25e8b0f674ccc2226609e01dd86a600802e 27-Feb-2012 Insun Kang <insun@google.com> Moves TimedTextDriver.h into include/media/stagefright/timedtext.

So that other players can include TimedTextDriver.h properly.

Change-Id: I15e72bf655de8555eef6244a6c853c27a0828a1d
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/timedtext/Android.mk
ibstagefright/timedtext/TimedTextDriver.cpp
ibstagefright/timedtext/TimedTextDriver.h
ibstagefright/timedtext/TimedTextPlayer.cpp
9eeafeb52fecf90882e9b44eeefcb7c3e16aa915 25-Feb-2012 Mathias Agopian <mathias@google.com> remove dependency on android_native{s_priv|buffer}.h

Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/SoftwareRenderer.h
7fb5e8832f582ec515550696e9dabc3a8d9de14d 24-Feb-2012 Andreas Huber <andih@google.com> Merge "Make sure we return input/output buffers to the codec not just while"
8b2a453ab6698eae4560389c6e8f6ecab2643218 24-Feb-2012 Andreas Huber <andih@google.com> Make sure we return input/output buffers to the codec not just while

flushing but also while stopping.

Change-Id: I23534008b93654c9b9c022c0b1d204c2b546d566
ibstagefright/MediaCodec.cpp
1ead790eadd0e09a118308caccc7ac37d36f43f3 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Remove extern from table definitions

Local prototype declarations are added where no suitable ones are
available in headers.

This fixes warnings when compiling as C - while the source
files are named .cpp, they actually are compileable as pure C.

This was committed on the master branch of the opencore
repository in commit a0acb494ea6682ca966b5ebbd3676c89c56d63a6,
based on AOSP contribution 10303.

Change-Id: Ib4e27ea30302c66e0233e63e5a4652f6339bc940
ibstagefright/codecs/amrnb/common/src/bitno_tab.cpp
ibstagefright/codecs/amrnb/common/src/bitreorder_tab.cpp
ibstagefright/codecs/amrnb/common/src/bytesused.cpp
ibstagefright/codecs/amrnb/common/src/c2_9pf_tab.cpp
ibstagefright/codecs/amrnb/common/src/gains_tbl.cpp
ibstagefright/codecs/amrnb/common/src/gray_tbl.cpp
ibstagefright/codecs/amrnb/common/src/grid_tbl.cpp
ibstagefright/codecs/amrnb/common/src/inv_sqrt_tbl.cpp
ibstagefright/codecs/amrnb/common/src/log2_tbl.cpp
ibstagefright/codecs/amrnb/common/src/lsp_lsf_tbl.cpp
ibstagefright/codecs/amrnb/common/src/lsp_tab.cpp
ibstagefright/codecs/amrnb/common/src/overflow_tbl.cpp
ibstagefright/codecs/amrnb/common/src/ph_disp_tab.cpp
ibstagefright/codecs/amrnb/common/src/pow2_tbl.cpp
ibstagefright/codecs/amrnb/common/src/q_plsf_5_tbl.cpp
ibstagefright/codecs/amrnb/common/src/qua_gain_tbl.cpp
ibstagefright/codecs/amrnb/common/src/sqrt_l_tbl.cpp
ibstagefright/codecs/amrnb/common/src/window_tab.cpp
ibstagefright/codecs/amrnb/dec/src/dec_input_format_tab.cpp
ibstagefright/codecs/amrnb/dec/src/qgain475_tab.cpp
ibstagefright/codecs/amrnb/enc/src/corrwght_tab.cpp
ibstagefright/codecs/amrnb/enc/src/enc_output_format_tab.cpp
ibstagefright/codecs/amrnb/enc/src/inter_36_tab.cpp
ibstagefright/codecs/amrnb/enc/src/lag_wind_tab.cpp
d95a8462c367a7bea1b4aee24917d3e9ed7e2a48 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Add includes for prototype declarations of tables

This was committed on the master branch of the opencore
repository in commit da3d0463c999871ee584a0d750be65be65d19b00,
based on AOSP contribution 10302.

Change-Id: I4ad5526634efecc2d2bb3d2169184b8d4d4d7671
ibstagefright/codecs/amrnb/common/src/bitreorder_tab.cpp
ibstagefright/codecs/amrnb/common/src/grid_tbl.cpp
ibstagefright/codecs/amrnb/common/src/inv_sqrt_tbl.cpp
ibstagefright/codecs/amrnb/common/src/log2_tbl.cpp
ibstagefright/codecs/amrnb/common/src/lsp_tab.cpp
ibstagefright/codecs/amrnb/common/src/pow2_tbl.cpp
ibstagefright/codecs/amrnb/common/src/q_plsf_5_tbl.cpp
ibstagefright/codecs/amrnb/common/src/qua_gain_tbl.cpp
ibstagefright/codecs/amrnb/common/src/sqrt_l_tbl.cpp
ibstagefright/codecs/amrnb/common/src/window_tab.cpp
ibstagefright/codecs/amrnb/dec/src/dec_input_format_tab.cpp
ibstagefright/codecs/amrnb/enc/src/corrwght_tab.cpp
ibstagefright/codecs/amrnb/enc/src/enc_output_format_tab.cpp
ibstagefright/codecs/amrnb/enc/src/inter_36_tab.cpp
ibstagefright/codecs/amrnb/enc/src/lag_wind_tab.cpp
93eec2bc24e3782420d76df52586c84a03669087 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Add missing const qualifier to table declarations in headers

This was committed on the master branch of the opencore
repository in commit 5ce7a6fdf125116ffce2e692e14eafef1c807628,
based on AOSP contribution 10301.

Change-Id: Ie32b32c7407f449e382c0b4fd2d60a664e0daa33
ibstagefright/codecs/amrnb/common/include/az_lsp.h
ibstagefright/codecs/amrnb/common/include/inv_sqrt.h
ibstagefright/codecs/amrnb/common/include/log2_norm.h
ibstagefright/codecs/amrnb/common/include/pow2.h
ibstagefright/codecs/amrnb/common/include/sqrt_l.h
034816f92436de28071652d88975a5fcef317acd 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrwb: Make a global const array static

This fixes compilation as C - while the source files are named
.cpp, they actually are compileable as pure C. Prior to this,
this table produced multiple definitions of the same symbol.

This was committed on the master branch of the opencore
repository in commit a803bd49a631317e0d52ff060cf1799f7741a47e,
based on AOSP contribution 10017.

Change-Id: Id76274964242b119ab61b8181e557477df1e1521
ibstagefright/codecs/amrwb/include/pvamrwbdecoder_api.h
46f715e1150b02b00b16620f92a84c74aba43b47 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrwb: Make local const arrays static

Some of these tables exist in both the amrnb and amrwb libraries,
but with different content.

This avoids some cases of multiple definitions of symbols, if
linking in both libraries statically into the same executable,
if the libraries are built as C. (As C++, the local symbols
get mangled so they don't conflict with the external C symbols
in amrnb, that are unmangled.)

Most of this was committed on the master branch of the opencore
repository in commit 0cd4b3ac412dd0a8370ce339e89cf346c6cfe395,
based on AOSP contribution 10016.

Change-Id: I5387e699ce54a56dc43fcfa0396dee5c99280fd9
ibstagefright/codecs/amrwb/src/homing_amr_wb_dec.cpp
ibstagefright/codecs/amrwb/src/isp_isf.cpp
ibstagefright/codecs/amrwb/src/phase_dispersion.cpp
ffa34edd0fd50d558f9bc7a650d959b4d3d29123 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrwb: Change a C++ style cast into a C style cast

This fixes compilation as C - while the source files are named
.cpp, they actually are compileable as pure C (except for this
cast).

This was committed on the master branch of the opencore
repository in commit ae27d9b2ef68c4e6fc383a8cab93d6baa235ff6b,
based on AOSP contribution 10014.

Change-Id: I4f533313be041ad3e0a03ffc5f4207480894ddd1
ibstagefright/codecs/amrwb/src/oversamp_12k8_to_16k.cpp
1e07b508b4f9d5031e17cde7701ad656824816f1 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am ed7e1e83: am 47023027: am 26d9944e: am 6a300a54: Merge "stagefright aacenc: Make the bits to write in WriteBits unsigned"

* commit 'ed7e1e830165678421ee7d1b3dac044214a6e635':
stagefright aacenc: Make the bits to write in WriteBits unsigned
9a2af4508c27affc0e4a7440f8e5694ec3f0bec6 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 6a300a54: Merge "stagefright aacenc: Make the bits to write in WriteBits unsigned"

* commit '6a300a5413898ff8b728e77c5a23290cae60e9b5':
stagefright aacenc: Make the bits to write in WriteBits unsigned
338b9c9020ca6be98f30670cf307ad8553f1b4c9 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Remove a stray semicolon

This avoids warnings about an empty body in an if statement.

mem_free does the same null check, so the accidental extra
semicolon was harmless, and the whole if statement actually
is needless. But if removing the if statements, all the
other ones should be removed too, for consistency.
(This could be done as a separate change).

Change-Id: I1b6064dedd15ffa949043bb5396148aaed9b43f6
ibstagefright/codecs/aacenc/src/qc_main.c
8a3b3707a6e320ba75f4ecd47fdc001f16c15cb8 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Add prototypes for arm specific implementations of functions

The arm specific functions are implemented in .s files,
without any function declarations in headers.

This fixes compiler warnings about implicit declarations
of these functions.

Change-Id: I1512560b6740c1879f378886e05aaad2e3a6c869
ibstagefright/codecs/aacenc/src/transform.c
b0238c30a22778bdb4ac7c86a1eb65e50e32f2ec 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Change keyword ordering

This avoids warnings about 'static' not being at the beginning
of the declarations.

Change-Id: I80f91b8a0f7f61edcdca96c206fedbd74ec0d88e
ibstagefright/codecs/amrwbenc/inc/isp_isf.tab
c4ef4bb50d1407aec63358d4c14d1007ae0c4c1d 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Remove a useless check

Since the Length field is unsigned, the comparison will always
be false. The corresponding code in the aac encoder doesn't have
any check for Length.

This avoids a warning about comparison always being false.

Change-Id: I57c28ff9d09cb9ac4effeaeb40db608ab976acc6
ibstagefright/codecs/amrwbenc/src/voAMRWBEnc.c
fc237e5453333c3e0a31da3562f26ca8639d7951 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 70450553: am 14c6e272: am 2accfc11: am d6a25154: Merge "stagefright aacenc: Fix an inline asm constraint"

* commit '70450553f8f1e6ec4967f86a4b811db2940e8772':
stagefright aacenc: Fix an inline asm constraint
837b1e098a3b321bf1b19f22189d8c8bcdd509a6 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 78fc0c0b: am 428ece23: am c4aa19a5: am ea227787: Merge changes I903353c5,I822dcc74

* commit '78fc0c0bfae913a4a44011225396ae525b335fb1':
stagefright amrnb: Properly negate all values
stagefright amrnb: Fix a bug on architectures where long is 64 bit
b86b3c8f976b70635770d93217132d4023ecf33f 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Make the bits to write in WriteBits unsigned"
5b823b4cca17de5249fbbd774541c69b970e8da8 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am d6a25154: Merge "stagefright aacenc: Fix an inline asm constraint"

* commit 'd6a25154d94c48ab2ef12641c789458ab14ca94f':
stagefright aacenc: Fix an inline asm constraint
391906630443d7bd1d3a34e34535d93113723316 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am ea227787: Merge changes I903353c5,I822dcc74

* commit 'ea227787253e29da2d688399b097e05708d3bf73':
stagefright amrnb: Properly negate all values
stagefright amrnb: Fix a bug on architectures where long is 64 bit
c6a8eec53535fcb074989b5966baec48628a6f94 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Fix an inline asm constraint"
dab48426d9b2becf45bef409f607045f066d6f72 24-Feb-2012 Andreas Huber <andih@google.com> Merge "Small fix to MediaCodec"
de8b924a7f7d104af4243b1dfaef6f4480f93eea 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge changes I903353c5,I822dcc74

* changes:
stagefright amrnb: Properly negate all values
stagefright amrnb: Fix a bug on architectures where long is 64 bit
a118abebce9aa2bdd8fa4a7251875c5049082434 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 15278119: am 61022b06: am 5f83b957: am bf45bbf3: Merge "stagefright aacenc: Zero-initialize a struct"

* commit '1527811984557ee0b5d6e476e84ed147e073cb45':
stagefright aacenc: Zero-initialize a struct
90b8ca7c29d75a265faaa9386d556d41ca5be538 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am bf45bbf3: Merge "stagefright aacenc: Zero-initialize a struct"

* commit 'bf45bbf3b4a54976b81234ffc8ac41520bc052fc':
stagefright aacenc: Zero-initialize a struct
d38faa28eb767a108a7a9467c1a481957531d2af 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 4de803c7: am 459df4ef: am e7650c32: am e5bdd24b: Merge "stagefright aacenc: Avoid warnings about incompatible pointer types"

* commit '4de803c76d4afd0f542c086b555b71729b3c5796':
stagefright aacenc: Avoid warnings about incompatible pointer types
80d4b8903ed09d2cf9ac35391f04eb8619f47a1e 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Zero-initialize a struct"
142ce9a65b7505819e1205ad5bfa5d63843c7f43 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am e5bdd24b: Merge "stagefright aacenc: Avoid warnings about incompatible pointer types"

* commit 'e5bdd24b69c4033163d478d721247691e11cea36':
stagefright aacenc: Avoid warnings about incompatible pointer types
b20a352b7e4eb6690e86e0dcf9d58d73640dc874 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 307f47aa: am 7e8b65df: am 7ffa4546: am 47b56c5a: Merge "stagefright aacenc: Add const declarations to some pointers"

* commit '307f47aa5def85d0c0bb4af725ff557707c5be86':
stagefright aacenc: Add const declarations to some pointers
9884ee5920da4976a4de809567ad8fcbe8608433 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 47b56c5a: Merge "stagefright aacenc: Add const declarations to some pointers"

* commit '47b56c5a46287ea226c05e3c0238a91f4702491a':
stagefright aacenc: Add const declarations to some pointers
ccdf9e6e3dc929a9ffee7ed2aab57115ef810527 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Avoid warnings about incompatible pointer types"
042d1b44537eeb3ead09778f4284a35be9e9f5d3 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 5c2f1220: am 901b8bb0: am aa86aa60: am 1b704610: Merge "stagefright aacenc: Fix inline asm"

* commit '5c2f1220f90ae68a064195ba3c94f1319813f32c':
stagefright aacenc: Fix inline asm
0db280176bd3277e3256252d063f3712b1905ba9 24-Feb-2012 Andreas Huber <andih@google.com> Small fix to MediaCodec

Change-Id: I6bcbfd35fdf5a2b0260b8f07a630a5b380e139a0
ibstagefright/MediaCodec.cpp
aa1639aeb42e7c403315319bf55632de93d3c8d9 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Add const declarations to some pointers"
db7670ab7a884efb64f0e7a20425b6445d749822 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 1b704610: Merge "stagefright aacenc: Fix inline asm"

* commit '1b7046108c0f381fa8b7efaebae02c1a2b3099b3':
stagefright aacenc: Fix inline asm
3e4d4efcaf00c8263c7bcd651e453e93b60535da 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Fix inline asm"
54263bcfa6e9ad2fcb3e89617240f4ec0b3a2f99 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am 0c96e869: am 41087f79: am d7ab4e0c: am bf1e85bf: Merge "stagefright aacenc: Fix inline asm constraints"

* commit '0c96e8690408e3cfc12eee521a442c52f1c10b27':
stagefright aacenc: Fix inline asm constraints
7ce8b8c79c866fd787f3b4628abf5028207312e6 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> am bf1e85bf: Merge "stagefright aacenc: Fix inline asm constraints"

* commit 'bf1e85bfc8293646d57f0017afbfb0e09a1a41d7':
stagefright aacenc: Fix inline asm constraints
6dfeab4ddf3fcb82483f29d146329aa959fc0c82 24-Feb-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Fix inline asm constraints"
afc08acfae7946ab3305feede3a96bc6441be75f 24-Feb-2012 James Dong <jdong@google.com> Merge "Changed TimedTextInBandSource to TimedText3GPPSource."
04394b1c83d56e2956ba84aa9cb4b5d3b01d8ae8 23-Feb-2012 James Dong <jdong@google.com> Fix memory leakage due to unreleased MuxOMX objects after disconnection

o related-to-bug: 5984232

Change-Id: I20cbeff6ae865e995d02342549f1e09320543740
ibstagefright/OMXClient.cpp
16d3dfb5710290b334a07aadeb7d3620c7624e7c 23-Feb-2012 Andreas Huber <andih@google.com> Merge "Add new APIs AMessage::(set|find)Buffer to make it safer to pass"
7fd1703162a6ff694b03f6fd0a8c9f3525f6d9a4 23-Feb-2012 Steve Block <steveblock@google.com> Merge "Drop support for Android HTTP stack"
25eefbedf4b0ba6aea38605f4ba19c75a40810d1 23-Feb-2012 Insun Kang <insun@google.com> Changed TimedTextInBandSource to TimedText3GPPSource.

Change-Id: I820adffbf9b4012f25ab45e9624ae2c35fc5af94
ibstagefright/timedtext/Android.mk
ibstagefright/timedtext/TimedText3GPPSource.cpp
ibstagefright/timedtext/TimedText3GPPSource.h
ibstagefright/timedtext/TimedTextInBandSource.cpp
ibstagefright/timedtext/TimedTextInBandSource.h
ibstagefright/timedtext/TimedTextSource.cpp
2d8bedd05437b6fccdbc6bf70f673ffd86744d59 21-Feb-2012 Andreas Huber <andih@google.com> Add new APIs AMessage::(set|find)Buffer to make it safer to pass

ABuffer objects through messages.

Change-Id: I9f8b4e4c4767d0d70a0105e0c0813b754379b49d
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibstagefright/ACodec.cpp
ibstagefright/MPEG2TSWriter.cpp
ibstagefright/MediaCodec.cpp
ibstagefright/NuMediaExtractor.cpp
ibstagefright/foundation/AMessage.cpp
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/AAVCAssembler.cpp
ibstagefright/rtsp/AH263Assembler.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARawAudioAssembler.cpp
ibstagefright/rtsp/MyHandler.h
79af02c6a813b5d31fba3e7b72686a02f0ae7e0f 23-Feb-2012 Andreas Huber <andih@google.com> Merge "Implementation of a java media codec interface and associated tools."
5778822d86b0337407514b9372562b86edfa91cd 21-Feb-2012 Andreas Huber <andih@google.com> Implementation of a java media codec interface and associated tools.

Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/ACodec.cpp
ibstagefright/Android.mk
ibstagefright/MediaCodec.cpp
ibstagefright/NuMediaExtractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/foundation/AMessage.cpp
42539cb5d02f0cbaedba2de6ad6be42a0d7a9a9a 22-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Fix build warning"
f063b49e95c28d63a58215ebda892a5fee4204cc 18-Feb-2012 Glenn Kasten <gkasten@google.com> Fix build warning

warning: pointer of type 'void *' used in arithmetic
warning: enumeral and non-enumeral type in conditional expression

Change-Id: I7b8d626a636145ef648e3b5d0e77068216dd012e
ibmedia/AudioEffect.cpp
2e77ad2a9f7afb57b6f9127dd7c229e774baa9c8 22-Feb-2012 James Dong <jdong@google.com> Allow to record time lapse videos without using setProfile()

o also added a check on whether capture rate was set before starting time lapse video recording.

o related-to-bug: 6045507

Change-Id: I8e1fdc8e8931e2684ab3822dc6260db44658e87d
ibmediaplayerservice/StagefrightRecorder.cpp
43b1d8ad30bcd61c8cc62fce52fdc6d8381e5732 16-Feb-2012 Steve Block <steveblock@google.com> Drop support for Android HTTP stack

All future releases will use the Chromium HTTP stack and maintaining two HTTP
stacks adds maintenance overhead. The Chromium HTTP stack requires V8, but we
now use V8 in all build targets (b/5495373), so we can safely drop the Android
HTTP stack.

LoadListener, HttpAuthHandlerImpl, Network, SslErrorHandlerImpl, WebViewWorker
- Android-stack specific, removed
StreamLoader, FrameLoader
- Require LoadListener, removed
CacheLoader, ContentLoader, DataLoader, FileLoader
- Extend StreamLoader, removed

BrowserFrame
- Removed methods that create LoadListener
- BrowserFrame.startLoadingResource() is called from native
CallbackProxy, WebView
- Removed calls to Network methods
CacheManager, CookieManager, CookieSyncManager, WebViewCore, WebResourceResponse
- Removed other Android-stack specific code
JniUtlil
- Removed useChromiumHttpStack()
WebViewDatabase
- Removed all code to create cookies and cache databases for Android HTTP stack

See corresponding WebKit change https://android-git.corp.google.com/g/166327.

Bug: 5495616
Change-Id: If491675516f6eb187077af4220214bb6e6a8d045
ibstagefright/Android.mk
c33305c5dd4cc06e71eb0c66a7150aa6ab647c99 21-Feb-2012 James Dong <jdong@google.com> Merge "Limit the amount of audio record data in each buffer"
b9c769aa8ec26e25a7a61e14a9d521c2adf5b68d 17-Feb-2012 Steve Block <steveblock@google.com> Update stagefright makefile after dropping support for JSC

Bug: 5495373
Change-Id: Ibb81196edd3a6eaa4999cf0e30a78368afb66360
ibstagefright/Android.mk
dcdfc1ad27cb64bcb51a864b020b846ba22ce2a7 19-Feb-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Avoid overflows when calculating normFactor

normFactor is calculated using the saturating L_add function,
but if the value added (*psfbPeFactors) is negative, the sum
can end up negative.

*psfbPeFactors can end up negative if redThrExp is less than
*psfbNActiveLines.

In cases where *psfbPeFactors ended up negative, normFactor
became INT_MIN, causing division by zero later.

Change-Id: I00c852e457b22f7eef4d6ed1887629828057206b
ibstagefright/codecs/aacenc/src/adj_thr.c
01e29ede19cd7d85bfef38896de8e71e569cd211 19-Feb-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Avoid a division by zero

In rare cases, the result of normFactor * (*psfbNActiveLines)
could be zero, leading to a division by zero in pow2_xy.

In these cases, normFactor was INT_MIN, and if *psfbNActiveLines
was 2, the product was zero.

normFactor being INT_MIN is a bug in itself though.

Change-Id: Ib31bf02889615a7be3bd1bc028da8a7651a8dbee
ibstagefright/codecs/aacenc/src/adj_thr.c
76533e94500e5d221ec4a1a5d9c97ea3d75860e4 18-Feb-2012 Eric Laurent <elaurent@google.com> audio preprocessing: fix multiple enable problem

Do not set the effect state back to configured when a configuration
command is received while the effect is enabled. Instead just check that
the new config is the same as current config.

It is normal to receive a config command from the framework while enabled
if a new effect is added on the same session.

Change-Id: I93aa38bf60a3d7cc7729934e87ddd69bf1112cd6
ibeffects/preprocessing/PreProcessing.cpp
761defc341c5ce9019a42919c441f035f665ec0d 10-Feb-2012 John Grossman <johngro@google.com> Upintegreate AAH TX and RX players from ICS_AAH

Upintegrate the android at home TX and RX players developed in the
ICS_AAH branch.

Change-Id: I8247d3702e30d8b0e215b31a92675d8ab28dccbb
Signed-off-by: John Grossman <johngro@google.com>
ibaah_rtp/Android.mk
ibaah_rtp/aah_decoder_pump.cpp
ibaah_rtp/aah_decoder_pump.h
ibaah_rtp/aah_rx_player.cpp
ibaah_rtp/aah_rx_player.h
ibaah_rtp/aah_rx_player_core.cpp
ibaah_rtp/aah_rx_player_ring_buffer.cpp
ibaah_rtp/aah_rx_player_substream.cpp
ibaah_rtp/aah_tx_packet.cpp
ibaah_rtp/aah_tx_packet.h
ibaah_rtp/aah_tx_player.cpp
ibaah_rtp/aah_tx_player.h
ibaah_rtp/aah_tx_sender.cpp
ibaah_rtp/aah_tx_sender.h
ibaah_rtp/pipe_event.cpp
ibaah_rtp/pipe_event.h
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
af7d8189f91c45ab919a6c9ac386b268c8d91168 11-Jan-2012 John Grossman <johngro@google.com> Enhance Visualizer behavior in the case of mediaserver death.

Bring the Visualizer class into line with the SDK documentation by
returning ERROR_DEAD_OBJECT instead of ERROR_INVALID_OPERATION when
the Visualizer loses its binder connection to the mediaserver because
of a mediaserver restart.

Also add a new callback interface to allow clients to be
asynchronously notified in the case of server death. Right now, the
interface definition and the registration method are flagged as hidden
pending API council review/approval.

See http://b/issue?id=5717519 for details.

Change-Id: Ic15856f27ed5a950a583ac11ca81f79bd7e9b1a0
Signed-off-by: John Grossman <johngro@google.com>
ibmedia/AudioEffect.cpp
ibmedia/IEffect.cpp
ibmedia/Visualizer.cpp
4ff14bae91075eb274eb1c2975982358946e7e63 09-Feb-2012 John Grossman <johngro@google.com> Upintegrate Audio Flinger changes from ICS_AAH

Bring in changes to audio flinger made to support timed audio tracks
and HW master volume control.

Change-Id: Ide52d48809bdbed13acf35fd59b24637e35064ae
Signed-off-by: John Grossman <johngro@google.com>
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioTrack.cpp
951bd8d1ad9581a414e171ad8605a9515d0ad667 15-Aug-2011 Mike J. Chen <mjchen@google.com> Upintegrate the common_time service from ics-aah.

Move the common_time service developed in the ics-aah branch back into
master.

The common_time service is a small service build to synchronize an
arbitrary timeline amongst peers on a local sub-net. While running
and configured, the service will elect a master from the set of
available devices within the subnet, define a relationship between the
common_time timeline the local time timeline (provided by the local
time HAL), and then attempt to maintain synchronization between common
and local time by controlling the frequency of the local time clock
via the HAL, or by disciplining local time in the digital domain if
the local time HAL implementation does not support HW slewing.

On its own, the native common time service will do nothing until it is
configured. The CommonTimeManagementService (running out of the
system server process) is responsible for implementing policy
regarding configuration and operation of the common_time service and
will be added in a subsequent CL.

Change-Id: I71292f9b9b1797665865689c4572c9d3a0552f64
Signed-off-by: John Grossman <johngro@google.com>
ommon_time/Android.mk
ommon_time/ICommonClock.cpp
ommon_time/ICommonTimeConfig.cpp
ommon_time/cc_helper.cpp
ommon_time/local_clock.cpp
ommon_time/utils.cpp
ommon_time/utils.h
b575ddce78d266fa218006f90306158dda5c8f56 14-Feb-2012 James Dong <jdong@google.com> Limit the amount of audio record data in each buffer

o The size of each input buffer should be less than or equal to kMaxBufferSize
o related-to-bug: 5977032

Change-Id: I04343169aac3df56694aad4ba7967ec45337ad7e
ibstagefright/AudioSource.cpp
dce4161f7d4d39498f69591e876f5fecdde95833 14-Feb-2012 Jeff Tinker <jtinker@google.com> Fix videos app bandwidth accounting for 4G streaming

Register the app uid with the WV extractor so it can
attribute bandwidth usage to the proper process.

Multi-repository commit, also changes in vendor/widevine

Change-Id: I42395fd08bf0bfc7e224745f820a714400066456
related-to-bug: 5434244
ibstagefright/AwesomePlayer.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
d9b9b8d09e7471b0ffa21cfa9f944ef4ad300a71 14-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Update comments"
99e53b86eebb605b70dd7591b89bf61a9414ed0e 19-Jan-2012 Glenn Kasten <gkasten@google.com> Update comments

We no longer put the filename at start of file.

Change-Id: Ic435b159a23105681e3d4a6cb1ac097bc853302e
ibmedia/AudioTrack.cpp
ibmedia/IAudioTrack.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediaplayer.cpp
ed15977476a3d53103866e6d527fa3fb65d4166c 14-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Remove dead code AudioTrack::getLoop"
6dbc1359f778575d09d6da722b060a6d72c2e7c5 02-Feb-2012 Glenn Kasten <gkasten@google.com> AudioRecord and AudioTrack client tid

Inform AudioFlinger of the tid of the callback thread.

Change-Id: I670df92dd06749b057238b48ed1094b13aab720b
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
7a8b0ed6419e57dd8b41d3806893d63d3df91aab 02-Feb-2012 Jean-Michel Trivi <jmtrivi@google.com> Playback rate on MediaPlayer

Add support for modifying the playback rate of a MediaPlayer
by altering the sample rate of its AudioTrack.
The playback rate is expressed in permille, where 1000 is the
playback at normal speed.

Change-Id: I981d060ab32f7bae7a767e82c60c88ae635dceed
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
1f5ce8b0941c9c6baadd40d151634145f6d5a35c 13-Feb-2012 Eric Laurent <elaurent@google.com> Merge "Fix audio preprocessing library wrapper"
860936d780d98a5968f40e66ca6ae800c67adbc3 11-Feb-2012 James Dong <jdong@google.com> Merge "Change the signature of method addTextSource() in AwesomePlayer"
9f1d4448050a4df7118c90c0c0d3e6f9c4b82f3b 10-Feb-2012 James Dong <jdong@google.com> Merge "Move away from MediaDebug and use ADebug instead"
9d1f02d74fd395ec4de6861147da289423f0ab6f 09-Feb-2012 Glenn Kasten <gkasten@google.com> Follow raw pointer and sp<> conventions

Unconditional delete for raw pointers.
Use "if (sp != 0)" not "if (sp.get() != 0)" or "if (sp != NULL)".
Use "if (raw != NULL)" not "if (raw)".

Change-Id: I531a8da7c37149261ed2f34b862ec4896a4b785b
ibmedia/IAudioFlinger.cpp
ibmedia/JetPlayer.cpp
ibmedia/ToneGenerator.cpp
0ba18ec1b343a8de70924f87630dd1f329b00fe6 10-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "No newline or space at end of ALOG format string"
f1d5aa162c02a16b7195a43a9bcea4d592600ac4 07-Feb-2012 James Dong <jdong@google.com> Move away from MediaDebug and use ADebug instead

Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
ibmedia/MediaProfiles.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AACExtractor.cpp
ibstagefright/AMRExtractor.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/FileSource.cpp
ibstagefright/JPEGSource.cpp
ibstagefright/MediaBuffer.cpp
ibstagefright/MediaBufferGroup.cpp
ibstagefright/MediaSourceSplitter.cpp
ibstagefright/MetaData.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/ThrottledSource.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/VideoSourceDownSampler.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/colorconversion/ColorConverter.cpp
ibstagefright/id3/Android.mk
ibstagefright/id3/ID3.cpp
ibstagefright/id3/testid3.cpp
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXComponentBase.cpp
ibstagefright/omx/OMXMaster.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/tests/Android.mk
ibstagefright/omx/tests/OMXHarness.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
ibstagefright/timedtext/TimedTextInBandSource.cpp
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/yuv/YUVCanvas.cpp
ibstagefright/yuv/YUVImage.cpp
7c5b72c1ea1a7a8ec40c1364e5e32043799c811f 10-Feb-2012 James Dong <jdong@google.com> Change the signature of method addTextSource() in AwesomePlayer

o avoid a unnecessary copy constructor call

Change-Id: Ib598bbe42d42a835549e2d29502c6f196f859874
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
43089daaf82bd2b8e5f9a29b80af5abaae4657b3 09-Feb-2012 James Dong <jdong@google.com> Finish up B frame support in MPEG4Writer

o optimize to reduce the size of the size of the ctts box
o change the type for the time offset field in ctts table entry from int32_t to uint32_t according to the mp4 file spec
o also moved away from MediaDebug and used ADebug instead.

o related-to-bug: 4232183

Change-Id: I19364303728da64359c63169eec7487508c1d0f8
ibstagefright/MPEG4Writer.cpp
5ec58d925520e6913fba3fc54413881af751c610 09-Feb-2012 Andreas Huber <andih@google.com> Experiment with seeking to closest frame instead of closest syncframe

Also supports SEEK_CLOSEST mode in the Matroska/Webm extractor.

Change-Id: I257771648dfe41392a4cf8932f625489dcb9f234
ibstagefright/AwesomePlayer.cpp
ibstagefright/matroska/MatroskaExtractor.cpp
90bebef5669a9385c706b042d146a31dca2e5d9b 28-Jan-2012 Glenn Kasten <gkasten@google.com> No newline or space at end of ALOG format string

Change-Id: I0bef580cbc818cb7c87aea23919d26f1446cec32
ibmedia/AudioEffect.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScanner.cpp
ibmedia/MediaScannerClient.cpp
ibmedia/ToneGenerator.cpp
38f5d71e72f3b76c5b519614d27f051d53cd2712 08-Feb-2012 Glenn Kasten <gkasten@google.com> Remove dead code AudioTrack::getLoop

Change-Id: I868329c52f31bc20125f068500d8f892b4ec9796
ibmedia/AudioTrack.cpp
7ae4a2c130ec2cb5dec69d095b810698acc543b3 08-Feb-2012 James Dong <jdong@google.com> Merge "Enable B frame support in MPEG4Writer"
72ef00de10fa95bfcb948ed88ab9b7a177ed0b48 17-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_io_handle_t consistently instead of int

Other:
- add a comment to nextUniqueId
- made ThreadBase::mId const, since it is only assigned in constructor.

Change-Id: I4e8b7bec4e45badcde6274d574b8a9aabd046837
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
5e92a7861196ddae14638d4b7a63fc4892b7ef59 30-Jan-2012 Glenn Kasten <gkasten@google.com> Effect UUID inputs passed by pointer are const

Change-Id: I1f5c338bcb7368e3dd8cd5f804b2e6d9fbe087f8
ibeffects/factory/EffectsFactory.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/preprocessing/PreProcessing.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/testlibs/EffectReverb.h
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
ibmedia/IAudioFlinger.cpp
4f9b0c54011eb8fd2ccfb393c2dcd51cd07800e0 08-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Remove dead mutex in AudioTrack/AudioRecord thread"
f22147e5d2982e0c461f7ce8058c2d596d518bd4 08-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "AudioTrack declare more methods const"
e98bbd36d67243fe987b09904956550a68af1cc7 08-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Declare more IAudioFlinger methods const"
000e18370baae60ffd9f25b509501dd8c26deabf 07-Feb-2012 James Dong <jdong@google.com> Enable B frame support in MPEG4Writer

This patch allows us to automatically detect whether ctts box is needed in MPEG4Writer.
MPEG4Writer uses ctts version 0 (non-negative offset value) store the composition time
offset on a needed basis.

Currently, the size of the ctts box is not optimized. Optimization will be addressed
in a subsequent patch.

o also changed the private method retrieveDecodingTime(bool) in OMXCodec
to getDecodingTime()

o related-to-bug: 4232183

Change-Id: Ic6dc7b25ecd258c2506ca4b9c25156e922456e51
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
f83463148fbe344989ee1da07d15b94c38a61582 07-Feb-2012 Andreas Huber <andih@google.com> Merge "MatroskaExtractor: to support MPEG4 and MP3 codec."
94fef38613962c983c46ab0b97c58f5373412d2d 06-Feb-2012 Eric Laurent <elaurent@google.com> Fix audio preprocessing library wrapper

Fixed bug in EFFECT_CMD_GET_CONFIG command handler in
webRTC audio processing library wrapper.

Change-Id: I1d2cefa00930e549607af8dc2cf27555da8d313f
ibeffects/preprocessing/PreProcessing.cpp
60c2b4ece6528d6d3f4e9e2c7e45772b65c4b87d 04-Feb-2012 James Dong <jdong@google.com> Don't call virtual function in destructor of SurfaceMediaSource

Change-Id: I3cbc2b1222335b61c814b5cdcfaefa495148b0ec
ibstagefright/SurfaceMediaSource.cpp
f9289a4ca88d8f72cb0d6b3ca16fbc44ef4a2aeb 04-Feb-2012 James Dong <jdong@google.com> Merge "Don't call virtual functions in the destructor for audio and camera source classes"
a5224f319e2ba4b51ddb4287705ccf8d4b8ecc51 04-Jan-2012 Glenn Kasten <gkasten@google.com> AudioTrack declare more methods const

Change-Id: I4999e984460893961d0d8092cff17f3cf07d7214
ibmedia/AudioTrack.cpp
f587ba5b991c7cd91e4df093d0d796bd419e5d67 27-Jan-2012 Glenn Kasten <gkasten@google.com> Declare more IAudioFlinger methods const

This is just documentation, as C++ method const-ness doesn't mean anything
for a binder API. Instead, here const means "no side effects".

Change-Id: Iaa9cd2fe477db10ae9a40cac4f79f0faa9b4e5e6
ibmedia/AudioEffect.cpp
ibmedia/IAudioFlinger.cpp
f3623993b78669a624d9b3a703b361ed6c035ad9 04-Feb-2012 James Dong <jdong@google.com> Merge "Don't call virtual functions in destructors for the writer classes"
aad5bdff98ac5bc9be4288b5acf445465750711e 03-Feb-2012 James Dong <jdong@google.com> Merge "Keep AACEncoder around for a bit longer to have more time fix issues related to video editor engine"
c71f6e2392bf55cc85ee7c1a376441e9b9aae4c8 03-Feb-2012 James Dong <jdong@google.com> Keep AACEncoder around for a bit longer to have more time fix issues related to video editor engine

o this should be reverted after the problem is fixed.
o related-to-bug: 5947347

Change-Id: Iaec4b59d2c99c975e83f0588a813e9a4bfcb7ee2
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
787bae0578fbaab6219ebf23494866b224d01438 03-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_in_acoustics_t consistently"
ff3c83e04ae459c4252b86dd4440b4e37ee92c16 03-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Use ToneGenerator::tone_type consistently"
a0d68338a88c2ddb4502f95017b546d603ef1ec7 28-Jan-2012 Glenn Kasten <gkasten@google.com> Use NULL not 0 for raw pointers

Use if (p != NULL) instead of if (ptr)

Change-Id: Iaec3413a59ccbf233c98fcd918cc7d70ac5da9fa
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/ToneGenerator.cpp
62da7fbd60bee2dd57f503126266e9f04311d400 03-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "Make AudioTrack control block volume field private"
b44c9d2bdc0d5b9cb03254022a58e017b516e9e6 03-Feb-2012 James Dong <jdong@google.com> Don't call virtual functions in the destructor for audio and camera source classes

Change-Id: Ia74ffc1c0cbd7971697f5e3c476e340ec5c7727a
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
8bcc65c753085fe3328592cceda0cf0e8f8b0a45 03-Feb-2012 James Dong <jdong@google.com> Don't call virtual functions in destructors for the writer classes

Have not found any concrete bugs related to these calls yet, but we should avoid
calling virtual functions in destructors, regardless.

Change-Id: I2d47b79d3fb2d29f418619bee83aa147d232a5d4
ibstagefright/AACWriter.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG2TSWriter.cpp
ibstagefright/MPEG4Writer.cpp
914b33354be650a5213dd545ace49c6e81828043 02-Feb-2012 James Dong <jdong@google.com> Merge "Removed a loop for buffer lookup"
457d4c01ec0e922771ef57158431f48e4d267905 02-Feb-2012 Glenn Kasten <gkasten@google.com> Merge "More audio_stream_type_t"
0e265cf36d201a7ccc0238b5c60b50f43d1dc450 02-Feb-2012 Glenn Kasten <gkasten@google.com> Remove dead mutex in AudioTrack/AudioRecord thread

The client callback threads had mutexes called AudioTrackThread::mLock
and ClientRecordThread::mLock. These mutexes were only used by start()
and stop(), and were unused by the thread itself. But start() and
stop() already have their own protection provided by AudioTrack::mLock
and AudioRecord::mLock. So the thread mutexes can be removed.

Change-Id: I098406d381645d77fba06a15511e179a327848ef
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
928170837b9dec2b90f7a01b85182a8b00b45972 02-Feb-2012 James Dong <jdong@google.com> Removed a loop for buffer lookup

o used the nInputPortIndex and nOutputPortIndex from header instead
of assuming that the # of ports == 2

Change-Id: I4b615912b088b4e2bac9c00e89986e811a5c58bb
ibstagefright/omx/SimpleSoftOMXComponent.cpp
e336de43a7cf186fe9d5070f5badfad6e302d9e3 02-Feb-2012 Eric Laurent <elaurent@google.com> Merge "modifications for new webrtc modules"
bf6954598193147cac980b8b5d7ad5215f1dec16 02-Feb-2012 James Dong <jdong@google.com> Merge "Remove the restriction that the width must be a multiple of 4 or 2 for thumbnail generation"
4e260ab948787c2a814543077832847deae890fd 01-Feb-2012 James Dong <jdong@google.com> Remove the restriction that the width must be a multiple of 4 or 2 for thumbnail generation

o simply applying the change in commit a161af9d1e2baa3f23e32634ef7dd9b4bbce9a6c to other formats
o related-to-bug: 5947196

Change-Id: I95de10263b8ad9ec941f1d6b907fca6aeff0a90f
ibstagefright/colorconversion/ColorConverter.cpp
83f70f4472e9b0cacc5d372eddfcef4b02662d10 01-Feb-2012 Andreas Huber <andih@google.com> The AMR WB software encoder is now an OMX component.

Change-Id: Iebfb2696783a0163369ba4e8ef72e19ee76ad893
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/amrwbenc/SoftAMRWBEncoder.cpp
ibstagefright/codecs/amrwbenc/SoftAMRWBEncoder.h
ibstagefright/omx/SoftOMXPlugin.cpp
5387696d25bc710f8cd0e6d08079e2aa8d6c1417 31-Jan-2012 Eric Laurent <elaurent@google.com> modifications for new webrtc modules

Adapt include files path in makefile and source to new
directory structure in webrtc library.

Also changed the default AGC parameters to less extreme settings.

Change-Id: Ia6a41c816dc44645f8f867937b722eede88c06ea
ibeffects/preprocessing/Android.mk
ibeffects/preprocessing/PreProcessing.cpp
252353088a5ebf8508fbc01439ff417805ef1417 31-Jan-2012 Andreas Huber <andih@google.com> The software AMR NB encoder is now an OMX component.

Change-Id: I890eab052a7c36409b8b694c964884e28dd8d8fc
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/amrnb/enc/Android.mk
ibstagefright/codecs/amrnb/enc/SoftAMRNBEncoder.cpp
ibstagefright/codecs/amrnb/enc/SoftAMRNBEncoder.h
ibstagefright/omx/SoftOMXPlugin.cpp
2af955b7437ac5345d75a5e528ebbb749667af7e 01-Feb-2012 James Dong <jdong@google.com> Merge "add tests module tag to omx_tests"
8a0f85fec2e28a97ba8fdda89c2a9b957098c114 31-Jan-2012 James Dong <jdong@google.com> add tests module tag to omx_tests

Change-Id: I5dcb5187f09a7ae980ac5857b7ade81001d459f8
ibstagefright/omx/tests/Android.mk
10a5a34b0a8ba44343d0c7e0d3f261af49b5cf4c 31-Jan-2012 James Dong <jdong@google.com> Merge "First step of refactoring 'timedtext' code."
d459b485c61bd3e7fd81c5cd3af8ada27fc3e8d3 31-Jan-2012 Andreas Huber <andih@google.com> Slighly improve the API to discover if the OMX stack is running in the local

process.

Change-Id: Idd3c2f0d4a9542af01a3fdfd3b0bfab90e083505
ibmedia/IOMX.cpp
ibstagefright/OMXClient.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/OMX.h
ibstagefright/omx/OMX.cpp
3989d5c21ce6d1f3492c9e5484d610d5d66abd9e 20-Apr-2011 Martin Storsjo <martin@martin.st> stagefright aacenc: Safeguard against overwriting bits

Previously, if bits above the lowest noBitsToWrite were
set, they would be ORed into the previous cache word,
setting unrelated bits erroneously.

This doesn't noticeably affect the performance of the
codec as a whole.

Change-Id: Ie9935533c4299b8f07cb14485f039a9be9c84016
ibstagefright/codecs/aacenc/src/bitbuffer.c
6655174826330afe66ef766258181ae8c11f3f6c 11-Jan-2012 Insun Kang <insun@google.com> First step of refactoring 'timedtext' code.

Goal
1. Removed dependency of TimedTextPlayer on AwsomePlayer.
2. Generalized TimedTextParser to TimedTextSource and its subclasses.

Summary
1. Introduced TimedTextDriver, TimedTextPlayer (new implementation),
TimedTextSource (and its subclasses).
2. Removed TimedTextParser.

Remaining TODOs
1. Revise VideoVidew, Gallery3D app, AwesomePlayer to check if
'pause' and 'resume' works well.
2. Consider revising MediaPlayer APIs such as setParameter() ->
addTextSource(). Need more thoughts.

Change-Id: Ie0c4f15b9690102de755cef6940f8c31ccf78e27
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/timedtext/Android.mk
ibstagefright/timedtext/TimedTextDriver.cpp
ibstagefright/timedtext/TimedTextDriver.h
ibstagefright/timedtext/TimedTextInBandSource.cpp
ibstagefright/timedtext/TimedTextInBandSource.h
ibstagefright/timedtext/TimedTextParser.cpp
ibstagefright/timedtext/TimedTextParser.h
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
ibstagefright/timedtext/TimedTextSRTSource.cpp
ibstagefright/timedtext/TimedTextSRTSource.h
ibstagefright/timedtext/TimedTextSource.cpp
ibstagefright/timedtext/TimedTextSource.h
530f752a8191ccc6bde82fb2012aa3cd032257c0 31-Jan-2012 Andreas Huber <andih@google.com> Make sure our aac decoder handles this parameter.

Change-Id: I212ef0c21776b99d0c6662b118ca0ec16b1d3d5e
ibstagefright/codecs/aacdec/SoftAAC.cpp
e9c52da6fdb755ed832325c2fe4fe5b3bc4c9eed 30-Jan-2012 Andreas Huber <andih@google.com> Instantiate software codecs locally whenever possible.

Change-Id: I58d5c30b9de9873a239e91955a8900e2c72518a7
ibstagefright/Android.mk
ibstagefright/OMXClient.cpp
dc27bc4b2cd4b95a0d7ba5dd34e3be63e1cc0c9d 22-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Simplify the definition of static_vo

For GCC, all of inline, __inline and __inline__ work fine.
For MSVC, only __inline works. (__inline should also be accepted
by RVCT.)

Change-Id: Ifbb1c848b200a8c4080624a3d3bd8b6ee498edb2
ibstagefright/codecs/amrwbenc/inc/basic_op.h
cf8b805a0c0695097211ca18237c27f45b0df85c 22-Dec-2010 Martin Storsjo <martin@martin.st> stagefright aacenc: Avoid warnings about incompatible pointer types

Change-Id: Ida53cd1030ebb9feb0d6916e42e8ba67a90e86c7
ibstagefright/codecs/aacenc/inc/aacenc_core.h
ibstagefright/codecs/aacenc/src/aacenc_core.c
211eeaf17e5565b68447d29799dbf158a33cf4cf 20-Jan-2012 Glenn Kasten <gkasten@google.com> More audio_stream_type_t

Change-Id: I1260259efe0aa3fc1ef13de69758aaa592e1f815
ibmedia/AudioSystem.cpp
3d2f877c1cb4e4ae4ddde7f57f4353de9341f11b 28-Jan-2012 Glenn Kasten <gkasten@google.com> Use ToneGenerator::tone_type consistently

Also remove defaults in startToneCommand(), they're not needed and the
default for tone type was nonsense.

Change-Id: I70fa8cee4f3dbb8c66ceb3719c8d3d2f447f05b9
ibmedia/ToneGenerator.cpp
de9719b3ec71472e6bf75117152176af51d1a515 27-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_in_acoustics_t consistently

Change-Id: I0a9dd668fb2e57b1c3ece3190588194974b99062
ibmedia/IAudioFlinger.cpp
fd267d7cf640225bb57f0ed1af44efc153275f6d 27-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_source_t consistently"
eba51fb3a361f67a6a64d5a16eba6084fe27d60e 23-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_source_t consistently

Was a mix of audio_source_t, uint8_t, and int.

Related fixes:
- fix comments in MediaRecorder.java
- AudioPolicyService server side was not checking source parameter at
all, so if the client wrapper was bypassed, invalid values could be
passed into audio HAL
- JNI android_media_AudioRecord_setup was checking source for positive
values, but not negative values. This test is redundant, since already
checked at Java and now checked by AudioPolicyService also, but might
as well make it correct.

Change-Id: Ie5e25d646dcd59a86d7985aa46cfcb4a1ba64a4a
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
ibstagefright/AudioSource.cpp
710272b2da6b32c050770378db74f8197e8b8dc6 27-Jan-2012 Andreas Huber <andih@google.com> Merge "The software AAC encoder is now an OMX component."
2b1892db4a2ab47bfc09e59a4c11751aea99e4ea 26-Jan-2012 Andreas Huber <andih@google.com> The software AAC encoder is now an OMX component.

Yay.

Change-Id: I74938a20b4e0a622836ea5184d3761180eb0f5de
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/aacenc/SoftAACEncoder.cpp
ibstagefright/codecs/aacenc/SoftAACEncoder.h
ibstagefright/omx/SoftOMXPlugin.cpp
2857b47a2731579772c76d46285660972c0ba23d 25-Jan-2012 Ben Cheng <bccheng@google.com> Preserve NEON callee-save registers d8-d15.

BUG:5918479
Change-Id: I574bd5845d9e7e007c637aabbf170d03217d10ad
ibstagefright/codecs/aacenc/src/asm/ARMV7/PrePostMDCT_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/R4R8First_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/Radix4FFT_v7.s
244ffc8b98c8b59cf64ef3d368c3373014a2f230 25-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 95306d85: am 64085d03: am 12045502: Merge "stagefright aacenc: Fix type definitions for 64 bit platforms"

* commit '95306d85005f165e10a25ad45cadadec6e1f6a31':
stagefright aacenc: Fix type definitions for 64 bit platforms
395584e473cc096c84d6657d07380d65dd711e14 25-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 12045502: Merge "stagefright aacenc: Fix type definitions for 64 bit platforms"

* commit '12045502c49bfee40d7d3cb806d9b70d3b5d3ed3':
stagefright aacenc: Fix type definitions for 64 bit platforms
013b73bfc4d5fb21082ccccf45fa08c18f86aa08 25-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Fix type definitions for 64 bit platforms"
2d96e2965b3118c4e3cb21a76c9f07e0c8ccfc6e 25-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am e2594b85: am 4cd2b343: am 98539a4e: Merge "stagefright amrwbenc: Make the mem_malloc function 64-bit safe"

* commit 'e2594b85093441e03150c7cfc540abc626884eaf':
stagefright amrwbenc: Make the mem_malloc function 64-bit safe
4787cfeb9cfe6027c7634b09ede309f37a8b0a75 25-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am a3946104: am fc2ea24b: am d80cbb8c: Merge "stagefright aacenc: Add missing newlines at the end of files"

* commit 'a39461047eae6022e2c0ef873ffa2c7241b393a9':
stagefright aacenc: Add missing newlines at the end of files
fa521a76c4fc14b01b46930cd0d04856d57fdcc1 25-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 98539a4e: Merge "stagefright amrwbenc: Make the mem_malloc function 64-bit safe"

* commit '98539a4eba7677c0b1ddc12f800c7075851ef302':
stagefright amrwbenc: Make the mem_malloc function 64-bit safe
a70de78001281b44e8a05da60d81b551850c57bf 25-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am d80cbb8c: Merge "stagefright aacenc: Add missing newlines at the end of files"

* commit 'd80cbb8c7b13203704c00e2f5941588811c15665':
stagefright aacenc: Add missing newlines at the end of files
ceec4ae3ba8c3c3d5e243647ad7ee2fc39c71c9c 24-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright amrwbenc: Make the mem_malloc function 64-bit safe"
a078e9b727156c76ef864ac2d8b3f6a99df9e604 24-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Add missing newlines at the end of files"
f06a99bbc159a691ad618865c4faecbf185371cd 24-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 10c4641c: am 2ae5805c: am 164a9842: Merge "stagefright aacenc: Properly terminate a comment"

* commit '10c4641c2e2f747f8fef7d217d550b7f9a6de588':
stagefright aacenc: Properly terminate a comment
5e37bc8d9ba68d6bc42e70a263f7c2969cc3c787 24-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 164a9842: Merge "stagefright aacenc: Properly terminate a comment"

* commit '164a984224f5d430757628028f2522329987350f':
stagefright aacenc: Properly terminate a comment
9c7ebfd56cef49f9a26572b44790868689599e34 24-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge "stagefright aacenc: Properly terminate a comment"
83d86538c4c479a9225c75ab27938e8f05abb9c8 17-Jan-2012 Glenn Kasten <gkasten@google.com> Make AudioTrack control block volume field private

This is part of the process of abstracting the control block
to make it easier to maintain.

Change-Id: Idb8f461e68dab3bcf268159cc0781651c6fb7094
ibmedia/AudioTrack.cpp
af0b82748ed900efab48068137114740cc84ee8f 21-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Fix warning for redundant typedef"
58f30210ea540b6ce5aa6a46330cd3499483cb97 12-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently, continued

Was int or uint32_t.

When AudioFlinger::format can't determine the correct format,
return INVALID rather than DEFAULT.

Init mFormat to INVALID rather than DEFAULT in the constructor.
Subclass constructors will set mFormat to the correct value.

Change-Id: I9b62640aa107d24d2d27925f5563d0d7407d1b73
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioPolicyService.cpp
41159044c6764712bb6de54a507aeabc513b90cb 20-Jan-2012 Andreas Huber <andih@google.com> Merge "Starhub RTSP apparently does not establish time on all tracks"
7e73e44c2d2208a7079e562f7b0b9b73ef6a29f1 20-Jan-2012 Andreas Huber <andih@google.com> Starhub RTSP apparently does not establish time on all tracks

i.e. the "SR" RTCP packet is sent for only one of the two tracks.

fake timestamps if that's the case, previously we'd only fake timestamps
if we didn't receive _any_ "SR" packets.

Change-Id: Id63d4940d453ba6c04c62e02ab9a0ad843936bc1
related-to-bug: 5669027
ibstagefright/rtsp/MyHandler.h
4a98a7c95f3c7d1e8c2913086ce35533a7d5cbf3 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Fix typos in string constants"
d967f0a099db2b71597a3127134afd4a46287a4a 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Remove redundant get()"
05bfe50e13793404a78c20c850d467d17734d496 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Move memcpy_to_i16_from_u8 to audio_utils"
7fc9a6fdf146ded90b51c52f4a05d797294dcb85 10-Jan-2012 Glenn Kasten <gkasten@google.com> Remove redundant get()

get() is almost always unnecessary, except in a LOG.
Also no need to check for != 0 before calling get().

Change-Id: Ib06e7a503f86cf102f09acc1ffb2ad085025516d
ibmedia/AudioSystem.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/mediametadataretriever.cpp
112ab3e11b9992814363e0f9c629ef7fba86950b 20-Jan-2012 Glenn Kasten <gkasten@google.com> Fix warning for redundant typedef

frameworks/base/media/libmedia/autodetect.cpp:22: warning: 'typedef' was ignored in this declaration

Change-Id: I8c7404b9f5aa515c0fe92a5a46f24248d6fe96bf
ibmedia/autodetect.cpp
ea3cc3bca949139e401b77f2ac0cce7ac6e76f8f 20-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Remove dead setRingerMode(mode, mask)"
a3db30f7c53936a3acb87d2c44807ee2f0cfa16e 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 9d25b82d: Merge "Rename LOG_ASSERT to ALOG_ASSERT"

* commit '9d25b82d280c2d979d500e7da4447148f32f820b':
Rename LOG_ASSERT to ALOG_ASSERT
d746737921074e2a6c39c52b06022c5166689df5 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 6df477be: Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)"

* commit '6df477be186233e36fc370c4d2db6c1ed928a740':
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
daef36f5d4934bd055c694a8d54b86e2b50a6159 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am a826f9e2: Merge "Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)"

* commit 'a826f9e2c4f6329d8d48c927f6e942e78ffaf92f':
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
3734cbca25c6d902677cfb5e59dff7a1cb17a45d 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am 4f367f33: Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)"

* commit '4f367f3387887c538c81c34cc8becaea6fa5e430':
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)
e744a90eb52bf9547848c08380cfb7ba7e63ffbc 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am ba7f0d2a: Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)"

* commit 'ba7f0d2a03643ce429421b81febf18fd50473070':
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
ca05a87f4c69670a06bdee4b4f98bcdcd838beda 20-Jan-2012 Jean-Baptiste Queru <jbq@google.com> Merge ee4618bc

Change-Id: Ie1dc6ad38e7c30636d80f6caef11cf6673144940
39fd8eb956dea32692d3d72b10b64a8597df0a40 09-Jan-2012 Steve Block <steveblock@google.com> Rename LOG_ASSERT to ALOG_ASSERT

Change-Id: Ie2c7ea6560656d65bad791a61996174c75677517
ibmediaplayerservice/TestPlayerStub.cpp
9a8ded7348c5b2302dd27b285b395416bc842c49 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)

Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
ibeffects/preprocessing/PreProcessing.cpp
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/JetPlayer.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScannerClient.cpp
ibmedia/Metadata.cpp
ibmedia/ToneGenerator.cpp
ibmedia/Visualizer.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiMetadataRetriever.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/TestPlayerStub.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/AACWriter.cpp
ibstagefright/ACodec.cpp
ibstagefright/AMRExtractor.cpp
ibstagefright/AVIExtractor.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/FLACExtractor.cpp
ibstagefright/FileSource.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaBuffer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/SampleTable.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/dec/SoftAMR.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/g711/dec/SoftG711.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/codecs/on2/dec/SoftVPX.cpp
ibstagefright/codecs/on2/h264dec/SoftAVC.cpp
ibstagefright/codecs/vorbis/dec/SoftVorbis.cpp
ibstagefright/foundation/AMessage.cpp
ibstagefright/httplive/LiveDataSource.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/id3/ID3.cpp
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
ibstagefright/omx/OMXMaster.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
ibstagefright/omx/tests/OMXHarness.cpp
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/MyHandler.h
ibstagefright/rtsp/UDPPusher.cpp
ibstagefright/rtsp/rtp_test.cpp
ibstagefright/tests/DummyRecorder.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/yuv/YUVImage.cpp
tp/MtpDataPacket.cpp
tp/MtpDevice.cpp
tp/MtpPacket.cpp
tp/MtpProperty.cpp
tp/MtpServer.cpp
aa70226152d2084f85a96b52359dbc8476a86a45 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)

Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
ibeffects/factory/EffectsFactory.c
ibeffects/preprocessing/PreProcessing.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/IOMX.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScanner.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/ACodec.cpp
ibstagefright/AVIExtractor.cpp
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/ESDS.cpp
ibstagefright/FLACExtractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/codecs/vorbis/dec/SoftVorbis.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/foundation/AHierarchicalStateMachine.cpp
ibstagefright/foundation/ALooperRoster.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/MyHandler.h
53feeb42c721e8fc9285e35e679906a951f3277c 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF)

Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleTable.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/avc_utils.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/foundation/hexdump.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
ibstagefright/omx/tests/OMXHarness.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
ibstagefright/rtsp/UDPPusher.cpp
ediaserver/main_mediaserver.cpp
tp/MtpDevice.cpp
tp/MtpProperty.cpp
52546c0ef96aa3e7e21482e0f9b6e982557c8da9 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)

Change-Id: I44f267700356967dc51e8f85ebf457dc85cfb229
ibmedia/AudioSystem.cpp
ibmedia/MediaScanner.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/MPEG4Writer.cpp
tp/MtpDevice.cpp
tp/MtpObjectInfo.cpp
tp/MtpServer.cpp
tp/MtpStorageInfo.cpp
3812256de32e73e38ba16e50ac0451c10223d4eb 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF)

Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
ibeffects/factory/EffectsFactory.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/preprocessing/PreProcessing.cpp
ibeffects/testlibs/AudioEqualizer.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
ibmedia/AudioParameter.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IEffect.cpp
ibmedia/IEffectClient.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/JetPlayer.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScanner.cpp
ibmedia/ToneGenerator.cpp
ibmedia/Visualizer.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiMetadataRetriever.cpp
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibstagefright/AACWriter.cpp
ibstagefright/ACodec.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/AVIExtractor.cpp
ibstagefright/AudioPlayer.cpp
ibstagefright/AudioSource.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/ESDS.cpp
ibstagefright/FLACExtractor.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG2TSWriter.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/MediaSourceSplitter.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/SampleTable.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/VideoSourceDownSampler.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/avc_utils.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/codecs/on2/dec/SoftVPX.cpp
ibstagefright/codecs/vorbis/dec/SoftVorbis.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/id3/ID3.cpp
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/SimpleSoftOMXComponent.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/AAVCAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARawAudioAssembler.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
ibstagefright/tests/DummyRecorder.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
tp/MtpDevice.cpp
tp/MtpDeviceInfo.cpp
tp/MtpPacket.cpp
tp/MtpServer.cpp
tp/MtpStorage.cpp
bd9c9a80fd487b3e83861c32b388eac146f8a299 19-Jan-2012 Andreas Huber <andih@google.com> Make sure the ThrottledSource reports the proper mime type

of the underlying source.

Change-Id: I7cfd5c9f10d4b07781ed82fbdc9bf3db2e86cf84
ibstagefright/include/ThrottledSource.h
9096f3471434d7f0d2419ac0ee2a618045489718 19-Jan-2012 Glenn Kasten <gkasten@google.com> Fix typos in string constants

These were copy/paste errors in code that was copied from AudioTrack.

Change-Id: I64a04d6026667884ddb1fefba67a71d69c691d62
ibmedia/Visualizer.cpp
27a0d83f53ddbfd6449ab0e3c786742a2cd135a9 19-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Fix incorrect includes of AudioTrack.h"
241fc78866b2aefd75cd1890df5a75b7008728e8 19-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Simplify range check for audio_mode_t (continued)"
a3f1fa308728976fc9ca1b4f37d26e633b32b9ac 18-Jan-2012 Glenn Kasten <gkasten@google.com> Fix incorrect includes of AudioTrack.h

Remove unnecessary includes of AudioTrack.h.
Use forward declaration of class names in preference to #include when possible.

Change-Id: I12982811fa75c2c7695d8bbfa595a7aaec047dc0
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MidiFile.h
347966c827883711d1ec631f204e4a6ab74e9d99 18-Jan-2012 Glenn Kasten <gkasten@google.com> Simplify range check for audio_mode_t (continued)

Missed one place in earlier CL of same name

Change-Id: I0dd25364d0b8d5d731c02d352f139a0c8d4df1a8
ibmedia/AudioSystem.cpp
0b07b8085d7b837b4dd5f09e0c8c39408f6bdbf7 18-Jan-2012 Glenn Kasten <gkasten@google.com> Remove dead setRingerMode(mode, mask)

Change-Id: Ia4cc8be8424a40b3dcb7ebd0264fdff4e5247f7f
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
b93db88344829d02f114768b5f8a8e30f78b88fc 18-Jan-2012 Andreas Huber <andih@google.com> Merge "Temporarily restore AudioSystem/AudioTrack APIs with their former signatures"
c813985abd8ba61e999b3505f6a332574f87a1be 18-Jan-2012 Andreas Huber <andih@google.com> Temporarily restore AudioSystem/AudioTrack APIs with their former signatures

until we get updated prebuilts from vendor.

Change-Id: I8aae81d2513edca0ab268053a11c8c4206879e61
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
77418fc9b4131cabfe9a85963604bdd535a04df8 18-Jan-2012 Andreas Huber <andih@google.com> Merge "AVIExtractor: adding a H264 fourCC which is also specified in the reference. (H264 code can be found avi file which is encoded with FFmpeg.)"
6c90884d683f00b56f2050c598b2cc40b7ca60d3 18-Jan-2012 Bryan Mawhinney <bryanmawhinney@google.com> Merge "Make sure seek triggers a reconnect if needed."
04eaf3e5f20d7faa956c0d672024ffb5117f4c26 18-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Track volume cleanup"
40a4e1440869b2e3981f261b0d301cd16c0cf0aa 18-Jan-2012 Bryan Mawhinney <bryanmawhinney@google.com> Make sure seek triggers a reconnect if needed.

Previously, if we had disconnected at the high watermark,
the read immediately following a seek would fail, and would
not be retried, resulting in an error.

Change-Id: I45a53563fe17d6b54893815abc7750a7dfb0a124
ibstagefright/NuCachedSource2.cpp
9fc4dfb69df0b5a13b7a1904272eb1dcf8113d0c 22-Dec-2010 Martin Storsjo <martin@martin.st> stagefright aacenc: Add const declarations to some pointers

This avoids some compilation warnings.

Change-Id: Ia89ab94020a9f1ee4c1df48823fb89325cca7d36
ibstagefright/codecs/aacenc/inc/psy_configuration.h
ibstagefright/codecs/aacenc/src/dyn_bits.c
ibstagefright/codecs/aacenc/src/interface.c
ibstagefright/codecs/aacenc/src/psy_configuration.c
ibstagefright/codecs/aacenc/src/psy_main.c
ibstagefright/codecs/aacenc/src/quantize.c
63ad6aacc6ce6b729bf25f41376cfea731a2c1eb 18-Jan-2012 Eric Laurent <elaurent@google.com> Merge "audio framework: manage stream volume per device"
b1cf75c4935001f61057989ee3cf27bbf09ecd9c 17-Jan-2012 Glenn Kasten <gkasten@google.com> Track volume cleanup

Always read and write track volumes atomically. In most places this was
already being done, but there were a couple places where the left and
right channels were read independently.

Changed constant MAX_GAIN_INT to be a uint32_t instead of a float.
It is always used as a uint32_t in comparisons and assignments.
Use MAX_GAIN_INT in more places.

Now that volume is always accessed atomically, removed the union
and alias for uint16_t volume[2], and kept only volumeLR.

Removed volatile as it's meaningless.

In AudioFlinger, clamp the track volumes read from shared memory
before applying master and stream volume.

Change-Id: If65e2b27e5bc3db5bf75540479843041b58433f0
ibmedia/AudioTrack.cpp
511754b5839fd9b09fc56b89ae007fbc39084a33 11-Jan-2012 Glenn Kasten <gkasten@google.com> Move memcpy_to_i16_from_u8 to audio_utils

This will make it easier for this kind of code to be optimized
for each target architecture.

Change-Id: I9efd27d6c0175b00b9a784353244805cec63c0b8
ibmedia/AudioTrack.cpp
83844cc2f95dc279015b47fd1e18c7cb4eabe9a1 19-Nov-2011 Eric Laurent <elaurent@google.com> audio framework: manage stream volume per device

Improve volume management by keeping track of volume for each type
of device independently.
Volume for each stream (MUSIC, RINGTONE, VOICE_CALL...) is now maintained
per device.

The main changes are:
- AudioService now keeps tracks of stream volumes per device:
volume indexes are kept in a HashMap < device , index>.
active device is queried from policy manager when a volume change request
is received
initalization, mute and unmute happen on all device simultaneously
- Settings: suffixes is added to volume keys to store each device
volume independently.
- AudioSystem/AudioPolicyService/AudioPolicyInterface: added a device argument
to setStreamVolumeIndex() and getStreamVolumeIndex() to address each
device independently.
- AudioPolicyManagerBase: keep track of stream volumes for each device
and apply volume according to current device selection.

Change-Id: I61ef1c45caadca04d16363bca4140e0f81901b3f
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
3f6448e020969be59ad4d8df99c5296f237ffbd9 16-Jan-2012 Glenn Kasten <gkasten@google.com> Move fixed_fft to system/media/audio_utils

Change-Id: If8a03911434862a872539c313f54825ffb2cc672
ibmedia/Android.mk
ibmedia/Visualizer.cpp
ibmedia/fixedfft.cpp
0696400a6bb9abbed62b3b9c6aa105495dc600a2 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_mode_t consistently"
a9b21c5a7c24fe14d20372263c0bf5faf3d3e348 17-Jan-2012 Glenn Kasten <gkasten@google.com> Rename Visualizer::mLock

This avoids confusion with parent class AudioEffect's mLock which is
protected.

Change-Id: I2ae0b0869fe3c606f682252973795b34477951d0
ibmedia/Visualizer.cpp
613882293184e575a44bff681a3decaefe889e69 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use size_t for frame size"
0107954f72153db747a3727dc1157e9236dfed90 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_stream_type_t consistently"
b9ac2007cd141992eb5412ffb1c6527e0259b3ab 17-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "AudioTrack and AudioFlinger send level cleanup"
132e88ee86e4f11d1b649c336cd2d6eb5980c3fc 15-Jan-2012 Dongwon Kang <dwkang@google.com> MatroskaExtractor: to support MPEG4 and MP3 codec.

Change-Id: Ic7ffb3ed394b233336fbf2a7b2627ee27033a59e
ibstagefright/matroska/MatroskaExtractor.cpp
ec2e74b538b899aac54f55ed1aa60286624f8895 14-Jan-2012 Dongwon Kang <dwkang@google.com> AVIExtractor: adding a H264 fourCC which is also specified in the reference.
(H264 code can be found avi file which is encoded with FFmpeg.)

Change-Id: Id9eccd4580443f42b2afa491c94ac2c2faa37f87
ibstagefright/AVIExtractor.cpp
05632a5fa4b88ca474294887fc92a9fcdf0e2352 03-Jan-2012 Glenn Kasten <gkasten@google.com> AudioTrack and AudioFlinger send level cleanup

Add an API to control block for getting/setting send level.
This allow us to make the mSendLevel field private.

Document the lack of barriers.

Use 0.0f to initialize floating-point values (for doc only).

Change-Id: I59f83b00adeb89eeee227e7648625d9a835be7a4
ibmedia/AudioTrack.cpp
b9980659501d0428d65d8292f3c32da69d37fbd2 11-Jan-2012 Glenn Kasten <gkasten@google.com> Use size_t for frame size

except in the control block, where we don't have room.

In AudioFlinger::ThreadBase::TrackBase::getBuffer,
read the frame size from control block only once.

Change-Id: Id6c4bccd4ed3e07d91df6bbea43bae45524f9f4e
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
51067c14482decc3dcc1ac16a6573a9cfa9cc3de 13-Jan-2012 David 'Digit' Turner <digit@google.com> Merge "media/mtp: Add missing LOCAL_C_INCLUDES"
f4e76c538f81068bc2e125f3f9ef8b8dd40f2d2a 13-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am c0ef548c: am d75961ee: am b4cee0f8: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit 'c0ef548c748f0c3bc917eff7b50941f9cbe1df86':
stagefright aacenc/amrwbenc: Remove trailing whitespace
b45e50a5bce5fba740318d056c8dd1fd9caed354 13-Jan-2012 Jean-Baptiste Queru <jbq@google.com> am d75961ee: am b4cee0f8: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit 'd75961eecbfeb3f7e027a2a1f6011a26dd7d2d2d':
stagefright aacenc/amrwbenc: Remove trailing whitespace
60866592ed6953f2b0e12cefcd58f1ced26546d0 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Properly terminate a comment

This avoids a warning about /* within a comment.

Change-Id: I9079909734d35db5ab0fd54b46173d7a1848d0c9
ibstagefright/codecs/aacenc/src/adj_thr.c
721f2bb7b28891c0811a5bea31fa62644131befc 12-Jan-2012 Martin Storsjo <martin@martin.st> stagefright aacenc: Fix an inline asm constraint

Output-only parameters should use =r or =&r constrains, never +r.

This avoids a warning about the variable 'result' being used
uninitialized.

This avoids loading the uninitialized value into the register,
before it is overwritten by the multiplication.

Change-Id: I0ef6179e133c35d290feb8e12bea180ecae11a05
ibstagefright/codecs/aacenc/basic_op/oper_32b.h
b8576d5ae50294bb1917b84f366054ebff02a3a6 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc: Use QDADD/QDSUB instructions

Change-Id: I46c81dba0486d515f1f2b89a13fae27f6ab1e122
ibstagefright/codecs/aacenc/basic_op/basic_op.h
fa9597bc0007f6a1d6704f047e7d94bb195c8a68 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc: Remove useless inline asm for simple right shift

Change-Id: If1f40e9c16952182e974af1c86a14995259c2ade
ibstagefright/codecs/aacenc/basic_op/basic_op.h
813eebeb773b1e4c42c2063a7fe37a94514e596a 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc: Use ARMv6 SSAT instruction

Change-Id: I652eaaa54e7766d9dca80fd8cc156ca481359471
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/aacenc/basic_op/basic_op.h
ibstagefright/codecs/aacenc/basic_op/typedefs.h
9da751147af3222258093d9f41cabf0ea1391c04 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc: Fix inline asm

- don't write input-only registers
- use temp variables instead of hardcoded regs
- don't build constants manually, specify as asm inputs
- remove unnecessary volatile qualifiers

Change-Id: I3b9bb2d30768bcf409dc478bde4489135eeb50d7
ibstagefright/codecs/aacenc/basic_op/basic_op.h
d2fdc7129d96391d22065866c612d532dfe411b3 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc: Fix inline asm constraints

Output-only parameters should use =r or =&r constrains, never +r.

This fixes a lot of warnings about the variable 'result' being
used uninitialized.

Change-Id: Ie689fce8c6ecd874d4fc66e87687c67551d9ab6a
ibstagefright/codecs/aacenc/basic_op/basic_op.h
132e42c04a58e623efa6cd6ca43641cd80db0f05 05-Apr-2011 Martin Storsjo <martin@martin.st> stagefright aacenc: Zero-initialize a struct

This avoids using uninitialized data in some cases, according
to valgrind.

Change-Id: I2eb5242b93c4d83a1cf6a15f022ec9579e0742a4
ibstagefright/codecs/aacenc/src/adj_thr.c
2db3b238966f5f326010321b698fa938d65b8e8a 05-Apr-2011 Martin Storsjo <martin@martin.st> stagefright aacenc: Fix type definitions for 64 bit platforms

Also don't require LINUX to be defined, enable the MSVC typedefs
only within _MSC_VER.

This fixes a lot of warnings about dereferencing pointer 'winPtr'
breaking strict aliasing rules.

Change-Id: I4afbe0ed81295ebe6e5ee2c7f0fb0cc2dc83c89b
ibstagefright/codecs/aacenc/basic_op/typedefs.h
2f0fb8c1ec139d385feb6990111ed6dc93422eac 22-Dec-2010 Martin Storsjo <martin@martin.st> stagefright aacenc: Don't address a Word32 with a Word16 pointer

Currently, a pointer to a Word32 is used as a pointer to Word16, which
doesn't work as intended on big endian architectures.

This change needs to be analyzed and tested properly so that it doesn't
cause issues with overflows in these variables. Another solution would be
to change all the scf arrays to 32 bit instead.

Change-Id: I53d9eb83bdaf8d3b1530eb5064dd10b08bce737a
ibstagefright/codecs/aacenc/src/sf_estim.c
417f62c84261ea17e17a011b1e9706eb997a6ba1 22-Dec-2010 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Make the mem_malloc function 64-bit safe

Change-Id: Iab0dbfdc6be09c62d353bee46596635686b784a6
ibstagefright/codecs/amrwbenc/src/mem_align.c
5e9afe434d8207fb0af6e191cca671ab74cfe878 20-Apr-2011 Martin Storsjo <martin@martin.st> stagefright aacenc: Make the bits to write in WriteBits unsigned

They shouldn't, as far as I know, ever be a signed value.

Change-Id: I64429c7c0b2b52bec768a04d3c3eb0eb252955fa
ibstagefright/codecs/aacenc/inc/bitbuffer.h
ibstagefright/codecs/aacenc/src/bitbuffer.c
891abc0ee089f2ba5b92dcc014e5efc2ef07f01e 31-Aug-2011 Martin Storsjo <martin@martin.st> stagefright aacenc: Add missing newlines at the end of files

This avoids compiler warnings about missing newlines.

Change-Id: Ieb2bb7152d794dca47c629588879032d3ba65677
ibstagefright/codecs/aacenc/basic_op/oper_32b.c
ibstagefright/codecs/aacenc/inc/config.h
ibstagefright/codecs/aacenc/inc/sf_estim.h
ibstagefright/codecs/aacenc/inc/transform.h
ibstagefright/codecs/aacenc/src/aac_rom.c
ibstagefright/codecs/aacenc/src/aacenc.c
ibstagefright/codecs/aacenc/src/asm/ARMV5E/PrePostMDCT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/R4R8First_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/Radix4FFT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/PrePostMDCT_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/R4R8First_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/Radix4FFT_v7.s
ibstagefright/codecs/aacenc/src/band_nrg.c
32bc0329ac94b181f1457c182c5bb2903f29832d 05-Apr-2011 Martin Storsjo <martin@martin.st> stagefright aacenc: Simplify the definition of __inline

This reduces the amount of ifdefs needed, into something that
works on both gcc and MSVC. This removes one occurrance of the
LINUX ifdef, simplifying compiling on various platforms.

Change-Id: I1e2af6c2517410dc280197ba922df877cf7afbd5
ibstagefright/codecs/aacenc/basic_op/typedefs.h
fff6d715a8db0daf08a50634f242c40268de3d49 13-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_stream_type_t consistently

At native level it was a mixture of audio_stream_type_t, int, uint32_t,
and uint8_t. Java is still int. Also fixed a couple of hard-coded -1
instead of AUDIO_STREAM_DEFAULT, and in startToneCommand a hard-coded 0
instead of AUDIO_STREAM_VOICE_CALL.

Change-Id: Ia33bfd70edca8c2daec9052984b369cd8eee2a83
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioPolicyService.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
c7a8e2422445030b9312470abca23c966b6367c7 13-Jan-2012 David 'Digit' Turner <digit@google.com> media/mtp: Add missing LOCAL_C_INCLUDES

One of the source files here is including <cutils/tztime.h> which
itself includes <bionic_time.h>, a private C library header used
to define the strftime_tz() extension (which used to be declared
in <time.h> but was moved there instead).

Add a missing C include path to let our code compile as usual.

Change-Id: I6aac2f1d3d15ad182679c81ff3f4febff74eb671
tp/Android.mk
09192653e836b21689f004bf8dee375356641181 13-Jan-2012 James Dong <jdong@google.com> Merge "Separate sniffing from session initialization"
9d2f386dd2885eaffa11fd494ae258bb09fe6397 10-Jan-2012 James Dong <jdong@google.com> Separate sniffing from session initialization

This avoid lengthy/duplicate sniffing for drm plugins when a decrypt session is opened

o The change is backward compatibile in that no update is required
for existing drm plug-ins if they do not plan to provide separate
sniffer/extractor

related-to-bug: 5725548

Change-Id: I7fc4caf82d77472da4e2bc7b5d31060fb54fd84c
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/DataSource.cpp
ibstagefright/FileSource.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/ChromiumHTTPDataSource.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/WVMExtractor.h
4cc55d53d542c4f4ed645738cebb65b9e7eb6c44 12-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use audio_format_t consistently"
f78aee70d15daf4690de7e7b4983ee68b0d1381d 04-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_mode_t consistently

It was int or uint32_t.
Also make getMode() const.

Change-Id: Ibe45aadbf413b9158e4dd17f2b3bcc6355288d37
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioPolicyService.cpp
b676a05348e4c516fa8b57e33b10548e6142c3f8 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Remove trailing whitespace

This was applied in AOSP master earlier, in commit
b21611e5b0f1797e39e781d91ade023bac87637f, but when merged
into the Google internal tree in
88c2d4d26d79384f32a25bd775cf873cb678b12a, none of these
changes have been brought in. (The diff of this merge commit
and its first parent, d94b71d, is empty.)

Therefore, reapply the rest of these changes on the files
that still are present in the current version.

Change-Id: I645a9b9134769958a11808a06163123d28d83e46
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/aacenc/SampleCode/AAC_E_SAMPLES.c
ibstagefright/codecs/aacenc/basic_op/basic_op.h
ibstagefright/codecs/aacenc/basic_op/basicop2.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.h
ibstagefright/codecs/aacenc/basic_op/typedef.h
ibstagefright/codecs/aacenc/basic_op/typedefs.h
ibstagefright/codecs/aacenc/inc/aac_rom.h
ibstagefright/codecs/aacenc/inc/aacenc_core.h
ibstagefright/codecs/aacenc/inc/adj_thr.h
ibstagefright/codecs/aacenc/inc/adj_thr_data.h
ibstagefright/codecs/aacenc/inc/bitenc.h
ibstagefright/codecs/aacenc/inc/interface.h
ibstagefright/codecs/aacenc/inc/line_pe.h
ibstagefright/codecs/aacenc/inc/psy_const.h
ibstagefright/codecs/aacenc/inc/psy_main.h
ibstagefright/codecs/aacenc/inc/qc_main.h
ibstagefright/codecs/aacenc/inc/quantize.h
ibstagefright/codecs/aacenc/inc/sf_estim.h
ibstagefright/codecs/aacenc/inc/stat_bits.h
ibstagefright/codecs/aacenc/inc/tns_param.h
ibstagefright/codecs/aacenc/inc/transform.h
ibstagefright/codecs/aacenc/src/aac_rom.c
ibstagefright/codecs/aacenc/src/aacenc.c
ibstagefright/codecs/aacenc/src/aacenc_core.c
ibstagefright/codecs/aacenc/src/adj_thr.c
ibstagefright/codecs/aacenc/src/asm/ARMV5E/AutoCorrelation_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/CalcWindowEnergy_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/PrePostMDCT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/R4R8First_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/Radix4FFT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/band_nrg_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/PrePostMDCT_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/R4R8First_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/Radix4FFT_v7.s
ibstagefright/codecs/aacenc/src/band_nrg.c
ibstagefright/codecs/aacenc/src/bit_cnt.c
ibstagefright/codecs/aacenc/src/bitbuffer.c
ibstagefright/codecs/aacenc/src/bitenc.c
ibstagefright/codecs/aacenc/src/block_switch.c
ibstagefright/codecs/aacenc/src/channel_map.c
ibstagefright/codecs/aacenc/src/dyn_bits.c
ibstagefright/codecs/aacenc/src/grp_data.c
ibstagefright/codecs/aacenc/src/interface.c
ibstagefright/codecs/aacenc/src/line_pe.c
ibstagefright/codecs/aacenc/src/memalign.c
ibstagefright/codecs/aacenc/src/ms_stereo.c
ibstagefright/codecs/aacenc/src/pre_echo_control.c
ibstagefright/codecs/aacenc/src/psy_configuration.c
ibstagefright/codecs/aacenc/src/psy_main.c
ibstagefright/codecs/aacenc/src/qc_main.c
ibstagefright/codecs/aacenc/src/quantize.c
ibstagefright/codecs/aacenc/src/sf_estim.c
ibstagefright/codecs/aacenc/src/stat_bits.c
ibstagefright/codecs/aacenc/src/tns.c
ibstagefright/codecs/aacenc/src/transform.c
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/amrwbenc/inc/basic_op.h
ibstagefright/codecs/amrwbenc/inc/homing.tab
ibstagefright/codecs/amrwbenc/inc/isp_isf.tab
ibstagefright/codecs/amrwbenc/inc/log2.h
ibstagefright/codecs/amrwbenc/inc/mime_io.tab
ibstagefright/codecs/amrwbenc/inc/stream.h
ibstagefright/codecs/amrwbenc/inc/typedef.h
ibstagefright/codecs/amrwbenc/inc/typedefs.h
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Deemph_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Dot_p_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Filt_6k_7k_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Norm_Corr_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Syn_filt_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/convolve_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/cor_h_vec_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/pred_lt4_1_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/residu_asm_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/scale_sig_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/syn_filt_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Deemph_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Dot_p_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Filt_6k_7k_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Norm_Corr_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Syn_filt_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/convolve_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/cor_h_vec_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/pred_lt4_1_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/residu_asm_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/scale_sig_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/syn_filt_neon.s
ibstagefright/codecs/amrwbenc/src/autocorr.c
ibstagefright/codecs/amrwbenc/src/az_isp.c
ibstagefright/codecs/amrwbenc/src/bits.c
ibstagefright/codecs/amrwbenc/src/c2t64fx.c
ibstagefright/codecs/amrwbenc/src/c4t64fx.c
ibstagefright/codecs/amrwbenc/src/convolve.c
ibstagefright/codecs/amrwbenc/src/cor_h_x.c
ibstagefright/codecs/amrwbenc/src/decim54.c
ibstagefright/codecs/amrwbenc/src/deemph.c
ibstagefright/codecs/amrwbenc/src/dtx.c
ibstagefright/codecs/amrwbenc/src/g_pitch.c
ibstagefright/codecs/amrwbenc/src/gpclip.c
ibstagefright/codecs/amrwbenc/src/hp400.c
ibstagefright/codecs/amrwbenc/src/hp50.c
ibstagefright/codecs/amrwbenc/src/hp6k.c
ibstagefright/codecs/amrwbenc/src/hp_wsp.c
ibstagefright/codecs/amrwbenc/src/int_lpc.c
ibstagefright/codecs/amrwbenc/src/isp_az.c
ibstagefright/codecs/amrwbenc/src/isp_isf.c
ibstagefright/codecs/amrwbenc/src/levinson.c
ibstagefright/codecs/amrwbenc/src/log2.c
ibstagefright/codecs/amrwbenc/src/lp_dec2.c
ibstagefright/codecs/amrwbenc/src/math_op.c
ibstagefright/codecs/amrwbenc/src/mem_align.c
ibstagefright/codecs/amrwbenc/src/p_med_ol.c
ibstagefright/codecs/amrwbenc/src/pitch_f4.c
ibstagefright/codecs/amrwbenc/src/pred_lt4.c
ibstagefright/codecs/amrwbenc/src/preemph.c
ibstagefright/codecs/amrwbenc/src/q_gain2.c
ibstagefright/codecs/amrwbenc/src/q_pulse.c
ibstagefright/codecs/amrwbenc/src/qisf_ns.c
ibstagefright/codecs/amrwbenc/src/qpisf_2s.c
ibstagefright/codecs/amrwbenc/src/residu.c
ibstagefright/codecs/amrwbenc/src/scale.c
ibstagefright/codecs/amrwbenc/src/stream.c
ibstagefright/codecs/amrwbenc/src/syn_filt.c
ibstagefright/codecs/amrwbenc/src/updt_tar.c
ibstagefright/codecs/amrwbenc/src/voAMRWBEnc.c
ibstagefright/codecs/amrwbenc/src/voicefac.c
ibstagefright/codecs/amrwbenc/src/wb_vad.c
ibstagefright/codecs/amrwbenc/src/weight_a.c
ibstagefright/codecs/common/Config.mk
ibstagefright/codecs/common/include/voAMRWB.h
ibstagefright/codecs/common/include/voAudio.h
ibstagefright/codecs/common/include/voIndex.h
83bc7f3cf78b28a818417f40a4f0c00593993366 04-Jan-2012 Glenn Kasten <gkasten@google.com> libmedia new can't fail on Android

Change-Id: Ie79dd5abb8078b35474bf0f1b3a6ff994a3a3360
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/JetPlayer.cpp
ibmedia/MediaScannerClient.cpp
ibmedia/ToneGenerator.cpp
ibmedia/Visualizer.cpp
3bba0e0a60b15895134bc2c731d21fd7ebd28784 11-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Fix race in AudioSystem::getInputBufferSize"
544096247a907bc55688e5c03d5586ba5219d82a 11-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Fix bug in JetPlayer::loadFromFile"
e3a067f8bc98134941ee1a4da8c2a92a15aaa9cc 11-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Simplify range check for audio_mode_t"
e51dd6dd7b7034c171246ebf5e08b187ef17150c 11-Jan-2012 Eric Laurent <elaurent@google.com> am 05985a2e: am c15cf3d2: Merge "stagefright: limit audio gap for looped playback" into ics-mr1

* commit '05985a2e2ae5c21fbf69d2884c59ea475fce7f6d':
stagefright: limit audio gap for looped playback
0132e12ded92529b1520ad62f5134fa31361c90b 11-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Declare IAudioTrack methods in binder opcode order"
22f3efdefddc855ea0763275310850bf55bd4fd1 11-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Fix missing tag in mediaserver ServiceManager: log"
f8c1a6f7ef515810356816b50bfe18af95f3ec32 10-Jan-2012 Glenn Kasten <gkasten@google.com> Fix race in AudioSystem::getInputBufferSize

It was caching the recording parameters without a mutex.

Change-Id: Ic4b9f621cbc080d224c2233cf3ca3454fc0f19bd
ibmedia/AudioSystem.cpp
0049acfc8b1c33eb90afc925dacd08a487618e17 10-Jan-2012 Glenn Kasten <gkasten@google.com> Fix bug in JetPlayer::loadFromFile

A long pathname would corrupt the heap due to incorrect use of strncpy.

Also was using hard-coded constant 256 instead of PATH_MAX.

Change-Id: Iba382bbb38624fbc41fec91449f9814f77d4ac0d
ibmedia/JetPlayer.cpp
930f4caa1e311ef7ff538c421a324396157eb24f 07-Jan-2012 Glenn Kasten <gkasten@google.com> Simplify range check for audio_mode_t

AudioSystem::setMode previously allowed negative modes, but these were
then rejected by AudioFlinger.

Now negative modes (including AUDIO_MODE_INVALID and AUDIO_MODE_CURRENT)
are explicitly disallowed.

Change-Id: I0bac8fea737c8eb1f5b6afbb893e48739f88d745
ibmedia/AudioSystem.cpp
86d24aa35adf82512d341d9aaebd62b36b0a0847 09-Jan-2012 Eric Laurent <elaurent@google.com> stagefright: limit audio gap for looped playback

The audio gap when looping audio is mostly due to
a delay requested by the audio player when executing
the end of stream message. This is to allow the audio
to be drained out of the pipe before actually stopping the
AudioTrack.
This delay is not needed when looping as the AudioTrack
is not stopped.

The fix consists in ignoring the requested delay when the
looping flag is set in awesome player.

Issue 5800981.

Change-Id: Ib32d2930c53ecebc21ca8440e6e054c7e20db4a5
ibstagefright/AwesomePlayer.cpp
c1dc1cb1d1eaf84e88669f1a5f22579a0d9237c2 09-Jan-2012 Steve Block <steveblock@google.com> Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGE

See https://android-git.corp.google.com/g/157519

Bug: 5449033
Change-Id: I8ceb2dba1b031a0fd68d15d146960d9ced62bbf3
ibmediaplayerservice/TestPlayerStub.cpp
5c7b3bcc88e2b472f1f7b416d89222714b96a567 09-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Clean up AudioTrack::mActive and stopped()"
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
ibeffects/preprocessing/PreProcessing.cpp
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/JetPlayer.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScannerClient.cpp
ibmedia/Metadata.cpp
ibmedia/ToneGenerator.cpp
ibmedia/Visualizer.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiMetadataRetriever.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/TestPlayerStub.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/AACWriter.cpp
ibstagefright/ACodec.cpp
ibstagefright/AMRExtractor.cpp
ibstagefright/AVIExtractor.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/FLACExtractor.cpp
ibstagefright/FileSource.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaBuffer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/SampleTable.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/dec/SoftAMR.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/g711/dec/SoftG711.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/codecs/on2/dec/SoftVPX.cpp
ibstagefright/codecs/on2/h264dec/SoftAVC.cpp
ibstagefright/codecs/vorbis/dec/SoftVorbis.cpp
ibstagefright/foundation/AMessage.cpp
ibstagefright/httplive/LiveDataSource.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/id3/ID3.cpp
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
ibstagefright/omx/OMXMaster.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
ibstagefright/omx/tests/OMXHarness.cpp
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/MyHandler.h
ibstagefright/rtsp/UDPPusher.cpp
ibstagefright/rtsp/rtp_test.cpp
ibstagefright/tests/DummyRecorder.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/yuv/YUVImage.cpp
tp/MtpDataPacket.cpp
tp/MtpDevice.cpp
tp/MtpPacket.cpp
tp/MtpProperty.cpp
tp/MtpServer.cpp
33df529414c248972587d97cbb2e3309e0a7eeff 19-Dec-2011 Glenn Kasten <gkasten@google.com> Fix missing tag in mediaserver ServiceManager: log

Change-Id: I2d5525ffee0b66c0bc361a02b313ec4dd61e6552
ediaserver/main_mediaserver.cpp
1099586bd48a8a90bb1cc4e7c279703bc7259214 03-Jan-2012 Glenn Kasten <gkasten@google.com> Declare IAudioTrack methods in binder opcode order

This makes it easier to match up the declarations.

Change-Id: I0996c20b2903b778b356dfe52b07b0ec634855dd
ibmedia/IAudioTrack.cpp
5ff1dd576bb93c45b44088a51544a18fc43ebf58 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
ibeffects/factory/EffectsFactory.c
ibeffects/preprocessing/PreProcessing.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/IOMX.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScanner.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/ACodec.cpp
ibstagefright/AVIExtractor.cpp
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/ESDS.cpp
ibstagefright/FLACExtractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/codecs/vorbis/dec/SoftVorbis.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/foundation/AHierarchicalStateMachine.cpp
ibstagefright/foundation/ALooperRoster.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/MyHandler.h
8a08dcc0a5de19a904e77d5f31bed3dff9a59890 05-Jan-2012 Steve Block <steveblock@google.com> Merge "Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE"
e1c3962e268ffc12bfd1bd9ea84da1f135f36960 04-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently

Was int, uint32_t, uint16_t, and uint8_t with 2-bit bitfield.
Also replace 0 by AUDIO_FORMAT_DEFAULT and replace 1 by
AUDIO_FORMAT_PCM_16_BIT.

Change-Id: Ia8804f53f1725669e368857d5bb2044917e17975
ibmedia/AudioTrack.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/JetPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
9a2aaf927e56a4b4acab23ef16b3f133a9f48a63 03-Jan-2012 Glenn Kasten <gkasten@google.com> Clean up AudioTrack::mActive and stopped()

mActive is protected by mLock; volatile is meaningless on SMP.

Fixed a couple of places where mActive was accessed without a lock:
- stopped()
- processAudioBuffer()

Added stopped_l() for cases where we already hold the lock.

Made mActive a bool not int.

Moved down a lock in setPosition that was being acquired too early.

Change-Id: I73ff368e991c0db9f9472df0b3f96fd33fcc7311
ibmedia/AudioTrack.cpp
a2a0a5d7d56baa831870f4bf2a0d942a477d92ef 05-Jan-2012 Glenn Kasten <gkasten@google.com> Merge "Use the standard CC_LIKELY and CC_UNLIKELY macros"
f6b1678f8f508b447155a81b44e214475ab634a8 15-Dec-2011 Glenn Kasten <gkasten@google.com> Use the standard CC_LIKELY and CC_UNLIKELY macros

Several source files privately defined macros LIKELY and UNLIKELY in terms
of __builtin_expect. But <cutils/compiler.h> already has CC_LIKELY and
CC_UNLIKELY which are intended for this purpose. So rename the private
uses to use the standard names.

In addition, AudioFlinger was relying on the macro expanding to extra ( ).

Change-Id: I2494e087a0c0cac0ac998335f5e9c8ad02955873
ibeffects/testlibs/AudioBiquadFilter.cpp
ibeffects/testlibs/AudioCoefInterpolator.cpp
ibeffects/testlibs/AudioCommon.h
ibeffects/testlibs/AudioPeakingFilter.cpp
ibeffects/testlibs/AudioShelvingFilter.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
df64d15042bbd5e0e4933ac49bf3c177dd94752c 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleTable.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/avc_utils.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/foundation/hexdump.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
ibstagefright/omx/tests/OMXHarness.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
ibstagefright/rtsp/UDPPusher.cpp
ediaserver/main_mediaserver.cpp
tp/MtpDevice.cpp
tp/MtpProperty.cpp
b8a805261bf0282e992d3608035e47d05a898710 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
ibmedia/AudioSystem.cpp
ibmedia/MediaScanner.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/MPEG4Writer.cpp
tp/MtpDevice.cpp
tp/MtpObjectInfo.cpp
tp/MtpServer.cpp
tp/MtpStorageInfo.cpp
bbaf8673f1d1dd79d1b7f474ca7111da58e84aff 20-Dec-2011 Eric Laurent <elaurent@google.com> Merge "audio effects: rename configure command"
3d5188bd6abe55898f10a0edf3c05aff8aa2ef67 17-Dec-2011 Eric Laurent <elaurent@google.com> audio effects: rename configure command

Renamed audio effect library interface command for audio format
configuration from EFFECT_CMD_CONFIGURE to EFFECT_CMD_SET_CONFIG.
This makes the naming more consistent with other exixsting commands
and allow adding a new command to get the configuration (EFFECT_CMD_GET_CONFIG).
Same change for reverse channel configuration renamed from
EFFECT_CMD_CONFIGURE_REVERSE to EFFECT_CMD_SET_CONFIG_REVERSE.

Implemented EFFECT_CMD_GET_CONFIG in exisitng effect libraries.

Change-Id: Ia7b1c620f13797fe5aceb3b0b4acbacce09fb067
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/preprocessing/PreProcessing.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/testlibs/EffectReverb.h
ibeffects/visualizer/EffectVisualizer.cpp
e78950e714e57767b54a836e22924212cfbf5f5f 17-Dec-2011 Hong Teng <hongteng@google.com> Merge "Fix for 5754998 testPerformanceTransitionWithEffectOverlapping test failed."
8d0dd8b46163ec7b42e2051c441ae2bf96dd9aec 16-Dec-2011 Hong Teng <hongteng@google.com> Fix for 5754998 testPerformanceTransitionWithEffectOverlapping test failed.

-Fix the index is out of sync frame array boundary when seeking to end of a 3gp file.
Validation only were done for video editor cts test and Movie Studio application.
Futher validation may include media player, youtube application,.etc.

Change-Id: Ib01314f1768cfab702dbe25c307553ace0b85e77
ibstagefright/SampleTable.cpp
255adceb85bc23de61fb138ddb474852514b3b33 16-Dec-2011 Dave Burke <daveburke@google.com> am 0cc1e42d: am ac279de9: Merge "SurfaceMediaSource: use the HW_TEXTURE usage bit" into ics-mr1

* commit '0cc1e42d74e09c259a6da0abc9009d1abf7537b1':
SurfaceMediaSource: use the HW_TEXTURE usage bit
69aac3e6cd68e8c305a41b2677123db7662efd4b 16-Dec-2011 Jamie Gennis <jgennis@google.com> SurfaceMediaSource: use the HW_TEXTURE usage bit

This change makes SurfaceMediaSource request Gralloc buffers with the
HW_TEXTURE usage bit rather than the VIDEO_ENCODER bit. It is a
temporary workaround for what is likely a Gralloc bug.

Bug: 5771063
Change-Id: I9cce615e80fc14a1644fae27ba06970c262dd179
ibstagefright/SurfaceMediaSource.cpp
2a8ce907a57f30ffa336a024e09752794d08ec1a 15-Dec-2011 Glenn Kasten <gkasten@google.com> Merge "Fix build error when verbose logging is enabled"
a9960bcb176c58bd9d5f9062b84437a59fff875e 15-Dec-2011 Glenn Kasten <gkasten@google.com> Fix build error when verbose logging is enabled

Change-Id: I30f4e5d35d1b24dce2e6152a13fd0fb61414a3e2
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
42968939dfce0954d6540011199045ec4ed7de80 15-Dec-2011 Glenn Kasten <gkasten@google.com> Merge "Fix indentation and whitespace"
2eda60a8485cfe70a60e72156beffdc470ecb093 15-Dec-2011 Glenn Kasten <gkasten@google.com> Merge "Audio C++ comments"
c5ac4cb3a5124860ccfc7e4ff66251c55a5595ca 12-Dec-2011 Glenn Kasten <gkasten@google.com> Fix indentation and whitespace

Use git diff -w to verify.

Change-Id: Ib65be0a1ecf65d6cad516110604e3855bf68a638
ibmedia/AudioTrack.cpp
1d334101f1289cf4c8967af6e78ac22619175982 15-Dec-2011 Glenn Kasten <gkasten@google.com> Merge "Remove unnecessary this->"
738ed42488491b740e73c0cddc2f257af17b638d 15-Dec-2011 Glenn Kasten <gkasten@google.com> Merge "Delete obsolete includes"
b299dc4ded29a226daac07f195d1558e660d2f9f 15-Dec-2011 Glenn Kasten <gkasten@google.com> Merge "Remove redundant clear()"
2135dad4a542e4702e4b2d87f0eb05571ff64b57 15-Dec-2011 Glenn Kasten <gkasten@google.com> Merge "AudioTrack::setVolume check range"
362c4e697d8e9c034e964ac7b40227e054491547 14-Dec-2011 Glenn Kasten <gkasten@google.com> Audio C++ comments

Change-Id: I84906ebb9dfcfa5b96b287d18364b407f02a30c1
ibmedia/AudioTrack.cpp
2a3d6e1b6cfd2d564a48371598fdc664ea40fa8c 14-Dec-2011 James Dong <jdong@google.com> am 3f6a7d1e: am d70c64db: Revert the following patches because they may lead to power regression because SHA/MD5 module is stuck 1. Revert "Fix drm flag setting missed in false drm recognition fix." This reverts commit 9f704f6c46a171357e49c411c83458b9d4565f3b.

* commit '3f6a7d1ee961a4544563932b7499535dc1cac1ec':
Revert the following patches because they may lead to power regression because SHA/MD5 module is stuck 1. Revert "Fix drm flag setting missed in false drm recognition fix." This reverts commit 9f704f6c46a171357e49c411c83458b9d4565f3b.
91eb8bfbe253a6b6fe1aa23fb884a601c28991c4 13-Dec-2011 Glenn Kasten <gkasten@google.com> Remove redundant clear()

Change-Id: Ie5e4e63cbc8fa85ef50451dddf8f149fa864b132
ibmedia/AudioTrack.cpp
9054897ab9ffb307fadae81b774a1fc61cb542e7 13-Dec-2011 Glenn Kasten <gkasten@google.com> Remove unnecessary this->

Change-Id: I72038f5d4568f0633d3e4ab90f4b67e2dd22c332
ibmedia/AudioTrack.cpp
f0c495012bad92230604a9a12a907812ec49ee8f 30-Nov-2011 Glenn Kasten <gkasten@google.com> AudioTrack::setVolume check range

Change-Id: Ie182bf0f741f1f49f68c02a1e7437a2a34d34fc5
ibmedia/AudioTrack.cpp
785ee06d106cd7958e0c151ebc6b7174d9ba861e 14-Dec-2011 James Dong <jdong@google.com> Revert the following patches because they may lead to power regression because SHA/MD5 module is stuck
1. Revert "Fix drm flag setting missed in false drm recognition fix."
This reverts commit 9f704f6c46a171357e49c411c83458b9d4565f3b.

2. Revert "Fixed the false drm recognition."
This reverts commit aadbd80b307c817698ce5110ff8e002804d1b230.

3. Revert "Fix drm enumeration order, resolves failure to play forward lock ringtones"
This reverts commit a5cbf023e349f2394ba6fc58d73b4375cfec4369.

4. Revert "Fix ANRs due to Widevine DRM plugin sniff taking too long."
This reverts commit d0d19db1ca1c289b069db33f4665bcb9386064e9.

As a result of the reverting, many ANRs from WV sniffing are back.

related-to-bug: 5739618
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/DataSource.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
19e9d0fe6dc3ff4fb1807fee2ad058bf3277e883 10-Dec-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Support for parsing of "folded" RTSP header values

and some tweaks to the AMR assembler contributed by Samsung (untested).

Change-Id: I6c3df31fa3a35433bfddfdda82747bb4c6ee86a1
related-to-bug: 5669027
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
fec2284d520fa2856358692095a715678225abcb 13-Dec-2011 Jeff Tinker <jtinker@google.com> am dc44e06e: am ef664f62: Merge "Fix drm flag setting missed in false drm recognition fix." into ics-mr1

* commit 'dc44e06ef305be8de060af69a468e003e231ba05':
Fix drm flag setting missed in false drm recognition fix.
f2d86c8afe5e80bc178c1758d41b7bf154960318 13-Dec-2011 James Dong <jdong@google.com> am 406dd5d1: am aadbd80b: Fixed the false drm recognition.

* commit '406dd5d1e48752177753666867403542e1f400ca':
Fixed the false drm recognition.
837b8184e1307991578de5d5d25b62a67bb225f6 30-Nov-2011 Glenn Kasten <gkasten@google.com> Delete obsolete includes

Change-Id: I960a179a026ff8d710b43b64cb358f18ee04de16
ediaserver/main_mediaserver.cpp
6af1e76b61d04ed524b570f92091680a851207df 12-Dec-2011 Andreas Huber <andih@google.com> Merge "Support for parsing of "folded" RTSP header values and some tweaks to the AMR assembler"
d2927a79dc933a134e022281a4679a65e340dc3a 12-Dec-2011 Owen Lin <owenlin@google.com> Fix the build. (Change LOGV to ALOGV)

Change-Id: I14104540cfbd2bcdd7af1534db20554b88c4c0ce
ibmediaplayerservice/nuplayer/RTSPSource.cpp
a3e52a846f1e299c4b205e2da698b184591d618e 10-Dec-2011 Andreas Huber <andih@google.com> am ebfce84f: am 68f592a8: Merge "Don\'t perform RTSP seeks right away but queue them for 200ms" into ics-mr1

* commit 'ebfce84f7fd3e25fa08c36b155db91df90a59b3d':
Don't perform RTSP seeks right away but queue them for 200ms
aa5ba9a27f4c483ee116b7b296a681f4f8e23e62 10-Dec-2011 Andreas Huber <andih@google.com> am aa82c39b: am 0ba9380a: Merge "Fix Bitreader "putBits" implementation, make sure we emulate timestamps" into ics-mr1

* commit 'aa82c39bdb4ad9c1fdcb09f3bea11be5197d3ce6':
Fix Bitreader "putBits" implementation, make sure we emulate timestamps
4aae77cbe1bf4369910314a55c2bc2349af10d3c 10-Dec-2011 Andreas Huber <andih@google.com> Support for parsing of "folded" RTSP header values and some tweaks to the AMR assembler

contributed by Samsung (untested).

Change-Id: I182561fe0a1a564126bdbb317e96aa52bf525726
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
901e78d96eec495bda0dbe2e2b73009951301817 09-Dec-2011 Jeff Tinker <jtinker@google.com> am a5038d16: am a693a4b5: Merge "Fix ANRs due to Widevine DRM plugin sniff taking too long." into ics-mr1

* commit 'a5038d169f47b2e2278c0056495dfd4808803f8a':
Fix ANRs due to Widevine DRM plugin sniff taking too long.
7e976e926dd8085a64a7add97ce09bfeca26e088 09-Dec-2011 Jeff Tinker <jtinker@google.com> Fix drm flag setting missed in false drm recognition fix.

Change-Id: Ie38668c8a32969ef7c7df4ca3350e2364291953c
related-to-bug: 5732033
ibstagefright/AwesomePlayer.cpp
d1fa3ca0eee42ffd450d579b357f39163a716ee3 09-Dec-2011 James Dong <jdong@google.com> Fixed the false drm recognition.

Change-Id: If0198e52ff7bbd7422f219f55a37aae97f7d74f1

related-to-bug: 5732033
ibstagefright/AwesomePlayer.cpp
ibstagefright/MediaExtractor.cpp
b7b9c7b47a771e550124ae269a7b1be262039b95 08-Dec-2011 Andreas Huber <andih@google.com> Merge "Don't perform RTSP seeks right away but queue them for 200ms" into ics-mr1
ee736e9e74c5368db8d63214513c85cb74bb0183 08-Dec-2011 Andreas Huber <andih@google.com> Don't perform RTSP seeks right away but queue them for 200ms

and only execute the last one.

Change-Id: I9ab342396ec9c9c03624a4b0306d1e180ceca000
related-to-bug: 5732960
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/RTSPSource.h
1906e5c7492b9cbc88601365536a69e9a490c963 08-Dec-2011 Andreas Huber <andih@google.com> Fix Bitreader "putBits" implementation, make sure we emulate timestamps

if we don't receive npt time mapping from the rtsp server (i.e. live stream)

Change-Id: I5147d665bd90c9a303ad6ffdafbf770f930f917c
related-to-bug: 5660357
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/RTSPSource.h
ibstagefright/foundation/ABitReader.cpp
ibstagefright/rtsp/MyHandler.h
894f3ca9a9f94225bb64f36847508a91d0b17a6e 08-Dec-2011 Jeff Tinker <jtinker@google.com> Merge "Fix ANRs due to Widevine DRM plugin sniff taking too long." into ics-mr1
8e49b604c806eabe3eea2bd24813cdfc4b87c64c 08-Dec-2011 Jeff Tinker <jtinker@google.com> Fix ANRs due to Widevine DRM plugin sniff taking too long.

Add a Widevine-specific format sniffer to avoid having to
refetch data from the remote server.

Change-Id: I5fdb21fe7a0d6e74f2a6f06e6fbf8070b068ac60
related-to-bug: 5725548
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/DataSource.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
eebeceec684a36222b4559e3157b0db04c0a67ed 07-Dec-2011 Dave Burke <daveburke@google.com> am 6727a43f: am 54a53841: Merge "Fetch at least 192KB to avoid our mp3 sniffer from blocking on data." into ics-mr1

* commit '6727a43f6d8ff193b86ca90b2daa761c47157638':
Fetch at least 192KB to avoid our mp3 sniffer from blocking on data.
bab412099ab1bd3e9e942453cbb42c87ea9a59ec 07-Dec-2011 Andreas Huber <andih@google.com> Fetch at least 192KB to avoid our mp3 sniffer from blocking on data.

Change-Id: Icb10c129249bb9b69e91f6633a385840c94efa59
related-to-bug: 5666532
ibstagefright/AwesomePlayer.cpp
e74de52d4e22fc61d41f703672fa8f1215446ab5 06-Dec-2011 James Dong <jdong@google.com> Merge "DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames" into ics-mr1
f7b5cdd410cb8fdd46bac5b5098e0f01442bba12 06-Dec-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Remove the AVI extractor.

Change-Id: Ifce6c0d3d87aad2f5cc7f40ad6304936cbfa795e
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaExtractor.cpp
6c83e3be2921009ff7dcfced2a3eda7811b8b041 16-Nov-2011 Narayan Kamath <narayan@google.com> Allow data uris to be data sources

bug:5571010
Change-Id: I0b6ae6c729ac34d46e9990fcceb08294eb4f7c58
ibstagefright/DataSource.cpp
ibstagefright/chromium_http/Android.mk
ibstagefright/chromium_http/DataUriSource.cpp
ibstagefright/include/DataUriSource.h
223e70d6bde101349cba04b20ef243730cf84c07 05-Dec-2011 James Dong <jdong@google.com> DO NOT MERGE - Consider I-Frame at zeroeth position when searching for sync frames

The current logic does not check the I-frame at zeroeth position and therefore
for the files with only 1 I-Frame at zeroeth postion does not play.

Originally authored by Braganza Sam Robertsh <sam.braganza@samsung.com>

Do not merge to master branch since we made some improvement to SampleTable.cpp in the master branch.

Change-Id: I068184dec71986f14a586f769c2af1f52b4bcf94
related-to-bug: 5711942
ibstagefright/SampleTable.cpp
456caf3f5f0af673dc120c17c23635f40d8f5ac2 05-Dec-2011 Andreas Huber <andih@google.com> resolved conflicts for merge of 07bacabe to master

Change-Id: Idb56996f7c1b78d96e3d3d3f08419c4d122db0b1
a0f2bf56e30f580535229fa6a58e7d48b762727c 05-Dec-2011 Andreas Huber <andih@google.com> Properly identify how much metadata we need to cache in order to instantiate

the extractor without blocking (and therefore be able to abort).

Change-Id: Id2acdde897e02baaeabadae70b7c95b66c9041b3
related-to-bug: 5666532
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/SampleTable.cpp
fed8bb604c31bf6a60ca84aafed016d21d3e0f90 01-Dec-2011 Mike Lockwood <lockwood@google.com> MTP: Add support for restricting PTP to only certain subdirectories of the storage DO NOT MERGE

Bug: 5527220

Change-Id: I81d6de590ea3002118ba46eb4b6d5fe9061c998c
Signed-off-by: Mike Lockwood <lockwood@google.com>
tp/MtpServer.cpp
8af4c7d02fc484ed1bdc082fc2a5383bc50f2180 02-Dec-2011 Mike Lockwood <lockwood@google.com> MTP: Don't attempt to read more than 16K at a time from the MTP driver DO NOT MERGE

This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I10f85f0ce32df39f46b0a984361958c0a13f6800
Signed-off-by: Mike Lockwood <lockwood@google.com>
tp/MtpDataPacket.cpp
a9a46c1f53129be8fe1f3f0a6ea868d7b4c8f8f7 01-Dec-2011 Mike Lockwood <lockwood@google.com> MTP: Add support for restricting PTP to only certain subdirectories of the storage

Bug: 5527220

Change-Id: If68e7481617ecb62abd24e2d89e6b7dfdf95ba2b
Signed-off-by: Mike Lockwood <lockwood@google.com>
tp/MtpServer.cpp
44c190826d72589f5c9e13d69e32673bd8bd7c64 02-Dec-2011 Mike Lockwood <lockwood@google.com> MTP: Don't attempt to read more than 16K at a time from the MTP driver

This could happen sometimes if other operations increased the size of the
data packet buffer to > 16K

Change-Id: I4d316c7e2e558d3dd861d39accae6514fd9a62f5
Signed-off-by: Mike Lockwood <lockwood@google.com>
tp/MtpDataPacket.cpp
17078d8a83becd5bfb49a39f1415882b78d07a49 01-Dec-2011 Andreas Huber <andih@google.com> am 10526a0b: am 2c2ed7be: Merge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions" into ics-mr1

* commit '10526a0bfe070ac4d1e550a81ed68be35d261b16':
Fixes a typo in AVIExtractor that would advertise the wrong video dimensions
4fe1c6c3988f79fd67c14a1f91e4b1df8a7e806f 01-Dec-2011 Andreas Huber <andih@google.com> Fixes a typo in AVIExtractor that would advertise the wrong video dimensions

Change-Id: I587a5ce259b04c973ed2d7614e874cb74c521aab
related-to-bug: 5696324
ibstagefright/AVIExtractor.cpp
cd9e929c8490d1410e6d99c9b54585cb2fea569c 30-Nov-2011 Jamie Gennis <jgennis@google.com> am c040e1e7: am 6f1dd757: Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1

* commit 'c040e1e77923d81050f2d3dbdac5d07e01be72f6':
SurfaceMediaSource: use the vid enc usage bit
ea9d51bd710e6739077a3700f27a1c37767a2f6d 30-Nov-2011 Andreas Huber <andih@google.com> resolved conflicts for merge of 3d630e86 to master

Change-Id: I9eb7b7c1668b5f0de85ec8b1e9257cf1ec4d8b9e
7a3a2b2f9bb9421dcf83fbd47276e57917078aef 30-Nov-2011 James Dong <jdong@google.com> Fix the broken build

Change-Id: Ib508514891474d24f14ac69d721b0c9c700a0c3f
ibstagefright/ACodec.cpp
21befea3720fb847aef5440d507902d8705a671a 30-Nov-2011 Jamie Gennis <jgennis@google.com> Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1
8afbf8e07fd1d75dfa0a517267beb6c1fa818027 30-Nov-2011 Andreas Huber <andih@google.com> am 52607c53: am d12dc284: Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1

* commit '52607c5364446df6ac5b2f55cb50e146e6023a4f':
If an error occurs that prevents us from reallocating buffers during a format change
c089d02cf2bddf1bba6eaa2b2fcce149dc44633e 30-Nov-2011 Andreas Huber <andih@google.com> am 074133b2: am 351143fb: Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1

* commit '074133b260f8d12e484e93b9aa5a33a4983b7349':
Updated (internal) API for IStreamSource to signal discontinuities
eca36b5a1759970bc3d0373d72d6fec7c9b7e944 30-Nov-2011 Andreas Huber <andih@google.com> resolved conflicts for merge of 998a929a to master

Change-Id: Id5cfbcf20e5ec28782cc88075040cf9edebfdfe8
7609b2304379fd6d3e5c8d13a34c680441dc48b6 29-Nov-2011 Andreas Huber <andih@google.com> Merge "Make sure we can properly shutdown even if" into ics-mr1
5274010d068b05333e3e5544d59ca284802b1a8e 29-Nov-2011 Andreas Huber <andih@google.com> Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1
544ee287d01d98efbe9eeeaeb7016c8dd55e3748 29-Nov-2011 Andreas Huber <andih@google.com> Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1
bfcc8d8ab7c56bc013bd221a29e1ecf3a6390813 29-Nov-2011 Andreas Huber <andih@google.com> Updated (internal) API for IStreamSource to signal discontinuities

Change-Id: Idd4b9d8e7cec16b3e3c91c70e75144d42be30f96
related-to-bug: 5553055
ibmedia/IStreamSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
6e3d311b6631b12aac2879d1b08c3534aece78b1 28-Nov-2011 Andreas Huber <andih@google.com> Finer granularity discontinuity support.

No clients can signal a format change on either audio or video track (or both)
and a time discontinuity (timestamps changed) independantly.

Change-Id: I3e6cf4e7c260e85759879d61a9b517f68431c22f
related-to-bug: 5553055
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
b58ce9f5e8d0696f9571a94ba5fc05f4500f663f 29-Nov-2011 Andreas Huber <andih@google.com> Make sure we can properly shutdown even if

a) one of the two decoders has a pending discontinuity
b) the renderer holds on to all output buffers for that decoder
c) the renderer is paused

if all three conditions are met the decoder won't ask for more input data
and therefore never see the discontinuity.

To avoid this we briefly resume the renderer just before shutting down.

Change-Id: I9e08af2a1eb4298d1cd00497d6aa33f4ad184e9a
related-to-bug: 5655016
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
404a123bed7f180724ead17f10e037b3eb347701 18-Nov-2011 Mathias Agopian <mathias@google.com> split ComposerService out of SurfaceComposerClient.h

Change-Id: I1eb691f7ca263d5895d871ab675bb5826e0323c6
ibstagefright/SurfaceMediaSource.cpp
d3d822204249eaca4259bdf46f6f0357b96e8e21 28-Nov-2011 Andreas Huber <andih@google.com> If an error occurs that prevents us from reallocating buffers during a format change

we need to transition to executing state anyway to be able to properly flush/shutdown
in the future.

Change-Id: Ie48bc09ea31942009ae3a5a45aabc9ffad9fb91f
related-to-bug: 5655016
ibstagefright/ACodec.cpp
1d2ad70cb27c16709ebd74ae651c47f57abfedb0 23-Nov-2011 James Dong <jdong@google.com> Merge "Fix a subtitle bug: multiple blank lines in SubRip(srt) file."
a7e4865306b72e8eb97ee73719c897c432c53a0c 22-Nov-2011 Andreas Huber <andih@google.com> am 31626b30: am cb6fbc89: Merge "Report a runtime error instead of asserting on malformed avc configuration data." into ics-mr1

* commit '31626b3075335f4cf579342e99436bb45870cf55':
Report a runtime error instead of asserting on malformed avc configuration data.
e933cb5ae546d023ab756391a135c170874e7901 22-Nov-2011 Andreas Huber <andih@google.com> Merge "Report a runtime error instead of asserting on malformed avc configuration data." into ics-mr1
0e0c3220ee1c4d57765e2cba3b07923921c55e08 22-Nov-2011 Insun Kang <insun@google.com> Fix a subtitle bug: multiple blank lines in SubRip(srt) file.

TimedTextParser should handle multiple blank lines between subtitles
in SRT format.

Change-Id: Id81e0a14d9984141f68b9f0919942c85562301b3
ibstagefright/timedtext/TimedTextParser.cpp
7c56bb3ac1fb758a222a0c23805704a2789657b6 22-Nov-2011 James Dong <jdong@google.com> am d0a25456: am 02740dc4: Merge "Fix log spamming during time lapse video recording" into ics-mr1

* commit 'd0a254566f5f0be5607b4d64839a575c888c94f6':
Fix log spamming during time lapse video recording
4c57986f963c81fc7c2455deb113c9b32b135468 22-Nov-2011 Jamie Gennis <jgennis@google.com> SurfaceMediaSource: use the vid enc usage bit

This change makes SurfaceMediaSource add the VIDEO_ENC usage bit when
allocating its GraphicBuffers rather than the HW_TEXTURE bit.

Change-Id: Ie20e225c894fdbc31cad6bb82b3b64c7e98074eb
ibstagefright/SurfaceMediaSource.cpp
e8e5f86e9e310b065596c8cbbca1543eb833dee1 20-Nov-2011 James Dong <jdong@google.com> Fix log spamming during time lapse video recording

Change-Id: I4fc0809203684ebb02eaf217d7abad00aefc898f

related-to-bug: 5626569
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
6f5cc45c48c02173bfae8d54b54a92c9bae256a1 19-Nov-2011 Marco Nelissen <marcone@google.com> am d4b22ab4: status_t != bool

* commit 'd4b22ab4889f9b1885bfc0dc45667c846a171a98':
status_t != bool
91e2c7d2988c4947aca8a637f88a2179d905b970 18-Nov-2011 Marco Nelissen <marcone@google.com> status_t != bool

b/5567433

Change-Id: I255ab8c3b0b5e0ea6a5cc7c05df757c667f3855e
ibmedia/MediaScannerClient.cpp
ibstagefright/StagefrightMediaScanner.cpp
153cefdf4acab25355f590d7760ebf73ef6096a9 18-Nov-2011 Marco Nelissen <marcone@google.com> status_t != bool

b/5567433

Change-Id: I255ab8c3b0b5e0ea6a5cc7c05df757c667f3855e
ibmedia/MediaScannerClient.cpp
ibstagefright/StagefrightMediaScanner.cpp
71b61a960ae30df990976ca5dbe780d85a15b0d1 18-Nov-2011 Andreas Huber <andih@google.com> Report a runtime error instead of asserting on malformed avc configuration data.

Change-Id: Ibcd9c3fb5b6532eba843ed80ecdcdacaf50d8845
related-to-bug: 5641069
ibstagefright/OMXCodec.cpp
60047ae30cc816e98ddb4b0b48e58c34c3d1f486 17-Nov-2011 Andreas Huber <andih@google.com> am 624efe45: am c1b1709b: Merge "Make sure not to cancel pending seek/EOS notifications on a cache underrun..." into ics-mr1

* commit '624efe45671131903fb5165f6133ba39486092ab':
Make sure not to cancel pending seek/EOS notifications on a cache underrun...
1de4e2e1d7c22a31238e448200cbbe667cd5fa4c 17-Nov-2011 Glenn Kasten <gkasten@google.com> Merge "MidiFile uses C++ Thread not createThreadEtc"
528312c36a3ded860ead1a512df51663d03767ff 17-Nov-2011 Glenn Kasten <gkasten@google.com> Merge "JetPlayer uses C++ Thread not createThreadEtc"
90100b5573f95e8404c6e2917520e090fe8b49fd 24-Jun-2011 Glenn Kasten <gkasten@google.com> MidiFile uses C++ Thread not createThreadEtc

This permits leveraging future improvements to Thread.

Change-Id: I323b709e935c47fa3c6041cb8b82fda994e78b56
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiFile.h
a23856c0ad1f49a6ebcb71d3f63f329edc999a72 24-Jun-2011 Glenn Kasten <gkasten@google.com> JetPlayer uses C++ Thread not createThreadEtc

This permits leveraging future improvements to Thread.

Change-Id: I60deed8565ed54f13d9f770c76504e411b154276
ibmedia/JetPlayer.cpp
879135196fd1c97deefc538c888037c56c2879a7 23-Jun-2011 Glenn Kasten <gkasten@google.com> Bug 4903178 Restore priority and cgroup on stop

On AudioTrack and AudioRecord stop or failed start, restore the priority
and cgroup of the caller to their previous values, rather than forcing
to NORMAL. Dependent on new thread APIs.

Also fixes bug where priority was set to AUDIO but cgroup not set.

Change-Id: Ib83893918fb4fdf57c6b87884b51038997a631d8
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
c34233e673c9791e137456d0c427d58db184b690 16-Nov-2011 Andreas Huber <andih@google.com> Make sure not to cancel pending seek/EOS notifications on a cache underrun...

or they are lost for good.

Change-Id: I2f9f53efb05db4077961137c9dc8c27edac4ec62
related-to-bug: 5544907
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
5c052218128013d630b4d9a84393ebfbff11f3e8 15-Nov-2011 Hong Teng <hongteng@google.com> am 716747f7: am 481ffa50: Merge "Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage." into ics-mr1

* commit '716747f7cb29b45e41c2870f12d39095f4ed80c8':
Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage.
9621addc73c029e77fd3d50f38a34f8f264b6e38 15-Nov-2011 Hong Teng <hongteng@google.com> Merge "Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage." into ics-mr1
3a9cefebd2c5d2157aefaed01c54f151dc64a5b3 10-Nov-2011 Hong Teng <hongteng@google.com> Fix for issue 5309336
-add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage.

Change-Id: I41ffbc192fcce4c7635e5b0a1f2835852e5ee509
ibmedia/MediaProfiles.cpp
78ff828e28c22715f5b6c320d967744cb4f51fd4 11-Nov-2011 Andreas Huber <andih@google.com> am 8a065423: am 23217182: Merge "Didn\'t mean to check this in..." into ics-mr1

* commit '8a0654231ff36d938bc3451190cf67231195f1d0':
Didn't mean to check this in...
73bb0b9f2922679d057e29e9f502988178554a02 11-Nov-2011 Eric Laurent <elaurent@google.com> am 2c29a5cf: am 1f8c6212: Merge "visualizer: reset buffer if playback is idle" into ics-mr1

* commit '2c29a5cf1658532bca4e34f816fa30312241a336':
visualizer: reset buffer if playback is idle
516fb1dad0c434fd89624c418543d35436a5374c 11-Nov-2011 Andreas Huber <andih@google.com> am 40461ee7: am cd556b82: Merge "Instead of asserting, signal a runtime error if the session doesn\'t contain" into ics-mr1

* commit '40461ee70161d8568663332f72be2353b04c34e7':
Instead of asserting, signal a runtime error if the session doesn't contain
a36d8caf15d56a75906e9cc75b5e04463c1317a6 11-Nov-2011 Andreas Huber <andih@google.com> am 9c981cd3: am d9f25bc9: Merge "Disconnect on socket error on the RTSP control connection." into ics-mr1

* commit '9c981cd3d53238f10842368c1cd82d625b701a47':
Disconnect on socket error on the RTSP control connection.
7ac9a9afafbc7c515a73086c11a15a27c7fd05b1 11-Nov-2011 Andreas Huber <andih@google.com> Merge "Didn't mean to check this in..." into ics-mr1
91f230461288a2a5091182ef9e17079aabf8ebaa 11-Nov-2011 Andreas Huber <andih@google.com> Didn't mean to check this in...

Change-Id: Ie5a1902ff2613cd349ca5724f63a3fe3306640c7
ibstagefright/rtsp/MyHandler.h
04ccb823442a4dae4f418228dd28f8607f174978 11-Nov-2011 Eric Laurent <elaurent@google.com> Merge "visualizer: reset buffer if playback is idle" into ics-mr1
73b1fd56d99b356b0effe8cf96ecf7446beb207f 11-Nov-2011 Andreas Huber <andih@google.com> Merge "Instead of asserting, signal a runtime error if the session doesn't contain" into ics-mr1
4ab3045755d33ab24bd312cfbc888f300c5e01f9 11-Nov-2011 Andreas Huber <andih@google.com> Merge "DO NOT MERGE: Instead of asserting, remove active streams if their sockets" into ics-mr1
4c5f7e33c26a858fd61438e3c1aea5c196a770e7 11-Nov-2011 Andreas Huber <andih@google.com> Merge "Disconnect on socket error on the RTSP control connection." into ics-mr1
023132eac2f2e2e0aa8859231cce1a6d324242fd 11-Nov-2011 James Dong <jdong@google.com> am 510180f1: am 08e42967: Merge "Add support for retrieving location information in mp4/3gpp files" into ics-mr1

* commit '510180f162dee3ae5416a98caa07f58a754f4b3f':
Add support for retrieving location information in mp4/3gpp files
0bb80204f457e1f948e47abacd86fae9ee687de4 11-Nov-2011 James Dong <jdong@google.com> Merge "Adds handler type 'sbtl' to support subtitles in various containers."
0fbe0577cfeda28bd016110e670708cce0752044 10-Nov-2011 Andreas Huber <andih@google.com> Disconnect on socket error on the RTSP control connection.

Change-Id: Ib52a69f9b0830b481c6f5c9b1991d1f4cb36ec7b
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
19de627354d465c4e9ccd1fcdcffd132861330b2 09-Nov-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Instead of asserting, remove active streams if their sockets

return failure

Change-Id: Icb47adfd2fbe0398c473ba66e068186311c9cc79
related-to-bug: 5593654
ibstagefright/rtsp/ARTPConnection.cpp
f0c86a83c687074be79397e082e3775ca56641b1 10-Nov-2011 Andreas Huber <andih@google.com> Instead of asserting, signal a runtime error if the session doesn't contain

any playable tracks at all.

Change-Id: Ibbbe2fdcd53b7e020da80c84c8229856107a87e6
ibstagefright/rtsp/MyHandler.h
4948818cb91176df74c972ac27b2f392b5d148bc 09-Nov-2011 James Dong <jdong@google.com> Add support for retrieving location information in mp4/3gpp files

Change-Id: Ib8427704ef9ee5a4fa8fe1818c8a62d77b4ea687
related-to-bug: 5560253
ibstagefright/MPEG4Extractor.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
7cad0b48243f86c516181d09185dc83223ae51d7 10-Nov-2011 Andreas Huber <andih@google.com> am 9e2949c6: am 2375d163: Merge "Send RTSP control connection keep-alive requests" into ics-mr1

* commit '9e2949c6ab4e791b5c20d5e85c3eff62f206a99b':
Send RTSP control connection keep-alive requests
a585407bd04f2f4189dc393fc7e3f7f58d4f1a7a 10-Nov-2011 Andreas Huber <andih@google.com> am 2dff5cdc: am b42aea5b: Merge "Don\'t believe the PV decoder\'s lies..." into ics-mr1

* commit '2dff5cdc362ff6026e71d4b96faea8f2d7bd7063':
Don't believe the PV decoder's lies...
e9a919b178a75f4cb70322c02c9c8e2756fb5ea1 10-Nov-2011 Andreas Huber <andih@google.com> am ec04f4ac: am 7c063cf9: Merge "There\'s no point in trying to continue to decode after an error was signalled." into ics-mr1

* commit 'ec04f4ac23e5fe8f90267d09ddda8c0aa684c147':
There's no point in trying to continue to decode after an error was signalled.
3df40a093d8d3d211f693e0e3ef4076750cabfea 10-Nov-2011 Eric Laurent <elaurent@google.com> visualizer: reset buffer if playback is idle

Visualizer capture buffer must be reset if audio framework has stopped
calling process for a given period of time to get read of residual
data from previous captures.

Issue 5571920.

Change-Id: I6e73f971bb812cdbb2979a3b5e763abab07634eb
ibeffects/visualizer/EffectVisualizer.cpp
1dc0ab1d2e2c5f40193556ad1239e304563f3083 10-Nov-2011 Andreas Huber <andih@google.com> Merge "Send RTSP control connection keep-alive requests" into ics-mr1
ca957d753496aff94dbb93b547e1c605bbfa064b 10-Nov-2011 Andreas Huber <andih@google.com> Merge "Don't believe the PV decoder's lies..." into ics-mr1
d57a4ddd1ab42401c4a011df7e9577b843de1b68 10-Nov-2011 Andreas Huber <andih@google.com> Merge "There's no point in trying to continue to decode after an error was signalled." into ics-mr1
e26dd87f87be5016777bf92e498a26d545d3926a 10-Nov-2011 Insun Kang <insun@google.com> Adds handler type 'sbtl' to support subtitles in various containers.

Change-Id: I16d2c5d9aeb087b958e28052f266ca0ef42ea7f1
ibstagefright/MPEG4Extractor.cpp
d9f9f24db6f55f4743ece9965d4ece5f33d1b7ed 09-Nov-2011 Andreas Huber <andih@google.com> Merge "Instead of asserting, remove active streams if their sockets return failure"
8c308ffd781132c8417cebc3bf77c2e56a464e0b 09-Nov-2011 Andreas Huber <andih@google.com> Instead of asserting, remove active streams if their sockets return failure

Change-Id: Ic5cc786f718cf921876b181927cf1b03e8373ff1
related-to-bug: 5593654
ibstagefright/rtsp/ARTPConnection.cpp
fa1e6f99cd4f2e23e23dbbb1fd43041fcd32fe9e 09-Nov-2011 Glenn Kasten <gkasten@google.com> am bb1b7d5c: am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0

* commit 'bb1b7d5cb3c5502484269bfd0cdcd0d5a6d6bfad':
Bug 5478024 drop after decode if can't drop before
2961a85f5f00343c115ac8e5dc17de631694fb6e 09-Nov-2011 Andreas Huber <andih@google.com> There's no point in trying to continue to decode after an error was signalled.

Change-Id: I2a2410cac9444eadd85be5d104799703171f1a24
related-to-bug: 5588658
ibstagefright/codecs/on2/h264dec/SoftAVC.cpp
ibstagefright/codecs/on2/h264dec/SoftAVC.h
0029faf8f4efbca3844c4174b75d46c432f8f272 09-Nov-2011 Andreas Huber <andih@google.com> Don't believe the PV decoder's lies...

Change-Id: I97391235255afb8a4890a4ff52d4e8e9ca954f27
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
b5d340314ac6da461f15fe4d1db996ae28770d67 09-Nov-2011 Glenn Kasten <gkasten@google.com> am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0

* commit '19998120f53caceb620f138c6eea182f1e693660':
Bug 5478024 drop after decode if can't drop before
32f0a8c022fa733aa721c607df330a5d4a0a1b32 09-Nov-2011 Glenn Kasten <gkasten@google.com> am 19998120: Merge "Bug 5478024 drop after decode if can\'t drop before" into ics-mr0

* commit '19998120f53caceb620f138c6eea182f1e693660':
Bug 5478024 drop after decode if can't drop before
908dbdee96856693decc04fa143c2ba525495d43 09-Nov-2011 Andreas Huber <andih@google.com> Send RTSP control connection keep-alive requests

default to 60 secs unless overridden by server's session-id response.

Change-Id: I7c3aff5b787dbb57cc0dccf9db3c75e5cf7e778c
related-to-bug: 5562303
ibstagefright/rtsp/MyHandler.h
471af5aaea2d2491a77dba379771f7c96b9ca3c3 08-Nov-2011 Andreas Huber <andih@google.com> resolved conflicts for merge of 26f70db9 to master

Change-Id: Ib1536b1a4c9eeff80e0726b3e61cee12057cd120
936a981ba15d528a023311aa32f46446813551d9 08-Nov-2011 Andreas Huber <andih@google.com> Merge "Remove surface legacy APIs and code." into ics-mr1
6a9ab553ebd36705d3edacc6deb6a27dd6b799a3 08-Nov-2011 James Dong <jdong@google.com> am ee7ebb32: Merge "Fix a hang issue where the first frame can be dropped for timelapse video recording." into ics-mr1

* commit 'ee7ebb3257d9337627b175835dc3d08f9b8ab339':
Fix a hang issue where the first frame can be dropped for timelapse video recording.
49e82712b2b7072bb8b8d6e2c86115eaa82e9943 08-Nov-2011 James Dong <jdong@google.com> Merge "Fix a hang issue where the first frame can be dropped for timelapse video recording." into ics-mr1
78df57fff35a38ab6d68526d340b2853d25721ae 08-Nov-2011 Andreas Huber <andih@google.com> Merge "Use binary search to discover closest sync sample index, replace"
8f76ebf90d0391a4baa8a921ed6e291dfc7891da 07-Nov-2011 Andreas Huber <andih@google.com> Use binary search to discover closest sync sample index, replace

assertions with runtime errors in case the file's table of sync sample
indices is not sorted properly.

Change-Id: Ie4446a44e613a8d329ac680c37361d4407d22520
related-to-bug: 5549855
ibstagefright/SampleTable.cpp
45b92707d851458c73e320d2450cfc246b1167db 05-Nov-2011 Eric Laurent <elaurent@google.com> resolved conflicts for merge of 914972be to master

Change-Id: I15adb9040eaa206c31bb5a08ed5ee5b32967ba0a
f5a486a54d85ee59f4e9afa18b05c1946d749050 05-Nov-2011 Eric Laurent <elaurent@google.com> resolved conflicts for merge of 79178b8b to master

Change-Id: Ia597549a6d159b86063eb3afec5ce7fe98434a65
683525b61bc1b58b4fd9e1b3ef9ed3b0c3bf34ae 05-Nov-2011 Glenn Kasten <gkasten@google.com> Bug 5478024 drop after decode if can't drop before

Change-Id: Iaa64553be1a710da5d42be4e3a1e1d6dc873e371
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
4d954c4ff6ab7110df23f1f3ebfe296beb97f3de 04-Nov-2011 Eric Laurent <elaurent@google.com> Merge "Fix device management in lvm effect bundle wrapper." into ics-mr1
047f160561fc7a87fc5794762d36225bfa5d2e89 04-Nov-2011 Eric Laurent <elaurent@google.com> Merge "Fix problem in lvm effect bundle wrapper." into ics-mr1
ee74c46968e632915bdff1af5d59a1b2ca3ac796 03-Nov-2011 Andreas Huber <andih@google.com> DO NOT MERGE Poll input data with a small timeout and don't consume a full core.

Change-Id: I3c288698920fe6ead0df24a52330483609821a41
related-to-bug: 5549263
ibmediaplayerservice/nuplayer/NuPlayer.cpp
0bdcaf9c5466cf9c84a8c98e160411ab74f05f4b 03-Nov-2011 Andreas Huber <andih@google.com> am e395f645: Poll input data with a small timeout and don\'t consume a full core.

* commit 'e395f645aa4c30a4fad8beb3da6f8fad72338617':
Poll input data with a small timeout and don't consume a full core.
1183a4ab06b9fe01fe39a4b8728bfc71789361fc 03-Nov-2011 Andreas Huber <andih@google.com> Poll input data with a small timeout and don't consume a full core.

Change-Id: I3c288698920fe6ead0df24a52330483609821a41
related-to-bug: 5549263
ibmediaplayerservice/nuplayer/NuPlayer.cpp
5dc65e2ce92c7364da60bdff5f345daf145c2c0f 01-Nov-2011 Eric Laurent <elaurent@google.com> Fix problem in lvm effect bundle wrapper.

When an effect is disabled, the process function should either
copy or accumulate the content of the input buffer to the output buffer
depending on the behavior requested by the framework.
Current implementation is copying the input buffer unconditionally.

Related to issue 5433942.

Change-Id: Ic488ca97eadcc4c763de570d7e6c6f5b7a979415
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
14da736f1707a6dbefa52405e910ecb1b3bc2dd2 01-Nov-2011 Andreas Huber <andih@google.com> Properly decode ADTS files with ID3 headers.

Change-Id: I55247e79ac9cc9547e3e0f6fe048bcbdc9b639d1
ibstagefright/AACExtractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/include/AACExtractor.h
b6431802fc6cff501a4311de288ba469839fbf86 01-Nov-2011 Eric Laurent <elaurent@google.com> Fix device management in lvm effect bundle wrapper.

The virtualizer and bass boost effects should be disabled when
not playing throught headsets or headphones.

There is a bug in current wrapper implementation that makes that those
effects are not disabled if the effect is enabled by the user after
the headset has been removed (current logic only works if the device selection
occurs while the effect is enabled).

Change-Id: I7c66b15a0339d95fb9ed13c8320d66379725d3b6
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
2aa4cc04154d82f6658fb86f394f13bb488b0468 08-Aug-2011 Andreas Huber <andih@google.com> Support new HLS byte-range extensions

Change-Id: Ic767ddea93ffcb87d83b8fbc20837486648da3d7
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/include/LiveSession.h
ibstagefright/include/M3UParser.h
3901e5d87573447db33fb9930871a1f5266a9b2c 25-Oct-2011 Andreas Huber <andih@google.com> Remove surface legacy APIs and code.

All surfaces are now supported through surface textures.

Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/TestPlayerStub.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
d7a07f295a291496111b56a4886411c237ba6dc9 28-Oct-2011 Andreas Huber <andih@google.com> am 27ed1249: Merge "Properly report that we\'re no longer playing after receiving event" into ics-mr1

* commit '27ed12492dfbec6ec67b66ff3cf60febce370b01':
Properly report that we're no longer playing after receiving event
841fa37451fb74f3d5978a15aab606bbb67e8c39 28-Oct-2011 Andreas Huber <andih@google.com> Merge "Properly report that we're no longer playing after receiving event" into ics-mr1
4b8bb4ee7d1d64dc1cd5478a3772f97e4a4a00d7 28-Oct-2011 Jamie Gennis <jgennis@google.com> am fc9592f8: am 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ics-mr0

* commit 'fc9592f8a5f2f75207e5e532655ac294eb2b334b':
Stagefright: ANW::connect in MediaPlayerService
262620399c228b3b201c2c4b39c87508d3047d74 28-Oct-2011 Jamie Gennis <jgennis@google.com> am 08479cee: Merge "Stagefright: ANW::connect in MediaPlayerService" into ics-mr0

* commit '08479ceeba56c460fb52f60a24df27776f1936c3':
Stagefright: ANW::connect in MediaPlayerService
c1aa1e96d1310e8b8f9962f924247aa35a61e3c3 28-Oct-2011 James Dong <jdong@google.com> am da57c0e8: Merge "Report call status from AudioSource::start() to file writer" into ics-mr1

* commit 'da57c0e8cf7e5022dd927b51fab3c1a40a8adf54':
Report call status from AudioSource::start() to file writer
be1480bade58688d201335860247734aec6b11cb 28-Oct-2011 James Dong <jdong@google.com> Merge "Report call status from AudioSource::start() to file writer" into ics-mr1
bd1970ae5c97cf423cbc5b591e9c8eab05a76a37 27-Oct-2011 Andreas Huber <andih@google.com> am 1388aced: Merge "Fix a reference to a stale pointer in AwesomePlayer." into ics-mr1

* commit '1388aced2a5ce3aafa8b0ae922925efafb61a5e1':
Fix a reference to a stale pointer in AwesomePlayer.
0d681abd16873a265a10aee1e9ae8fa062309de3 27-Oct-2011 Andreas Huber <andih@google.com> Merge "Fix a reference to a stale pointer in AwesomePlayer." into ics-mr1
93594b5aa16dbbb0b196f6e181a8ca099d7ab62b 27-Oct-2011 James Dong <jdong@google.com> Fix a hang issue where the first frame can be dropped for timelapse video recording.

Change-Id: I04754f1005a983953a80a659ff13f8762d0e120c
related-to-bug: 5523502
ibstagefright/CameraSourceTimeLapse.cpp
b05e3b5b3c2d77f6c71631ea538f6190ec61b3d9 27-Oct-2011 James Dong <jdong@google.com> Report call status from AudioSource::start() to file writer

Change-Id: I5109dc87a92170dede4eaa58b039efe6d8b7c330
related-to-bug: 5514288
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
7dae00baa6e8957be15523c46bb948bd1dde64c3 27-Oct-2011 Jamie Gennis <jgennis@google.com> Stagefright: ANW::connect in MediaPlayerService

This change moves the ANativeWindow connect and disconnect logic from
MediaPlayer to MediaPlayerService::Client.

Bug: 5502654
Change-Id: Ifc43b98b01ad8f35d62d7ece43110724ec7fda3d
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
a4af2143ecbd630e946647c1b5f90fda8f61ebb3 27-Oct-2011 Andreas Huber <andih@google.com> Properly report that we're no longer playing after receiving event

MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR.

Change-Id: I03eeba751d3728adb33d9c66de4c7444a91696f3
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
783cfe32ee6f3972849b72283b95d5173ba79766 26-Oct-2011 Jamie Gennis <jgennis@google.com> am 5ded5fc5: am b7b4eaaa: Merge "Stagefright: push blank buffers when tearing down" into ics-mr0

* commit '5ded5fc55f2da2af0a76a9ddc52d27948b227037':
Stagefright: push blank buffers when tearing down
71adab54edf9d0e2c89473d3be12edb6b9dc4549 26-Oct-2011 Jamie Gennis <jgennis@google.com> am b7b4eaaa: Merge "Stagefright: push blank buffers when tearing down" into ics-mr0

* commit 'b7b4eaaa05284634d50d581d924a250f1194f66d':
Stagefright: push blank buffers when tearing down
32bdfd5acb76a02e82e0059c8bd892bc1f73a7e3 26-Oct-2011 Andreas Huber <andih@google.com> Fix a reference to a stale pointer in AwesomePlayer.

The pointer returned by MetaData::findCString may become stale if the metadata
object is modified. Make a copy of the returned mime type in order to prevent
MediaPlayer::dump log corruption.

Change-Id: I9077aee36c4316d83b37fb909bf91e6b3f75d5d2
ibstagefright/AwesomePlayer.cpp
3856b090cd04ba5dd4a59a12430ed724d5995909 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
ibeffects/factory/EffectsFactory.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/preprocessing/PreProcessing.cpp
ibeffects/testlibs/AudioEqualizer.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
ibmedia/AudioParameter.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IEffect.cpp
ibmedia/IEffectClient.cpp
ibmedia/IMediaDeathNotifier.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/JetPlayer.cpp
ibmedia/MediaProfiles.cpp
ibmedia/MediaScanner.cpp
ibmedia/ToneGenerator.cpp
ibmedia/Visualizer.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiMetadataRetriever.cpp
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibstagefright/AACWriter.cpp
ibstagefright/ACodec.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/AVIExtractor.cpp
ibstagefright/AudioPlayer.cpp
ibstagefright/AudioSource.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/ESDS.cpp
ibstagefright/FLACExtractor.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG2TSWriter.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/MediaSourceSplitter.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/SampleTable.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/VideoSourceDownSampler.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/avc_utils.cpp
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/codecs/on2/dec/SoftVPX.cpp
ibstagefright/codecs/vorbis/dec/SoftVorbis.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/id3/ID3.cpp
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/SimpleSoftOMXComponent.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/AAVCAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARawAudioAssembler.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
ibstagefright/tests/DummyRecorder.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
tp/MtpDevice.cpp
tp/MtpDeviceInfo.cpp
tp/MtpPacket.cpp
tp/MtpServer.cpp
tp/MtpStorage.cpp
1765d6e0c962d2b89897c0278f969084f632d181 25-Oct-2011 Jamie Gennis <jgennis@google.com> Stagefright: push blank buffers when tearing down

This change makes OMXCodec push RGB 565 buffers filled with black to an
ANativeWindow when tearing down after decoding to protected gralloc
buffers. This allows the OMX tear down to zero out any protected
buffers that were used without the possibility that the buffer is still
being used by SurfaceFlinger or HWComposer.

Bug: 5483222
Change-Id: I8acedd81a7bb67dfdc2fd15733e3375b6ce8d560
ibstagefright/OMXCodec.cpp
1d2acaffde56ad79e6e96f228d7857863462397c 20-Oct-2011 Dave Burke <daveburke@google.com> am 23d64420: Merge "Stagefright: idle OMX after ANW errors" into ics-mr0

* commit '23d644202a44383bf008ff86f6faa3ea7e447290':
Stagefright: idle OMX after ANW errors
55f4bc5c3d1acfaa735b8b19cf34b6b68f6cfcca 20-Oct-2011 Dave Burke <daveburke@google.com> Merge "Stagefright: idle OMX after ANW errors" into ics-mr0
b1d666f5cb555d135eb69e005e88a03330bbb54c 20-Oct-2011 Jamie Gennis <jgennis@google.com> Stagefright: idle OMX after ANW errors

This change fixes an issue in Stagefright where the state of an OMXCodec
object can get out of sync with the state of the OMX component. In
particular, if one of the ANativeWindow functions failed and put the
OMXCodec into the ERROR state, this would cause Stagefright to skip
doing the Executing -> Idle transition. Without this transition the
freeBuffersOnPort call would never be made, and the MediaBuffers would
end up being leaked (which would also leak the Gralloc buffers they
reference).

Bug: 5333695
Change-Id: I85ea0cf92d18e7ef6d35c7d1e2a7b4e2c9745d34
ibmedia/IOMX.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
d24bac2f9e83d3dbc0ef9d2aae3b8ad8e4d2b731 20-Oct-2011 James Dong <jdong@google.com> am b3cdadb6: Merge "Check whether media recorder client exists before dumping." into ics-mr0

* commit 'b3cdadb639027f62c7c1637ca962a70d2d1f3b4d':
Check whether media recorder client exists before dumping.
e579e28089c6b86f56d257030b778c5e22b1a5a5 19-Oct-2011 James Dong <jdong@google.com> Check whether media recorder client exists before dumping.

Change-Id: I1f3a644a958975e4cf6c02099c53e30cc4d2fd82
related-to-bug: 5477177
ibmediaplayerservice/MediaPlayerService.cpp
ca9f7f2d484ba0296db49406e3ef908bc7e119c1 19-Oct-2011 James Dong <jdong@google.com> am 5264f600: Merge "Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format." into ics-mr0

* commit '5264f6003bbcb8ca70df034379154914260cc322':
Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format.
5e69eb97b0e5e70919f61099bcc5bdbb1db0861c 19-Oct-2011 James Dong <jdong@google.com> Bail out after kMaxColorFormatSupported calls to OMX_GetParameter().
Avoid infinite loop in querying omx component about the supported color format.

Change-Id: I4997efd36462c792a6d8b5e04c79a80966a559fe
related-to-bug: 5466057
ibstagefright/OMXCodec.cpp
89770b4c942a2cf0bc2cba2a7a182a10d17b21b5 18-Oct-2011 Dave Burke <daveburke@google.com> am 6f13adb2: Merge "Don\'t hold onto the lock while reconnecting to the server" into ics-mr0

* commit '6f13adb22afcb47a1cd45a90eaa3c154522089d4':
Don't hold onto the lock while reconnecting to the server
a038c14efdaa118e2d8c5b42584cb0bb5f3b2ec7 18-Oct-2011 Dave Burke <daveburke@google.com> Merge "Don't hold onto the lock while reconnecting to the server" into ics-mr0
95c4d6034dc356f70c6293ea53d4858415b2d020 18-Oct-2011 Andreas Huber <andih@google.com> Don't hold onto the lock while reconnecting to the server

to avoid stalling the readers.

Change-Id: I73b646587c8a654a73ff7d800c0f17bd78001855
ibstagefright/NuCachedSource2.cpp
2bfdd428c56c7524d1a11979f200a1762866032d 12-Oct-2011 Andreas Huber <andih@google.com> NuPlayer is now taking on the task of streaming over RTSP.

Change-Id: Ie204db8810807f1e7981959e34dc0149e5d9563a
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/nuplayer/Android.mk
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerSource.h
ibmediaplayerservice/nuplayer/RTSPSource.cpp
ibmediaplayerservice/nuplayer/RTSPSource.h
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/ARTSPController.h
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/APacketSource.h
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/Android.mk
ibstagefright/rtsp/MyHandler.h
f337772630b0a1b48d7828647d1079ebdc22919d 13-Oct-2011 Andreas Huber <andih@google.com> Merge "Support for an MPEG2 Program Stream extractor."
0cc79c66329b9ffa7d7bdfafa5d245a11fd3660d 13-Oct-2011 Mike Lockwood <lockwood@android.com> MtpServer: Pass 0xFFFFFFFF for file size when receiving files >= 4GB in size

Bug: 5432487

Change-Id: Ie86e72d9d85476941eab6a9d271948b8fdde6926
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
98a46cf165d8de3779874eba01803bbc485f45b9 12-Oct-2011 Andreas Huber <andih@google.com> Assume a PTS of 0 if absent, don't bail on fragmented PES packets not having PTS

Change-Id: I3b31f08428fb7195b98f145ae0675006c8756de1
related-to-bug: 5450187
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
49c59815369616b0fd5451ccabd377e8fe1dc3fa 07-Oct-2011 Andreas Huber <andih@google.com> YouTube can now request custom cache/prefetch parameters and disconnect-at-highwater

through the use of pseudo http headers specified in the setDataSource call.

x-cache-config: -1/-1/0
x-disconnect-at-highwatermark: 1

turns off keep-alives and disconnects every time the cache is full (will attempt
to reconnect once it run below lowwater mark)

related-to-bug: 5433309

Change-Id: Id2f942fc956e0e156834cfcd6bb08dae6a29fae1
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/NuCachedSource2.h
0b8cd8b0cf1489f8f7c0b2c4d7ea8fea70ca93a1 07-Oct-2011 Andreas Huber <andih@google.com> Specifying -1 for both low and highwater marks would not actually do the right thing

before this change. Also make it more consistent in that specifying -1 for the
keepalive settings specifies the default.

Change-Id: I086f530fbf42abce66d1c8e61157215cb474e044
ibstagefright/NuCachedSource2.cpp
003124e20eb0744aab36ad1bde05e15ac122ad75 07-Oct-2011 Andreas Huber <andih@google.com> Merge "Allow a system property "media.stagefright.cache-params" to override cache/prefetcher"
e46c970c8f2fc26ff39cf8bebf984f46b17233ba 07-Oct-2011 James Dong <jdong@google.com> Merge "Fix an issue where we should allow negative values but did not"
a045cb0e77097120e86e367e1cab5494ce2a5d5e 05-Oct-2011 Andreas Huber <andih@google.com> Allow a system property "media.stagefright.cache-params" to override cache/prefetcher

default parameters. To override specify a property

adb shell setprop media.stagefright.cache-params "4096/20480/15" to
set the low water threshold to 4096 KB, the high water threshold to 20 MB
and the keepalive interval to 15 secs.

if high and/or lowwater mark are negative, the default values are used for
the respective value.

if keep-alive interval is 0, keep-alives are disabled.

Change-Id: I89a4a06836e4a2f473d7a92b567ab07818c2f87d
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/NuCachedSource2.h
788a07fc61bad7ea2f0e3cca3f126b52a9bab376 06-Oct-2011 Andreas Huber <andih@google.com> Return a runtime error instead of assertion if seeking beyond EOS in mpeg4 files.

Change-Id: If6531b4a1ff45460cfcdcc04764c5c63a2f5a749
related-to-bug: 5418914
ibstagefright/MPEG4Extractor.cpp
b832a03d563dd000faa44f2577e92237525edc32 06-Oct-2011 James Dong <jdong@google.com> Fix an issue where we should allow negative values but did not

Change-Id: Ia8d718b4e6aec4c17db86e30134132f767fd72c5
related-to-bug: 5419527
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
d20bf0676d6db8f12edcd2307f82409c076c7015 30-Sep-2011 Lakshman Gowda <lakshman79@ti.com> Set crop params to ANative Window during Initialization.

The native_window_set_crop() is called when port reconfig event callback comes from decoder's and
crop parameters are changed from default getconfig() OMX_IndexConfigCommonOutputCrop values.
Since the default crop params are same as port reconfig crop params, the native_window_set_crop()
is not called, hence resulting in displaying the whole frame(paddedWidth x paddedHeight).
By calling native_window_set_crop() during initilaization of output port of decoder ensures
in setting up ANative window to crop region.

Change-Id: I68926464a1f5c7e6053804615c8b9bd32ea85688
Signed-off-by: Lakshman Gowda <lakshman79@ti.com>
ibstagefright/OMXCodec.cpp
2944eca607304a095ea43ba2b8f0b9de61249f9f 08-Sep-2011 Andreas Huber <andih@google.com> Support for an MPEG2 Program Stream extractor.

Change-Id: I606d87c278f72b22a5b6d7ee57bce6b02e280d41
ibstagefright/ACodec.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/include/MPEG2PSExtractor.h
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/Android.mk
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/MPEG2PSExtractor.cpp
d3523f89a867afa111bb332887bf006ec3ae93e6 16-Sep-2011 Gilles-Arnaud Bleu-Laine <gilles@ti.com> Gracefuly return on detecting wrong AAC format from corrupted files

Return BAD_VALUE error upon detection of wrongly formatted files.
The client should abort the initialization upon error detection.

The current CHECK() interrupts the configurecodec() preventing a graceful
exit.

Change-Id: Ic79313fa76a63284897df5d91635de87d06f3100
Signed-off-by: Gilles-Arnaud Bleu-Laine <gilles@ti.com>
ibstagefright/OMXCodec.cpp
fea8f6217455d8cfc957e5b30f4eb2349859518f 29-Sep-2011 Andreas Huber <andih@google.com> Merge "Support multiple NAL fragments per .mkv payload"
792e33fd19e57e0d615d401a54ab567d04f16251 29-Sep-2011 Andreas Huber <andih@google.com> Support multiple NAL fragments per .mkv payload

Apparently the payload for an h.264 track in an .mkv file can contain multiple
NAL fragments, we used to discard everything after the first one before, now
we preserve them all.

Change-Id: Ic7187365309f3880a3256982879a45df50db697d
related-to-bug: 5337218
ibstagefright/matroska/MatroskaExtractor.cpp
5530493f9abcd8f1f0b06cccecd6900e86a99778 28-Sep-2011 James Dong <jdong@google.com> Merge "Flush resets the count of played audio frames"
729de186450f78c099637e1fce743fe531862c52 28-Sep-2011 Andreas Huber <andih@google.com> Support AMR, G.711 and vorbis audio in ACodec and friends.

Change-Id: I08c03219bf2d60fc5c6e89957bd4b4c615570983
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
6c375490a5536695770a85b57ec9f828d3c0c9d4 28-Sep-2011 James Dong <jdong@google.com> Flush resets the count of played audio frames

Change-Id: I0cda94646a71757fa113a199d29235e13efd7ac3
related-to-bug: 5331470
ibstagefright/AudioPlayer.cpp
c32589a79f8120ac0060945fffc50279143989aa 28-Sep-2011 Andreas Huber <andih@google.com> Cut down on AwesomePlayer and OMXCodec's verbosity.

Change-Id: Ifd95717e8ea0fb0327099b16d72a6ed58c7c9924
related-to-bug: 5382014
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
dd115cd3b1429a39f1c8e77cbdf03e760ebdb6c3 27-Sep-2011 Andreas Huber <andih@google.com> Merge "Signal an appropriate error even if there are no active streams yet."
eac68baf095aeef54865c28b6888924dc6295cbd 27-Sep-2011 Andreas Huber <andih@google.com> Signal an appropriate error even if there are no active streams yet.

Change-Id: I3ac1053ad288558b62ee18056dfd0a9ce0da8f49
related-to-bug: 5372901
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerSource.h
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.h
82fd03b854a5e6879dc9eb6d57962414e7082894 27-Sep-2011 Eric Laurent <elaurent@google.com> Merge "Fix issue 5373048: AudioCache decode errors"
9cb839a0fcc98fe4278b39afb8b6d664c04f1673 27-Sep-2011 Eric Laurent <elaurent@google.com> Fix issue 5373048: AudioCache decode errors

When decoding a file for the SoundPool, do not
reject the entire file in case of error but
return what was decoded so far instead.

Change-Id: Iff199a1b6a4c8e064e42a0dfe0704e0ae36a27fd
ibmediaplayerservice/MediaPlayerService.cpp
dc9bacd838442a524585887e6ea6696836be2eda 26-Sep-2011 Andreas Huber <andih@google.com> Propagate error signalled by the source all the way to the output EOS notification.

Change-Id: I30e959a6d669f09745c59fbdebee08f869511cf7
related-to-bug: 5372901
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/ACodec.cpp
ece731de0c0af30917316d55313f25c56f91960d 26-Sep-2011 Andreas Huber <andih@google.com> Merge "Support even more .avi files with .mp3 content not aligned to chunk boundaries"
32e1832dfac3a6bbcc5c0973ccd0e22de4d1a1ac 23-Sep-2011 Andreas Huber <andih@google.com> Support even more .avi files with .mp3 content not aligned to chunk boundaries

Change-Id: I3ace4118e2e519648c23c51d0b699ba0d7511a5d
related-to-bug: 5349382
ibstagefright/AVIExtractor.cpp
ibstagefright/include/AVIExtractor.h
3d5ec85e29edfa0639290610044517bec269c7df 23-Sep-2011 Pannag Sanketi <psanketi@google.com> am 1d71c7b4: Merge "Returning EOS in SurfaceMediaSource:read" into ics-factoryrom

* commit '1d71c7b40a7f38487e602e78f45279b6a8364fc9':
Returning EOS in SurfaceMediaSource:read
3e9bf4061475ae0d01c57e32c13e63808aa3e31f 23-Sep-2011 Pannag Sanketi <psanketi@google.com> Returning EOS in SurfaceMediaSource:read

In SurfaceMediaSource::read, if disconnect has already been called, then
ERROR_END_OF_STREAM should be returned rather that NO_INIT. Else, it
sometimes leads to a crash in mediarecorder stop() call.

Related to FactoryROM bug: 5332812

Change-Id: I22132538ab2501d084e0283876817b1ec3f64a1d
ibstagefright/SurfaceMediaSource.cpp
10b3b8608c4739e772a80cf84a10fda98e842cd7 21-Sep-2011 Andreas Huber <andih@google.com> Merge "Support some .avi files containing H.264 video, log warnings if audio/video unsupported"
c639aad6d8894f57c02e620f52ccf49e51b64866 21-Sep-2011 Andreas Huber <andih@google.com> Support some .avi files containing H.264 video, log warnings if audio/video unsupported

Change-Id: Ie7280f25f2bd19f32234c08673e64ceb65833677
related-to-bug: 5349382
ibstagefright/AVIExtractor.cpp
ibstagefright/avc_utils.cpp
ibstagefright/include/AVIExtractor.h
dc7747d7da61a72b6d26dacf7569de9455d77474 21-Sep-2011 Glenn Kasten <gkasten@google.com> Bug 5234242 audio continues after discontinuity

Reduce to 8 buffers of 10 packets from 16 buffers of 20 packets.

Change-Id: Ifdb5e15535989fbb6e5e1b70d5f9f71dc66a5c83
ibmediaplayerservice/nuplayer/NuPlayerStreamListener.h
12bbe5d7d47747c093ddac2977f594a4a3c1810e 20-Sep-2011 James Dong <jdong@google.com> am 92d0a64b: Merge "Add QVGA resolution to CamcorderProfile" into ics-factoryrom

* commit '92d0a64b909cd95e8f4ce587438b0cc6d2daeaa0':
Add QVGA resolution to CamcorderProfile
669012d77b00a2aacb6fd12837f2870f9ec17865 20-Sep-2011 James Dong <jdong@google.com> Add QVGA resolution to CamcorderProfile

Change-Id: Icebbafb68d8164370f98a2c36699845d10ef081b
related-to-bug: 5145483
ibmedia/MediaProfiles.cpp
89aa8fe4cb00d2f24260005b008602232d678684 19-Sep-2011 Andreas Huber <andih@google.com> Remove an O(n^2) algorithm in MPEG4Extractor.cpp to speed up seeks in long streams

containing B-frames.

Change-Id: Ie4dc734d2c2d5a5ce84674bb883f4b27e2278642
related-to-bug: 5336497
ibstagefright/SampleTable.cpp
ibstagefright/include/SampleTable.h
3fe62150fa3dd6d25cb84aad80bc9e27ddd16c45 17-Sep-2011 Andreas Huber <andih@google.com> In order to recover from video lagging behind audio, drop avc frames

that are not referenced by other frames before feeding them into the decoder.

Change-Id: I822190af8f8329567bff8da1ea23136d0a765481
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
ibstagefright/avc_utils.cpp
ibstagefright/include/avc_utils.h
078cfcf7cce9185ec7559910d08b0bc02bfc88a3 15-Sep-2011 Andreas Huber <andih@google.com> Various improvements to nuplayer playback

- Drastically cut down the number of times we supply the AudioSink with data
by estimating the time until the sink would run out of data and then scheduling
a refill in advance of that.

- Use a dedicated looper for video decoders since they are currently taking
too long to return from OMX_FillThisBuffer (bug 5325201)

- Revise thread priorities for the OMX dispatcher and software codecs, instead
of running them at ANDROID_PRIORITY_AUDIO, they now only run at
ANDROID_PRIORITY_FOREGROUND

- Since threads created by pthread_create inherit all of the parent threads
attributes including thread priority, briefly reset thread priority to
ANDROID_PRIORITY_FOREGROUND before instantiating OMX components and then
restore it.

Change-Id: If9332a3a20dad5485333d68c11de0d2d5d3fffc3
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/ACodec.cpp
ibstagefright/chromium_http/support.cpp
ibstagefright/foundation/AMessage.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/SimpleSoftOMXComponent.cpp
5dc2812abddde309234edc786a541d251c4f820a 15-Sep-2011 James Dong <jdong@google.com> Merge "Change an assert failure due to unsupported level by HW AVC decoder and report the error to applications"
6de6b48237423a65ec041288c90e3f78fd3fce48 14-Sep-2011 Eric Laurent <elaurent@google.com> Merge "Issue 5298399: Lost speech after a crash in gTalk."
cfe2ba6b01a258e39f9c215ffc7b750e0b68f708 14-Sep-2011 Eric Laurent <elaurent@google.com> Issue 5298399: Lost speech after a crash in gTalk.

Fixed problem in AudioTrack::restoreTrack_l() causing a permanent
failure if the IAudioTrack interface to AudioFlinger could not be
restored at the first attempt.

Change-Id: I039d4fe2dca8d3baf71f1a6c51119f27a67b6611
ibmedia/AudioTrack.cpp
bf5db10436c0d194086237b3a90bb46b359ba688 13-Sep-2011 Andreas Huber <andih@google.com> Merge "Support .avi tracks that have a sample size of 1, i.e. samples != chunks"
7de73f4eb68f3aa478e19ba05a13bc84296f9894 13-Sep-2011 Andreas Huber <andih@google.com> Support .avi tracks that have a sample size of 1, i.e. samples != chunks

Assume for now that all chunks are the same size, i.e. have the same number of
samples.

Change-Id: Ib8a7dfeb16cc3e5be199ff9d98b68dd0b9c23eb8
related-to-bug: 5279872
ibstagefright/AVIExtractor.cpp
ibstagefright/include/AVIExtractor.h
9a5e04438df742c297c5dbcdb60e6fd4d8f8321d 13-Sep-2011 James Dong <jdong@google.com> Change an assert failure due to unsupported level by HW AVC decoder and report the error to applications

Change-Id: I522a994981d86329ccc86c3b536b561dc6e40eeb
related-to-bug: 5300618
ibstagefright/OMXCodec.cpp
714aa7b7c52ce07d5fb44870c0853b4d8e5a758e 13-Sep-2011 Andreas Huber <andih@google.com> Don't post position updates too frequently

i.e. don't hog my message queue.

related-to-bug: 5284760
Change-Id: I8e2d36a11dbee1567b18ed13dc5257a65c6eeda7
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
9215ea4cd8bc5f9c9770c5c34a009dc7c6068f86 12-Sep-2011 Andreas Huber <andih@google.com> Merge "Turn an another assertion into a runtime error in ACodec's implementation"
cc54fbaa69c0b69929467449d2c19192f15b5039 12-Sep-2011 Andreas Huber <andih@google.com> Turn an another assertion into a runtime error in ACodec's implementation

Change-Id: I6779b29f200b90d088273ab3204724ef3d8d59bd
related-to-bug: 5284760
ibstagefright/ACodec.cpp
c6c4572cd35f739bfac2aa439b3664032e03dcd8 12-Sep-2011 Andreas Huber <andih@google.com> Increase the avi extractor's confidence slighly over mp3's

So that we don't accidentally identify a .avi file containing an mp3 track as
an mp3 file.

Change-Id: I73495b80cbb5bc1007bf810f2db453c9f175171b
related-to-bug: 5288189
ibstagefright/AVIExtractor.cpp
fb6f03425a791dcc4188462c860becf6ca6be4ea 08-Sep-2011 Guang Zhu <guangzhu@google.com> Make MediaScanner skip certain directories

The list of directories to skip are configurable via setprop.
The main motivation is that some test data folder takes long time
to scan, and media scanner may compete for CPU time against perf
tests therefore skewing the results.

Bug: 5263115
Change-Id: I568213e2a4babf6033021c1d336ef0347c0e3315
ibmedia/MediaScanner.cpp
618b58c4237359328b06371d9d6e855d2e6ac42c 09-Sep-2011 James Dong <jdong@google.com> Merge "Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation"
8edb8e82fa886564ee8e72178a1969e2437dd525 09-Sep-2011 James Dong <jdong@google.com> Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation

Change-Id: Iee9b18449bce9d7565ab5cc7f9e999484051196c
related-to-bug: 5233843
ibstagefright/OMXCodec.cpp
98afd841e8f0803a00d1970e4a28ea8999e9c498 09-Sep-2011 Eric Laurent <elaurent@google.com> Merge "AudioTrack: extend callback thread sleep time"
7280088b2315b6c2eccd39f0f0363d498ec82f0d 09-Sep-2011 Pannag Sanketi <psanketi@google.com> Merge "Always set geometry in queuebuffer"
2267ba18d0d2b2d4bd7f5411821ad89ac2659a88 07-Sep-2011 Eric Laurent <elaurent@google.com> AudioTrack: extend callback thread sleep time

Do not force wake up the AudioTrack thread every 10ms if no timed
events (loop, markers..) have to be processed.
This will help reduce power consumption.

Change-Id: Icb425b13800690008dd07c27ffac84739e3dbba3
ibmedia/AudioTrack.cpp
7dc9b309f1ce01308bcfde9948ebfece32dc2870 08-Sep-2011 Pannag Sanketi <psanketi@google.com> Always set geometry in queuebuffer

The queuebuffer could return early due to timestamp issues. Need to set
the geometry even in that case.

Change-Id: I04d7cd1df3996d640c269285398c0042923ba920
ibstagefright/SurfaceMediaSource.cpp
f7eade99250520f2c9c8366a20a9256c4b34abc1 08-Sep-2011 Andreas Huber <andih@google.com> Audio player must not be used as a timesource before it's started.

Otherwise it'll trigger a division-by-zero exception since the audio sample rate
is as yet unknown.

Change-Id: I0793aa7c1c348ffa2611272bb646eff6ecf6ff53
related-to-bug: 5242451
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
41610c37763fcea076cce18de9f5b4c7d9c30ea6 07-Sep-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 5270905 fix MediaPlayer with IStreamSource"
8d65510a2e9ff7b64f2f35bfe3cd745a717c9533 07-Sep-2011 Glenn Kasten <gkasten@google.com> Bug 5270905 fix MediaPlayer with IStreamSource

Change-Id: Ia8a6381a6c88b4a0a1378aab03f5275f0fa1125a
ibmedia/IMediaPlayer.cpp
3991f099c643b718e78e0d938745ef2c5c431544 07-Sep-2011 Pannag Sanketi <psanketi@google.com> Merge "Fixing bug in SurfaceMediaSource_test"
74a0a0d7f766d63330a00c3fa8f133c44c1d5be6 07-Sep-2011 Andreas Huber <andih@google.com> Apparently keyframe status in audio tracks of .webm/.mkv files is unreliable

fortunately in all our supported audio encodings we can treat every frame as
a keyframe.

Change-Id: I32f21d0077bbae7ef9efe725dd351baf531179e2
related-to-bug: 5263837
ibstagefright/matroska/MatroskaExtractor.cpp
aa9dfd5d07534c29337b5c72022f7dfecd85deea 07-Sep-2011 Andreas Huber <andih@google.com> Merge "Stop metadata retriever from dereferencing a NULL pointer if"
d6e27296206b9f897401107f1c46f4ac2947be85 07-Sep-2011 James Dong <jdong@google.com> Revert "To make SniffMP3() more concrete so that we can remove false-positve responses from MPEG-PS streams."

This reverts commit 983ab88e117fcbda9370b8f4ba94271d37149672.

related-to-bug: 5231309
ibstagefright/MP3Extractor.cpp
e7484f36061a60aadadb01143d84964d931aa837 07-Sep-2011 Andreas Huber <andih@google.com> Stop metadata retriever from dereferencing a NULL pointer if

the media extractor failed to initialize (malformed or unsupported content)

Change-Id: Icfad4e9eeb8d6713ad12eee7979ab30b696c06e0
related-to-bug: 5263840
ibstagefright/StagefrightMetadataRetriever.cpp
a4f73a9e0e0863a567cc06defa0d9e0269388d4e 06-Sep-2011 Eric Laurent <elaurent@google.com> Merge "Issue 5247986: Battery drain due to audio wakelock"
408b8dc3c0a364c6f6b4991d15da9e6bcc2b8008 06-Sep-2011 Eric Laurent <elaurent@google.com> Issue 5247986: Battery drain due to audio wakelock

The problem occurs when activating or deactivating A2DP connection
while SoudPool has a channel active. This can happen quite frequently now
that the UI sound effects are enabled by default.
If PCM data is remaining in the AudioTrack buffer when it is restroyed and
re-created on the new AudioFlinger output thread, this data is flushed.
As a consequence, no underrun or request for new data callback is sent to
SoundPool and the sound channel remains active for ever as the end of the
sample is never detected.

Change-Id: I13e0c11e4ce3f83bff7f58d347ca814b6a86712b
ibmedia/AudioTrack.cpp
2e3319a62be898e1f0405025d24962fc6a1a3f07 06-Sep-2011 Dave Burke <daveburke@google.com> Merge "Handle setDataSource failures properly. #5261671"
0662067b06658a4a56a8416c676f6cce8ccddb53 06-Sep-2011 Dave Burke <daveburke@google.com> Handle setDataSource failures properly. #5261671

Change-Id: Iea0aa474d1939db23da9aabdfae2081e834f30d9
ibmedia/mediaplayer.cpp
adc857e80a1045897ebad85e691dc04451d364e3 06-Sep-2011 James Dong <jdong@google.com> Merge "Don't overwrite pending port setting change if there are more than one port setting change event."
31292d99f62a812af691e67e8e732c6ae582ee08 03-Sep-2011 Pannag Sanketi <psanketi@google.com> Fixing bug in SurfaceMediaSource_test

The test was making EGL calls once disconnected. Instead of calling
"disconnect" directly on the Surface, and EGL calls should be made to that
effect.

Change-Id: I21468ac8cbc2cb3145a49269e32a884736cd452e
ibstagefright/tests/SurfaceMediaSource_test.cpp
71b63e3ef687c379368be6b02e70bd2feb0b6b8d 02-Sep-2011 Eric Laurent <elaurent@google.com> Fix issue 5252593: any app can restart the runtime

Replace null device address string by empty sting.

Change-Id: I285c35f3345334e6d2190493b1a8a5aca1a361a4
ibmedia/AudioSystem.cpp
3a13fad63af40a8364fce796b1a54a8f0a2fbf32 02-Sep-2011 Andreas Huber <andih@google.com> Properly serialize access to FileSource::getSize by acquiring the mutex

Both ::getSize and ::read call into lseek64, if this happens simultaneously
from multiple threads the results are undefined if not properly serialized.

Change-Id: I737cafebd836f3d8eb702beac557b4731f69c6f6
related-to-bug: 5196490
ibstagefright/FileSource.cpp
d681bbb1767bed09415e050ba78975df214bcd68 30-Aug-2011 Dave Burke <daveburke@google.com> Require INTERNET permission for network-based content.
Bug #1870981

Change-Id: Ia3ad166390c4d60cea19c3783895b078a2c4c15f
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
97857479de48fda4c33bb415b2fbb15193f768e8 02-Sep-2011 James Dong <jdong@google.com> Don't overwrite pending port setting change if there are more than one port setting change event.

Change-Id: I3413f5235b191031252aa3785f5aaef00caef1ce
related-to-bug: 5122512
ibstagefright/OMXCodec.cpp
d942202ee0c92608c648735c3ad0f1bab4312420 01-Sep-2011 Andreas Huber <andih@google.com> Merge "Guard the audio notifications with a separate lock to avoid deadlocks during reset."
02f6e988107bc13ebe4828b734ea0fc3d9d11ae0 01-Sep-2011 Andreas Huber <andih@google.com> Guard the audio notifications with a separate lock to avoid deadlocks during reset.

Change-Id: I9a97372e1f777d1cbd6774cac2ed34b4b8cd9392
related-to-bug: 5179827
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
5403129e2a2f44620f2ac8109889e5a61be08732 01-Sep-2011 Andreas Huber <andih@google.com> Signal an error when encountering a malformed .ts stream.

Change-Id: I3ab0215419214b652573945403eb45eb09d41aff
related-to-bug: 5114811
ibstagefright/mpeg2ts/ATSParser.cpp
aec548b979f3d64712e8aa84cffdc4b7f094a798 01-Sep-2011 Andreas Huber <andih@google.com> Merge "I have one HLS stream that switches stream PIDs from one bandwidth to the next"
ef96bbce63da03bc0f0ad86174567cfdd5990c1b 01-Sep-2011 Andreas Huber <andih@google.com> Merge "Discontinuities are only signalled on streams that have been identified, i.e."
06528d7f18ad01377357d337eaa3e875a242bd2d 01-Sep-2011 Andreas Huber <andih@google.com> I have one HLS stream that switches stream PIDs from one bandwidth to the next

this change intends to support its very limited case and signals an error in
all other cases of unexpected PID changes that we cannot recover from.

Change-Id: Icbfdf9fe7461969e2a8781ed416f54d891dd789a
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
18ac5407da14dad9731f40ffc9a56bee73830019 01-Sep-2011 Andreas Huber <andih@google.com> Discontinuities are only signalled on streams that have been identified, i.e.

those that have a queue. This ensures that the player doesn't observe discontinuities
that don't match up across streams.

Also, make sure output buffers arriving from the decoder to be rendered are sent
back to the decoder if we started flushing.

Finally, don't parse TS packets for streams we don't support. And don't allocate
memory for them.

Change-Id: I708e0de4cba8110a62e4c8ceb1e5702430d5d2bb
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
c6b551541a6abd68bc3f3add07c196be4badccf3 01-Sep-2011 Pannag Sanketi <psanketi@google.com> Merge "Update SurfaceMediaSource_test to not use pbuffer configs"
f11b37bc9c92380cafadad7c8988f170687b8dfe 31-Aug-2011 James Dong <jdong@google.com> Merge "Fix a crash where the EOS was signalled but some output buffer were still pending."
af6764da53c022768290e735bbcc3088bec333d8 31-Aug-2011 Eino-Ville Talvala <etalvala@google.com> Merge "Fix SurfaceMediaSource timestamp handling."
e31f4f78729f66b3a90f51671ad557b551ed0bea 31-Aug-2011 Gloria Wang <gwang@google.com> Merge "Stop the AudioSource in reset() of AwesomePlayer if AudioSource is not NULL and AudioPlayer was not started. Fix for 5236419."
5b75fdc8fbc026453888cbb2d3fe31345394618b 31-Aug-2011 Gloria Wang <gwang@google.com> Stop the AudioSource in reset() of AwesomePlayer if AudioSource is not NULL
and AudioPlayer was not started.
Fix for 5236419.

Change-Id: I5eadd069118c3533a19b5d6f6dca2ce16d8505fb
ibstagefright/AwesomePlayer.cpp
935456794a8d572368ebe942d13451f7d71a9f4e 31-Aug-2011 Andreas Huber <andih@google.com> Merge "ATSParser now supports a mode in which PTS is considered to be absolute time"
21fcf0830c8b4fb544a09467bc96a8d0463ad966 31-Aug-2011 Pannag Sanketi <psanketi@google.com> Update SurfaceMediaSource_test to not use pbuffer configs

SurfaceMediaSource_test now does not use pbuffer configs
to create a surface. Always uses a window config.
Also, cleaned up the test a bit.

Change-Id: Idda40dcb8474249eccaa8d2dad20ee840d2dd484
ibstagefright/tests/SurfaceMediaSource_test.cpp
e8eb2f4f0f8eff0313a27892ab8514223553d943 31-Aug-2011 James Dong <jdong@google.com> Fix a crash where the EOS was signalled but some output buffer were still pending.

Change-Id: Ide111264501441b51bb10629ae2021accf9e1fb5
related-to-bug: 5234126
ibstagefright/OMXCodec.cpp
c4c17d47b674b425fb6c399822c0ab3258543c0a 31-Aug-2011 Andreas Huber <andih@google.com> ATSParser now supports a mode in which PTS is considered to be absolute time

i.e. PTS 0 <=> media time 0

Change-Id: If10a0f98c129b95e8430dc419664b1def92e547e
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
b76e90de3c64626fe07a68469d0a59a31c8efb6b 30-Aug-2011 Eric Laurent <elaurent@google.com> Merge "226483: A2DP connected, but music out to speaker"
df4a59c61103e7e0e9332e167a0be67da5d82ff3 30-Aug-2011 Eino-Ville Talvala <etalvala@google.com> Fix SurfaceMediaSource timestamp handling.

Was not basing timestamps on startTimeUs.
Now synchronizes properly with audio.

Bug: 4510826
Change-Id: I613db0aa91e51fc75d120e65540e742d8ab2ae43
ibstagefright/SurfaceMediaSource.cpp
9f6530f53ae9eda43f4e7c1cb30d2379db00aa00 30-Aug-2011 Eric Laurent <elaurent@google.com> 226483: A2DP connected, but music out to speaker

When the A2DP headset is connected, there is a possible
race condition when the audio tracks are moved from
the mixer thread attached to the speaker output to the thread
attached to A2DP output.
As the request to clear the stream type to output mapping cache in
the client process is asynchronous, it is possible that the flag
indicating to the client audio track to re-create the IAudioTrack
on the new thread is processed before the cache is invalidated.
In this case, the track will be attached to the old thread and
music will continue playing over the device speaker instead of being
redirected to A2DP headset.

Change-Id: Ib2ce1eb5320eaff83287b93779061bf4e7a330df
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
1619f3d3428e9d502dc477d31e0681fe1cd12b89 30-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "Bug 5156756 Fix AAC ADTS header size computation"
bf4c48bc678c8f531f39f0b48755967d844ad581 29-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5156756 Fix AAC ADTS header size computation

This previous frame size computation code had two incorrect
assumptions:
1/ the ADTS frame length value already contains the header size
2/ the ADTS header is not of fixed size: it is 2 bytes bigger
if it contains the CRC value.
For 1/, the code worked because when the header size was added
to the frame size, the + operator is of stronger precedence
than the ? operator, so the size added was always 0 (instead
of ADTS_HEADER_LENGTH.
For 2/, the code worked as long as there was no CRC in the ADTS
data.

The fix consists in:
- documenting what the frame length computation code returns
- fixing the frame length computation
- when computing the frame length, also returning the header
size so the correct data can be sent to the decoder.

Change-Id: I92df72a9e531f594f762e63d62f9dee7b0109904
ibstagefright/AACExtractor.cpp
63970b42f101c87db7cfd26d43b0d300260b1582 29-Aug-2011 Andreas Huber <andih@google.com> Return an error to the client instead of asserting if decoder instantiation fails

after a surface change.

Change-Id: Ic7758cbeb107032db68a1c3b8e2984710a12dd8b
related-to-bug: 5212725
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
1b5a697dc5435c76447eb5a2de373f5acdda119e 29-Aug-2011 Andreas Huber <andih@google.com> Merge "Signal errors to the client instead of asserting in ACodec."
c7de3f6bbaa6c1b8b334574fad34d583e3a67f5d 28-Aug-2011 Pannag Sanketi <psanketi@google.com> Merge "Default W, H allowed in SurfaceMediaSource dequeue"
f4b25b1dca4f1798c6f3f989be0738258d6504de 27-Aug-2011 Pannag Sanketi <psanketi@google.com> Merge "Fixing small syntax error in MPEG4 logging"
5410afcbb0af5d29d9f710a1c2978c500f9792dc 27-Aug-2011 Pannag Sanketi <psanketi@google.com> Fixing small syntax error in MPEG4 logging

Found that the build was breaking when the logging was enabled in
MPEG4Writer. Fixed.

Change-Id: I62c5e6d16b2ecf5644c8d46b9bbcca68a797b223
ibstagefright/MPEG4Writer.cpp
cb67cd1b51ff9ab221e3124cf7e546515fef3c87 27-Aug-2011 Andreas Huber <andih@google.com> Signal errors to the client instead of asserting in ACodec.

Also make sure NuPlayer can properly shutdown in certain edge cases.

Change-Id: Iceb16d600d87ba66c802e60e95bf62f66487a453
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibstagefright/ACodec.cpp
d2824a9a392e02a09929a34f0a3dad41ac1faacf 26-Aug-2011 Andreas Huber <andih@google.com> Merge "Support for posting messages and synchronously waiting for a response."
0b293e76c8fe4e973ccd8a872bc5320ba28d49cc 26-Aug-2011 Andreas Huber <andih@google.com> Properly reset the number of frames we think we've written to the audio sink

in order to compute the final delay before posting end-of-stream correctly.

Change-Id: I4ff6d7142fdf1ea2d19d12ec78c1e84322d22e5f
related-to-bug: 5216930
ibstagefright/AudioPlayer.cpp
8d9d585ce5b1aa284289a27dda048c6317b104e7 26-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "Bug 4364249 Play position is 0 after flushing AudioTrack"
cd07594333cbe8b2c86c6609cce01a74d6cc33f8 26-Aug-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 4364249 Play position is 0 after flushing AudioTrack

AudioTrack::stop() is not synchronous, so a stop() followed
by flush(), which is synchronous, will not always report
a playhead position of 0 after being called.
This CL adds a flag to mark a track as flushed, and report the
correct playhead position in this state.
Bug 5217011 has been created to address the real issue in the
future, where flush could be made synchronous, to properly
address bug 4364249.

Change-Id: Icf989d41a6bcd5985bb87764c287f3edb7e26d12
ibmedia/AudioTrack.cpp
5df775d2f509c76e76a46615fca83dba95299f6e 26-Aug-2011 Andreas Huber <andih@google.com> Support for posting messages and synchronously waiting for a response.

Change-Id: Id6c7a08c34fd5cb6c4632f78ece9e7898b29e52c
ibstagefright/foundation/ALooperRoster.cpp
ibstagefright/foundation/AMessage.cpp
24245683b9285b0b53c8900f088cf146000501c4 25-Aug-2011 Andreas Huber <andih@google.com> Merge "When encountering a discontinuity, flush(clear) all content enqueued up to that"
9a442c1b9a051edc6d4ceb0daad2d0a8433e7b0b 25-Aug-2011 Andreas Huber <andih@google.com> When encountering a discontinuity, flush(clear) all content enqueued up to that

point except previously enqueued discontinuities.

Change-Id: Id04a559dc062fa4a5c80c599ad74bf81a543de01
related-to-bug: 5201378
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
9a82f8acd4138fe920e91bd73e0041d52b2db237 25-Aug-2011 Gloria Wang <gwang@google.com> Merge "Set mSeekNotificationSent as false for RTSP seeking. Fix for bug 5208736."
1a49a13f20a06c2b58b97ad311a90d8eb0956052 25-Aug-2011 Gloria Wang <gwang@google.com> Set mSeekNotificationSent as false for RTSP seeking.
Fix for bug 5208736.

Change-Id: Ib1d74608ec289509082d8dcad080769f48098853
ibstagefright/AwesomePlayer.cpp
934d865a807e149b97d11b54c674d421b51bbe8a 25-Aug-2011 James Dong <jdong@google.com> Merge "When Camera is launched by media recording framework, stagefright controls the stop and release."
9197441e59be323e2f6f0c6506f7248eb6a944b2 25-Aug-2011 James Dong <jdong@google.com> When Camera is launched by media recording framework, stagefright controls the stop and release.

Change-Id: Ic79a60dad0f617a845211d3fbe146c1648a71da3
related-to-bug: 5205804
ibstagefright/CameraSource.cpp
539a735a82fefb1944aa6135df73dfe9f541566c 25-Aug-2011 Chih-Chung Chang <chihchung@google.com> Merge "Port setting change should happen before receiving any filled frame."
f76e1672c674620cb056f338a25ee4826d55dfcb 25-Aug-2011 Pannag Sanketi <psanketi@google.com> Default W, H allowed in SurfaceMediaSource dequeue

The client does not have to send (w, h) = (0,0) in dequeuebuffer. It can
set the same w, h as the default width and height.

Change-Id: I8202f90261ccaebbd35ea28c153a7472f01912f1
ibstagefright/SurfaceMediaSource.cpp
1797e5d00e0ba4048c2258f091e6fd80748aa0ad 25-Aug-2011 Pannag Sanketi <psanketi@google.com> Merge "Testing the GL/ CPU encoding w/ Gralloc buffers"
0c5c7d2b119d2350c186ae9902919bcf28c3e277 19-Aug-2011 Pannag Sanketi <psanketi@google.com> Testing the GL/ CPU encoding w/ Gralloc buffers

This is the test for Gralloc buffers based encoding.
contains a combination of two main changes:

1. GL based encoding tests added to SurfaceMediaSource_test

2. SurfaceMediaSource ::read() colorformat

The SurfaceMediaSource::getformat() sets it to OMX_COLOR_FormatAndroidOpaque.
The omx encoder needs to interpret that colorformat and reads the format
from the Gralloc buffers directly

Change-Id: Iee2fe8901384109a4952e1d6c528c59eb01eb5b1
ibstagefright/OMXCodec.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/tests/Android.mk
ibstagefright/tests/SurfaceMediaSource_test.cpp
3281e721c785304613c44853fc506b43cfea343c 24-Aug-2011 James Dong <jdong@google.com> Merge "To make SniffMP3() more concrete so that we can remove false-positve responses from MPEG-PS streams."
eca1762d92c43f2b7836941d14e453d4c0f9ed99 23-Aug-2011 Andreas Huber <andih@google.com> We were accidentally sending out an output buffer before the final port settings change

Change-Id: I4de0d3c377bb12e59524ed370ab3ed0b9a9b70a6
related-to-bug: 5122512
ibstagefright/codecs/aacdec/SoftAAC.cpp
84f74fbfeec81eb59e874660fd52ad42820ea8a2 22-Aug-2011 Chih-Chung Chang <chihchung@google.com> Port setting change should happen before receiving any filled frame.

Change-Id: I12a54b80e7ef958b6d451b7add110d38f05ec439
ibstagefright/OMXCodec.cpp
8c32b164d00d3e4d73764d06956331f09693ef43 22-Aug-2011 Andreas Huber <andih@google.com> The MatroskaExtractor will now publish a different mime-type "video/webm" if

the doctype of the matroska file indicates that it is a webm file.

Change-Id: I467f597690a841043ecd11d2a2cae93351820f1b
related-to-bug: 5042137
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/MatroskaExtractor.h
2edd41583bb8c2b90c332980e0d1c34ae9ede34e 22-Aug-2011 Chih-Chung Chang <chihchung@google.com> Merge "Remove useAndroidNativeBuffer(2) warning message."
759f2893897c7b7a4822923d8d8ac13eec712b26 20-Aug-2011 Rajneesh Chowdury <rajneeshc@google.com> Merge "Fix for 4142219 Don't hard code platform-specific limitations (Jni/ Java)"
f764f8c0625762d98eacadb582c7308dba1c7b79 19-Aug-2011 Jamie Gennis <jgennis@google.com> Merge "Stagefright: fix a compiler warning"
8f74b712fbf5c24de8bc799b7129dc802747a6f4 13-Aug-2011 Rajneesh Chowdury <rajneeshc@google.com> Fix for 4142219 Don't hard code platform-specific limitations (Jni/ Java)

Also fixes 5118207 add other video codec support for video editor export.

Change-Id: If72427173bd8ff684af07ba00f4425c1deef29c6
ibmedia/MediaProfiles.cpp
67f43688334bcd72ae7c3b5b386c1b6a34711f4f 19-Aug-2011 Andreas Huber <andih@google.com> Raise the maximum input buffer size for the vpx video decoder to 256KB

Change-Id: I0411763829bf186d1b3b679fa72c9051524506b4
related-to-bug: 5169641
ibstagefright/codecs/on2/dec/SoftVPX.cpp
50bb96ca6d19846b20b8016cf020e6a3a80e495e 19-Aug-2011 Gloria Wang <gwang@google.com> Merge "When switching surface, do not set mSeekNotificationSent as true, because there could be a previous uncompleted seeking which needs to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent as true here, then mediaplayer.cpp will be waiting for message MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp. Fix for bug 5181272."
af64a8a6ad89f52685e822dca30742a4132c9ae6 18-Aug-2011 Gloria Wang <gwang@google.com> When switching surface, do not set mSeekNotificationSent as true,
because there could be a previous uncompleted seeking which needs
to send back MEDIA_SEEK_COMPLETE message. If we set mSeekNotificationSent
as true here, then mediaplayer.cpp will be waiting for message
MEDIA_SEEK_COMPLETE. The getCurrentPosition() will always return
the seek time before MEDIA_SEEK_COMPLETE being received by mediaplayer.cpp.
Fix for bug 5181272.

Change-Id: I290aff29b6d9ec8db67c66abbe1f352a43f57073
ibstagefright/AwesomePlayer.cpp
7341123ed8fed903c593a38d57ffabad3ad62860 18-Aug-2011 Andreas Huber <andih@google.com> Merge "Some decoders require more gentle treatment"
14f95746466fb6abdbbf33ee26d92ebf3fbef98f 12-Aug-2011 James Dong <jdong@google.com> Some decoders require more gentle treatment

We sacrifice A/V sync to some extent to enable the decoder to recover from
temporary bottlenecks.

Change-Id: I16195091ad752bfad4c70869cdd7e9f28ca3a118
related-to-bug: 5180142
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
cdef698dae0c6dd89755f6494cc3d4b163f410ef 18-Aug-2011 Andreas Huber <andih@google.com> Disable vorbis-auto-looping if the audio sink used is not realtime, i.e. recording.

Change-Id: I982e740e8488ff8717ca5f081db9def55aabc9ec
related-to-bug: 5179033
ibstagefright/AwesomePlayer.cpp
2e17686223bad35101c23083dc79f1d12f3ff429 18-Aug-2011 Chih-Chung Chang <chihchung@google.com> Remove useAndroidNativeBuffer(2) warning message.

Change-Id: I3e9765e7271d80fda302e521501720bf8c13e5c7
ibstagefright/omx/OMXNodeInstance.cpp
97f2fb5bc753f021bfa51f58129bc1a36c047c47 18-Aug-2011 Dongwon Kang <dwkang@google.com> To make SniffMP3() more concrete so that we can remove false-positve responses from MPEG-PS streams.

Note: current resync logic keeps searching mp3 frames until it meets a
valid one. This resync logic works well with seek() operation, but in
SniffMP3(), this may cause false-positive classification for the
following MPEG-PS file format.
A possible MPEG-PS video file:
[PS header]...[mp3 frame][mp3 frame] ...
MP3 files:
[ID3 tag][mp3 frame][mp3 frame] ...

BUG: 5104562
Change-Id: Idd5020723f7bdb2fefc2a63fc8651580fd644399
ibstagefright/MP3Extractor.cpp
ee0846f97cf07f5f18d19161526743330aabb44e 17-Aug-2011 Andreas Huber <andih@google.com> Merge "Make sure we have all the sample table metadata before declaring a track valid."
169c286ed166499c5099d2b336967e0bf3d25551 17-Aug-2011 Andreas Huber <andih@google.com> Make sure we have all the sample table metadata before declaring a track valid.

Change-Id: I2dfbc3e6017b5cd264e4cccfa47d19047b2e7f31
related-to-bug: 5178976
ibstagefright/MPEG4Extractor.cpp
ibstagefright/SampleTable.cpp
ibstagefright/include/SampleTable.h
1e7d2ba8b79e548286a649ca91402a2d41f59fa0 17-Aug-2011 James Dong <jdong@google.com> Merge "Don't time out prematurely for video encoding waiting for output buffers"
8a976a863cf921f97feff8be63f11775a1d8b76f 17-Aug-2011 Kristian Monsen <kristianm@google.com> Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2"
61659f61b8dec729ffc03ef88e2d87f8941dcfc0 16-Aug-2011 Andreas Huber <andih@google.com> Merge "Error handling in ACodec and Nuplayer."
c92fd24c10a6bf80b346d7e261325434d9c6964b 16-Aug-2011 Andreas Huber <andih@google.com> Error handling in ACodec and Nuplayer.

Codec errors (and codec not found errors) now trigger a controlled shutdown
of playback and signal errors to the MediaPlayer client.

Change-Id: I2ee23ff2a1422d05a1a21e50ecb87d7c7ab958cc
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
ibstagefright/ACodec.cpp
99590d29c9d3081cadfccd036842f5ce9a7debef 16-Aug-2011 Andreas Huber <andih@google.com> Properly initialize some instance variables.

Change-Id: I190b889be343dca14fe8109528be14cc3cdd4c34
ibstagefright/AwesomePlayer.cpp
64b944106c697933a453a1ffd8bcddb137fdbc4c 15-Aug-2011 James Dong <jdong@google.com> Don't time out prematurely for video encoding waiting for output buffers

o For timelapse video encoding, the timelapse between two neighoring
input frames could be very long

Change-Id: I2b6f9c392f2237deae71c894efc7fc3692431796
related-to-bug: 5160548
ibstagefright/OMXCodec.cpp
421b31b7a859b6aa6185a36143158ef59f751adf 16-Aug-2011 Kristian Monsen <kristianm@google.com> Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2

Reenabling chromium as a shread lib

Change-Id: I5f7abe61624d812c5781c4a453f587e744bc082d
ibstagefright/Android.mk
db29e5238e28d59978755a2ff2e7e0f05393abdf 12-Aug-2011 Jason Simmons <jsimmons@google.com> Add a null check to handle failure of android::createPlayer

Change-Id: Id56bd0c16104e46d8dc71f13d8a44aefe251fad4
ibmediaplayerservice/MediaPlayerService.cpp
a2e0a4259191fc486e0f563b992e3eadd7f9ae4b 12-Aug-2011 Andreas Huber <andih@google.com> Fix the software AAC decoder's AAC+ detection to ignore malformed frames

at the beginning of the stream.

Change-Id: Ib990848c696896e7d43c80dec8119dec35704b74
related-to-bug: 5122512
ibstagefright/codecs/aacdec/SoftAAC.cpp
a0dac9e24ae7520cb7d7f0505bf0936bffbcd047 12-Aug-2011 Jamie Gennis <jgennis@google.com> Stagefright: fix a compiler warning

Change-Id: Ia6b2027dfe80960450156d918bdd7fe1567cafea
ibstagefright/omx/OMXNodeInstance.cpp
6f3241d50fbe217df6cb82ff2b079135ea50c553 11-Aug-2011 Eric Laurent <elaurent@google.com> Merge "Audio effects: track CPU and memory use separately"
db7c079f284f6e91266f6653ae0ec198b1c5006e 10-Aug-2011 Eric Laurent <elaurent@google.com> Audio effects: track CPU and memory use separately

Before this change, CPU and memory usage for an audio effect were
registered and checked against the limit by audio policy manager
upon effect instantiation. Even if an effect was not enabled
it would prevent another effect to be created if the CPU load budget
was exceeded, which was too restrictive.

This change adds a method to register/unregister CPU load only when
an effect is enabled or disabled.
It also adds a mechanism to place all effects on the global output mix
in suspend state (disabled) when an effect is enabled on a specific session.
This will allow applications using session effects to have the priority
over others using global effects.

Also fixes some issues with suspend/restore mechanism:
- avoid taking actions when an effect is disconnected and was not enabled.
- do not remove a session from the suspended sessions list when corresponding
effect chain is destroyed.

Change-Id: I5225278aba1ae13d0d0997bfe26a0c9fb46b17d3
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
94fbe4c6e29a7ea9800ea94cacc2d095ff25ab77 11-Aug-2011 Kristian Monsen <kristianm@google.com> Merge "Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2"
8adb83ba4837b3c9de1a4221a5ca4c371a62e38c 10-Aug-2011 Gloria Wang <gwang@google.com> Merge "To reduce the bytes need to be buffered before start playing the streaming video. We might revert this change if too many spinnings were introduced. For bug 4448008."
83ed9d41b5aea53a5f3f0ae2fa14e101c079a12a 10-Aug-2011 Gloria Wang <gwang@google.com> To reduce the bytes need to be buffered before start playing the streaming video.
We might revert this change if too many spinnings were introduced.
For bug 4448008.

Change-Id: I3248bba9237d71c2bd99feebc9c73f7bd45260de
ibstagefright/AwesomePlayer.cpp
7231e169c1a00c6e69b3517ca9b851659dd96fed 10-Aug-2011 Andreas Huber <andih@google.com> Merge "When using "secure input buffer mode" we instantiate a different OMX component"
35b4be1751893dfbc376b474f339b45b24bfffd4 10-Aug-2011 Andreas Huber <andih@google.com> Merge "Revert "Notify the OMX component that it's going to be used in "secure" mode.""
c4847184f0d351ca2587ca66dc5ab8eab4dbe207 10-Aug-2011 Andreas Huber <andih@google.com> When using "secure input buffer mode" we instantiate a different OMX component

We form the new component name by appending the suffix ".secure".

Change-Id: I509848b50ae92edb179a941493ca611f923213ec
ibstagefright/OMXCodec.cpp
17741baf43818ca66c2a88db6b6e252d7abfff49 10-Aug-2011 Andreas Huber <andih@google.com> Revert "Notify the OMX component that it's going to be used in "secure" mode."

This reverts commit 7616178271e95f009452a21ea45e7225997dc27a.
ibstagefright/OMXCodec.cpp
d4495be0d417efbcf51d4b257228b8c10dc3617f 10-Aug-2011 James Dong <jdong@google.com> Merge "Fix initial 0 duration video sample in the recorded videos"
ff0299b487657d866adb5062d7fc9f02eaa15792 10-Aug-2011 Gloria Wang <gwang@google.com> Merge "To support for switching from a non-null surface/ surface texture to a null one, and vice versa. Fix for bug 5137445."
56e6d29d951cf514817f0a2c8b02138403716f01 10-Aug-2011 Kristian Monsen <kristianm@google.com> Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2

Trying to build with static libchromium on the build server.

Change-Id: Ib88ce1803f3d36ef97a627c1454ed83239a3afee
ibstagefright/Android.mk
f12d5faa1986384f2c899b50057142a6a2e40eec 10-Aug-2011 Ashish Sharma <ashishsharma@google.com> Merge "Network traffic accounting for chromium stack support in mediaserver."
80ec929862bcfe8582984f3a28e7a4ca5f4f27bb 10-Aug-2011 Gloria Wang <gwang@google.com> To support for switching from a non-null surface/ surface texture to
a null one, and vice versa.
Fix for bug 5137445.

Change-Id: Ifca2997f8ad27a843abbdaa7e89a56329bc40fde
ibstagefright/AwesomePlayer.cpp
129a94a569c927d4c8906a12f3de74ca0585d3f2 10-Aug-2011 Mathias Agopian <mathias@google.com> Merge changes Ie06e73e5,I7ac6b5b0

* changes:
free all buffers when ANativeWindow::disconnect is called
return correct value from query after connecting a surface
5a217fba010e801c255503602bda4b86ac5a6ac9 09-Aug-2011 James Dong <jdong@google.com> Fix initial 0 duration video sample in the recorded videos

o Patch suggested by pmehendale@nvidia.com

Change-Id: Ibf516ba83b721b0d0ab55bb7637fe9b7b2958214
related-to-bug: 5117434
ibstagefright/MPEG4Writer.cpp
beccb75d0c511950fb59500b05a591942d5c4751 09-Aug-2011 James Dong <jdong@google.com> Merge "Do not release recording frames if camera is gone"
3a34befc6fb04a4945a849e8bda8b84e4bf973fe 02-Aug-2011 Marco Nelissen <marcone@google.com> Keep effects sessions active when the caller dies.

Don't remove effects until the session they are in goes away or all
AudioEffects have been explicitly released. This allows the control
panel process to die without stopping the effects.

Change-Id: I4496e5df080230ca1af149dec95c1309ab8ea888
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/mediaplayer.cpp
820a509687599edb8ff1a7577de8b9295f416263 09-Aug-2011 Mathias Agopian <mathias@google.com> return correct value from query after connecting a surface

the first time a surface was connected, the values returned
by query NATIVE_WINDOW_DEFAULT_{WIDTH|HEIGHT} and
NATIVE_WINDOW_TRANSFORM_HINT were wrong until a call
to queueBuffer was performed.

Bug: 5137366, 5121607
Change-Id: I7ac6b5b0daa876638f6bed7c20f286a6e6d984f6
ibstagefright/SurfaceMediaSource.cpp
a1f10e8959cd4656aedb2613e855342102e59555 09-Aug-2011 Andreas Huber <andih@google.com> Notify the OMX component that it's going to be used in "secure" mode.

Change-Id: Id87c4b295eb38f7d24045918e73df298d7b842f9
related-to-bug: 5137212
ibstagefright/OMXCodec.cpp
334d097870eefeb45137b6df026f7db861d47663 06-Aug-2011 James Dong <jdong@google.com> Do not release recording frames if camera is gone

Change-Id: Ia6038c1a3ca17207e43a955ec47c42cdff1f5a76
related-to-bug: 5129465
ibstagefright/CameraSource.cpp
a23456b306f35b9ecf973bf5818ca39295e9e029 08-Jul-2011 Ashish Sharma <ashishsharma@google.com> Network traffic accounting for chromium stack support in mediaserver.

- Atribute network activity to uid calling the mediaplayer
- Enables logging of chromium network stack in logcat

Change-Id: I2d28c8392248a056b3cee305dd4d4475ebba4337
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/chromium_http/support.cpp
ibstagefright/chromium_http/support.h
ibstagefright/include/HTTPBase.h
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/MyHandler.h
ea7c2fea6a031d37270cb5b22b432729626b266d 05-Aug-2011 Gloria Wang <gwang@google.com> Merge "Close the DRM session in the destructor of ChromiumHTTPDataSource. Fix for bug 5015079."
99930d45c40f2d79a7633d9dd9f8478d22307848 05-Aug-2011 Gloria Wang <gwang@google.com> Close the DRM session in the destructor of ChromiumHTTPDataSource.
Fix for bug 5015079.

Change-Id: I45fcf6ff8b50e62f2812930eaf68c00206cb7e52
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
f89d780df70b7fbb8465bce4913c46cca019721f 05-Aug-2011 Andreas Huber <andih@google.com> Eliminate superfluous memcpys by wrapping an ABuffer in a MediaBuffer

Change-Id: I1313f117cd7cdfaf7d6ec25413a0b4b8ea495037
related-to-bug: 5122973
ibstagefright/MediaBuffer.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/rtsp/APacketSource.cpp
6801b4dbd00b485ecdcd31b517ed885a8fa21c63 04-Aug-2011 Andreas Huber <andih@google.com> Restart HLS streaming from the bottom of the playlist if we miss the boat on the

next segment. This can happen if for whatever reason we playback video slower than
it is served.

Also removed some unnecessary verbosity from ChromiumHTTPDataSource.

Change-Id: I6e870879310c9efe4d50d7dc0883c08405442d79
related-to-bug: 5120425
ibstagefright/chromium_http/support.cpp
ibstagefright/httplive/LiveSession.cpp
874f0f1223041d70dbcc9777d0d14c995810a4d8 04-Aug-2011 Gloria Wang <gwang@google.com> Merge "Check the syncword for each frame. Fix for bug 5117233."
fdb04b61f91c45eed0edd28aa33d7085a5e6eb74 04-Aug-2011 Gloria Wang <gwang@google.com> Check the syncword for each frame.
Fix for bug 5117233.

Change-Id: I714c9b671832c9606cabdfe6bb21697c08de2eff
ibstagefright/AACExtractor.cpp
c6354e9396b4d8929058a283cfc77327b47e9944 02-Aug-2011 Sarthak Aggarwal <sarthak@ti.com> Removing hack for framerate setting in Stagefright for encoders.

Ducati binary starting to support frame-rate on i/p port rather than o/p port,
stagefright can start giving frame-rate frame rate on i/p port and 0 on o/p
port.

Change-Id: I70830747e43e6bfcac73f0fb01de0ab0235a7b28
Signed-Off-By: Sarthak Aggarwal<sarthak@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
ibstagefright/OMXCodec.cpp
8292f43746a359d31af631efcffccd142c0a50c3 02-Aug-2011 James Dong <jdong@google.com> Merge "Start thread pool for binder calls"
874aef204ebca8d6778d208a1c8eef231b6ccbf3 02-Aug-2011 Gloria Wang <gwang@google.com> Merge "Re-calculate mCurrentTimeUs for MP3 CBR seek because we might have called Resync() which changes mCurrentPos. For bug 4869063."
746d7c7f577b549b8a56862b73ae4f4f1247c593 02-Aug-2011 Gloria Wang <gwang@google.com> Merge "Fix ordering assumption of argument evaluation."
57c86189bc07d9ccb0fd044e66df736d0bf19639 29-Jul-2011 Wu-cheng Li <wuchengli@google.com> Pass camera frame metadata from camera service to Java.

bug:4460717
Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657
ibstagefright/CameraSource.cpp
b6f2fced47866a5d095b2b18d2e28d7c4321e3a6 02-Aug-2011 James Dong <jdong@google.com> Start thread pool for binder calls

Change-Id: Ie67f54ba06d7fdb42bcb041c1e0a50d8477ae423
related-to-bug: 5095635
ibstagefright/tests/SurfaceMediaSource_test.cpp
2f53a63142801e174e6ebf79cfbcd9055d8c538b 02-Aug-2011 Mathias Agopian <mathias@google.com> Merge "connect/disconnect is now called from our EGL wrapper"
c3da3434cb57f47284ea06bb9065eaa2fe033efb 30-Jul-2011 Mathias Agopian <mathias@google.com> connect/disconnect is now called from our EGL wrapper

the original connect/disconnect hooks are deprecated
and replace by api_connect/api_disconnect. the original
hooks are no no-ops.
api_connect/api_disconnect is now only called from the
android framework.

Bug: 5057915
Change-Id: I8ca64cd1acd6cabf915bf54689ec2e5f6dfa495a
ibmedia/mediaplayer.cpp
de162ff337723798381890151247b129c4fbe314 01-Aug-2011 Gloria Wang <gwang@google.com> Fix ordering assumption of argument evaluation.

No specific order is specified in the C++ standard, but the order of
the calls to Parcel read commands matters. Move any calls with multiple
reads to local variables.

Fix for bug 5104979.

Change-Id: I709aa040e990d2659e7a3a089f7a42ae812de9ff
ibmedia/IMediaPlayer.cpp
9ea5908d386e0ac482b025bc3235d9eb71d77e06 01-Aug-2011 Andreas Huber <andih@google.com> Merge "Fix NALU extraction of unit starts with a 0x00 nalType"
7f048fdd69753e0ba95d3ef1484b30bcf39164c0 01-Aug-2011 Andreas Huber <andih@google.com> Fix NALU extraction of unit starts with a 0x00 nalType

by not backing up beyond the start of the nal unit.

Change-Id: I5fba9913202de416e634e5f39181be62b72b2469
related-to-bug: 4770290
ibstagefright/avc_utils.cpp
20f725ebcef13ded1b4b85c61c8a4b37cd030656 22-Jul-2011 Andreas Huber <andih@google.com> Start playing live streaming HLS content from the first segment.

Also properly signal a "hard" discontinuity, i.e. a possible format change
when a discontinuity is signalled explicitly as part of the playlist.

Change-Id: Ic347d3d11d39b0411c3726a7c723bcf13092b8bc
related-to-bug: 5103155, 5103013
ibstagefright/httplive/LiveSession.cpp
b7c5f8fa2ee707f010b60ff7bea07c2bf1e17e2d 29-Jul-2011 Kristian Monsen <kristianm@google.com> Merge "Part of fix for bug 5065047 build libchromium as a shared lib"
a3924af33a8005a0aeb20b97fd06e0c523b0d1af 27-Jul-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 4599730 Get audio channel count on MediaPlayer"
f9d566ef54954c5e7b913275438e8022fb194ad6 27-Jul-2011 Gloria Wang <gwang@google.com> Re-calculate mCurrentTimeUs for MP3 CBR seek because we might have
called Resync() which changes mCurrentPos.
For bug 4869063.

Change-Id: I5c5876ad81adf0ced1a6e6c18cda6905bf38f731
ibstagefright/MP3Extractor.cpp
cd25fed09742235fac10953b9d4b77268c695063 25-Jul-2011 Glenn Kasten <gkasten@google.com> Bug 4599730 Get audio channel count on MediaPlayer

Related changes:
- Fix bug in get/setParameter* to recycle Parcels when done with them.

Change-Id: Iaff05e91bbd99a14fccb79d816dd873359b6ae65
ibstagefright/AwesomePlayer.cpp
673aebfc7e6e8d38ad29a66d68c71ea8e9121eb1 27-Jul-2011 Iliyan Malchev <malchev@google.com> libstagefright: add destroyOMXPlugin and use C linkage for symbols

Add a destroyOMXPlugin() to complemenet createOMXPlugin(). Since the latter is
an opaque call into a library, it is not safe to assume that the object thus
returned may be destroyed by calling delete. This patch will call
destroyOMXPlugin() in libstagefrighthw.so, if the symbol is defined there.
Otherwise, it will default to a delete as before.

Also, prefer C linkage for the symbol names. Using mangled C++ symbols is not
very safe and makes it hard to grep for those symbols through the code. We
attempt to locate createOMXPlugin as a C symbol then try it as a mangled C++
one. We only use C linkage for destroyOMXPlugin since this symbol is new.

Change-Id: Ied23c910486856a0f18056df049c871234797c5c
Signed-off-by: Iliyan Malchev <malchev@google.com>
ibstagefright/omx/OMXMaster.cpp
dcd955bd86756be551cfd0a07e53caa55ab1a7fe 27-Jul-2011 Eric Laurent <elaurent@google.com> Merge "AudioRecord: Fix getInput()"
f0de042dc6df6d3a1f3db3a95a1c7964109c6541 27-Jul-2011 Kristian Monsen <kristianm@google.com> Merge "Fix for bug 5049763 HLS: Cookies set in main playlist request aren't being passed to subsequent HTTP requests"
d1a243e41caffa8fd346907eed4625c9c47c1a86 27-Jul-2011 Eric Laurent <elaurent@google.com> AudioRecord: Fix getInput()

AudioRecord::getInput() was issuing a query to get a new input stream from
audio policy service instead of returning the cached input stream in AudioRecord.

Change-Id: Ice324b7c60bc0898149023797bcb56a72091b9d3
ibmedia/AudioRecord.cpp
b283ac1ac6758aba907bfe56713d279e8aafd38b 26-Jul-2011 Pannag Sanketi <psanketi@google.com> Merge "Adding Metadata mode to SurfaceMediaSource"
6e6e8a6cc9ab99ab299929fa0246e6ced64f8ce3 25-Jul-2011 Eric Laurent <elaurent@google.com> Merge "Added APIs for audio preprocessing"
57dae99c9fcd6becd2b5ed0c53f277ba4d7dbcfc 24-Jul-2011 Eric Laurent <elaurent@google.com> Added APIs for audio preprocessing

Added APIs to control pre processes applied on captured audio.
Those APIs are still hidden until reviewed by API council.

Three types of standard pre processes are supported:
- Automatic Gain Control (AGC) by AutomaticGainControl class
- Acoustic Echo Cancellation (AEC) by AcousticEchoCanceler class
- Noise Suppression (NS) by NoiseSuppressor class

A method is added to AudioEffect class to query audio pre processings
applied by default by the platform on a given AudioRecord session ID.

Change-Id: I0b9fceeb8c704dd06319c3b52b85c96fe871d51d
ibmedia/AudioEffect.cpp
ibmedia/IAudioPolicyService.cpp
a4635b0cde4a4b7bf0f9aed6aaade60d88eb2fe6 25-Jul-2011 James Dong <jdong@google.com> Merge "Do not support still image capture mode for timelapse video recording"
e6cf962d41cb05b57e55ef80f75a24c62671dcfe 22-Jul-2011 Kristian Monsen <kristianm@google.com> Part of fix for bug 5065047 build libchromium as a shared lib

Building chromium as a shared lib, updating other libs that
use it.

Change-Id: Ia20749bb7fbec51b94adb314116503f62f41b782
ibstagefright/Android.mk
be1cc822304d3a29c106ad5b6f330aed3e8c5658 24-Jul-2011 James Dong <jdong@google.com> Merge "Do not wait forever for output buffers in OMXCodec.cpp and error out in case time out happens"
726e4527b7a750e688fec4c1e7c5f7b9a33d1623 24-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "QueryCodecs() signature change"
348a3aca420da133b2283ee12216e8e0f939e88d 24-Jul-2011 Gloria Wang <gwang@google.com> Merge "Do not change the number of bytes while converting 8-bit samples to 16-bit, because this number will be used later to calculate mCurrentPos. Fix for bug 5063703."
3cecf640c4daf2df616b278bd9986018c8182908 30-Jun-2011 James Dong <jdong@google.com> Do not support still image capture mode for timelapse video recording

related-to-bug: 4973779

Change-Id: Ica665217ab10247b2242acc4e93d4fe9f83e3f45
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSourceTimeLapse.cpp
a361483bb5dbd3bbf132c5b99b2df7d197c3fc50 14-Jul-2011 Pannag Sanketi <psanketi@google.com> Adding Metadata mode to SurfaceMediaSource

SurfaceMediaSource operates in metadata mode only, i.e. just the
metadata is stored in videobuffers. SurfaceMediaSource passes the Gralloc
buffer handle along with a 4 byte 'type' (indicating that the metadata
is of type GrallocSource) to the encoder as opposed to the
GrallocBuffer itself.

Related to bug id: 4529323

Change-Id: I83aebc0dd10f317658cdf70be5802dfc35a1e72d
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
77882a8deb5167235ae591e49c9dcff9abb373c1 23-Jul-2011 Pannag Sanketi <psanketi@google.com> Merge "Connect MediaRecorder Native to SurfaceMediaSource"
d35924d9928f29dcee6f5666b5bbd084640c7b34 22-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> QueryCodecs() signature change

Restore QueryCodecs() signature exactly as used by third-party libs.
Add an alternative function to select HW only codecs.

Change-Id: Ibb2cb4dd36fc0c6599eb93aa5751c216397e3b6f
ibstagefright/OMXCodec.cpp
0b3f21761eae9b7d230ddd9b4be76ef02d4cec15 22-Jul-2011 Gloria Wang <gwang@google.com> Do not change the number of bytes while converting 8-bit samples to 16-bit,
because this number will be used later to calculate mCurrentPos.
Fix for bug 5063703.

Change-Id: I75a78ef694482aa426d82a6c5f3d2ce570a9c19e
ibstagefright/WAVExtractor.cpp
29a142c7237821b6dc7bd1e8b56bb1efdc56767b 19-Jul-2011 Jamie Gennis <jgennis@google.com> SurfaceTexture: add the abandon method.

This change adds the 'abandon' method to the SurfaceTexture C++ class.
This method may be used to put the SurfaceTexture in an abandoned state,
causing all ISurfaceTexture methods to fail.

Change-Id: Ibd261f7b73f44e2bec36a8508bf92113cfb7cf95
ibstagefright/SurfaceMediaSource.cpp
b33f3407bab0970a7f9241680723a1140b177c50 02-Jul-2011 Pannag Sanketi <psanketi@google.com> Connect MediaRecorder Native to SurfaceMediaSource

Making a connection from MediaRecorder Native layer to the
SurfaceMediaSource for the purpose of encoding GL Frames. This will be
called from the java side inside the Mobile Filter Framework.

The mediarecorder native layer (client), when set the videosource to
option VIDEO_SOURCE_FRAMES, asks the StageFrightRecorder on the mediaserver
side to create a SurfaceMediaSource object and pass it back as a
sp<ISurfaceTexture> object. Using that, the client side will dequeue and
queue buffers. Connecting the GL Frames to the obtained
sp<ISurfaceTexture> is not part of this CL.

Related to bug id: 4529323

Change-Id: I651bec718dd5b935779e7d7a050b841c2d0b0fcd
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/SurfaceMediaSource.cpp
85eafc680a0bf5e0253cf611ac525769fc9bef3e 22-Jul-2011 Jamie Gennis <jgennis@google.com> SurfaceMediaSource: remove getAllocator method

This change removes the getAllocator method from SurfaceMediaSource
because that method is no longer a part of the ISurfaceTexture
interface.

Change-Id: I0e2f0bc3bc1c8cd3c1b4b14246f07b9b4e3066c3
ibstagefright/SurfaceMediaSource.cpp
fe388eedca9f46ed3fee9579258acecd93e88641 22-Jul-2011 Pannag Sanketi <psanketi@google.com> Merge "Renaming SurfaceEncoder to SurfaceMediaSource"
10b7197cf9016093bdff20b6f7768543fd1c5720 22-Jul-2011 Pannag Sanketi <psanketi@google.com> Merge "Adding SurfaceEncoder for encoding FilterFrames"
47a55f57090847e6e6683ab25291506f8a66f759 22-Jul-2011 Andreas Huber <andih@google.com> Merge "Retry datasource fetches a few times before giving up (NuCachedSource2)."
5bc965b1ff21c64e5f30130957bfe96300e15ed3 22-Jul-2011 James Dong <jdong@google.com> Merge "Log setVideoSurface() and setVideoSurfaceTexture() failures."
0683eba6b35c396c21f10e926709f2f8fc05f090 18-Jul-2011 Andreas Huber <andih@google.com> Retry datasource fetches a few times before giving up (NuCachedSource2).

Change-Id: I147fc18ef55bc89d2e2fee69b7869c45abbfdd6b
related-to-bug: 3405354
ibstagefright/NuCachedSource2.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/include/ChromiumHTTPDataSource.h
ibstagefright/include/NuCachedSource2.h
deaba1c70b8ebdd1fffb40665a40e0593bd9cf3e 22-Jul-2011 Kristian Monsen <kristianm@google.com> Fix for bug 5049763 HLS: Cookies set in main playlist request aren't being passed to subsequent HTTP requests

Cookies should be store between requests in memory with this.

Tell me if you want to store the cookies on disk as well.

Change-Id: I9afe5796a3d395afcf54d669c86cf7da432f8d9a
ibstagefright/chromium_http/support.cpp
fada58a21be01913a8e3f25c898d26d2fc8ba630 22-Jul-2011 James Dong <jdong@google.com> Log setVideoSurface() and setVideoSurfaceTexture() failures.

Change-Id: Iaea34e74a0cf569fc85b926949253dea6baa6142
related-to-bug: 5063370
ibmedia/mediaplayer.cpp
1a2fafbaa36390a06cc9a066fcbe147c8c47ea77 01-Jul-2011 Pannag Sanketi <psanketi@google.com> Renaming SurfaceEncoder to SurfaceMediaSource

Related to bug id: 4529323

Change-Id: Id820d45a536bd2c65e0a59def564eb5b3ea4a71c
ibstagefright/Android.mk
ibstagefright/SurfaceEncoder.cpp
ibstagefright/SurfaceMediaSource.cpp
ibstagefright/tests/Android.mk
ibstagefright/tests/SurfaceEncoder_test.cpp
ibstagefright/tests/SurfaceMediaSource_test.cpp
3399b7267185646c69b04352211fca4fad9d7547 11-Jun-2011 Pannag Sanketi <psanketi@google.com> Adding SurfaceEncoder for encoding FilterFrames

Adding SurfaceEncoder which can be used to encode
custom frame data. In a sense, it is reverse
of what SurfaceTexture does.

SurfaceEncoder takes in frames from a native window and
passes them to an encoder, thus acting like a MediaSource.
It uses GRAlloc buffers underneath for passing data.
The client side sets the geometry, format in the beginning,
which cannot be changed while the recording is going on.

Currently, there is no common pixel format that both
GRAlloc and HAL understand.
Also, the encoder cannot encode using the data from the GRAlloc
buffers.

The SurfaceEncoder_test examines mainly the buffer passage
since true encoding cannot be done at this point.
SimpleDummyRecorder 'reads' the frames in the same thread
as the start(), whereas DummyRecorder 'reads' in a separate
thread much like the MPEG4Writer. The test with DummyRecorder
is much closer to the real encoding implementation.

Related to bug id: 4529323

Change-Id: I58ec19a150f8fe4d6195196dc44f55002b46c7c8
ibstagefright/Android.mk
ibstagefright/SurfaceEncoder.cpp
ibstagefright/tests/Android.mk
ibstagefright/tests/DummyRecorder.cpp
ibstagefright/tests/DummyRecorder.h
ibstagefright/tests/SurfaceEncoder_test.cpp
a1d92359056176b6f6646efc918e0587e3de2b6f 21-Jul-2011 Hong Teng <hongteng@google.com> Merge "fix for issue 4142219 Don't hard code platform-specific limitations-jni/java part"
3a1f8a404b38aaa82d57c77cb83e48665e66e553 21-Jul-2011 Jeff Brown <jeffbrown@google.com> Merge "Untangle MediaScanner error handling. Bug: 5056917"
0cd7889d37cc60300dceaa975dab041fd35e34fd 21-Jul-2011 Eric Laurent <elaurent@google.com> Merge "Audio framework: support for audio pre processing"
7188e55f54a43c55fd6b96454720c447f1dc454e 21-Jul-2011 Jeff Brown <jeffbrown@google.com> Untangle MediaScanner error handling.
Bug: 5056917

Change-Id: I1a7a73579e3ba4e9709459329fc1901a28b0f4b1
ibmedia/MediaScanner.cpp
ibmedia/MediaScannerClient.cpp
ibstagefright/StagefrightMediaScanner.cpp
cabd5f867ec69c0dfe8333cba46323cb58917402 07-Jul-2011 Hong Teng <hongteng@google.com> fix for issue 4142219
Don't hard code platform-specific limitations-jni/java part

Change-Id: Icde261b1caf29a8cf552884c97f3c9d0b41741a3
ibmedia/MediaProfiles.cpp
afa9771b5abe7646077a8353f8bf710506803f7a 21-Jul-2011 James Dong <jdong@google.com> Merge "Let the media recording framework release the Camera object when it is the owner"
3bd3020c00ec8264ac1fe3870800f326487f9221 20-Jul-2011 James Dong <jdong@google.com> Let the media recording framework release the Camera object when it is the owner

related-to-bug: 5050535,5036813,5051707

Change-Id: I88e10f65f087931e7f95ab26a018d59f7361103e
ibstagefright/CameraSource.cpp
60c93010e8f96a179574ec66c00ec47a675319e3 20-Jul-2011 Jamie Gennis <jgennis@google.com> Merge "MediaPlayer: add a disconnect from ANativeWindow"
7dff060f29858d6db2464845bb9097ac5960bbe6 20-Jul-2011 Andreas Huber <andih@google.com> Merge "Content found in the wild violated the MPEG4 systems specs"
f3dadf2204119eb7ef263535d53d36cd14b9bf47 20-Jul-2011 Andreas Huber <andih@google.com> Content found in the wild violated the MPEG4 systems specs

but other players apparently worked around it as well, so we do to.

Change-Id: I8269d2344b010d1d704028c8a9c05bddab53828d
related-to-bug: 5049979
ibstagefright/ESDS.cpp
50d42da58a88dcdb082cff079766af71c0871470 20-Jul-2011 Andreas Huber <andih@google.com> Merge "More HLS fixes"
d6a46a6bda23667e06ee5ccca3781e407c7d1204 20-Jul-2011 Andreas Huber <andih@google.com> More HLS fixes

properly expand URLs where the "new" URL is an absolute path.
properly include any extra headers even when fetching the key files.

Change-Id: I7cd8879015ea8e3d3e2334f4e7e16b8c1a5d48e9
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
bea47bc22b2939b324b47fd0d70e6c7e6fbc82d2 19-Jul-2011 Jamie Gennis <jgennis@google.com> MediaPlayer: add a disconnect from ANativeWindow

This change makes MediaPlayer::disconnect disconnect from the
ANativeWindow once the player has been disconnected.

Change-Id: I6744559030d1edc520cf77402d1f5ce841742340
ibmedia/mediaplayer.cpp
9bc7af17974f448291a44912566ec7472a0d798b 19-Jul-2011 Mathias Agopian <mathias@google.com> use SurfaceTexture new scaling mode in SF

SF now obeys SurfaceTexture's scaling mode instead
of inferring it from the buffer's size

Change-Id: I4d50e9851abedd7e64bfcfc8af9eefb9fb668529
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
2e460c5b7f48aaabff33698ba6b11b04906eefa8 19-Jul-2011 James Dong <jdong@google.com> Remove PV AVC decoder

Change-Id: Icf056c852f95b5d6a07473728ddbf5b641990381
ibstagefright/codecs/avc/dec/Android.mk
ibstagefright/codecs/avc/dec/SoftAVC.cpp
ibstagefright/codecs/avc/dec/SoftAVC.h
ibstagefright/codecs/avc/dec/include/avcdec_api.h
ibstagefright/codecs/avc/dec/include/pvavcdecoder.h
ibstagefright/codecs/avc/dec/include/pvavcdecoderinterface.h
ibstagefright/codecs/avc/dec/src/avc_bitstream.cpp
ibstagefright/codecs/avc/dec/src/avcdec_api.cpp
ibstagefright/codecs/avc/dec/src/avcdec_bitstream.h
ibstagefright/codecs/avc/dec/src/avcdec_int.h
ibstagefright/codecs/avc/dec/src/avcdec_lib.h
ibstagefright/codecs/avc/dec/src/header.cpp
ibstagefright/codecs/avc/dec/src/itrans.cpp
ibstagefright/codecs/avc/dec/src/pred_inter.cpp
ibstagefright/codecs/avc/dec/src/pred_intra.cpp
ibstagefright/codecs/avc/dec/src/residual.cpp
ibstagefright/codecs/avc/dec/src/slice.cpp
ibstagefright/codecs/avc/dec/src/vlc.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
8ebe5be6b0b3caa7d9d6277a1216ed786bd1e66a 19-Jul-2011 Conley Owens <cco3@android.com> am e5143d6c: am a4aef41a: am a74774fd: am 4d8f6a38: Merge "stagefright aacenc: Mark codeWord as UWord16"

* commit 'e5143d6c09f0e9a960661a2b0a5916c33fcafc4d':
stagefright aacenc: Mark codeWord as UWord16
b2ac59b3a1748eef58c228a7e808d40bd1741dcf 19-Jul-2011 Conley Owens <cco3@android.com> am a4aef41a: am a74774fd: am 4d8f6a38: Merge "stagefright aacenc: Mark codeWord as UWord16"

* commit 'a4aef41a74a69b0296b88361ffb33d0470a26362':
stagefright aacenc: Mark codeWord as UWord16
e82c319beb2275ad0832cf77252943e16df04b1a 19-Jul-2011 Conley Owens <cco3@android.com> am 4d8f6a38: Merge "stagefright aacenc: Mark codeWord as UWord16"

* commit '4d8f6a38e7268e29e189cb4173f42c7aa5b320a3':
stagefright aacenc: Mark codeWord as UWord16
d94bb8b524e09f978b6a16699b968628ff279208 19-Jul-2011 Conley Owens <cco3@android.com> Merge "stagefright aacenc: Mark codeWord as UWord16"
d36635c4d90e8b891c7197a92370796635b7684c 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am 3ab6ccda: am 2acddc54: am 89bac182: am 88409911: Merge "stagefright: Include stdlib.h for malloc/free"

* commit '3ab6ccda447c605c35c8854a2ec8c49c2a0653a6':
stagefright: Include stdlib.h for malloc/free
8ebcf0222143b2b59d24946ef260894f367e096c 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am b32af642: am 31140598: am 16db83c2: am eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused file"

* commit 'b32af642454f3113cb1539821eb3b0dbf4174974':
stagefright amrwbenc: Remove a duplicate, unused file
7b9bcbb0975049c05c3b4a4048802807433ace42 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am d4dee1a5: am 29fd8cdb: am 80ef1745: am c06c3603: Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"

* commit 'd4dee1a57fdcd1bd1e7c621163e89039cf88d9f9':
stagefright aacenc: Make the mem_malloc function 64-bit safe
bb29abfe798e0a3329380481834e5839db141902 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am b7f0d825: am 691257b1: am 68e37dac: am 55f115a3: Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"

* commit 'b7f0d825c56dced10bb7df7cfc624ef9ebffe21c':
stagefright: Only use __int64 on MSVC, not on all win32 compilers
0ab6faaca562abcb1d116824198388f5a3c8c73d 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am 2acddc54: am 89bac182: am 88409911: Merge "stagefright: Include stdlib.h for malloc/free"

* commit '2acddc54e1e7a9f41b4b5acc2e8984c46539425a':
stagefright: Include stdlib.h for malloc/free
9f8f2f857b5791b10f5da9b5cc04d3d8f7988c29 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am 31140598: am 16db83c2: am eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused file"

* commit '31140598866c668047fc6dede7944e146aa21a0a':
stagefright amrwbenc: Remove a duplicate, unused file
54b0ae0dc7ba9be652285250f4976d8db89c30ee 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am 29fd8cdb: am 80ef1745: am c06c3603: Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"

* commit '29fd8cdbe554ca65c57dd9eea59dc57e3392acc3':
stagefright aacenc: Make the mem_malloc function 64-bit safe
c57d9ff30a5bff931f8ffa8d3fa390628268a8a8 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am 691257b1: am 68e37dac: am 55f115a3: Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"

* commit '691257b1812ffd8172b01c17b9ba23a48eb76594':
stagefright: Only use __int64 on MSVC, not on all win32 compilers
6f1dd23b28752fdf47795c6575c537943711b1c1 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am 88409911: Merge "stagefright: Include stdlib.h for malloc/free"

* commit '88409911aebed6c3663e51d51fca67f527c0c2fb':
stagefright: Include stdlib.h for malloc/free
4a028164ee8ce74a7872ce4bcce196b70d9eb4e2 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am eb07c531: Merge "stagefright amrwbenc: Remove a duplicate, unused file"

* commit 'eb07c531498f4dc881ad2b4d1a32cacab25950ff':
stagefright amrwbenc: Remove a duplicate, unused file
3bfc65a3ca36b2f1cec52b83e4f75147b41c27e0 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am c06c3603: Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"

* commit 'c06c3603e09a85136eb97d1d8ba1a49fcebae93b':
stagefright aacenc: Make the mem_malloc function 64-bit safe
af7e9726a19d106494e96078dedfda7baaeb59cd 19-Jul-2011 Deckard Autoverifier <deckard@android.com> am 55f115a3: Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"

* commit '55f115a3214343c826acf27fcbc4bf2927049083':
stagefright: Only use __int64 on MSVC, not on all win32 compilers
a77079f09897f27e97b073d3835fb4b62949a159 19-Jul-2011 Deckard Autoverifier <deckard@android.com> Merge "stagefright: Include stdlib.h for malloc/free"
24123b996366a20bedab4dffbc69c8e439fe04d3 19-Jul-2011 Deckard Autoverifier <deckard@android.com> Merge "stagefright amrwbenc: Remove a duplicate, unused file"
e625479f58d7d9234c8ae7cb0c0a604bf43a9115 19-Jul-2011 Deckard Autoverifier <deckard@android.com> Merge "stagefright aacenc: Make the mem_malloc function 64-bit safe"
aacb82162005eec4c06cba90389eded2c189a448 19-Jul-2011 Deckard Autoverifier <deckard@android.com> Merge "stagefright: Only use __int64 on MSVC, not on all win32 compilers"
4a621e6d3438876eb1d9001719c688a2329ee675 19-Jul-2011 Jamie Gennis <jgennis@google.com> Merge "MediaPlayer: add ANativeWindow (dis)connect calls"
bd8299bd5471902596cc2a27dc9404bda92edfe6 18-Jul-2011 Conley Owens <cco3@android.com> am 45ddd425: am 3edba93f: am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit '45ddd42544167494cee7213ecddcb6f8057c86c0':
stagefright aacenc/amrwbenc: Remove trailing whitespace
3259fc9acfc740a30b3a52bf70fe6e402d2d1010 18-Jul-2011 Conley Owens <cco3@android.com> am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit '98fcc4041d35831c7a65a6e2f0e61021e0fb37e2':
stagefright aacenc/amrwbenc: Remove trailing whitespace
ac04df0bbb3a1b9627cbc0eb298a596c665a3e7c 18-Jul-2011 Conley Owens <cco3@android.com> Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"
db4d3717b4677b3239546a248dc0a7d82db4ba50 18-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "Add option to query hardware decoders only"
df57a0d6d3b0609e69ff79afa63fe44dfa91f6f5 18-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Add option to query hardware decoders only

Add an option to OMXCodec::QueryCodecs() to filter out
software codecs.

Update stagefright command line tool to list the roles of codecs.

Change-Id: Icddb79118c30fe13cc3aea20f340174cc082c4e0
ibstagefright/OMXCodec.cpp
7c7f10bd4fda9a084e5e7f0eb3a040dfcbf01745 18-Jun-2011 Eric Laurent <elaurent@google.com> Audio framework: support for audio pre processing

Audio effect framework is extended to suport effects on
output and input audio path.

AudioFlinger: Support for audio effects and effect chains is
moved from PlaybackThread class to ThreadBase class so that
RecordThread can manage effects.
Effects of type pre processing are allowed on record thread
only. When a pre processing is enabled, the effect interface handle is
passed down to the input stream so that the audio HAL can call the
process function. The record thread loop calls the effect chain process
function that will only manage the effect state and commands and skip the
process function.

AudioRecord: The audio session is allocated before calling getInput() into
audio policy serice so that the session is known before the input theead is
created and pre processings can be created on the correct session.

AudioPolicyService: default pre processing for a given input source are
loaded from audio_effects.conf file.
When an input is created, corresponding effects are created and enabled.

Change-Id: Id17119e0979b4dcf189b5c7957fec30dc3478790
ibeffects/data/audio_effects.conf
ibeffects/factory/Android.mk
ibeffects/factory/EffectsFactory.c
ibeffects/factory/EffectsFactory.h
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
67a124dcac0578aed94aebf451675a5f4c8a1e4e 18-Jul-2011 Andreas Huber <andih@google.com> Merge "Always consider playlists corresponding to different bandwidths different."
634538b2017ca0760a68d8be016fedaeed30f136 18-Jul-2011 Andreas Huber <andih@google.com> Merge "Fix seek behaviour at startup and teardown of media session that hasn't been started"
4c0971c15b706bc4e926bd3ca9f3d5ad934b4dc1 18-Jul-2011 Mike Lockwood <lockwood@android.com> Merge "MTP: Use a single packet for the data phase"
a9390d4d571817cdb1d659b4b22b04130dc77a48 18-Jun-2011 Eric Laurent <elaurent@google.com> Audio preprocessing wrapper for webrtc.

This wrapper implements the interworking layer between the audio effect
interface defined by the effect framework for audio preprocessing
and the native interface of webrtc audio processing module.

Change-Id: I3f9319730c102599cdf0dda520a53d90b4165114
ibeffects/preprocessing/Android.mk
ibeffects/preprocessing/PreProcessing.cpp
ef441d965504dbf31c5db690e5b34fcdcecd92ff 15-Jul-2011 Mike Lockwood <lockwood@android.com> MTP: Use a single packet for the data phase

instead of sending 12 byte header in a separate packet.
PTP on the Mac is much happier with this approach.

Change-Id: I7d1ca498f6346afd88876d24332187b466fc469c
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpServer.cpp
8dae4ca229d21f68f3ee76c76b49b6f0a47aad53 16-Jul-2011 Andreas Huber <andih@google.com> Always consider playlists corresponding to different bandwidths different.

Change-Id: I07bb3023af5046db93b4f8785eb90c6a4fb15b95
ibstagefright/httplive/LiveSession.cpp
2048d0cfccce48be26816dec8711a6691ebff71c 16-Jul-2011 Andreas Huber <andih@google.com> Fix seek behaviour at startup and teardown of media session that hasn't been started

Nuplayer specific.

Change-Id: I7b0be52c29bdb7032414d63c503d686df7844bf6
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
a57a9a491272aa884494b2ec7854960827a73742 16-Jul-2011 James Dong <jdong@google.com> Do not wait forever for output buffers in OMXCodec.cpp and error out in case time out happens

o Deal with vendor codec hang bug

Change-Id: Ic8449afd43045f09a9e0bd3d1be9a320e59ccabe
ibstagefright/OMXCodec.cpp
4378ace44b9de477608a6c2fbf7134bc0345555f 15-Jul-2011 Gloria Wang <gwang@google.com> Merge "Use unsigned char to store table of contents retrieved from XING header. Our compiler treats char default to unsigned (trygon-eng on master branch). If I force "signed char" for the table of contents array, some MediaFramework tests for VBR mp3 would fail."
d75de03f90a17862b18a3d2404e7117d8c53dbbf 15-Jul-2011 Andreas Huber <andih@google.com> Merge "Refetch playlists according to the HLS specs, varying delay if playlists unchanged"
6fb40672ac0f0b2f479367fa0ba4e8944df06dad 15-Jul-2011 Gloria Wang <gwang@google.com> Use unsigned char to store table of contents retrieved from XING header.
Our compiler treats char default to unsigned (trygon-eng on master branch).
If I force "signed char" for the table of contents array, some MediaFramework
tests for VBR mp3 would fail.

Change-Id: I725e2d4dfe57ff36fdb1d65fe3184f7ab41ad695
ibstagefright/XINGSeeker.cpp
ibstagefright/include/XINGSeeker.h
7e43a5a2dcfa9bc64ef477472a33c87a84695c09 15-Jul-2011 Andreas Huber <andih@google.com> Refetch playlists according to the HLS specs, varying delay if playlists unchanged

since the previous fetch.

Change-Id: I75e167a650c65a23e284381db5203beba7be7420
related-to-bug: 4983546
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/LiveSession.h
3c76eaebad1e420937088e52ec89efcb76bb875d 15-Jul-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 5031179 possible fix for assert in join"
61c7ef5bde2c7ed94a078396aa65da67b47e5402 13-Jul-2011 Jamie Gennis <jgennis@google.com> MediaPlayer: add ANativeWindow (dis)connect calls

This change makes MediaPlayer connect to the ANativeWindow to which it
is going to render video frames and disconnect when it is done.

Change-Id: I88ab5c2fe62493aabdc84a283ff31634f795d415
ibmedia/mediaplayer.cpp
dc3d6784c73882c888423f0cb9b4de1b14e1dc02 15-Jul-2011 James Dong <jdong@google.com> Merge "Revert "Add some logging to track down where ANR happens during MediaPlayer._release().""
a3f4d7f096e5c91dc6af085761b1459866c043d9 15-Jul-2011 James Dong <jdong@google.com> Revert "Add some logging to track down where ANR happens during MediaPlayer._release()."

This reverts commit a5293d1ca4459293f4993ea39c09ea703a022844.

Conflicts:

media/libstagefright/AwesomePlayer.cpp

Change-Id: I2a5960208a6780b9a44ab5cce0ffc0e2fb28f426
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
40d76d70587ed095692615b0a1b657da861f7ffc 15-Jul-2011 Glenn Kasten <gkasten@google.com> Bug 5031179 possible fix for assert in join

Change-Id: Id3a24c152579b8fdcfb9d66a11aa11579406a7ec
ibstagefright/omx/OMX.cpp
6f93135e5c8945ad2589af0c01652bc104eae819 14-Jul-2011 Andreas Huber <andih@google.com> Merge "If audio startup fails while executing MediaPlayer::start() do NOT post an error"
5442cb59e8483e18b3a02400d431d167ea7074b3 14-Jul-2011 Andreas Huber <andih@google.com> If audio startup fails while executing MediaPlayer::start() do NOT post an error

notification, the error returned by MediaPlayer::start() will suffice.

Change-Id: I49bd8d42078f039e5e6d8d4fed4f7f55dc5ff82a
related-to-bug: 5020200
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
15825c7b6f6b19092a5949b4e46aea4fa229932c 14-Jul-2011 James Dong <jdong@google.com> Merge "Support profile and level query for SW video decoders"
49c8340bd83cc5d64b1fcaed4afbda5fd4d74a3e 14-Jul-2011 Andreas Huber <andih@google.com> Merge "Remove legacy http support from stagefright, chromium is the new hotness."
0ee92ffd74ac8594b68aa3c73b341dc0c6330b3f 14-Jul-2011 Glenn Kasten <gkasten@google.com> Merge "OMX CallbackDispatcher uses C++ Thread not pthread"
dab718bba3945332dc75e268e1e7f0fe2eb91c4a 14-Jul-2011 Andreas Huber <andih@google.com> Remove legacy http support from stagefright, chromium is the new hotness.

Change-Id: I6725d42d38b91e6a1cbca43174870f445aeb3d99
ibstagefright/Android.mk
ibstagefright/HTTPBase.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/include/HTTPBase.h
ibstagefright/include/HTTPStream.h
ibstagefright/include/NuHTTPDataSource.h
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/MyHandler.h
87e031caf905145cb6e362a8c60f02736b87deef 13-Jul-2011 Andreas Huber <andih@google.com> Remove old-style software decoders.

Change-Id: Ie0729d6a65470ffdc38229791f25a75a22c724d8
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/ThreadedSource.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/amrnb/dec/AMRNBDecoder.cpp
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/amrwb/AMRWBDecoder.cpp
ibstagefright/codecs/amrwb/Android.mk
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/codecs/avc/dec/Android.mk
ibstagefright/codecs/g711/dec/Android.mk
ibstagefright/codecs/g711/dec/G711Decoder.cpp
ibstagefright/codecs/m4v_h263/dec/Android.mk
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/codecs/mp3dec/Android.mk
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
ibstagefright/codecs/on2/dec/Android.mk
ibstagefright/codecs/on2/dec/VPXDecoder.cpp
ibstagefright/codecs/vorbis/dec/Android.mk
ibstagefright/codecs/vorbis/dec/VorbisDecoder.cpp
ibstagefright/include/ThreadedSource.h
42e549e4ab54802d788c43e3a04a85b7a1a95e97 13-Jul-2011 Andreas Huber <andih@google.com> Enable signalling of a stream discontinuity involving a format-change

through IStreamListener.

Change-Id: Ic0409cdc4891ad26b61f2f98bdda3c7fb2e2de6a
related-to-bug: 5022434
ibmedia/IStreamSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
9cded98816c40fd55053b1e38fc7fd8a68da8866 13-Jul-2011 Mike Lockwood <lockwood@android.com> Merge "MTP: Clean up MtpServer initialization and threading:"
dec7388c3edf09eaaccaaf57f6301e716319a34d 11-Jul-2011 Mike Lockwood <lockwood@android.com> MTP: Clean up MtpServer initialization and threading:

Move thread from native to Java code
Remove the stop() method (the thread will exit on its own)

Change-Id: Ib897c3630162f82669a4ee8c187e8172da50b29d
tp/MtpServer.cpp
350d9162155e1f3eab1821f5eeed762faa01f0cc 13-Jul-2011 Iliyan Malchev <malchev@google.com> Merge "Add support for TI H264 encoder"
1374eddc4455b26d1dffdca10fc70534b3f08c1d 12-Jul-2011 Dandawate Saket <dsaket@ti.com> Add support for TI H264 encoder

Add support for TI H264 encoder and quirks for buffer allocation.
Temporary switching to baseline profile till ctts patch is defaulted
as per profile detection.

Change-Id: I1d56184b9c5d5f00d6c63aef7e058f3d56b84cef
Signed-off-by: Dandawate Saket <dsaket@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
63b96e48deb0a4c5b594693922bd9101ffc3ef93 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Merge "Remove the simulator target from all makefiles. Bug: 5010576"
ca9718b81d1edb3d094a11502737293dcb7526e7 24-Jun-2011 Glenn Kasten <gkasten@google.com> OMX CallbackDispatcher uses C++ Thread not pthread

This permits leveraging future improvements to Thread.

Change-Id: I45e25a309e7edd1d4f0dacc5ec987329afa497d9
ibstagefright/include/OMX.h
ibstagefright/omx/OMX.cpp
5e0067b486c3862316aa1f293cf9690c0cf54bda 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
ibeffects/factory/Android.mk
ibeffects/lvm/wrapper/Android.mk
ibeffects/visualizer/Android.mk
ibmedia/Android.mk
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
ibstagefright/chromium_http/Android.mk
ibstagefright/omx/Android.mk
tp/Android.mk
a5a0cea84cdf116f4de4f812c26be73e70a260e6 12-Jul-2011 Eric Laurent <elaurent@google.com> Merge "Audio Effect API: process reverse stream function"
3623b481fa2734b95d4553dafabca931e5d0502a 11-Jul-2011 James Dong <jdong@google.com> Merge "Do not wait for unlaunched threads in stop()"
411ba422e3635d534928ffd81abf54f4f291c739 09-Jul-2011 James Dong <jdong@google.com> Do not wait for unlaunched threads in stop()

Change-Id: If681749753bb96ee98c1539658cfd919eeb0cb65
ibstagefright/MPEG4Writer.cpp
fcf0efd3919435cb27091a8af6db3de35b6899ba 11-Jul-2011 James Dong <jdong@google.com> Merge "Release camera if CameraSource::start() has not been called"
457116d3a01618acf9a875020ca5860551ba03a6 11-Jul-2011 James Dong <jdong@google.com> Support profile and level query for SW video decoders

Change-Id: I9c20db128be96cd36cf2083e08e8c21f5e6d1fdf
ibstagefright/codecs/avc/dec/SoftAVC.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/on2/h264dec/SoftAVC.cpp
ba7b8f881a9b6b21803752326d2932a3bd42d7cf 18-Jun-2011 Eric Laurent <elaurent@google.com> Audio Effect API: process reverse stream function

Added function to audio effect interface for processing of
a reverse stream.
This is necessary for audio pre processes like echo cancellation.

Change-Id: I6e12d79dbbed6376acdfc79304b8c0ab3f705eae
ibeffects/factory/EffectsFactory.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/visualizer/EffectVisualizer.cpp
9b88b72ee2c3fd01fb46e77b7e6d80f3bd52e958 11-Jul-2011 Mike Lockwood <lockwood@android.com> MTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system

Bug: 4561836

Change-Id: I2bffb93b032038f6c220c24c752ccd7ca66c23a0
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpStorage.cpp
tp/MtpStorage.h
ae4c1ac6401185539c03ce0819e174fd1b04b136 09-Jul-2011 James Dong <jdong@google.com> Release camera if CameraSource::start() has not been called

Change-Id: I2f7e4b8501db3d80b9aa6f99d896d778bec29e8c
ibstagefright/CameraSource.cpp
d552b88515c6ccd18695e5db5e6032a6425d8c63 08-Jul-2011 James Dong <jdong@google.com> Use advertised h264 encoding parameters by default if the profile is not baseline

o Force to use AVC baseline profile for camcorder low quality videos

Change-Id: I3424c57dd0c55fc4991f5767b57695c8f3420ecb
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/OMXCodec.cpp
6d8b694d999e9be7d5dcc336535832a80fb6f61f 24-Jun-2011 Eric Laurent <elaurent@google.com> Moved and renamed effect API header files

Moved specific effect header files to
system/media/audio_effects/include/audio_effects
and renamed to lower case (effect_xxx.h).

Change-Id: Icfc2264bfd013cab0395d7e310ada636b9fe3621
ibeffects/lvm/wrapper/Android.mk
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
ibeffects/lvm/wrapper/Reverb/EffectReverb.h
ibeffects/testlibs/Android.mk_
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.h
ibeffects/visualizer/Android.mk
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/Android.mk
ibmedia/Visualizer.cpp
5895e970ae119210773a5184c019178e2516b132 06-Jul-2011 Gloria Wang <gwang@google.com> Merge "- Retrieve is_drm in MediaMetadataRetriever. - Add one more column in MediaStore to indicate whether a media file is drm-protected. - Remove old DRM code from Ringtone - Use the new DRM code in RingtoneManager"
0d0edfb024f65f7e1097bf1814ae229ce9cb367d 27-Jun-2011 Gloria Wang <gwang@google.com> - Retrieve is_drm in MediaMetadataRetriever.
- Add one more column in MediaStore to indicate whether a
media file is drm-protected.
- Remove old DRM code from Ringtone
- Use the new DRM code in RingtoneManager

Change-Id: I1311fd1c04841c2cd47df6c901589966cf55a692
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/include/MPEG4Extractor.h
d26edf9435bf5bdb43b5a1f71192bb1477a1cc7f 02-Jul-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 4571308 Provide correct video frame timestamps"
13b263c0fb2f03f12089150c3d05b545c25257ca 01-Jul-2011 Andreas Huber <andih@google.com> Merge "Charge network traffic to the uid of the process using the MediaPlayer."
ea317826269a1faecc2c61b76e2dab9bb7e70a62 01-Jul-2011 Andreas Huber <andih@google.com> Merge "Ignore all flush-complete notifications with port == OMX_ALL"
9b80c2bdb205bc143104f54d0743b6eedd67b14e 01-Jul-2011 Andreas Huber <andih@google.com> Charge network traffic to the uid of the process using the MediaPlayer.

Change-Id: I2bcb54b8232afd3fc7ee16289f37c7a7b3f23067
related-to-bug: 4517282
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/ARTSPController.h
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/HTTPBase.h
ibstagefright/include/HTTPStream.h
ibstagefright/include/LiveSession.h
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/MyHandler.h
0af941927ef8f35f2da5380dfd8d04b7f4ed3532 01-Jul-2011 Andreas Huber <andih@google.com> Ignore all flush-complete notifications with port == OMX_ALL

Use of this notification is not consistent across
implementations. We'll drop this notification and rely
on flush-complete notifications on the individual port
indices instead.

Change-Id: I76c0dfdcfc92a7c9acf57abf3027d2638d77efca
ibstagefright/ACodec.cpp
577dd43e0a80b4ccc621d52f06fea0761fc7f602 01-Jul-2011 Andreas Huber <andih@google.com> Merge "Support a "secure input buffer" mode for use by Widevine DRM in OMXCodec."
0bb6b4c5da2451ee0973372b0a3858b15c742689 30-Jun-2011 Andreas Huber <andih@google.com> Support a "secure input buffer" mode for use by Widevine DRM in OMXCodec.

Change-Id: Ie03b285265099dbac9b12f3f41d9ad758d0b50ad
ibstagefright/OMXCodec.cpp
3edf4509ad62582c682cbcf572396da4036506a3 01-Jul-2011 Edwin Wong <edwinwong@google.com> Merge "Revert "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video.""
ab23dc0443e874a82110119896cce0103d89a529 01-Jul-2011 James Dong <jdong@google.com> Merge "Return ERROR_END_OF_STREAM when the input source reaches eos"
cebcdaef5b559f4db2a9d8b305d9d7da03525b62 01-Jul-2011 Kristian Monsen <kristianm@google.com> Merge changes I7e8401a4,I412ddf36

* changes:
Merge Chromium at r11.0.696.0: New autofill strings
Merge Chromium at r11.0.696.0: Using setter instead of direct variable access
e301545a292987b6f7f3b316003eb8b76e3a5e2e 01-Jul-2011 Jeff Tinker <jtinker@google.com> Revert "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video."

This reverts commit d63d947d406977c7c307f69369908b4342c98ef3
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
0f30bd90272c818aa37c0bb22d22eaa7d3689879 01-Jul-2011 Andreas Huber <andih@google.com> Seeking/duration in HLS content is based on the individual segments' duration

not target-duration.

Change-Id: I294097daa84c25e4084a6fc4ea80e39a543f3d10
related-to-bug: 4983285
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
69c2b29eb72396068b9d116c2a54f283025c7d6b 30-Jun-2011 Andreas Huber <andih@google.com> Merge "Revert "Parse RTP-Info even for live streams.""
ac5767a96df9fae46a37ffba62611472135a0f6d 30-Jun-2011 Andreas Huber <andih@google.com> Revert "Parse RTP-Info even for live streams."

This reverts commit d873413ff9f742f259c29d7d0b58265db6b24529.
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
e5bf6409774fe73f968b7db215f535b64de66139 30-Jun-2011 Andreas Huber <andih@google.com> Some (most) OMX decoders do not send a OMX_CmdComplete/Flush OMX_ALL notification

Change-Id: I1bdcc7be5f12dab301891a5f9ee5cc981e09ba82
ibstagefright/ACodec.cpp
ba499b591db0e26081e38545493144755eb72fff 30-Jun-2011 James Dong <jdong@google.com> Return ERROR_END_OF_STREAM when the input source reaches eos

Change-Id: I334313b054dcf388d2e05d56efb10ceea4980638
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
4ea52aea75c385e8d9de8cc04554aa5d93ca272b 29-Jun-2011 Andreas Huber <andih@google.com> Merge "Fix a format string that triggered a compile-time warning in OMXCodec.cpp"
0055e9e1c67e4614135da2cc0866caf3e7bfa3d6 28-Jun-2011 Andreas Huber <andih@google.com> Fix a format string that triggered a compile-time warning in OMXCodec.cpp

Change-Id: Ib4b6cce1b4102034605da8edfb0dd8bc9a578168
ibstagefright/OMXCodec.cpp
553f66e21be6e11120460830fc78793a4d11b465 20-Jun-2011 Andreas Huber <andih@google.com> Instantiate a NetworkChangeNotifier to have chromium transparently handle interface

changes.

Change-Id: If48d2934ce29d68b9c31a1d120fe8f134f277a33
ibstagefright/chromium_http/support.cpp
63d794763a680c29edccce3a6fac3d6d9c13c8e3 27-Jun-2011 Kristian Monsen <kristianm@google.com> Merge Chromium at r11.0.696.0: Using setter instead of direct variable access

Members in UrlRequestContext was made private in upstream CL:
http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_context.h?view=diff&pathrev=77261&r1=75164&r2=75165

Change-Id: I412ddf36b0818e59b9b3ae428407d562facd4785
ibstagefright/chromium_http/support.cpp
95068be1426dc0a4dc856cf9e35550c31b901711 29-Jun-2011 Wu-cheng Li <wuchengli@google.com> Unlock the camera if media recorder fails to start recording.

bug:4965716

Change-Id: Icb1f7f18e9ea6c4f0427ade2ed338e7d56be5e01
ibstagefright/CameraSource.cpp
3e1763ecdf14769a534f75e94a56785f63174b47 28-Jun-2011 Andreas Huber <andih@google.com> Support for writing output data to a provided callback function instead of a file

in MPEG2TSWriter

Change-Id: Ie54a5677c7b789a973aa50b7f197c6db238425bc
ibstagefright/MPEG2TSWriter.cpp
0a932b40bdc8c427ff275426ee19960d8648021d 28-Jun-2011 Andreas Huber <andih@google.com> Merge "Multiple changes to ACodec/codec tools:"
1065b3f17d3048948e7d522049d1980b90df3dc1 28-Jun-2011 Andreas Huber <andih@google.com> Multiple changes to ACodec/codec tools:

Make sure sf2 does not coalesce input buffers, generalize ACodec's codec
instantiation based on OMXCodec's list of eligible component names.

Some changes/additions to the "sf2" commandline tool

Make surface options consistent with stagefright tool, i.e. use '-S' instead of '-s'
New option '-R' renders surface-allocated buffers.

Also fixes a longstanding bug introduced when generalizing from surfaces to native windows that never used surface-allocated buffers in sf2 even when the option was specified.

Change-Id: I59fd533f0f6ef0337ebe2806ddc81a46878eb3ae
ibstagefright/ACodec.cpp
306bafcd7cabeb9059e066296cd225b8b03968a2 28-Jun-2011 Jeff Tinker <jtinker@google.com> Merge "Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video."
50255a92dfb2ffd35955035ae9ac9d4b85f606b8 27-Jun-2011 Jeff Tinker <jtinker@google.com> Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video.

This change allows the WVM extractor to close and reopen when not in use which resolves
the issue with heap fragmentation between plays.

Change-Id: I160ee1e98aada2bfdd0818eeb6300ad50644fb75
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
34bac59216838c056ffc27fa8dc9c0bf583eaf82 27-Jun-2011 Andreas Huber <andih@google.com> Merge "Fix the new color converter to respect the destination crop rect."
e5b2a43058438da3f5795dd9abf9419d640a004f 27-Jun-2011 Andreas Huber <andih@google.com> Merge "Log video dimensions and crop rectangle."
bab4b56c93a3fc26767687bffd5d10c5250b35ea 27-Jun-2011 Andreas Huber <andih@google.com> Merge "Update paths to test content used to run the omx_tests."
593e2773f616a926af45e74359e21a898c89875f 27-Jun-2011 Glenn Kasten <gkasten@google.com> Bug 4571308 Provide correct video frame timestamps

Change-Id: I0f726817fc02d3e2a4cf82ed801ef977994e6bcc
ibstagefright/AwesomePlayer.cpp
b1af69b8f91cf71bef79f56faf981f9a77e507b6 27-Jun-2011 James Dong <jdong@google.com> Merge "Reduce the number of output buffers and force output buffers in display order for SoftAVC decoder"
3571d50a2582bc9c63f09cd81b4f490ea3522bd9 24-Jun-2011 Andreas Huber <andih@google.com> Fix the new color converter to respect the destination crop rect.

Also fixes the SoftwareRenderer to request blitting the correct crop rectangles.

Change-Id: I38706cf9b42d96c6d5b35a9380f006ea4fbbf1ea
ibstagefright/colorconversion/ColorConverter.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/SoftwareRenderer.h
884946a23cfe804491ef6067bd9361371d7848fd 24-Jun-2011 Andreas Huber <andih@google.com> Log video dimensions and crop rectangle.

Change-Id: Ia56b09df4f6e9a14c4dcc499a6637fc39f8e3bb5
ibstagefright/OMXCodec.cpp
078f12ed36b71a5fa7654b774369090b98cc684c 24-Jun-2011 Andreas Huber <andih@google.com> Update paths to test content used to run the omx_tests.

Change-Id: I23201ac1541df032426cb05b9dc872b28882f992
ibstagefright/omx/tests/OMXHarness.cpp
4ca2c7c913f8bd4ada13aca56d36045d42d1e00f 01-Jun-2011 Wu-cheng Li <wuchengli@google.com> Add framework support for camcorder zoom.

The purpose of ICameraRecordingProxy and ICameraRecordingProxyListener is to
allow applications using the camera during recording.

Camera service allows only one client at a time. Since camcorder application
needs to own the camera to do things like zoom, the media recorder cannot
access the camera directly during recording. So ICameraRecordingProxy is a proxy
of ICamera, which allows the media recorder to start/stop the recording and
release recording frames. ICameraRecordingProxyListener is an interface that
allows the recorder to receive video frames during recording.

ICameraRecordingProxy
startRecording()
stopRecording()
releaseRecordingFrame()

ICameraRecordingProxyListener
dataCallbackTimestamp()

The camcorder app opens the camera and starts the preview. The app passes
ICamera and ICameraRecordingProxy to the media recorder by
MediaRecorder::setCamera(). The recorder uses ICamera to setup the camera in
MediaRecorder::start(). After setup, the recorder disconnects from camera
service. The recorder calls ICameraRecordingProxy::startRecording() and
passes a ICameraRecordingProxyListener to the app. The app connects back to
camera service and starts the recording. The app owns the camera and can do
things like zoom. The media recorder receives the video frames from the
listener and releases them by ICameraRecordingProxy::releaseRecordingFrame.
The recorder calls ICameraRecordingProxy::stopRecording() to stop the
recording.

The call sequences are as follows:
1. The app: Camera.unlock().
2. The app: MediaRecorder.setCamera().
3. Start recording
(1) The app: MediaRecorder.start().
(2) The recorder: ICamera.unlock() and ICamera.disconnect().
(3) The recorder: ICameraRecordingProxy.startRecording().
(4) The app: ICamera.reconnect().
(5) The app: ICamera.startRecording().
4. During recording
(1) The recorder: receive frames from ICameraRecordingProxyListener.dataCallbackTimestamp()
(2) The recorder: release frames by ICameraRecordingProxy.releaseRecordingFrame().
5. Stop recording
(1) The app: MediaRecorder.stop()
(2) The recorder: ICameraRecordingProxy.stopRecording().
(3) The app: ICamera.stopRecording().

bug:2644213

Change-Id: I15269397defc25cbbcae16abc071c8349c123122
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
486247017e0bfb9db9994a53a28c0dacfebf8567 18-Jun-2011 James Dong <jdong@google.com> Reduce the number of output buffers and force output buffers in display order for SoftAVC decoder

Change-Id: I9ec6d8205e7a56e42d5b5799a6c2e31076d24b81
ibstagefright/codecs/on2/h264dec/SoftAVC.cpp
ibstagefright/codecs/on2/h264dec/SoftAVC.h
c5a57efb706ec79032fc09c43b16d11ed0876604 22-Jun-2011 Anu Sundararajan <sanuradha@ti.com> Stagefright: add support for gralloc OMX_UseBuffer.

XXX: This change should go along with a documentation change to
HardwareAPI.h that describes the new extension.

This change adds support for passing a buffer_handle_t to OMX_UseBuffer
during OMXCodec initialization. This new way of passing the
buffer_handle_t's replaces the old OMX_SetParameter-based approach, and
this change deprecates that interface, but still supports it for OMX IL
implementations that do not support the new interface.

Change-Id: If9c1cb3c6c349c54dab094aeb8af13eae9f85271
Signed-off-by: Jamie Gennis <jgennis@google.com>
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMXNodeInstance.cpp
cb62bc3fe54222cf05824e6f98fefafee552049a 22-Jun-2011 Anu Sundararajan <sanuradha@ti.com> Integrating TI OMAP4 Video Decoder

Added the video decoder component name to kDecoderInfo.
Set the quirks for the video decoder.
Add a new color format to OMX_IVCommon.h to denote TI OMAP4 NV12 color format.
Added a color conversion routine [ from NV12 to RGB ] for thumbnail generation.

Change-Id: I6b23c36441645ef65ec7406ba262d19f89cf64fd
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
Signed-off-by: Sreenidhi Koti <sreenidhi@ti.com>
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
ibstagefright/OMXCodec.cpp
ibstagefright/colorconversion/ColorConverter.cpp
8e51d58fca9b7669f271378f9245e180f4360cbc 23-Jun-2011 Gloria Wang <gwang@google.com> - Public part of the Metadata API.
- Modify the media framework test for Metadata.

Change-Id: Ib8fa4991f114e1bb88a17ca662844b9b8e1d0faf
ibmedia/Metadata.cpp
06371d97f549981cd2d524c8868fde2ef10dc1e9 23-Jun-2011 Andreas Huber <andih@google.com> Merge "Parse RTP-Info even for live streams."
68cbeba4e21aa53f52fb99b74dfa1910af31a3eb 23-Jun-2011 Glenn Kasten <gkasten@google.com> Merge "Fix warnings for uninitialized local variables"
eddf9ef9235608e0231379a7bc614853bf5bcfa3 23-Jun-2011 Eric Laurent <elaurent@google.com> Merge "Added audio_bytes_per_sample() helper function"
17e5dcbf4b22a7dc1ae1a72d14cf5f8d747f1123 23-Jun-2011 Martin Storsjo <martin@martin.st> stagefright amrwbenc: Remove a duplicate, unused file

This file is identical to common/cmnMemory.c, and that's the
file that is used by all the makefiles, not this one.

Change-Id: I6a601c24a983285e55e5356bd5569853a1e2d7fe
ibstagefright/codecs/amrwbenc/src/cmnMemory.c
d0965dde97f2815ae0a15fe6b40946f8a741a81e 23-Jun-2011 Glenn Kasten <gkasten@google.com> Fix warnings for uninitialized local variables

Change-Id: Ic9b03b0fd215444e76c7b7bebb385f7831c557e0
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
10774791af82faacb12307d3d7d79c80afc96574 22-Jun-2011 Gloria Wang <gwang@google.com> Merge "Timed text display format support: 1. Extract 3GPP global format descriptions 2. Extract 3GPP local format descriptions 3. Define data structure (TimedText) for applications to retrieve the format metadata"
2a4592119fe1d303fff2f268fffe7a84f38f8027 22-Apr-2011 Martin Storsjo <martin@martin.st> stagefright: Only use __int64 on MSVC, not on all win32 compilers

Change-Id: I9eef7e1cb762753b792ab602333dc5a2fd8a173c
ibstagefright/codecs/common/include/voType.h
267dbd822ff060843ce409c0f1b50f6d5468ea31 22-Dec-2010 Martin Storsjo <martin@martin.st> stagefright aacenc: Make the mem_malloc function 64-bit safe

Change-Id: I720109133bf5e13388b26a3bdbd66ff1f5320b70
ibstagefright/codecs/aacenc/src/memalign.c
ea1b2a40def72caa03a40460bf04911b0d9b4d46 22-Dec-2010 Martin Storsjo <martin@martin.st> stagefright: Include stdlib.h for malloc/free

According to ANSI C, malloc/free are provided by stdlib.h.

Also, string.h is always available according to ANSI C, and provides
the memset function, so there's no need to include it conditionally
for linux only.

This makes the code buildable on OS X, too.

Change-Id: Ie5d1da02158797e7e45dea257cbe3e4996dde4db
ibstagefright/codecs/common/cmnMemory.c
3b573f7bf1c5736d500e39013b8d32478a1429e6 01-Jun-2011 Gloria Wang <gwang@google.com> Timed text display format support:
1. Extract 3GPP global format descriptions
2. Extract 3GPP local format descriptions
3. Define data structure (TimedText) for applications to
retrieve the format metadata

Change-Id: I6eac2a78df29ee15beee456656331fdd83b24e8e
ibstagefright/MPEG4Extractor.cpp
ibstagefright/timedtext/Android.mk
ibstagefright/timedtext/TextDescriptions.cpp
ibstagefright/timedtext/TextDescriptions.h
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
45c254c0c535e1d62f23d14cab7385d536c1e2bf 22-Jun-2011 James Dong <jdong@google.com> Add some error log messages to indicate the failure of a recording session

Change-Id: I8c5885200bcf6a59736076efc021f07f45a0fdac
ibstagefright/MPEG4Writer.cpp
6ef9a104959c1d15232fe3a319e4a270eed3ddb5 22-Jun-2011 James Dong <jdong@google.com> Merge "Timestamp adjustment will not work well if we ask video encoder to produce B frames"
f2ab12d0dcef27fd52dcae53221e9c51a369fef6 04-Jun-2011 James Dong <jdong@google.com> Timestamp adjustment will not work well if we ask video encoder to produce B frames

Change-Id: Ic6a2235fefb6f15081091e1f2c1b12ee92fba5e0
ibstagefright/MPEG4Writer.cpp
81eacb8bbf331501bb68c7f1fdd7ca1811b03f8f 21-Jun-2011 Andreas Huber <andih@google.com> Log an error instead of asserting if the OMX plugin reports an error.

Change-Id: I2bae80706495c5c5d4257cd607c2141c070c5ff9
ibstagefright/omx/OMXMaster.cpp
fb6c6167c81c6ade0956d05924eebdeeec65d973 21-Jun-2011 Andreas Huber <andih@google.com> Merge "Don't assert on malformed .mp4 content that contains fewer samples than"
440060f943d9dab6cc5060a6e3159e173d52d9f7 21-Jun-2011 James Dong <jdong@google.com> Merge "Boost software vp8 decoder performance using multi-threaded decoding if possible"
9067e30b3ccb3a07e41b61af22c036378053a9a3 21-Jun-2011 Andreas Huber <andih@google.com> Parse the individual segment's duration as a floating point number which is now

allowed in later HLS specs.

Change-Id: I7c8296acb4e9b0f80022f3057769de0eea9ee0c6
related-to-bug: 4779022
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/include/M3UParser.h
65a2670e84f44f6cdd80d625a7248fc65319ab8c 21-Jun-2011 Andreas Huber <andih@google.com> Don't assert on malformed .mp4 content that contains fewer samples than

described in the time-to-sample box.

Change-Id: Ic6f973212c15012a25f6e849759fd4f14d97e30f
related-to-bug: 4779053
ibstagefright/SampleTable.cpp
551e95607ce83c0d491a2c12cdae4aa92197dc2c 21-Jun-2011 Andreas Huber <andih@google.com> Merge "Restore legacy soft-aac decoder behaviour. Substitute silence on decode error."
3d1d7767afc7c488197ec40a22739159c5110721 21-Jun-2011 Mike Lockwood <lockwood@android.com> MTP: Add support for PTP variant of GetDeviceInfo result.

Change-Id: I09f86fda768b7697665e401adb9516588859bf59
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpServer.h
122baae2f2aedca38fab723f7ad672044b0ce413 21-Jun-2011 Andreas Huber <andih@google.com> Restore legacy soft-aac decoder behaviour. Substitute silence on decode error.

Change-Id: I680ccaabef32b1319819f723260cb3789585f09e
related-to-bug: 4579486
ibstagefright/codecs/aacdec/SoftAAC.cpp
c0fc64242a504a6c72670b0db2d648d2a3e208d2 21-Jun-2011 Andreas Huber <andih@google.com> Merge "OGG: To prevent mediaserver from crash by SIGFPE (divide by zero) and more guarding in getMetaData()."
8c67a583db53eebe65bd0c3abb41909c60a02eb0 20-Jun-2011 James Dong <jdong@google.com> Merge "When a recording session is stopped, no outstanding input video frames exist for the output buffers returned from OMX component to SF."
03168ed2f76e12e5dd41740697ea8206759924c1 20-Jun-2011 James Dong <jdong@google.com> When a recording session is stopped, no outstanding input video frames exist for the output buffers returned from OMX component to SF.

When this happens, default value of 0 will be used for the "decoding" time for these output buffers.
These buffers do not contain valid media data anyway.

related-to-bug: 4725803

Change-Id: I0eaf248bb2ac022ff072eaffd0ed3f21171f824e
ibstagefright/OMXCodec.cpp
f3ac3e3c94c14dbf1cdf6a4577f0b3aa8edfad06 18-Jun-2011 James Dong <jdong@google.com> Boost software vp8 decoder performance using multi-threaded decoding if possible

Change-Id: I7258c7d0cf91aa7c62444d03ed8bce96fb23d8ef
related-to-bug: 4539653
ibstagefright/codecs/on2/dec/SoftVPX.cpp
a6925e6149faf4a936a5b557a769d117454413d8 01-Jun-2011 Andreas Huber <andih@google.com> Parse RTP-Info even for live streams.

Change-Id: Ib2c39ce8d5366f5ea350e71b7a54f5f7c2b510b9
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
e6ebb09642944b1d0cc06a788308e9b843dee595 20-Jun-2011 Glenn Kasten <gkasten@google.com> Merge "Remove unneeded #include <sys/resource.h>"
f9fb13966a8e6ba039e88a46d096cd1cce2eb283 17-Jun-2011 Dongwon Kang <dwkang@google.com> OGG: To prevent mediaserver from crash by SIGFPE (divide by zero) and more guarding in getMetaData().

BUG:4689872
Change-Id: I483bf230b5571a8d1815b954dce2c52e9a5f1f37
ibstagefright/OggExtractor.cpp
31dab950e4ffeaaa33d39c2ca3d0b72fe028265c 18-Jun-2011 Mike Lockwood <lockwood@android.com> Merge "MTP: Fix some problems with GetObjectHandles and GetNumObjects commands"
dc3185e3e27b05e18c4ac34432a25a0c279ff351 17-Jun-2011 Mike Lockwood <lockwood@android.com> MTP: Fix some problems with GetObjectHandles and GetNumObjects commands

These calls did not correctly handle some variants of the arguments,
which showed up when running in PTP mode.

Change-Id: Iedbaefebfa39111c8bcaee7c6cc3820a65d6c98f
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
b5512a1bd218269de30e1d66bac55c81e227dc0c 18-Jun-2011 James Dong <jdong@google.com> Merge "Use system property to control whether we will enable B frame support in MPEG4Writer"
05e65807d48c2c7b954af82eda0532a48948e96a 18-Jun-2011 James Dong <jdong@google.com> Use system property to control whether we will enable B frame support in MPEG4Writer

o This is to work around a bug in crespo's video encoder output timestamp

related-to-bug: 4600191,4724339

Change-Id: I485c1e044bd2f604b318692efd6433345cfc6487
ibstagefright/MPEG4Writer.cpp
671a636931295d9c33ffca74551a804479d01241 17-Jun-2011 Eric Laurent <elaurent@google.com> Added audio_bytes_per_sample() helper function

Change-Id: Ibfcd75c4c241a53d5f052c25ada091904991048a
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
342484f01824ab45af953c7c9193b1e5ad6326de 17-Jun-2011 Eric Laurent <elaurent@google.com> Fix regression in audio effect factory

commit 0fb66c2 introduced a bug in EffectCreate() that prevents detection
of problems reported by the engine library upon effect creation.

Change-Id: I5bd2d42505ac29ab4a5768fd7f0c2ced135cf3e3
ibeffects/factory/EffectsFactory.c
b8e9897b8ad5d722e424d7a7e256153307ecbd93 15-Jun-2011 Glenn Kasten <gkasten@google.com> Remove unneeded #include <sys/resource.h>

Suggested in code review for previous change.

Change-Id: Ic3225b240367dc6c9bf56fb4498fb8a0f9f806ec
ibmedia/ToneGenerator.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibstagefright/AACWriter.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/omx/OMX.cpp
fce442c23e65fa1973947df683eec9a5c36057a5 15-Jun-2011 Kristian Monsen <kristianm@google.com> Merge "Merge chromium to r11.0.672.0: Compile fix"
7b92cb6aecba28927ed5d66ec1ba0a9f496477f0 15-Jun-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 4608375"
a307c3371987a864a4f066b84f9ffb8ab803b41f 15-Jun-2011 James Dong <jdong@google.com> Merge "Enforce the rule that the timestamp from timelapse video source monotically increases"
86106f8b0641444c97a39e9788eeef55ab2a2ac6 14-Jun-2011 Glenn Kasten <gkasten@google.com> Bug 4608375

Update priority and policy together for audio threads

Change-Id: Ib3b07b32586c222c4aacbf23414ae8b05db502be
ibstagefright/MPEG4Writer.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/omx/OMX.cpp
3f1545d22a71f960c9598a24e7e48ec16dd16267 14-Jun-2011 Dima Zavin <dima@android.com> Merge "audio: update for audio/audio_policy header names/locations"
1fc87828715ef5cda402f1960231621672f91513 14-Jun-2011 James Dong <jdong@google.com> Enforce the rule that the timestamp from timelapse video source monotically increases

Change-Id: Ie5ccb43e0192420300da58525ec52af7544e8e9e
ibstagefright/CameraSourceTimeLapse.cpp
7394a4f358fa9908a9f0a7c954b65c399f4268e6 14-Jun-2011 Dima Zavin <dima@android.com> audio: update for audio/audio_policy header names/locations

Change-Id: I36c49352eee57559403cd1597f56a8485a360289
Signed-off-by: Dima Zavin <dima@android.com>
ibmedia/AudioTrack.cpp
965e4239ca1cf6c824c1f8ce23116f9ba8cf6ebd 08-Jun-2011 James Dong <jdong@google.com> Add B frame support for MPEG4Writer

o requires the support of negative ctts duration values (ctts version 1)

Change-Id: Ib14130c9359c3bff3c76f20a7380d468a065dcaf
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
aaf95a50b2202acb14fa437d065afc611a9265ff 11-Jun-2011 James Dong <jdong@google.com> Merge "Avoid duplicated code calculating the stts sample duration"
62dfda30f41d33682ee96038c404ab59995684e0 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am 15e9d474: am 88748e6d: am d86302df: Quiet the log.

* commit '15e9d474d1033adbedc8632309df26c3d6dfaee3':
Quiet the log.
79761ab096f57c3027fad9556c2bc436672d614e 07-Jun-2011 James Dong <jdong@google.com> Avoid duplicated code calculating the stts sample duration

o This also speeds up the MediaRecorder.stop() call.
o Also fix incorrect start time compensation in stts box

Change-Id: I6392b8b980e0f786ddeeec0fe2c341de67208c6f
ibstagefright/MPEG4Writer.cpp
d5fee4df48a1a2d24219ef892230621396d9ab9d 10-Jun-2011 James Dong <jdong@google.com> Merge "Call storeMetaDataInVideoBuffers() before get/setParameters() on index OMX_IndexParamPortDefinition"
b8df88558caf8f66ce432974705afe00bf00928d 10-Jun-2011 James Dong <jdong@google.com> Merge "Correctly handle crop rect event in SoftAVC.cpp"
e94a0e6973735e34b743fb1eef609ddb2c2ff4f6 10-Jun-2011 Andreas Huber <andih@google.com> Merge "Make dumpsys(media.player) more useful by having AwesomePlayer populate it."
da494b94120bad138a2cc4eb7dac0557546ae519 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am 88748e6d: am d86302df: Quiet the log.

* commit '88748e6dc0151916f6bd19ffde8ba96fe8fd0a87':
Quiet the log.
870e9f714acdf680cdd32d1bfe849a90637d2ec5 10-Jun-2011 Marco Nelissen <marcone@google.com> am 6a91953c: am 90dc22fa: am a02d9bf9: Make sure we don\'t read from invalid fds

* commit '6a91953cc9bb8a48d867cc53e3cf5286d9a2f5ac':
Make sure we don't read from invalid fds
536fb67eac9e3a0acf2ae76ecd986323e4537fcd 10-Jun-2011 Dianne Hackborn <hackbod@google.com> am d86302df: Quiet the log.

* commit 'd86302df0eb5eb013f7521137eabdbfea4a3a867':
Quiet the log.
767ad02b2ca9e6ad02b8cf56098cffad52970642 10-Jun-2011 Dianne Hackborn <hackbod@google.com> Quiet the log.

Change-Id: Ie814b579997bb555eae014c22da0f41f1a46940f
ibmedia/MediaScanner.cpp
e9f6d0579603372fd2547e6c5ba6e114c6f8cba7 10-Jun-2011 James Dong <jdong@google.com> Fix an issue in MPEG4Writer where the write of outstanding chunks in the last batch was missing

Change-Id: I93c9f6ae7ed098cdf828b2b11a9273c9e0c244e3
ibstagefright/MPEG4Writer.cpp
abcd31d61be0542cdd60542081c7d7d3526bf987 10-Jun-2011 James Dong <jdong@google.com> Merge "Add timestamp and data pointer checks in CameraSource"
4c2e9437c6a0bdf7e166a6e3a0987ba41bf31889 09-Jun-2011 James Dong <jdong@google.com> am 2488a943: am e3b80c83: Merge "Revert "Add avg bandwidth estimate every 2 seconds - do not merge."" into honeycomb-mr2

* commit '2488a94350e0c0b088da2646557c9a0f3a0e9847':
Revert "Add avg bandwidth estimate every 2 seconds - do not merge."
695d014c6feb0751132e999082ebcb7e089a3245 09-Jun-2011 Conley Owens <cco3@android.com> am 644f36ea: am d8b027b1: Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"

* commit '644f36eab4eb9911ad897c9caae68b9c5a72388f':
stagefright aacenc/amrwbenc: Convert line breaks to Unix style
dab863f7585a2b2c2e10119afd7c4bab1e920afd 09-Jun-2011 Conley Owens <cco3@android.com> am d8b027b1: Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"

* commit 'd8b027b18f5a922ef729c6ee363eecb053358d47':
stagefright aacenc/amrwbenc: Convert line breaks to Unix style
635dbf9f98fe65734aff8a3f4786987525882d71 09-Jun-2011 James Dong <jdong@google.com> am e3b80c83: Merge "Revert "Add avg bandwidth estimate every 2 seconds - do not merge."" into honeycomb-mr2

* commit 'e3b80c838753fe8c9049950216c6379098465810':
Revert "Add avg bandwidth estimate every 2 seconds - do not merge."
8d9a6e7b93ca96d6cf0f201ff5b139423e4d1d1f 09-Jun-2011 James Dong <jdong@google.com> Merge "Revert "Add avg bandwidth estimate every 2 seconds - do not merge."" into honeycomb-mr2
cbaae3bfbd3a96aef34bb996e9e11945e18fdfc8 09-Jun-2011 Marco Nelissen <marcone@google.com> am 90dc22fa: am a02d9bf9: Make sure we don\'t read from invalid fds

* commit '90dc22fa09c4cddb94926b8a8f08fd3d0a404f7f':
Make sure we don't read from invalid fds
639ffaca514deb9de538bc2dc6e712380db68fd3 09-Jun-2011 James Dong <jdong@google.com> Correctly handle crop rect event in SoftAVC.cpp

Width and height of the video frame was incorrectly overwritten when a cropping need was detected. Using a separate
crop width and crop height resolves the problem.

Change-Id: I8a371c7fe7f8417a7995d7a7fe231120274ea0c8
related-to-bug: 4575591
ibstagefright/codecs/on2/h264dec/SoftAVC.cpp
ibstagefright/codecs/on2/h264dec/SoftAVC.h
2c32a92c84445d312b0dee4c82f84c036f2ca651 09-Jun-2011 Conley Owens <cco3@android.com> Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"
30215039c4089648da02193981f6443776f2389a 09-Jun-2011 Marco Nelissen <marcone@google.com> am a02d9bf9: Make sure we don\'t read from invalid fds

* commit 'a02d9bf9c3ff22cd449da21ff7c23170488ebd8e':
Make sure we don't read from invalid fds
2bb7e36e78521f49d2550aab34b34c25c23f7435 09-Jun-2011 Marco Nelissen <marcone@google.com> Make sure we don't read from invalid fds

b/4580570

Change-Id: I622f001551a404a7a840d8388a9febac2db107ad
ibstagefright/HTTPStream.cpp
a0b1d4b161599c2bb2a47119e50c51e75bbe980e 08-Jun-2011 Andreas Huber <andih@google.com> Make dumpsys(media.player) more useful by having AwesomePlayer populate it.

Change-Id: I12ba7d542331a8293d67a0d47378b8be4f777759
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
103487c0cb5c06f47225484486a98bc84745a059 08-Jun-2011 Andreas Huber <andih@google.com> This device-specific workaround is no longer necessary.

We can now enable yuv->yuv blitting instead of converting to RGB565.

Change-Id: Ia6a94b706f20a0c9e6ef78a7325cff4f5bb216b8
related-to-bug: 4394005
ibstagefright/colorconversion/Android.mk
ibstagefright/colorconversion/SoftwareRenderer.cpp
f6e1ff257eb3c4f98587170d0c6367bf58cfb115 08-Jun-2011 James Dong <jdong@google.com> Call storeMetaDataInVideoBuffers() before get/setParameters() on index OMX_IndexParamPortDefinition

This can potentially save lot of memory for video recording use case since the video encoder
can advertise a much smaller size of the input buffers which are allocated by SF by default.

Change-Id: I582a356cd02c7852e13f2713d90ad5f1eb43177d
ibstagefright/OMXCodec.cpp
64125da2f3b76f2d88bb757cb6bf5bd5e29a0639 07-Jun-2011 Kristian Monsen <kristianm@google.com> Merge chromium to r11.0.672.0: Compile fix

Cause by upstream CL:
http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_context.h?r1=70592&r2=71522&pathrev=74924

Change-Id: Iada1639b7a38cee963644437e8e3f4f5708d6136
ibstagefright/chromium_http/support.cpp
ibstagefright/chromium_http/support.h
5ffc7628f0efa122207eec86473c3e23dbd17445 07-Jun-2011 James Dong <jdong@google.com> Merge "Fix the comment for the location box @xyz"
d048e38a50fcf5b47f557346bb2624c250011ae7 06-Jun-2011 Glenn Kasten <gkasten@google.com> Merge "Remove dead code related to gettid"
d5623ca906f64cc257cd695abd2a6b52b085f65f 04-Jun-2011 James Dong <jdong@google.com> Merge "Move OMX_QCOM_COLOR_FormatYVU420SemiPlanar definition to OMX_IVCommon.h"
20214f3908a6f085ea531c65496347953e2d25b6 04-Jun-2011 James Dong <jdong@google.com> Merge "Initial-checkin for ON2 Software AVC/H264 decoder"
98cfde007490a5903b729a4718c0dada755ae8f8 04-Jun-2011 James Dong <jdong@google.com> Add timestamp and data pointer checks in CameraSource

Change-Id: I99e188f631df2257813aa7ec657d6ecfc8859d9e
ibstagefright/CameraSource.cpp
432ec3768cc4a3b1b01afedc456689d75c89ee2b 04-Jun-2011 James Dong <jdong@google.com> Fix the comment for the location box @xyz

Change-Id: I5347e346eef40a8ba90e7a3fa786b4654d18606b
ibstagefright/MPEG4Writer.cpp
0512ab559d4670c2204078470d7ef5d376811c57 05-May-2011 Glenn Kasten <gkasten@google.com> Remove dead code related to gettid

The gettid system call is always available now.

Change-Id: Ib78b41781eda182dc8605daf456bbea7ff7c2dc0
ibmedia/AudioSystem.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/JetPlayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MidiFile.cpp
57ca262f8d1c0aabeea294ddb53e4db172fc6bec 03-Jun-2011 James Dong <jdong@google.com> Move OMX_QCOM_COLOR_FormatYVU420SemiPlanar definition to OMX_IVCommon.h

Change-Id: I5cbc7246a63301fa7ff735fa3d6512e940608d2b
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/colorconversion/ColorConverter.cpp
158b194da537c18a6ad1d7ef3cd63c87b2310269 02-Jun-2011 Andreas Huber <andih@google.com> Merge "Don't advertise the (old-style) software decoders unless they're actually present."
2f0a8405f00a6e2e7e9f1cc47ac803ac01d5dfd5 02-Jun-2011 Andreas Huber <andih@google.com> Don't advertise the (old-style) software decoders unless they're actually present.

Change-Id: I3753a21e1a7de86432c9c087be9d52028e3a1e1b
ibstagefright/OMXCodec.cpp
0c1bc742181ded4930842b46e9507372f0b1b963 01-Jun-2011 James Dong <jdong@google.com> Initial-checkin for ON2 Software AVC/H264 decoder

o when neon is present, the performance gain of On2 AVC software decoder
over PV software decoder is more than 30%.

o In addition, it fixes some known PV software decoder issues like missing
output frames

o allow both pv and on2 software avc to be available for easy comparision

o change output frames from 8 to 16

Change-Id: I567ad1842025ead7092f0c47e3513d6d9ca232dd
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/on2/h264dec/Android.mk
ibstagefright/codecs/on2/h264dec/SoftAVC.cpp
ibstagefright/codecs/on2/h264dec/SoftAVC.h
ibstagefright/codecs/on2/h264dec/inc/H264SwDecApi.h
ibstagefright/codecs/on2/h264dec/inc/basetype.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/ARM_DELIVERY.TXT
ibstagefright/codecs/on2/h264dec/omxdl/arm11/ARM_MANIFEST.TXT
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM_BitDec_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM_Bitstream.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM_IDCTTable.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM_IDCT_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM_MaskTable.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM_Version.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armCOMM_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/armOMX.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/omxtypes.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/api/omxtypes_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/build_vc.pl
ibstagefright/codecs/on2/h264dec/omxdl/arm11/filelist_vc.txt
ibstagefright/codecs/on2/h264dec/omxdl/arm11/src/armCOMM.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/src/armCOMM_Bitstream.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/src/armCOMM_IDCTTable.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/src/armCOMM_MaskTable.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/armVC.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/armVCCOMM_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/omxVC.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/omxVC_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/comm/src/omxVCCOMM_Copy16x16_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/comm/src/omxVCCOMM_Copy8x8_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/comm/src/omxVCCOMM_ExpandFrame_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/api/armVCM4P10_CAVLCTables.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_Average_4x_Align_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_CAVLCTables.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_DeblockingChroma_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_DeblockingLuma_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_DecodeCoeffsToPair_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_DequantTables_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_InterpolateLuma_Align_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_InterpolateLuma_Copy_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_InterpolateLuma_DiagCopy_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfDiagHorVer4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfDiagVerHor4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfHor4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfVer4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_Interpolate_Chroma_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_QuantTables_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_TransformResidual4x4_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/armVCM4P10_UnpackBlock4x4_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_DeblockChroma_I.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_DeblockLuma_I.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_DecodeChromaDcCoeffsToPairCAVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_DecodeCoeffsToPairCAVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_InterpolateChroma.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_InterpolateLuma_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_PredictIntraChroma_8x8_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_PredictIntra_16x16_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_PredictIntra_4x4_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_TransformDequantChromaDCFromPair_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/omxVCM4P10_TransformDequantLumaDCFromPair_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/api/armVCM4P2_Huff_Tables_VLC.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/api/armVCM4P2_ZigZag_Tables.h
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/armVCM4P2_Clip8_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/armVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/armVCM4P2_Huff_Tables_VLC.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/armVCM4P2_Lookup_Tables.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/armVCM4P2_SetPredDir_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/armVCM4P2_Zigzag_Tables.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_DecodeBlockCoef_Inter.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_DecodeBlockCoef_Intra.c
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_DecodePadMV_PVOP_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_Inter_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_IntraACVLC_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_IntraDCVLC_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_FindMVpred_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_IDCT8x8blk_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_MCReconBlock_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_PredictReconCoefIntra_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_QuantInvInter_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/omxVCM4P2_QuantInvIntra_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm11/vc/src/armVC_Version.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/ARM_DELIVERY.TXT
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/ARM_MANIFEST.TXT
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM_BitDec_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM_Bitstream.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM_IDCTTable.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM_IDCT_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM_MaskTable.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM_Version.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armCOMM_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/armOMX.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/omxtypes.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/omxtypes_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/build_vc.pl
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/filelist_vc.txt
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/armCOMM.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/armCOMM_Bitstream.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/armCOMM_IDCTTable.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/armCOMM_MaskTable.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/armVC.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/armVCCOMM_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/omxVC.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/omxVC_s.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/comm/src/omxVCCOMM_Copy16x16_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/comm/src/omxVCCOMM_Copy8x8_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/comm/src/omxVCCOMM_ExpandFrame_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/api/armVCM4P10_CAVLCTables.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_Average_4x_Align_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_CAVLCTables.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_DeblockingChroma_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_DeblockingLuma_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_DecodeCoeffsToPair_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_DequantTables_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_InterpolateLuma_Align_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_InterpolateLuma_Copy_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_InterpolateLuma_DiagCopy_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfDiagHorVer4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfDiagVerHor4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfHor4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_InterpolateLuma_HalfVer4x4_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_Interpolate_Chroma_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_QuantTables_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_TransformResidual4x4_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/armVCM4P10_UnpackBlock4x4_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_DeblockChroma_I.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_DeblockLuma_I.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_DecodeChromaDcCoeffsToPairCAVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_DecodeCoeffsToPairCAVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_InterpolateChroma.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_InterpolateLuma_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_PredictIntraChroma_8x8_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_PredictIntra_16x16_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_PredictIntra_4x4_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_TransformDequantChromaDCFromPair_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/omxVCM4P10_TransformDequantLumaDCFromPair_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_Average_4x_Align_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_DeblockingChroma_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_DeblockingLuma_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_DecodeCoeffsToPair_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_DequantTables_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_InterpolateLuma_Align_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_InterpolateLuma_Copy_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_InterpolateLuma_DiagCopy_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_InterpolateLuma_HalfDiagHorVer4x4_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_InterpolateLuma_HalfDiagVerHor4x4_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_InterpolateLuma_HalfHor4x4_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_InterpolateLuma_HalfVer4x4_unsafe_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_Interpolate_Chroma_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_QuantTables_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_TransformResidual4x4_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_UnpackBlock4x4_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_DeblockLuma_I.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_DequantTransformResidualFromPairAndAdd_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_InterpolateLuma_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_PredictIntraChroma_8x8_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_PredictIntra_16x16_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_PredictIntra_4x4_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_TransformDequantChromaDCFromPair_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/omxVCM4P10_TransformDequantLumaDCFromPair_s.S
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/api/armVCM4P2_Huff_Tables_VLC.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/api/armVCM4P2_ZigZag_Tables.h
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/armVCM4P2_Clip8_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/armVCM4P2_DecodeVLCZigzag_AC_unsafe_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/armVCM4P2_Huff_Tables_VLC.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/armVCM4P2_Lookup_Tables.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/armVCM4P2_SetPredDir_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/armVCM4P2_Zigzag_Tables.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_DecodeBlockCoef_Inter.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_DecodeBlockCoef_Intra.c
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_DecodePadMV_PVOP_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_Inter_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_IntraACVLC_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_IntraDCVLC_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_FindMVpred_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_IDCT8x8blk_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_MCReconBlock_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_PredictReconCoefIntra_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_QuantInvInter_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/omxVCM4P2_QuantInvIntra_I_s.s
ibstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/src/armVC_Version.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/ARM_DELIVERY.TXT
ibstagefright/codecs/on2/h264dec/omxdl/reference/ARM_MANIFEST.TXT
ibstagefright/codecs/on2/h264dec/omxdl/reference/api/armCOMM.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/api/armCOMM_Bitstream.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/api/armCOMM_Version.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/api/armOMX.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/api/omxtypes.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/build_vc.pl
ibstagefright/codecs/on2/h264dec/omxdl/reference/filelist_vc.txt
ibstagefright/codecs/on2/h264dec/omxdl/reference/src/armCOMM.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/src/armCOMM_Bitstream.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/armVC.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/omxVC.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/armVCCOMM_Average.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/armVCCOMM_SAD.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_Average_16x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_Average_8x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_ComputeTextureErrorBlock.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_ComputeTextureErrorBlock_SAD.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_Copy16x16.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_Copy8x8.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_ExpandFrame_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_LimitMVToRect.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_SAD_16x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/omxVCCOMM_SAD_8x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/api/armVCM4P10_CAVLCTables.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_CAVLCTables.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_CompareMotionCostToMV.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_DeBlockPixel.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_DecodeCoeffsToPair.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_DequantTables.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_FwdTransformResidual4x4.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_InterpolateHalfDiag_Luma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_InterpolateHalfHor_Luma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_InterpolateHalfVer_Luma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_Interpolate_Chroma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_Interpolate_Luma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_PredictIntraDC4x4.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_QuantTables.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_SADQuar.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_TransformResidual4x4.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_UnpackBlock2x2.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/armVCM4P10_UnpackBlock4x4.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_Average_4x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_BlockMatch_Half.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_BlockMatch_Integer.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_BlockMatch_Quarter.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_DeblockChroma_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_DeblockLuma_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_DecodeChromaDcCoeffsToPairCAVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_DecodeCoeffsToPairCAVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_DequantTransformResidualFromPairAndAdd.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_FilterDeblockingChroma_HorEdge_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_FilterDeblockingChroma_VerEdge_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_FilterDeblockingLuma_HorEdge_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_FilterDeblockingLuma_VerEdge_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_GetVLCInfo.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_InterpolateChroma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_InterpolateHalfHor_Luma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_InterpolateHalfVer_Luma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_InterpolateLuma.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_InvTransformDequant_ChromaDC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_InvTransformDequant_LumaDC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_InvTransformResidualAndAdd.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_MEGetBufSize.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_MEInit.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_MotionEstimationMB.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_PredictIntraChroma_8x8.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_PredictIntra_16x16.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_PredictIntra_4x4.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_SADQuar_16x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_SADQuar_4x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_SADQuar_8x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_SAD_4x.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_SATD_4x4.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_SubAndTransformQDQResidual.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_TransformDequantChromaDCFromPair.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_TransformDequantLumaDCFromPair.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_TransformQuant_ChromaDC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/omxVCM4P10_TransformQuant_LumaDC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/api/armVCM4P2_DCT_Table.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/api/armVCM4P2_Huff_Tables_VLC.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/api/armVCM4P2_ZigZag_Tables.h
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_ACDCPredict.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_BlockMatch_Half.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_BlockMatch_Integer.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_CheckVLCEscapeMode.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_CompareMV.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_DCT_Table.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_DecodeVLCZigzag_intra.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_EncodeVLCZigzag_intra.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_FillVLCBuffer.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_FillVLDBuffer.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_GetVLCBits.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_Huff_Tables_VLC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_PutVLCBits.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_SetPredDir.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/armVCM4P2_Zigzag_Tables.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_BlockMatch_Half_16x16.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_BlockMatch_Half_8x8.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_BlockMatch_Integer_16x16.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_BlockMatch_Integer_8x8.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_DCT8x8blk.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_DecodeBlockCoef_Inter.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_DecodeBlockCoef_Intra.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_DecodePadMV_PVOP.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_Inter.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_IntraACVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_DecodeVLCZigzag_IntraDCVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_EncodeMV.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_EncodeVLCZigzag_Inter.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_EncodeVLCZigzag_IntraACVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_FindMVpred.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_IDCT8x8blk.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_MCReconBlock.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_MEGetBufSize.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_MEInit.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_MotionEstimationMB.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_PredictReconCoefIntra.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_QuantInter_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_QuantIntra_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_QuantInvInter_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_QuantInvIntra_I.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_TransRecBlockCoef_inter.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/omxVCM4P2_TransRecBlockCoef_intra.c
ibstagefright/codecs/on2/h264dec/omxdl/reference/vc/src/armVC_Version.c
ibstagefright/codecs/on2/h264dec/source/DecTestBench.c
ibstagefright/codecs/on2/h264dec/source/EvaluationTestBench.c
ibstagefright/codecs/on2/h264dec/source/H264SwDecApi.c
ibstagefright/codecs/on2/h264dec/source/TestBenchMultipleInstance.c
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_chroma_hor.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_chroma_hor_ver.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_chroma_ver.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_hor_half.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_hor_quarter.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_hor_ver_quarter.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_mid_hor.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_ver_half.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/h264bsd_interpolate_ver_quarter.s
ibstagefright/codecs/on2/h264dec/source/arm11_asm/win_asm.bat
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm/h264bsdClearMbLayer.s
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm/h264bsdCountLeadingZeros.s
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm/h264bsdFillRow7.s
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm/h264bsdFlushBits.s
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm/h264bsdWriteMacroblock.s
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/asm_common.S
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/h264bsdClearMbLayer.S
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/h264bsdCountLeadingZeros.S
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/h264bsdFillRow7.S
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/h264bsdFlushBits.S
ibstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/h264bsdWriteMacroblock.S
ibstagefright/codecs/on2/h264dec/source/h264bsd_byte_stream.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_byte_stream.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_cavlc.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_cavlc.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_cfg.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_conceal.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_conceal.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_container.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_deblocking.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_deblocking.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_decoder.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_decoder.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_dpb.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_dpb.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_image.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_image.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_inter_prediction.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_inter_prediction.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_intra_prediction.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_intra_prediction.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_macroblock_layer.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_macroblock_layer.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_nal_unit.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_nal_unit.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_neighbour.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_neighbour.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_pic_order_cnt.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_pic_order_cnt.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_pic_param_set.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_pic_param_set.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_reconstruct.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_reconstruct.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_sei.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_sei.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_seq_param_set.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_seq_param_set.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_slice_data.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_slice_data.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_slice_group_map.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_slice_group_map.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_slice_header.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_slice_header.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_storage.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_storage.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_stream.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_stream.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_transform.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_transform.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_util.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_util.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_vlc.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_vlc.h
ibstagefright/codecs/on2/h264dec/source/h264bsd_vui.c
ibstagefright/codecs/on2/h264dec/source/h264bsd_vui.h
ibstagefright/omx/SoftOMXPlugin.cpp
92a746c3b18d035189f596ce32847bf26247aaca 02-Jun-2011 James Dong <jdong@google.com> Merge "Do not call getEstimatedBandwidth if the streaming is not HTTP-based"
b33d2ac90cfce0fe6db8c3e979e7ae2bbfc28163 02-Jun-2011 James Dong <jdong@google.com> Do not call getEstimatedBandwidth if the streaming is not HTTP-based

Change-Id: I4ab6c57e5b2b989676b8dfbb98402d10a5752261
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/include/NuCachedSource2.h
84f03d564ac868924e6ddbff88418fe94f1d3e53 02-Jun-2011 Andreas Huber <andih@google.com> am 8050a02b: DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pending recv/send calls.

* commit '8050a02b0130f0ba2e2ddfc240aa59029ee2ac6d':
DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pending recv/send calls.
c6854100cea4fcd0f20cb2ac8235c02d1849b3a1 02-Jun-2011 Glenn Kasten <gkasten@google.com> Remove unnecessary level of priority indirection

Change-Id: I942d43973c20a7ace8b0d3f78b4da97e45e996c6
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
26e0ac2f3849f97fa5f37b13f97a9b24b05ed6c5 26-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pending recv/send calls.

Change-Id: Iaee1821257a25a5257d93c9f5ba3976748cad619
related-to-bug: 3362836, 4439092
ibstagefright/HTTPStream.cpp
d217a8c4632b3e3065f8c2a26b9ce4dc4c97171f 02-Jun-2011 Glenn Kasten <gkasten@google.com> Revert "Use AudioTrack::event_type not int in callback"

This reverts commit 2225e4b7049fa3fb9d39a068b8268b63c952d7c1
ibmedia/ToneGenerator.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/AudioPlayer.cpp
013b5a67d6f8e12a1b06e74863daec1bee4d99c1 05-May-2011 Glenn Kasten <gkasten@google.com> Use AudioTrack::event_type not int in callback

Change-Id: Ifefc708d46874e04fd0d01cb6e2d43b987ee796c
ibmedia/ToneGenerator.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/AudioPlayer.cpp
8a72c54e74eb365971288a81687e5c2aa47963e7 01-Jun-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "Use channel mask instead of channel count for track creation"
0d255b2d9061ba31f13ada3fc0f7e51916407176 25-May-2011 Jean-Michel Trivi <jmtrivi@google.com> Use channel mask instead of channel count for track creation

Record and playback objects (resp AudioRecord and AudioTrack)
are created using a channel mask, but this information is lost
in the mixer because only the channel count is known to
AudioFlinger. A channel count can always be derived from a
channel mask.

The change consists in:
- disambiguiting variable names for channel masks and counts
- passing the mask information from the client to AudioFlinger
and the mixer.
- when using the DIRECT ouput, only verifying the format of
the track is compatible with the output's for PCM.

Change-Id: I50d87bfb7d7afcabdf5f12d4ab75ef3a54132c0e
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmediaplayerservice/MediaPlayerService.cpp
5b1b8a93a07326f1cbc627f09e02988375189e0a 26-May-2011 James Dong <jdong@google.com> Send estimated bandwidth value as informational event when cache fetcher pauses

o Application can make informed decision about the available network bandwidth
when cache fetcher pauses.

o Application can also adjust how frequently the bandwidth is estimated within
a range from one second to one minute.

Change-Id: I90068001343e79da1886de03c565537787e1580b
ibstagefright/AwesomePlayer.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/ChromiumHTTPDataSource.h
ibstagefright/include/HTTPBase.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/NuHTTPDataSource.h
65580f9adf6c4d98449ad0716488f9fe3869aa5a 28-May-2011 Eric Laurent <elaurent@google.com> Removed interface to load audio effects libraries

Removed unused functions allowing dynamic loading of audio effects libraries
from effects factory API.

Change-Id: I06cc5a51dc10aca87c7a8687bbb874babd711eca
ibeffects/factory/EffectsFactory.c
ibmedia/AudioEffect.cpp
ibmedia/IAudioFlinger.cpp
e1315cf0b63b4c14a77046519e6b01f6f60d74b0 18-May-2011 Eric Laurent <elaurent@google.com> New effect library API

Moved and renamed media/EffectApi.h to hardware/audio_effect.h
Modified the effect library API to expose a library info structure
containing an interface functions table.
Also removed enums for audio channels, audio format and devices
from effect API and use values from system/audio.h instead.

Modified effects factory to support new library interface format and
load libraries and efffects listed in audio_effects.conf file.
The file audio_effects.conf is first loaded from /vendor/etc and
then from /system/etc/audio_effects.conf if not found.

Modified existing effect libraries to implement the new library interface.

Change-Id: Ie52351e071b6d352fa2fbc06c3846686f8c45df9
ibeffects/data/audio_effects.conf
ibeffects/factory/EffectsFactory.c
ibeffects/factory/EffectsFactory.h
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/testlibs/Android.mk_
ibeffects/testlibs/AudioFormatAdapter.h
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/testlibs/EffectReverb.h
ibeffects/visualizer/EffectVisualizer.cpp
a3e73df3b402f1ebdbef7c8a8e3111d852e7bd35 26-May-2011 James Dong <jdong@google.com> Merge "Extract embedded cover art (aka poster frame) in mp4 files"
2de4113c10975648ad9d1cffa45847870a0d01b3 26-May-2011 James Dong <jdong@google.com> am c004a0c9: am 05e13b9e: am c1ded373: Merge "Revert "Use pread() to get the decrypted data for container based DRM file."" into honeycomb-mr2

* commit 'c004a0c925ea2c9c48bbf9670d2ebf96f432c90a':
Revert "Use pread() to get the decrypted data for container based DRM file."
515e855eae78aa495da58356486aaa666cb57fd1 26-May-2011 James Dong <jdong@google.com> Extract embedded cover art (aka poster frame) in mp4 files

Change-Id: Ic9421ee27b9aa3b27df00878b887de20f25d232b
ibstagefright/MPEG4Extractor.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
8d91237333c60c4a6839358109265e8847df23f3 26-May-2011 Andreas Huber <andih@google.com> Merge "Support mpeg1,2 audio and mpeg1,2,4 video content extraction from .ts streams."
ecc0840163093942f3418aa4b27e9279c187b173 26-May-2011 Gloria Wang <gwang@google.com> Merge "For out of band timed text support (timed text in a separate file)."
965d08ba16ee82bc85f69546360c18e7da907406 11-May-2011 Gloria Wang <gwang@google.com> For out of band timed text support (timed text in a separate file).

Change-Id: I9e024a63eb9bf6f839deee3c7766a66e63126c96
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/TimedTextPlayer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/TimedTextPlayer.h
ibstagefright/timedtext/Android.mk
ibstagefright/timedtext/TimedTextParser.cpp
ibstagefright/timedtext/TimedTextParser.h
ibstagefright/timedtext/TimedTextPlayer.cpp
ibstagefright/timedtext/TimedTextPlayer.h
386d609dc513e838c7e7c4c46c604493ccd560be 19-May-2011 Andreas Huber <andih@google.com> Support mpeg1,2 audio and mpeg1,2,4 video content extraction from .ts streams.

Change-Id: I9d2ee63495f161e30daba7c3aab16cb9d8ced6a5
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/ACodec.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/avc_utils.cpp
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/include/MP3Extractor.h
ibstagefright/include/avc_utils.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
ibstagefright/rtsp/APacketSource.cpp
a2b2c9f9661a54e431430b029ce76332c6914f0b 25-May-2011 James Dong <jdong@google.com> am c1ded373: Merge "Revert "Use pread() to get the decrypted data for container based DRM file."" into honeycomb-mr2

* commit 'c1ded373951f8bd489401e93f2dd512ff9705a49':
Revert "Use pread() to get the decrypted data for container based DRM file."
ade8c2d682d4f8c9424dece53e39400c237d22bf 25-May-2011 James Dong <jdong@google.com> Merge "Convert line breaks to Unix style"
f29f13077582425c242a36565bd71130fedf3cd0 25-May-2011 James Dong <jdong@google.com> Revert "Use pread() to get the decrypted data for container based DRM file."

This reverts commit a6f1104b9d829c636b60b9387e379f9667b5df09.
ibstagefright/NuHTTPDataSource.cpp
fa855e0e46fc706a2120bc4659aaeaf2ef395a4d 25-May-2011 Kristian Monsen <kristianm@google.com> Merge "Merge chromium to 10.0.634.0: Compile fix"
a533975a8e3bb741948750a68a2c962a48777fe0 25-May-2011 Kristian Monsen <kristianm@google.com> Merge chromium to 10.0.634.0: Compile fix

base/thread.h moved to base/threading/thread.h:
http://codereview.chromium.org/6028009

Change-Id: I4a7dd04055ed931f6bc2c6b63255f3832d0c78bd
ibstagefright/chromium_http/support.cpp
931db87f8fd6fa1fd5b918f3b1fc107e8dca2e0e 25-May-2011 Andreas Huber <andih@google.com> Merge "Make sure all references to the decoder plugin are accounted for"
90d99759c4607106adcf1dbcc8546aedb2ff089f 25-May-2011 Andreas Huber <andih@google.com> Merge "Make sure the software mpeg4 decoder supports multiple input frames per input buffer"
5a65e30064dc8dffa4f3d868f1c46038972c40c5 25-May-2011 Andreas Huber <andih@google.com> Make sure all references to the decoder plugin are accounted for

before calling dlunload().

Change-Id: I59aa1d19edf566b8a86a6f73b1c2eeb47c96b0de
related-to-bug: 4466387
ibstagefright/include/SimpleSoftOMXComponent.h
ibstagefright/include/SoftOMXComponent.h
ibstagefright/omx/SimpleSoftOMXComponent.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
f2af5a2c607e71ff4cd39da28b077c0a68b206fe 24-May-2011 Andreas Huber <andih@google.com> Make sure the software mpeg4 decoder supports multiple input frames per input buffer

to enable faster throughput in ACodec.

Change-Id: I6f6a1c70d9446f9d52c3df257b2d22358b0e71f4
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
68cb8cfaaf4d01125397ff3bea30603bdc5001d4 24-May-2011 Jeffrey Tinker <jtinker@google.com> am c41a17de: am 6e5cdca1: am ef89cc14: Merge "Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038" into honeycomb-mr2

* commit 'c41a17de2b2e80f246adeef4962073916dcfff0b':
Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038
9eff287f4f59d6a0c9ca1d5dd8a7bb6e64acf5a4 24-May-2011 James Dong <jdong@google.com> resolved conflicts for merge of d5762583 to master

Change-Id: Icba2bcdbc9f967288a65c930b198405fd8566abd
b1d713703b00dc972ceb2a655d5bac72381f303d 24-May-2011 Jeffrey Tinker <jtinker@google.com> am ef89cc14: Merge "Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038" into honeycomb-mr2

* commit 'ef89cc14957ab631346564801841190346632ac9':
Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038
8331a49259adf0529dc41ba66fc88fbe5af95129 24-May-2011 Jeffrey Tinker <jtinker@google.com> Merge "Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038" into honeycomb-mr2
cd0b0fe858a9f109281031717d5c0001953b9054 22-May-2011 Jeffrey Tinker <jtinker@google.com> Multi-repository checkin, goes with https://android-git.corp.google.com/g/111038

Fix for b/4198446 HC - Support for Widevine Adaptive VOD

Change-Id: Ia777c80825e3416bab6ae6273fba46a194135e60
ibstagefright/WVMExtractor.cpp
ibstagefright/include/WVMExtractor.h
003f6d613698484869476f01aa3fe2c28d3120bc 23-May-2011 James Dong <jdong@google.com> am a5293d1c: Add some logging to track down where ANR happens during MediaPlayer._release().

* commit 'a5293d1ca4459293f4993ea39c09ea703a022844':
Add some logging to track down where ANR happens during MediaPlayer._release().
37b2d62df28a1f8e9489ee8adad030a3d24213d7 20-May-2011 James Dong <jdong@google.com> Add some logging to track down where ANR happens during MediaPlayer._release().

o add a log message in AwesomePlayer::reset before acquiring the lock

Change-Id: I9f228f615f99c03c394e9d0dd78c855c0b9fcfbb
related-to-bug: 4409547
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
e2e838afcf03e603a41a0455846eaf9614537c16 22-Apr-2011 Mans Rullgard <mans@mansr.com> Convert line breaks to Unix style

Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
ibstagefright/codecs/aacenc/SampleCode/AAC_E_SAMPLES.c
ibstagefright/codecs/aacenc/basic_op/basic_op.h
ibstagefright/codecs/aacenc/basic_op/basicop2.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.h
ibstagefright/codecs/aacenc/basic_op/typedef.h
ibstagefright/codecs/aacenc/basic_op/typedefs.h
ibstagefright/codecs/aacenc/inc/aac_rom.h
ibstagefright/codecs/aacenc/inc/aacenc_core.h
ibstagefright/codecs/aacenc/inc/adj_thr.h
ibstagefright/codecs/aacenc/inc/adj_thr_data.h
ibstagefright/codecs/aacenc/inc/band_nrg.h
ibstagefright/codecs/aacenc/inc/bit_cnt.h
ibstagefright/codecs/aacenc/inc/bitbuffer.h
ibstagefright/codecs/aacenc/inc/bitenc.h
ibstagefright/codecs/aacenc/inc/block_switch.h
ibstagefright/codecs/aacenc/inc/channel_map.h
ibstagefright/codecs/aacenc/inc/config.h
ibstagefright/codecs/aacenc/inc/dyn_bits.h
ibstagefright/codecs/aacenc/inc/grp_data.h
ibstagefright/codecs/aacenc/inc/interface.h
ibstagefright/codecs/aacenc/inc/line_pe.h
ibstagefright/codecs/aacenc/inc/memalign.h
ibstagefright/codecs/aacenc/inc/ms_stereo.h
ibstagefright/codecs/aacenc/inc/pre_echo_control.h
ibstagefright/codecs/aacenc/inc/psy_configuration.h
ibstagefright/codecs/aacenc/inc/psy_const.h
ibstagefright/codecs/aacenc/inc/psy_data.h
ibstagefright/codecs/aacenc/inc/psy_main.h
ibstagefright/codecs/aacenc/inc/qc_data.h
ibstagefright/codecs/aacenc/inc/qc_main.h
ibstagefright/codecs/aacenc/inc/quantize.h
ibstagefright/codecs/aacenc/inc/sf_estim.h
ibstagefright/codecs/aacenc/inc/spreading.h
ibstagefright/codecs/aacenc/inc/stat_bits.h
ibstagefright/codecs/aacenc/inc/tns.h
ibstagefright/codecs/aacenc/inc/tns_func.h
ibstagefright/codecs/aacenc/inc/tns_param.h
ibstagefright/codecs/aacenc/inc/transform.h
ibstagefright/codecs/aacenc/src/aac_rom.c
ibstagefright/codecs/aacenc/src/aacenc.c
ibstagefright/codecs/aacenc/src/aacenc_core.c
ibstagefright/codecs/aacenc/src/adj_thr.c
ibstagefright/codecs/aacenc/src/asm/ARMV5E/AutoCorrelation_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/CalcWindowEnergy_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/PrePostMDCT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/R4R8First_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/Radix4FFT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/band_nrg_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/PrePostMDCT_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/R4R8First_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/Radix4FFT_v7.s
ibstagefright/codecs/aacenc/src/band_nrg.c
ibstagefright/codecs/aacenc/src/bit_cnt.c
ibstagefright/codecs/aacenc/src/bitbuffer.c
ibstagefright/codecs/aacenc/src/bitenc.c
ibstagefright/codecs/aacenc/src/block_switch.c
ibstagefright/codecs/aacenc/src/channel_map.c
ibstagefright/codecs/aacenc/src/dyn_bits.c
ibstagefright/codecs/aacenc/src/grp_data.c
ibstagefright/codecs/aacenc/src/interface.c
ibstagefright/codecs/aacenc/src/line_pe.c
ibstagefright/codecs/aacenc/src/ms_stereo.c
ibstagefright/codecs/aacenc/src/pre_echo_control.c
ibstagefright/codecs/aacenc/src/psy_configuration.c
ibstagefright/codecs/aacenc/src/psy_main.c
ibstagefright/codecs/aacenc/src/qc_main.c
ibstagefright/codecs/aacenc/src/quantize.c
ibstagefright/codecs/aacenc/src/sf_estim.c
ibstagefright/codecs/aacenc/src/spreading.c
ibstagefright/codecs/aacenc/src/stat_bits.c
ibstagefright/codecs/aacenc/src/tns.c
ibstagefright/codecs/aacenc/src/transform.c
ibstagefright/codecs/amrwbenc/SampleCode/AMRWB_E_SAMPLE.c
ibstagefright/codecs/amrwbenc/inc/acelp.h
ibstagefright/codecs/amrwbenc/inc/basic_op.h
ibstagefright/codecs/amrwbenc/inc/bits.h
ibstagefright/codecs/amrwbenc/inc/cnst.h
ibstagefright/codecs/amrwbenc/inc/cod_main.h
ibstagefright/codecs/amrwbenc/inc/dtx.h
ibstagefright/codecs/amrwbenc/inc/grid100.tab
ibstagefright/codecs/amrwbenc/inc/ham_wind.tab
ibstagefright/codecs/amrwbenc/inc/homing.tab
ibstagefright/codecs/amrwbenc/inc/isp_isf.tab
ibstagefright/codecs/amrwbenc/inc/lag_wind.tab
ibstagefright/codecs/amrwbenc/inc/log2.h
ibstagefright/codecs/amrwbenc/inc/log2_tab.h
ibstagefright/codecs/amrwbenc/inc/main.h
ibstagefright/codecs/amrwbenc/inc/math_op.h
ibstagefright/codecs/amrwbenc/inc/mem_align.h
ibstagefright/codecs/amrwbenc/inc/mime_io.tab
ibstagefright/codecs/amrwbenc/inc/oper_32b.h
ibstagefright/codecs/amrwbenc/inc/p_med_o.h
ibstagefright/codecs/amrwbenc/inc/p_med_ol.tab
ibstagefright/codecs/amrwbenc/inc/q_gain2.tab
ibstagefright/codecs/amrwbenc/inc/q_pulse.h
ibstagefright/codecs/amrwbenc/inc/qisf_ns.tab
ibstagefright/codecs/amrwbenc/inc/qpisf_2s.tab
ibstagefright/codecs/amrwbenc/inc/stream.h
ibstagefright/codecs/amrwbenc/inc/typedef.h
ibstagefright/codecs/amrwbenc/inc/typedefs.h
ibstagefright/codecs/amrwbenc/inc/wb_vad.h
ibstagefright/codecs/amrwbenc/inc/wb_vad_c.h
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Deemph_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Dot_p_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Filt_6k_7k_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Syn_filt_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/cor_h_vec_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/pred_lt4_1_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/residu_asm_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/scale_sig_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/syn_filt_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Deemph_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Dot_p_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Filt_6k_7k_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Syn_filt_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/cor_h_vec_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/pred_lt4_1_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/scale_sig_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/syn_filt_neon.s
ibstagefright/codecs/amrwbenc/src/autocorr.c
ibstagefright/codecs/amrwbenc/src/az_isp.c
ibstagefright/codecs/amrwbenc/src/bits.c
ibstagefright/codecs/amrwbenc/src/c2t64fx.c
ibstagefright/codecs/amrwbenc/src/c4t64fx.c
ibstagefright/codecs/amrwbenc/src/cmnMemory.c
ibstagefright/codecs/amrwbenc/src/convolve.c
ibstagefright/codecs/amrwbenc/src/cor_h_x.c
ibstagefright/codecs/amrwbenc/src/decim54.c
ibstagefright/codecs/amrwbenc/src/deemph.c
ibstagefright/codecs/amrwbenc/src/dtx.c
ibstagefright/codecs/amrwbenc/src/g_pitch.c
ibstagefright/codecs/amrwbenc/src/gpclip.c
ibstagefright/codecs/amrwbenc/src/homing.c
ibstagefright/codecs/amrwbenc/src/hp400.c
ibstagefright/codecs/amrwbenc/src/hp50.c
ibstagefright/codecs/amrwbenc/src/hp6k.c
ibstagefright/codecs/amrwbenc/src/hp_wsp.c
ibstagefright/codecs/amrwbenc/src/int_lpc.c
ibstagefright/codecs/amrwbenc/src/isp_az.c
ibstagefright/codecs/amrwbenc/src/isp_isf.c
ibstagefright/codecs/amrwbenc/src/lag_wind.c
ibstagefright/codecs/amrwbenc/src/levinson.c
ibstagefright/codecs/amrwbenc/src/log2.c
ibstagefright/codecs/amrwbenc/src/lp_dec2.c
ibstagefright/codecs/amrwbenc/src/math_op.c
ibstagefright/codecs/amrwbenc/src/oper_32b.c
ibstagefright/codecs/amrwbenc/src/p_med_ol.c
ibstagefright/codecs/amrwbenc/src/pit_shrp.c
ibstagefright/codecs/amrwbenc/src/pitch_f4.c
ibstagefright/codecs/amrwbenc/src/pred_lt4.c
ibstagefright/codecs/amrwbenc/src/preemph.c
ibstagefright/codecs/amrwbenc/src/q_gain2.c
ibstagefright/codecs/amrwbenc/src/q_pulse.c
ibstagefright/codecs/amrwbenc/src/qisf_ns.c
ibstagefright/codecs/amrwbenc/src/qpisf_2s.c
ibstagefright/codecs/amrwbenc/src/random.c
ibstagefright/codecs/amrwbenc/src/residu.c
ibstagefright/codecs/amrwbenc/src/scale.c
ibstagefright/codecs/amrwbenc/src/stream.c
ibstagefright/codecs/amrwbenc/src/syn_filt.c
ibstagefright/codecs/amrwbenc/src/updt_tar.c
ibstagefright/codecs/amrwbenc/src/util.c
ibstagefright/codecs/amrwbenc/src/voAMRWBEnc.c
ibstagefright/codecs/amrwbenc/src/voicefac.c
ibstagefright/codecs/amrwbenc/src/wb_vad.c
ibstagefright/codecs/amrwbenc/src/weight_a.c
ibstagefright/codecs/common/Config.mk
ibstagefright/codecs/common/cmnMemory.c
ibstagefright/codecs/common/include/cmnMemory.h
ibstagefright/codecs/common/include/voAAC.h
ibstagefright/codecs/common/include/voAMRWB.h
ibstagefright/codecs/common/include/voAudio.h
ibstagefright/codecs/common/include/voIndex.h
ibstagefright/codecs/common/include/voType.h
8294aac281863e584027c3f2c7d2007c4140bf24 20-May-2011 Gloria Wang <gwang@google.com> am 4d8ceada: am dbfd055d: am a6f1104b: Use pread() to get the decrypted data for container based DRM file. For bug 4392094.

* commit '4d8ceada09441f43a98f5c7dadde9192e7d6abf9':
Use pread() to get the decrypted data for container based DRM file. For bug 4392094.
ff2e0968976f26612b34f7a88e6e1e4ed1cd277b 20-May-2011 Gloria Wang <gwang@google.com> am a6f1104b: Use pread() to get the decrypted data for container based DRM file. For bug 4392094.

* commit 'a6f1104b9d829c636b60b9387e379f9667b5df09':
Use pread() to get the decrypted data for container based DRM file. For bug 4392094.
fa6efe7757a41f7125fc49312230283b63618111 20-May-2011 Gloria Wang <gwang@google.com> Use pread() to get the decrypted data for container based DRM file.
For bug 4392094.

Change-Id: Icc64a26c5b413313cc35dcd02d60484dc8245dfb
ibstagefright/NuHTTPDataSource.cpp
b127de057abe04876d18db3d371854035a395c58 20-May-2011 Kristian Monsen <kristianm@google.com> Merge "Merge Chromium at 10.0.621.0: Fixes for libstagefreight"
a03838331660ca2c0aa8283a7c00ef607db0cfee 19-May-2011 James Dong <jdong@google.com> Revert "Add avg bandwidth estimate every 2 seconds - do not merge."

This reverts commit ec78f551b575b0274cbe796f8e08a9df1a706680.
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuHTTPDataSource.h
e39350924f4e743ec04cc9640526e06990c8cbda 19-May-2011 James Dong <jdong@google.com> resolved conflicts for merge of a8939e0d to master

Change-Id: I090479ed09618e1aa3685ca79e16202d9c82f523
5348dc86f3ac3cebebcda271cf990dbcc87f5a7f 19-May-2011 James Dong <jdong@google.com> am d148a499: Merge "Using widevine:// to stream adaptive bitrate wvm content no longer" into honeycomb-mr2

* commit 'd148a499c27145e0473f89ece0500ebed38f875f':
Using widevine:// to stream adaptive bitrate wvm content no longer
5a4e4804aa5340a4cf7ef4250d31fd901f53ddb2 19-May-2011 James Dong <jdong@google.com> Merge "Using widevine:// to stream adaptive bitrate wvm content no longer" into honeycomb-mr2
b5746d9058c3e81a195f82f5345e1ffe0a26c0b2 18-May-2011 Andreas Huber <andih@google.com> Properly forward rotation information from input format to output format.

The software renderer would otherwise never rotate videos as it only has access to
the decoder's output format.

Change-Id: If893c0c23d0e85a3d9d4eb94390a114af5514b1c
ibstagefright/OMXCodec.cpp
fdce3778fbb3dd91ebc4d5fff9fd85fe8991d049 18-May-2011 Gloria Wang <gwang@google.com> am 07e9267d: Merge "DO NOT MERGE For bug 4422428 Squashed commit of the following:" into honeycomb-mr2

* commit '07e9267d33bb199d0a2b8de221c64541bdf2465a':
DO NOT MERGE For bug 4422428 Squashed commit of the following:
3a0c5e310103946115dc28fa22d23e236ff0213f 18-May-2011 Gloria Wang <gwang@google.com> Merge "DO NOT MERGE For bug 4422428 Squashed commit of the following:" into honeycomb-mr2
e55147f462e04d41bff7ead6e9ea61a5b83bda4b 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Properly negate all values

Initially, input values -32768 weren't negated properly.

This was committed on the master branch of the opencore
repository in commit f532d145194e474cb30d8644b8eee83873ad24cc,
based on AOSP contribution 10906.

Change-Id: I903353c5539a8fe94b7fc5f26b95eaeac57df5f4
ibstagefright/codecs/amrnb/enc/src/set_sign.cpp
773f457645786b139fa8fe180ef27e78ad7ab2f9 17-May-2011 Martin Storsjo <martin@martin.st> stagefright amrnb: Fix a bug on architectures where long is 64 bit

Initially, this code gave a warning "comparison is always
false due to limited range of data type" if long was 64 bit.
Additionally, the output from the AMR encoder was mostly noise.

This was committed on the master branch of the opencore
repository in commit f532d145194e474cb30d8644b8eee83873ad24cc,
based on AOSP contribution 10904.

Change-Id: I822dcc74beeae548d3032ffda759de9c8cd1fcfe
ibstagefright/codecs/amrnb/common/src/az_lsp.cpp
2cf9c5073ca3342ee52673ad68763fadd2c2be79 18-May-2011 James Dong <jdong@google.com> Revert "Add const to the finders method in MetaData.cpp"

This reverts commit 78fed171d9d62b25aa846d7373a7040e3fd2241e.

Conflicts:

include/media/stagefright/MPEG4Writer.h

Change-Id: Ie6f497f67a473ad95b50bb949c1aa49e1804bac3
ibstagefright/MPEG4Writer.cpp
ibstagefright/MetaData.cpp
07ec01904613a0bac32caaa8444b4690998faed7 14-May-2011 James Dong <jdong@google.com> Make track informational event optional, depending on system property

o also add a track informational event to return the encoded data in kilo-bytes

Change-Id: I7c383360d57048c8a3606d0b8141ba53e4f4b224
ibstagefright/MPEG4Writer.cpp
44ade918fd2e82db86a2f0aeb49229950e78822b 17-May-2011 Andreas Huber <andih@google.com> am c56e81c8: Merge "DO NOT MERGE: Properly construct the ESDS metadata even if sizeof(codec-specific-data) != 2" into honeycomb-mr2

* commit 'c56e81c88706d79ce51a314b5bfd3e247ca6f86c':
DO NOT MERGE: Properly construct the ESDS metadata even if sizeof(codec-specific-data) != 2
70361bfe567cc86343126a7ca2f92cb109711aa0 17-May-2011 Andreas Huber <andih@google.com> Merge "DO NOT MERGE: Properly construct the ESDS metadata even if sizeof(codec-specific-data) != 2" into honeycomb-mr2
58fb39120c633e3b8aa31b8f0a78e8efc193d59d 17-May-2011 Andreas Huber <andih@google.com> Claim support for .3gpp2 A/B files.

Change-Id: I16dd3dcb93a50b3c808ae710d0ba4757c89ab9c8
related-to-bug: 4406745
ibstagefright/MPEG4Extractor.cpp
3778838eee9470825bea7e5bad376f1dc9a94392 17-May-2011 Andreas Huber <andih@google.com> Disable yuv->yuv mode and external display support until various driver fixes are in.

Change-Id: Ib3838f779afc87caca7d78e18a5d72d2971ee306
ibstagefright/colorconversion/Android.mk
ibstagefright/colorconversion/SoftwareRenderer.cpp
3d0de325381b66880626357f6b68ea09da0a9dda 17-May-2011 Andreas Huber <andih@google.com> Merge "Instead of using an RGB surface and conversion yuv420->rgb565"
4bbaa8808ebc6ebe6488210f2cef70c18eb06028 16-May-2011 Mike Lockwood <lockwood@android.com> resolved conflicts for merge of b107f4de to master

Change-Id: I0290c8517562bcbba7ac1f6ed358011c8e7e250e
9e9bcb2c0c8e28291775138344cc687b3e6e92ef 16-May-2011 Mike Lockwood <lockwood@android.com> am 15afd076: Merge "MTP: Have GetStorageInfo command return correct storage type for removable storage" into honeycomb-mr2

* commit '15afd076d6070374cbb4f9dcbe28dda67caa0718':
MTP: Have GetStorageInfo command return correct storage type for removable storage
7efab4282a7179b2f53a3dbccee3e70d7fce6a7f 10-May-2011 Mike Lockwood <lockwood@android.com> MTP: Have GetStorageInfo command return correct storage type for removable storage

Change-Id: I09b548483c12080e7d77970babcae2eef379f2f4
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpStorage.cpp
tp/MtpStorage.h
a4a1d9b8e4e218b75ffa2d5e155d1f9fbf008877 16-May-2011 Andreas Huber <andih@google.com> Merge "Fix module tags on stagefright software decoders."
a920660c2ae1548471c40c664ed3ac01b87c57b6 16-May-2011 Andreas Huber <andih@google.com> Fix module tags on stagefright software decoders.

Change-Id: I8b3f60760e1e8eaa0f66eb6c7ce3df8e425638fb
related-to-bug: 4427361
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/avc/dec/Android.mk
ibstagefright/codecs/g711/dec/Android.mk
ibstagefright/codecs/m4v_h263/dec/Android.mk
ibstagefright/codecs/mp3dec/Android.mk
ibstagefright/codecs/on2/dec/Android.mk
ibstagefright/codecs/vorbis/dec/Android.mk
86b7f47aa7482424cf8fd248f1315311919be3b0 10-May-2011 James Dong <jdong@google.com> Support platform and camera dependent recording start time offset

related-to-bug: 4390777

Change-Id: Icb52973ad4ac716f04fb103ef527915a966d06d5
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/MPEG4Writer.cpp
9b1e4f1a18ac2489e24b4272a0a7ccfd0018efcc 14-May-2011 James Dong <jdong@google.com> Merge "Add support for platform-specific recording start time offset"
07b1bb529a1ae76c46a71b01338c166f9490629d 12-May-2011 James Dong <jdong@google.com> Support for storing geo information in the recorded mp4/3gpp file.

o Geo data (latitude and longitude) is stored in udta box

Change-Id: I76e4aeb741c4b339f3753d3d28190151f3ea4919
related-to-bug: 4260295
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/MPEG4Writer.cpp
2352f4854a5cbfb4ba180f1c19f3e9a3b2315327 13-May-2011 Gloria Wang <gwang@google.com> DO NOT MERGE
For bug 4422428
Squashed commit of the following:

commit ae2e13783db2284f40d3891e70e152dab941edfc
Author: Gloria Wang <gwang@google.com>
Date: Fri May 13 11:43:11 2011 -0700

Add one more DRM error code. For bug 4422428.

Change-Id: I4e333f474c96c0e0f162dde4013ad32b336bebd6

commit 0f88249d0cb5221f622cf1d1ac3cdccefb8f58a2
Author: Gloria Wang <gwang@google.com>
Date: Fri Apr 29 10:44:46 2011 -0700

Add DRM errors in the DRM frameworks to MediaErrors also.
For bug 4350156.

Change-Id: Ib5711ec642178a49203a448b7f5114e675d49394

Change-Id: Ia02de462159400eef8c015d28531bf1dd6796a18
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
b5212db69734962f55e1493d3e696794172ced51 13-May-2011 James Dong <jdong@google.com> Track id really starts with 1, not 0

Change-Id: I55dcfdc2dc2a64285dfa93024f7b885210cc827e
ibstagefright/MPEG4Writer.cpp
cd45ccddb00662f2af8409b895fbcdd0434da8b1 13-May-2011 Kristian Monsen <kristianm@google.com> Merge Chromium at 10.0.621.0: Fixes for libstagefreight

URLRequest is now a member of the net namespace.
HttpCache constructor has a new argument, which is a CertVerifier()

Change-Id: I21d524938868b2e37993838f4fbb8447b02c3606
ibstagefright/chromium_http/support.cpp
ibstagefright/chromium_http/support.h
64760240f931714858a59c1579f07264d7182ba2 11-May-2011 Dima Zavin <dima@android.com> update for new audio.h header location

Change-Id: Ic4c62c4037800802427eb7d3c7f5eb8b25d18876
Signed-off-by: Dima Zavin <dima@android.com>
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioPolicyService.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
b84d042a1216694e1db6b1fc2b053d348cab5593 12-May-2011 Andreas Huber <andih@google.com> Merge "A fix to the MPEG4Extractor to support 16-bit sample sizes."
9f753df58a70f20db220af31cb202bbd21b30f36 12-May-2011 Andreas Huber <andih@google.com> A fix to the MPEG4Extractor to support 16-bit sample sizes.

Change-Id: Ic531f1ff0dd171f6f14aaad56aacbf3952a3aeae
ibstagefright/SampleTable.cpp
00f4951088805442e86ff9c2a20ddad79fc2410a 11-May-2011 Andreas Huber <andih@google.com> The decoder wrapper is no longer needed. Also disable building old-style decoders.

Change-Id: Ie022f1a6dffe619c1b0385aa13f63e097282cfe4
ibmediaplayerservice/nuplayer/Android.mk
ibmediaplayerservice/nuplayer/DecoderWrapper.cpp
ibmediaplayerservice/nuplayer/DecoderWrapper.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.h
ibstagefright/Android.mk
bbba88cb1bdc34705d1477208990a06904c022e7 11-May-2011 Andreas Huber <andih@google.com> Squashed commit of the following:

commit c80992e419ed567abef451042f09c4958534b90d
Author: Andreas Huber <andih@google.com>
Date: Wed May 11 14:00:07 2011 -0700

Support for the mp3 audio decoder as a software OMX component.

Change-Id: I66e10c4d0be4c3aecdef1c21b15a2c7359ceb807

commit a358d0e1bf2a88897887445f42ccdda0f5f2f528
Author: Andreas Huber <andih@google.com>
Date: Wed May 11 13:11:23 2011 -0700

Support for G.711 alaw and mulaw decoders as software OMX components

Change-Id: Ia5c76c02cb83a9f94ce39a27b2251e5880218f03

commit 79088b9c9a5c8b8c97ea66cb4f90a2b0f0d34553
Author: Andreas Huber <andih@google.com>
Date: Thu May 5 15:43:32 2011 -0700

Instead of using an RGB surface and conversion yuv420->rgb565

convert from OMX_COLOR_FormatYUV420Planar to HAL_PIXEL_FORMAT_YV12 instead.

Change-Id: I8c4fc3c54c963f0d4ba6377f3c4ab4e0013152e5
related-to-bug: 4394005

commit 69469d3bd84425777b11b9fc938c5e0c61af26a7
Author: Andreas Huber <andih@google.com>
Date: Tue May 10 15:46:42 2011 -0700

voip mustn't link against libstagefright.so

Change-Id: I4d0ba9a8b9dc9380b792a1bd04bcda231964862c

commit 2a9a9eeeeeb36ae3a9e680469c3016d509ff08c3
Author: Andreas Huber <andih@google.com>
Date: Tue May 10 14:37:10 2011 -0700

Remove most non-OMX software decoders by default

Change-Id: Ic56514bc1b56b8fa952e8c4a164ea7379ecb69d0

commit a4de62c37b335c318217765403a9fb282b20a216
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 16:50:02 2011 -0700

Conditionally build the old-style software decoders.

Change-Id: I5de609e1d76c92d26d6eb81d1551462258f3f15f

commit 5d8b039f9449dc3dad1e77c42c80cc0b54b0c846
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 16:13:12 2011 -0700

Support for MPEG4 and H.263 video decoders as soft OMX components.

Change-Id: I5e3a4835afab89f98e3aa128d013628f5830eafe

commit b25a1bfbeb0ff6e62e1cc694ce2599c91489c7d0
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 11:49:10 2011 -0700

Boost Soft OMX thread priority, fix timestamp handling in vorbis Soft OMX decoder.

Change-Id: I68d26d4999f06fcc451d69e5303663fab0cba9e8

commit c0574362f8dc3319ce84d981097867062a698527
Author: Andreas Huber <andih@google.com>
Date: Mon May 9 11:28:53 2011 -0700

Support for the AMR decoders (NB and WB) as Soft OMX components.

Change-Id: Ia565f59833fb52653e23f26536e7e41fc329a754

commit 3e5575a8f0e27a490cb7bde77bd9456087837f08
Author: Andreas Huber <andih@google.com>
Date: Wed May 4 13:41:25 2011 -0700

Signal an error if the aac decoder failed to initialize from codec specific data.

Change-Id: I01da7831bdf722edd7d6dc5974486daa2cf2b209
related-to-bug: 4272179

commit f94aeaa9886e772ff4823e671ed237096649f4af
Author: Andreas Huber <andih@google.com>
Date: Tue May 3 13:07:38 2011 -0700

Software OMX nodes don't (yet?) support native_window mode.

Change-Id: I7d9ca9164ef4abf66b573ca21dba12d672f8b12d

commit eefdfabac8dc659e00daa56da69aea705c49cb67
Author: Andreas Huber <andih@google.com>
Date: Tue May 3 12:57:16 2011 -0700

Fixing the OMX tests to refer to appropriate files from test content.

Change-Id: I5b61c3498749bfb876abbd3946a5132356e3f6ff

commit f31b7326aef14b6a1b7946520a9688f092e844d5
Author: Andreas Huber <andih@google.com>
Date: Tue May 3 11:08:38 2011 -0700

Soft OMX components are now dynamiclly loaded/unloaded, not directly linked against.

Change-Id: I1e2ecfbfab67a8869886f738eaf0c7b3c948b6d9

commit b7f0343879e4df06f0a1c9bfece24df557954e2f
Author: Andreas Huber <andih@google.com>
Date: Mon May 2 15:58:36 2011 -0700

Support for the AVC software decoder as an OMX component.

Change-Id: I13c12df435ba4afbd968a9fc659f66b91c818bc2

commit 5bb9e616d6c8e1b13d531fe996b9a9affdfb2977
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 12:05:37 2011 -0700

Fix Vorbis OMX decoder's component role.

Change-Id: I5e871e5e11b3f951c93590210e63fd7987c467b5

commit 089c91f2333062e196c7afd5fb0ca914878aa474
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 12:05:18 2011 -0700

Support vorbis_decoder OMX testing.

Change-Id: I1985be178a12ae3f8768bc72067d9236238be170

commit 56e241fa36fc37219bc536b823bdc2ab82dc1fad
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 12:01:46 2011 -0700

SoftVorbis OMX component now respects the number of valid frames per page.

Change-Id: I82a117a064d9b083fc58a54ad900a987a763ef03

commit fcd618ec520c376fdb78f4cbb44b8d9f5d213e2b
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 10:59:38 2011 -0700

Support for the vorbis audio decoder as a soft OMX component.

Change-Id: Iaeb057e58ca306d3dce205c0445b74d5aefef492

commit d1fcc3203fc8003ad79c6e96b3a1fc4261743f16
Author: Andreas Huber <andih@google.com>
Date: Fri Apr 29 10:07:50 2011 -0700

VPX decoder now properly resizes buffers after a port settings change.

Change-Id: I110749a31b6cba087891d8e5dfe420830bdbf831

commit 35c7168243cb69849d88911144a2c7fdfed5c54e
Author: Andreas Huber <andih@google.com>
Date: Thu Apr 28 13:23:34 2011 -0700

Support for the VPX video decoder as a Software OMX component.

Change-Id: Ic345add2d6d768d4af631160153f2e9b97fcea71

commit 923b2534b4211fc5405377b5190bfa6f2dd27f32
Author: Andreas Huber <andih@google.com>
Date: Thu Apr 28 11:34:40 2011 -0700

Table-based registration of soft omx components.

Change-Id: I7f45f0fa5b3a7950776e69c66349731f7674e937

commit 04a88f3edb2266a463da9c4481b80178be460902
Author: Andreas Huber <andih@google.com>
Date: Thu Apr 28 11:22:31 2011 -0700

Apparently OMX_GetParameter is valid in any state other than OMX_StateInvalid

OMX_SetParameter is still constrained to OMX_StateLoaded or a disabled port.

Change-Id: I1032d7cf4011982d306aa369d4158a82830d26fb

commit 9d70ca68445e7c40f5c9b2d12466e468f514de88
Author: Andreas Huber <andih@google.com>
Date: Wed Apr 27 15:03:18 2011 -0700

Use the new soft OMX aac decoder for HTTP live playback.

Change-Id: Ifbcfb732a9edb855cb46b49f6d0ac942170ee28f

commit 213fe4a10ea93cce08e8622dc3908053f29878a1
Author: Andreas Huber <andih@google.com>
Date: Tue Apr 12 16:39:45 2011 -0700

Foundation for supporting software decoders as OMX components

Change-Id: I7fdab256563b35d1d090617abaea9a26b198d816

Change-Id: I83e9236beed4af985d10333c203f065df9e09a42
ibstagefright/ACodec.cpp
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacdec/SoftAAC.cpp
ibstagefright/codecs/aacdec/SoftAAC.h
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/amrnb/dec/SoftAMR.cpp
ibstagefright/codecs/amrnb/dec/SoftAMR.h
ibstagefright/codecs/amrwb/AMRWBDecoder.cpp
ibstagefright/codecs/amrwb/src/mime_io.cpp
ibstagefright/codecs/amrwb/src/pvamrwbdecoder.h
ibstagefright/codecs/avc/dec/Android.mk
ibstagefright/codecs/avc/dec/SoftAVC.cpp
ibstagefright/codecs/avc/dec/SoftAVC.h
ibstagefright/codecs/g711/dec/Android.mk
ibstagefright/codecs/g711/dec/SoftG711.cpp
ibstagefright/codecs/g711/dec/SoftG711.h
ibstagefright/codecs/m4v_h263/dec/Android.mk
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
ibstagefright/codecs/m4v_h263/dec/SoftMPEG4.h
ibstagefright/codecs/mp3dec/Android.mk
ibstagefright/codecs/mp3dec/SoftMP3.cpp
ibstagefright/codecs/mp3dec/SoftMP3.h
ibstagefright/codecs/on2/dec/Android.mk
ibstagefright/codecs/on2/dec/SoftVPX.cpp
ibstagefright/codecs/on2/dec/SoftVPX.h
ibstagefright/codecs/vorbis/dec/Android.mk
ibstagefright/codecs/vorbis/dec/SoftVorbis.cpp
ibstagefright/codecs/vorbis/dec/SoftVorbis.h
ibstagefright/include/SimpleSoftOMXComponent.h
ibstagefright/include/SoftOMXComponent.h
ibstagefright/omx/Android.mk
ibstagefright/omx/OMXMaster.cpp
ibstagefright/omx/OMXMaster.h
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/OMXPVCodecsPlugin.cpp
ibstagefright/omx/OMXPVCodecsPlugin.h
ibstagefright/omx/SimpleSoftOMXComponent.cpp
ibstagefright/omx/SoftOMXComponent.cpp
ibstagefright/omx/SoftOMXPlugin.cpp
ibstagefright/omx/SoftOMXPlugin.h
ibstagefright/omx/tests/OMXHarness.cpp
6e9fd1a24da7e9d7cabf0079a4291647154f8e39 11-May-2011 Andreas Huber <andih@google.com> Merge "Leave the number of output buffers up to surface flinger and friends."
4f4bedbfcbd443c9d0041a1e353d558fe6900757 11-May-2011 Andreas Huber <andih@google.com> Leave the number of output buffers up to surface flinger and friends.

Change-Id: Iebb90f45793793aeb08d1cf9706e29a7cefae792
ibstagefright/colorconversion/SoftwareRenderer.cpp
df659ac173b247b4ad440fb2979ff51ff45e0aa4 11-May-2011 Andreas Huber <andih@google.com> Make sure the ogg extractor returns appropriate error codes.

Change-Id: I36cbf58aa6fa9195e1cc052f91e1183f57069d03
ibstagefright/OggExtractor.cpp
681755fc0d0797506456f46a2a10555916d6be32 21-Apr-2011 Andreas Huber <andih@google.com> Using widevine:// to stream adaptive bitrate wvm content no longer

uses stagefright's http cache but defers caching to the WVMExtractor, which
now has the responsibility of reporting buffer status/duration.

Change-Id: Ieec64a20203977fd0a61d0c6834da124de78bfa2
related-to-bug: 4390283
ibstagefright/AwesomePlayer.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/WVMExtractor.h
c0dfc5b02d4179769bbdd25c10d430576ec09568 10-May-2011 Andreas Huber <andih@google.com> Properly honour any pending seek request when reading the first buffer after

starting the audio player.

Change-Id: Ibedc1804a8c444e4d0f5be4eb87b22ed5d2c367d
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
0f056290cb16763453f18bbef80cde673041dbbc 10-May-2011 James Dong <jdong@google.com> Add support for platform-specific recording start time offset

o This start time offset is used in the media framework to eliminate
the recording sound in the recorded file.

Change-Id: I97926a74f0743b8a4f985d51334e8d1486a318ea
related-to-bug: 4390777
ibmedia/MediaProfiles.cpp
70ccfd44c4bfe95ddecc2df6c3695efc48229d72 06-May-2011 James Dong <jdong@google.com> Add send session recording summary report to application

Change-Id: I9c63ddae432f0c93486c39776ed0a058a8649602
ibstagefright/MPEG4Writer.cpp
4650ff0e86f9e815e3152a806a06c700418d071d 09-May-2011 James Dong <jdong@google.com> Add const to the finders method in MetaData.cpp

o also fixed the MPEG4Writer writeFtypBox() to take a const pointer to MetaData

Change-Id: Iaecdbe6aeab345f6dc72aac0d19f9704b6e0d28a
ibstagefright/MPEG4Writer.cpp
ibstagefright/MetaData.cpp
43ec1dfc5dc3934680a52a026c5519ddc51bdbd3 06-May-2011 James Dong <jdong@google.com> Add end of recording summary track info

Change-Id: I2fcf589e70db225776ef7c8d0f28505ceb824c45
related-to-bug: 1854633
ibstagefright/MPEG4Writer.cpp
b21c564ce47041f9dd3ab65e36fed57c4937a42d 07-May-2011 James Dong <jdong@google.com> Refactor MPEG4Writer::writeTrackHeader() method

o most of the mp4 file boxes has its own method now
TODO: remove some of the duplicated code for esds box, for instance.

Change-Id: Iae3dbb2410b79bc79aaee081b80569d339993c47
ibstagefright/MPEG4Writer.cpp
5e97c8861ef81d07cf1e304c1c1bed09b84513d4 06-May-2011 Andreas Huber <andih@google.com> Instead of using an RGB surface and conversion yuv420->rgb565

convert from OMX_COLOR_FormatYUV420Planar to HAL_PIXEL_FORMAT_YV12 instead.

Change-Id: I8c4fc3c54c963f0d4ba6377f3c4ab4e0013152e5
related-to-bug: 4394005
ibstagefright/colorconversion/SoftwareRenderer.cpp
d7be5c5e812ad79d4838737a5e4dd81a8d776a0d 06-May-2011 Andreas Huber <andih@google.com> Color conversion now supports YUV420p->RGB565 conversion even if the width is odd.

Change-Id: I1ef3ead94eab3811ead8830e104a9dad211ae3fd
related-to-bug: 4363071
ibstagefright/colorconversion/ColorConverter.cpp
83e90762e0ce4470e5174ae3b38afdfca0b9e42f 04-May-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Properly construct the ESDS metadata even if sizeof(codec-specific-data) != 2

Change-Id: Ie711ea8d6956fa8370c78e23bf795325627164d1
related-to-bug: 4381047
ibstagefright/matroska/MatroskaExtractor.cpp
593aebaedc4bfaa72c92a8ce470543b67838d86f 04-May-2011 James Dong <jdong@google.com> Merge "Initial check-in for AACWriter"
760943b5e7a09b602aba04ec451e97662f48b0a4 21-Mar-2011 James Dong <jdong@google.com> Initial check-in for AACWriter

Change-Id: Ia21ca39a404484b2dda25c6101780d2ff11c4623

related-to-bug: 4211046
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AACWriter.cpp
ibstagefright/Android.mk
ibstagefright/codecs/aacenc/AACEncoder.cpp
59633a1e0ae968a90367718fb21716c32d73af04 04-May-2011 Andreas Huber <andih@google.com> Signal an error if aac decoding fails early.

Change-Id: I8b886a7642aaf83fa008fefb38cb4f92267ca948
related-to-bug: 4272179
ibstagefright/codecs/aacdec/AACDecoder.cpp
87ae62f327eb155a595ab6400e924667fd50a852 04-May-2011 Andreas Huber <andih@google.com> Merge "Fix potential memory corruption in NuCachedSource2."
67802977b6f0aa8d6f14f85dadcf32a3cadb9c07 04-May-2011 Andreas Huber <andih@google.com> Fix potential memory corruption in NuCachedSource2.

Change-Id: Ia6bd2d4966287228a3ac1b067ee1f1ccad965dbb
related-to-bug: 4354845
ibstagefright/NuCachedSource2.cpp
82ac8bf2da940c4439786c346f739f4a496864ad 04-May-2011 Andreas Huber <andih@google.com> Properly construct the ESDS metadata even if sizeof(codec-specific-data) != 2

Change-Id: I3dc50e6e447668ac8b8c2956329352635750a2cd
related-to-bug: 4381047
ibstagefright/matroska/MatroskaExtractor.cpp
89dc0dffdcbf0999a854a9b1bbea8f56395cc209 04-May-2011 Gloria Wang <gwang@google.com> Merge "Initial CL for the timed text support: - Add support for MP4 timed text - Add API for app to turn on/off a text track - Add timed text metadata(language) in the MediaMetadataRetriever"
5781662e4b3aecac3701e948eaf315a6f05fed63 02-May-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MediaScanner: Fix bug in "no media" handling logic

Don't let the "no media" status of one directory leak to the remaining files
and directories in the same parent.

Bug: 4364077

Change-Id: I2b04b872ece69441387c7fa579441a53f6f358d3
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
1daaaf28f75ebc7cf798a0c45392ab301a7527a7 25-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP: Implement GetThumb command

This allows the PC to access thumbnails in JPEG files over MTP/PTP

Bug: 3219495

Change-Id: I565be1fb84e8a204f2be11342b5b952e8965afdf
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
226914eaf531f4ec04d1283d4d054b7efbcd3a79 25-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP: Fix file descriptor leak in file editing extensions

Change-Id: Ied2b60e4af5606cb405d048f416e8a7eb3c4d5b8
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpServer.h
6ff6131f4d020684aa5e75355ec70ccda5ef01c3 22-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP: Add extended operations to support in-place editing of files

MTP does not support partial writes of files (the entire file must be transferred at once).
This makes it impossible to implement a FUSE file system for MTP
with acceptable performance.
To fix this problem, this change adds extended MTP operations to allow
partial writes to files:

SendPartialObject - allows writing a subset of a file, or appending to the end of a file

TruncateObject - allows changing the size of a file

BeginEditObject - must be called before using SendPartialObject and TruncateObject

EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject

We also add GetPartialObject64, which is the same as GetPartialObject
but has a 64 bit offset rather than 32.

Change-Id: I000930b787b00a2da0b57de9790053b2d71b86fd
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpDebug.cpp
tp/MtpServer.cpp
tp/MtpServer.h
tp/mtp.h
d691679bdcd234bd908aea8c378e214e90d6eeb5 24-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider

Previously we ignored any files and directories that had name started with '.'
and ignored any directories that contained a ".nomedia" file.
Now to support transferring any file via MTP, we now add these previously ignored files
to the media database, but will not mark them as audio, video, image or playlist files.
That way they will be included in the files table but will be hidden from the
audio, video, images and playlist views that are used by apps like Music and Gallery.

Bug: 3405327

Change-Id: Ib707f329be98878501952b6054998518a6eabbbd
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
be3814b79246b4fb410f710125735bdbf92b2f08 05-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP and media provider support for multiple storage devices:

- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: I53d501fd4891ebe27408135fb598027e06b7e495
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.h
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/mtp.h
1a65546a55d019335655464ad895361ba9f89252 02-May-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MediaScanner: Fix bug in "no media" handling logic

Don't let the "no media" status of one directory leak to the remaining files
and directories in the same parent.

Bug: 4364077

Change-Id: Ie756ccd06b1962b06143fc02a1a3927c3aba143a
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
aeb65d45a93878bba361956b3f3280b36cc48e59 25-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP: Implement GetThumb command

This allows the PC to access thumbnails in JPEG files over MTP/PTP

Bug: 3219495

Change-Id: Id61f353ba70e896fae9a47338bf7871c0f185d3e
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
c9ee8c2dd7d0860b41a3312bbf7ff390f5d0cf8e 25-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP: Fix file descriptor leak in file editing extensions

Change-Id: Ie0b979b5cfd9b5f9e9196c5f8c8ecccef6ed84c3
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpServer.h
4d9da14065fea7bca759f83c419ce10bd1195e83 22-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP: Add extended operations to support in-place editing of files

MTP does not support partial writes of files (the entire file must be transferred at once).
This makes it impossible to implement a FUSE file system for MTP
with acceptable performance.
To fix this problem, this change adds extended MTP operations to allow
partial writes to files:

SendPartialObject - allows writing a subset of a file, or appending to the end of a file

TruncateObject - allows changing the size of a file

BeginEditObject - must be called before using SendPartialObject and TruncateObject

EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject

We also add GetPartialObject64, which is the same as GetPartialObject
but has a 64 bit offset rather than 32.

Change-Id: Id5365e1c4dc55a2d819c16c9db0a3ac2260f9309
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpDebug.cpp
tp/MtpServer.cpp
tp/MtpServer.h
tp/mtp.h
462accab9dbcf8d1597de999328fa74337b3b88c 24-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider

Previously we ignored any files and directories that had name started with '.'
and ignored any directories that contained a ".nomedia" file.
Now to support transferring any file via MTP, we now add these previously ignored files
to the media database, but will not mark them as audio, video, image or playlist files.
That way they will be included in the files table but will be hidden from the
audio, video, images and playlist views that are used by apps like Music and Gallery.

Bug: 3405327

Change-Id: Ibb37bb2856a0684ce9f685ed565ad35347622834
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
0241cacb85dbac20b28036bbb8025dfd513e3753 05-Apr-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE MTP and media provider support for multiple storage devices:

- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: Ide6d47bd9aa1698ed2a13d695613e03f2a9b29e3
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.h
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/mtp.h
7a1e3e81264189e23a1db2b174e1b5a5d4c7d1c3 04-May-2011 Gloria Wang <gwang@google.com> Initial CL for the timed text support:
- Add support for MP4 timed text
- Add API for app to turn on/off a text track
- Add timed text metadata(language) in the MediaMetadataRetriever

Change-Id: I0055beba38ac761627dbcc6d581ae9582d68bb94
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/TimedTextPlayer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/TimedTextPlayer.h
8ce2364512f7c32c824f5ec5719688830ba72427 01-May-2011 Iliyan Malchev <malchev@google.com> frameworks/base: android_native_buffer_t -> ANativeWindowBuffer

Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417
Signed-off-by: Iliyan Malchev <malchev@google.com>
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
c777a8526a6517e5fbfa713651da280fd1bdd502 02-May-2011 Mike Lockwood <lockwood@android.com> MediaScanner: Fix bug in "no media" handling logic

Don't let the "no media" status of one directory leak to the remaining files
and directories in the same parent.

Bug: 4364077

Change-Id: I30943222dc292818cff00ee8169be7a695eed174
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
d2b0088df550e3ddfa44dbdfd1cd9a79ff80a2de 30-Apr-2011 Gloria Wang <gwang@google.com> Merge "Add setParameter/getParameter to MediaPlayer API. for bug 1982947"
7ae9d02961c091dcd9765e094c1c4063cbdf34a4 29-Apr-2011 James Dong <jdong@google.com> am ec78f551: Add avg bandwidth estimate every 2 seconds - do not merge.

* commit 'ec78f551b575b0274cbe796f8e08a9df1a706680':
Add avg bandwidth estimate every 2 seconds - do not merge.
7340743ce30766af6334bbd9acf813eb66dd5a60 29-Apr-2011 Gloria Wang <gwang@google.com> Add DRM errors in the DRM frameworks to MediaErrors also.
For bug 4350156.

Change-Id: Ib5711ec642178a49203a448b7f5114e675d49394
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
4f9e47f2c03ce36261c4717cd7e131d7940bb068 26-Apr-2011 Gloria Wang <gwang@google.com> Add setParameter/getParameter to MediaPlayer API.
for bug 1982947

Change-Id: If3f40e4f18cbba155af29944af38bdc627f8cd53
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/TestPlayerStub.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ae23aaee377578d9601db8d0acff66a4dd40920a 28-Apr-2011 James Dong <jdong@google.com> Add avg bandwidth estimate every 2 seconds - do not merge.

This patch is meant for testing only.
We will remove this patch once we tracked down all those spinning issues.

related-to-bug: 4339075

Change-Id: I4cf1927f1067d4f7dbc589ceb3c47407eaf40ae7
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuHTTPDataSource.h
5d4478556299c656b5bb940e83277e01233ec015 28-Apr-2011 Dima Zavin <dima@android.com> Merge changes I22d9e018,Ib0701fcc,Ibc637918,I9eb7e002,I4adcec73

* changes:
audioflinger: don't do work in constructor, instead do it in onFirstRef
audioflinger: enumerate all the possible audio interfaces
audio/media: convert to using the audio HAL and new audio defs
libmedia: move AudioParameter out of AudioSystem
audioflinger: move legacy audio hw/policy out to libhardware_legacy
a488c7daf91357611fcdbff7a32e5a73ec630070 28-Apr-2011 Andreas Huber <andih@google.com> Fix omx_tests to no longer refer to test files that are no longer available.

Also make sure that a seek beyond EOF does not just seek the final syncframe.

Change-Id: I0a58490ef719ce095a94f1d6909c60eb20074a0b
ibstagefright/SampleTable.cpp
ibstagefright/omx/tests/OMXHarness.cpp
fce7a473248381cc83a01855f92581077d3c9ee2 20-Apr-2011 Dima Zavin <dima@android.com> audio/media: convert to using the audio HAL and new audio defs

Change-Id: Ibc637918637329e4f2b62f4ac7781102fbc269f5
Signed-off-by: Dima Zavin <dima@android.com>
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioPolicyService.cpp
ibmedia/JetPlayer.cpp
ibmedia/ToneGenerator.cpp
ibmedia/Visualizer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AudioPlayer.cpp
ibstagefright/AudioSource.cpp
db5cb14318bb24cd6ea14ff7ceea0d5e1f83d903 20-Apr-2011 Dima Zavin <dima@android.com> libmedia: move AudioParameter out of AudioSystem

Change-Id: I9eb7e002d141936258050d4fa4f0ccd8202bfc54
Signed-off-by: Dima Zavin <dima@android.com>
ibmedia/Android.mk
ibmedia/AudioParameter.cpp
ibmedia/AudioSystem.cpp
2e40530f7cbb024b60c491f42dadb2597d4de07e 26-Apr-2011 James Dong <jdong@google.com> Merge "Give PSP and QuickTime compatible mp4 files a chance to play"
64000788211f4c7e78c80a4a155390d1316e1176 25-Apr-2011 Mike Lockwood <lockwood@android.com> MTP: Implement GetThumb command

This allows the PC to access thumbnails in JPEG files over MTP/PTP

Bug: 3219495

Change-Id: I4964f8b4826dffb7f0f77464ec91bd2e97a2f007
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
c0502468a29aa2f2b3457e0e08c4a5650a70488d 25-Apr-2011 Mike Lockwood <lockwood@android.com> Merge "MTP: Fix file descriptor leak in file editing extensions"
c3f16e5620c090aeb75c0836572a8b913a4ef864 25-Apr-2011 Mike Lockwood <lockwood@android.com> MTP: Fix file descriptor leak in file editing extensions

Change-Id: I6d0de5efe705d8060bbfd526c6880dc995a3aa30
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpServer.h
f87d18a374f0275b1adb89a495931390f7407fd2 25-Apr-2011 James Dong <jdong@google.com> Merge "Return status code from invoke()"
c5182e31b23dc381d21ef43b7f7d682ffc54bd79 24-Apr-2011 Mike Lockwood <lockwood@android.com> MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider

Previously we ignored any files and directories that had name started with '.'
and ignored any directories that contained a ".nomedia" file.
Now to support transferring any file via MTP, we now add these previously ignored files
to the media database, but will not mark them as audio, video, image or playlist files.
That way they will be included in the files table but will be hidden from the
audio, video, images and playlist views that are used by apps like Music and Gallery.

Bug: 3405327

Change-Id: I2d7285bd32e06c1a5c4ef6a8a15f8f8b2c33b39b
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
7c1bc4cb2260f666a2fba9e64bb9de95121f0b22 24-Apr-2011 Mike Lockwood <lockwood@android.com> Remove log spam

Change-Id: I3182576158c7c0410c19036a580fd46c6ab079f9
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibstagefright/XINGSeeker.cpp
99bc0510f9152fa88508a1ba1d2d158961fcefe0 20-Apr-2011 Martin Storsjo <martin@martin.st> stagefright aacenc: Mark codeWord as UWord16

Without this, the codeword 0xffff will be expanded to
0xffffffff when passed as a Word32 parameter. All code words
set into this variable are UWord16 initially.

When it was expanded to 0xffffffff, it could accidentally
overwrite earlier cached bits in the bitstream writer.

Change-Id: Id91a2b8a4e934876d9cb39eaeeee323202ec8e40
ibstagefright/codecs/aacenc/src/bit_cnt.c
f8c45a90a69cec5041f6fb11a7e31af646e43d25 23-Apr-2011 Mike Lockwood <lockwood@android.com> Merge "MTP: Add extended operations to support in-place editing of files"
f3664ae9369a861ffbc2354e8e93e48983802062 05-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Remove trailing whitespace

Change-Id: I3c85d8ba4cfb164455d137cdbf3b5ecc941dc6b8
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/aacenc/SampleCode/AAC_E_SAMPLES.c
ibstagefright/codecs/aacenc/SampleCode/Android.mk
ibstagefright/codecs/aacenc/SampleCode/eclair/Makefile
ibstagefright/codecs/aacenc/SampleCode/ms.mk
ibstagefright/codecs/aacenc/Tools/doit.mk
ibstagefright/codecs/aacenc/Tools/eclair.mk
ibstagefright/codecs/aacenc/basic_op/basic_op.h
ibstagefright/codecs/aacenc/basic_op/basicop2.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.h
ibstagefright/codecs/aacenc/basic_op/typedef.h
ibstagefright/codecs/aacenc/basic_op/typedefs.h
ibstagefright/codecs/aacenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/aacenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/aacenc/build/eclair/makefile
ibstagefright/codecs/aacenc/build/ms.mk
ibstagefright/codecs/aacenc/inc/aac_rom.h
ibstagefright/codecs/aacenc/inc/aacenc_core.h
ibstagefright/codecs/aacenc/inc/adj_thr.h
ibstagefright/codecs/aacenc/inc/adj_thr_data.h
ibstagefright/codecs/aacenc/inc/bitenc.h
ibstagefright/codecs/aacenc/inc/interface.h
ibstagefright/codecs/aacenc/inc/line_pe.h
ibstagefright/codecs/aacenc/inc/psy_const.h
ibstagefright/codecs/aacenc/inc/psy_main.h
ibstagefright/codecs/aacenc/inc/qc_main.h
ibstagefright/codecs/aacenc/inc/quantize.h
ibstagefright/codecs/aacenc/inc/sf_estim.h
ibstagefright/codecs/aacenc/inc/stat_bits.h
ibstagefright/codecs/aacenc/inc/tns_param.h
ibstagefright/codecs/aacenc/inc/transform.h
ibstagefright/codecs/aacenc/src/aac_rom.c
ibstagefright/codecs/aacenc/src/aacenc.c
ibstagefright/codecs/aacenc/src/aacenc_core.c
ibstagefright/codecs/aacenc/src/adj_thr.c
ibstagefright/codecs/aacenc/src/asm/ARMV5E/AutoCorrelation_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/CalcWindowEnergy_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/PrePostMDCT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/R4R8First_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/Radix4FFT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/band_nrg_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/PrePostMDCT_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/R4R8First_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/Radix4FFT_v7.s
ibstagefright/codecs/aacenc/src/band_nrg.c
ibstagefright/codecs/aacenc/src/bit_cnt.c
ibstagefright/codecs/aacenc/src/bitbuffer.c
ibstagefright/codecs/aacenc/src/bitenc.c
ibstagefright/codecs/aacenc/src/block_switch.c
ibstagefright/codecs/aacenc/src/channel_map.c
ibstagefright/codecs/aacenc/src/dyn_bits.c
ibstagefright/codecs/aacenc/src/grp_data.c
ibstagefright/codecs/aacenc/src/interface.c
ibstagefright/codecs/aacenc/src/line_pe.c
ibstagefright/codecs/aacenc/src/memalign.c
ibstagefright/codecs/aacenc/src/ms_stereo.c
ibstagefright/codecs/aacenc/src/pre_echo_control.c
ibstagefright/codecs/aacenc/src/psy_configuration.c
ibstagefright/codecs/aacenc/src/psy_main.c
ibstagefright/codecs/aacenc/src/qc_main.c
ibstagefright/codecs/aacenc/src/quantize.c
ibstagefright/codecs/aacenc/src/sf_estim.c
ibstagefright/codecs/aacenc/src/stat_bits.c
ibstagefright/codecs/aacenc/src/tns.c
ibstagefright/codecs/aacenc/src/transform.c
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/amrwbenc/SampleCode/AMRWB_E_SAMPLE.c
ibstagefright/codecs/amrwbenc/SampleCode/Android.mk
ibstagefright/codecs/amrwbenc/SampleCode/eclair/Makefile
ibstagefright/codecs/amrwbenc/SampleCode/ms.mk
ibstagefright/codecs/amrwbenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/makefile
ibstagefright/codecs/amrwbenc/build/eclair/ms.mk
ibstagefright/codecs/amrwbenc/inc/basic_op.h
ibstagefright/codecs/amrwbenc/inc/homing.tab
ibstagefright/codecs/amrwbenc/inc/isp_isf.tab
ibstagefright/codecs/amrwbenc/inc/log2.h
ibstagefright/codecs/amrwbenc/inc/mime_io.tab
ibstagefright/codecs/amrwbenc/inc/stream.h
ibstagefright/codecs/amrwbenc/inc/typedef.h
ibstagefright/codecs/amrwbenc/inc/typedefs.h
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Deemph_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Dot_p_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Filt_6k_7k_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Norm_Corr_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Syn_filt_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/convolve_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/cor_h_vec_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/pred_lt4_1_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/residu_asm_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/scale_sig_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/syn_filt_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Deemph_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Dot_p_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Filt_6k_7k_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Norm_Corr_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Syn_filt_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/convolve_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/cor_h_vec_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/pred_lt4_1_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/residu_asm_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/scale_sig_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/syn_filt_neon.s
ibstagefright/codecs/amrwbenc/src/autocorr.c
ibstagefright/codecs/amrwbenc/src/az_isp.c
ibstagefright/codecs/amrwbenc/src/bits.c
ibstagefright/codecs/amrwbenc/src/c2t64fx.c
ibstagefright/codecs/amrwbenc/src/c4t64fx.c
ibstagefright/codecs/amrwbenc/src/convolve.c
ibstagefright/codecs/amrwbenc/src/cor_h_x.c
ibstagefright/codecs/amrwbenc/src/decim54.c
ibstagefright/codecs/amrwbenc/src/deemph.c
ibstagefright/codecs/amrwbenc/src/dtx.c
ibstagefright/codecs/amrwbenc/src/g_pitch.c
ibstagefright/codecs/amrwbenc/src/gpclip.c
ibstagefright/codecs/amrwbenc/src/hp400.c
ibstagefright/codecs/amrwbenc/src/hp50.c
ibstagefright/codecs/amrwbenc/src/hp6k.c
ibstagefright/codecs/amrwbenc/src/hp_wsp.c
ibstagefright/codecs/amrwbenc/src/int_lpc.c
ibstagefright/codecs/amrwbenc/src/isp_az.c
ibstagefright/codecs/amrwbenc/src/isp_isf.c
ibstagefright/codecs/amrwbenc/src/levinson.c
ibstagefright/codecs/amrwbenc/src/log2.c
ibstagefright/codecs/amrwbenc/src/lp_dec2.c
ibstagefright/codecs/amrwbenc/src/math_op.c
ibstagefright/codecs/amrwbenc/src/mem_align.c
ibstagefright/codecs/amrwbenc/src/p_med_ol.c
ibstagefright/codecs/amrwbenc/src/pitch_f4.c
ibstagefright/codecs/amrwbenc/src/pred_lt4.c
ibstagefright/codecs/amrwbenc/src/preemph.c
ibstagefright/codecs/amrwbenc/src/q_gain2.c
ibstagefright/codecs/amrwbenc/src/q_pulse.c
ibstagefright/codecs/amrwbenc/src/qisf_ns.c
ibstagefright/codecs/amrwbenc/src/qpisf_2s.c
ibstagefright/codecs/amrwbenc/src/residu.c
ibstagefright/codecs/amrwbenc/src/scale.c
ibstagefright/codecs/amrwbenc/src/stream.c
ibstagefright/codecs/amrwbenc/src/syn_filt.c
ibstagefright/codecs/amrwbenc/src/updt_tar.c
ibstagefright/codecs/amrwbenc/src/voAMRWBEnc.c
ibstagefright/codecs/amrwbenc/src/voicefac.c
ibstagefright/codecs/amrwbenc/src/wb_vad.c
ibstagefright/codecs/amrwbenc/src/weight_a.c
ibstagefright/codecs/common/Config.mk
ibstagefright/codecs/common/include/voAMRWB.h
ibstagefright/codecs/common/include/voAudio.h
ibstagefright/codecs/common/include/voIndex.h
41050cdb033641ddf26831d9272c0930f7b40a2d 22-Apr-2011 Mans Rullgard <mans@mansr.com> stagefright aacenc/amrwbenc: Convert line breaks to Unix style

Change-Id: I6219725a9fbd72432bad71a176c14f26fabdbd5f
ibstagefright/codecs/aacenc/SampleCode/AAC_E_SAMPLES.c
ibstagefright/codecs/aacenc/SampleCode/eclair/Makefile
ibstagefright/codecs/aacenc/SampleCode/ms.mk
ibstagefright/codecs/aacenc/basic_op/basic_op.h
ibstagefright/codecs/aacenc/basic_op/basicop2.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.h
ibstagefright/codecs/aacenc/basic_op/typedef.h
ibstagefright/codecs/aacenc/basic_op/typedefs.h
ibstagefright/codecs/aacenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/aacenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/aacenc/build/ms.mk
ibstagefright/codecs/aacenc/inc/aac_rom.h
ibstagefright/codecs/aacenc/inc/aacenc_core.h
ibstagefright/codecs/aacenc/inc/adj_thr.h
ibstagefright/codecs/aacenc/inc/adj_thr_data.h
ibstagefright/codecs/aacenc/inc/band_nrg.h
ibstagefright/codecs/aacenc/inc/bit_cnt.h
ibstagefright/codecs/aacenc/inc/bitbuffer.h
ibstagefright/codecs/aacenc/inc/bitenc.h
ibstagefright/codecs/aacenc/inc/block_switch.h
ibstagefright/codecs/aacenc/inc/channel_map.h
ibstagefright/codecs/aacenc/inc/config.h
ibstagefright/codecs/aacenc/inc/dyn_bits.h
ibstagefright/codecs/aacenc/inc/grp_data.h
ibstagefright/codecs/aacenc/inc/interface.h
ibstagefright/codecs/aacenc/inc/line_pe.h
ibstagefright/codecs/aacenc/inc/memalign.h
ibstagefright/codecs/aacenc/inc/ms_stereo.h
ibstagefright/codecs/aacenc/inc/pre_echo_control.h
ibstagefright/codecs/aacenc/inc/psy_configuration.h
ibstagefright/codecs/aacenc/inc/psy_const.h
ibstagefright/codecs/aacenc/inc/psy_data.h
ibstagefright/codecs/aacenc/inc/psy_main.h
ibstagefright/codecs/aacenc/inc/qc_data.h
ibstagefright/codecs/aacenc/inc/qc_main.h
ibstagefright/codecs/aacenc/inc/quantize.h
ibstagefright/codecs/aacenc/inc/sf_estim.h
ibstagefright/codecs/aacenc/inc/spreading.h
ibstagefright/codecs/aacenc/inc/stat_bits.h
ibstagefright/codecs/aacenc/inc/tns.h
ibstagefright/codecs/aacenc/inc/tns_func.h
ibstagefright/codecs/aacenc/inc/tns_param.h
ibstagefright/codecs/aacenc/inc/transform.h
ibstagefright/codecs/aacenc/src/aac_rom.c
ibstagefright/codecs/aacenc/src/aacenc.c
ibstagefright/codecs/aacenc/src/aacenc_core.c
ibstagefright/codecs/aacenc/src/adj_thr.c
ibstagefright/codecs/aacenc/src/asm/ARMV5E/AutoCorrelation_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/CalcWindowEnergy_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/PrePostMDCT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/R4R8First_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/Radix4FFT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/band_nrg_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/PrePostMDCT_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/R4R8First_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/Radix4FFT_v7.s
ibstagefright/codecs/aacenc/src/band_nrg.c
ibstagefright/codecs/aacenc/src/bit_cnt.c
ibstagefright/codecs/aacenc/src/bitbuffer.c
ibstagefright/codecs/aacenc/src/bitenc.c
ibstagefright/codecs/aacenc/src/block_switch.c
ibstagefright/codecs/aacenc/src/channel_map.c
ibstagefright/codecs/aacenc/src/dyn_bits.c
ibstagefright/codecs/aacenc/src/grp_data.c
ibstagefright/codecs/aacenc/src/interface.c
ibstagefright/codecs/aacenc/src/line_pe.c
ibstagefright/codecs/aacenc/src/ms_stereo.c
ibstagefright/codecs/aacenc/src/pre_echo_control.c
ibstagefright/codecs/aacenc/src/psy_configuration.c
ibstagefright/codecs/aacenc/src/psy_main.c
ibstagefright/codecs/aacenc/src/qc_main.c
ibstagefright/codecs/aacenc/src/quantize.c
ibstagefright/codecs/aacenc/src/sf_estim.c
ibstagefright/codecs/aacenc/src/spreading.c
ibstagefright/codecs/aacenc/src/stat_bits.c
ibstagefright/codecs/aacenc/src/tns.c
ibstagefright/codecs/aacenc/src/transform.c
ibstagefright/codecs/amrwbenc/SampleCode/AMRWB_E_SAMPLE.c
ibstagefright/codecs/amrwbenc/SampleCode/eclair/Makefile
ibstagefright/codecs/amrwbenc/SampleCode/ms.mk
ibstagefright/codecs/amrwbenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/ms.mk
ibstagefright/codecs/amrwbenc/inc/acelp.h
ibstagefright/codecs/amrwbenc/inc/basic_op.h
ibstagefright/codecs/amrwbenc/inc/bits.h
ibstagefright/codecs/amrwbenc/inc/cnst.h
ibstagefright/codecs/amrwbenc/inc/cod_main.h
ibstagefright/codecs/amrwbenc/inc/dtx.h
ibstagefright/codecs/amrwbenc/inc/grid100.tab
ibstagefright/codecs/amrwbenc/inc/ham_wind.tab
ibstagefright/codecs/amrwbenc/inc/homing.tab
ibstagefright/codecs/amrwbenc/inc/isp_isf.tab
ibstagefright/codecs/amrwbenc/inc/lag_wind.tab
ibstagefright/codecs/amrwbenc/inc/log2.h
ibstagefright/codecs/amrwbenc/inc/log2_tab.h
ibstagefright/codecs/amrwbenc/inc/main.h
ibstagefright/codecs/amrwbenc/inc/math_op.h
ibstagefright/codecs/amrwbenc/inc/mem_align.h
ibstagefright/codecs/amrwbenc/inc/mime_io.tab
ibstagefright/codecs/amrwbenc/inc/oper_32b.h
ibstagefright/codecs/amrwbenc/inc/p_med_o.h
ibstagefright/codecs/amrwbenc/inc/p_med_ol.tab
ibstagefright/codecs/amrwbenc/inc/q_gain2.tab
ibstagefright/codecs/amrwbenc/inc/q_pulse.h
ibstagefright/codecs/amrwbenc/inc/qisf_ns.tab
ibstagefright/codecs/amrwbenc/inc/qpisf_2s.tab
ibstagefright/codecs/amrwbenc/inc/stream.h
ibstagefright/codecs/amrwbenc/inc/typedef.h
ibstagefright/codecs/amrwbenc/inc/typedefs.h
ibstagefright/codecs/amrwbenc/inc/wb_vad.h
ibstagefright/codecs/amrwbenc/inc/wb_vad_c.h
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Deemph_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Dot_p_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Filt_6k_7k_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Syn_filt_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/cor_h_vec_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/pred_lt4_1_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/residu_asm_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/scale_sig_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/syn_filt_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Deemph_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Dot_p_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Filt_6k_7k_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Syn_filt_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/cor_h_vec_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/pred_lt4_1_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/scale_sig_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/syn_filt_neon.s
ibstagefright/codecs/amrwbenc/src/autocorr.c
ibstagefright/codecs/amrwbenc/src/az_isp.c
ibstagefright/codecs/amrwbenc/src/bits.c
ibstagefright/codecs/amrwbenc/src/c2t64fx.c
ibstagefright/codecs/amrwbenc/src/c4t64fx.c
ibstagefright/codecs/amrwbenc/src/cmnMemory.c
ibstagefright/codecs/amrwbenc/src/convolve.c
ibstagefright/codecs/amrwbenc/src/cor_h_x.c
ibstagefright/codecs/amrwbenc/src/decim54.c
ibstagefright/codecs/amrwbenc/src/deemph.c
ibstagefright/codecs/amrwbenc/src/dtx.c
ibstagefright/codecs/amrwbenc/src/g_pitch.c
ibstagefright/codecs/amrwbenc/src/gpclip.c
ibstagefright/codecs/amrwbenc/src/homing.c
ibstagefright/codecs/amrwbenc/src/hp400.c
ibstagefright/codecs/amrwbenc/src/hp50.c
ibstagefright/codecs/amrwbenc/src/hp6k.c
ibstagefright/codecs/amrwbenc/src/hp_wsp.c
ibstagefright/codecs/amrwbenc/src/int_lpc.c
ibstagefright/codecs/amrwbenc/src/isp_az.c
ibstagefright/codecs/amrwbenc/src/isp_isf.c
ibstagefright/codecs/amrwbenc/src/lag_wind.c
ibstagefright/codecs/amrwbenc/src/levinson.c
ibstagefright/codecs/amrwbenc/src/log2.c
ibstagefright/codecs/amrwbenc/src/lp_dec2.c
ibstagefright/codecs/amrwbenc/src/math_op.c
ibstagefright/codecs/amrwbenc/src/oper_32b.c
ibstagefright/codecs/amrwbenc/src/p_med_ol.c
ibstagefright/codecs/amrwbenc/src/pit_shrp.c
ibstagefright/codecs/amrwbenc/src/pitch_f4.c
ibstagefright/codecs/amrwbenc/src/pred_lt4.c
ibstagefright/codecs/amrwbenc/src/preemph.c
ibstagefright/codecs/amrwbenc/src/q_gain2.c
ibstagefright/codecs/amrwbenc/src/q_pulse.c
ibstagefright/codecs/amrwbenc/src/qisf_ns.c
ibstagefright/codecs/amrwbenc/src/qpisf_2s.c
ibstagefright/codecs/amrwbenc/src/random.c
ibstagefright/codecs/amrwbenc/src/residu.c
ibstagefright/codecs/amrwbenc/src/scale.c
ibstagefright/codecs/amrwbenc/src/stream.c
ibstagefright/codecs/amrwbenc/src/syn_filt.c
ibstagefright/codecs/amrwbenc/src/updt_tar.c
ibstagefright/codecs/amrwbenc/src/util.c
ibstagefright/codecs/amrwbenc/src/voAMRWBEnc.c
ibstagefright/codecs/amrwbenc/src/voicefac.c
ibstagefright/codecs/amrwbenc/src/wb_vad.c
ibstagefright/codecs/amrwbenc/src/weight_a.c
ibstagefright/codecs/common/Config.mk
ibstagefright/codecs/common/cmnMemory.c
ibstagefright/codecs/common/include/cmnMemory.h
ibstagefright/codecs/common/include/voAAC.h
ibstagefright/codecs/common/include/voAMRWB.h
ibstagefright/codecs/common/include/voAudio.h
ibstagefright/codecs/common/include/voIndex.h
ibstagefright/codecs/common/include/voType.h
34fe252c89e33572d01fea981b58d7b115e76164 22-Apr-2011 James Dong <jdong@google.com> Remove the assertion and report content malform error to application

Change-Id: I8e30c586048d38334fd4366959a124a99d8efe28
related-to-bug: 4267147
ibstagefright/MPEG4Extractor.cpp
7d77dcfadd7fb637ed2c3aef5bb3990dd0a67dc0 22-Apr-2011 Mike Lockwood <lockwood@android.com> MTP: Add extended operations to support in-place editing of files

MTP does not support partial writes of files (the entire file must be transferred at once).
This makes it impossible to implement a FUSE file system for MTP
with acceptable performance.
To fix this problem, this change adds extended MTP operations to allow
partial writes to files:

SendPartialObject - allows writing a subset of a file, or appending to the end of a file

TruncateObject - allows changing the size of a file

BeginEditObject - must be called before using SendPartialObject and TruncateObject

EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject

We also add GetPartialObject64, which is the same as GetPartialObject
but has a 64 bit offset rather than 32.

Change-Id: I4b110748b97ae05cdc8aab02ecdbbbeb263f7840
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpDebug.cpp
tp/MtpServer.cpp
tp/MtpServer.h
tp/mtp.h
ad0d9c9c39a24b7fbd94e935a5855c9025341929 19-Apr-2011 Andreas Huber <andih@google.com> Add extra headers specified in the media player's setDataSource call

to all http requests made by the http live implementation.

Change-Id: I9dd78bb261bc678ea98c82009ca2634b74f3cd58
related-to-bug: 4315346
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/LiveSession.h
7bf8413f91fc072452f315a91618aeef2574d420 19-Apr-2011 Andreas Huber <andih@google.com> Make sure a read restarts the prefetcher if necessary.

Change-Id: I87cac0e61e4dce7987ddf29c32f51e1672d1bbed
related-to-bug: 4286618
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/NuCachedSource2.h
859e0c839fc2bf1a1411d58c41f958474f87c836 19-Apr-2011 Andreas Huber <andih@google.com> am f0f1ceeb: DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.

* commit 'f0f1ceeb517ff226532a407da6d55602f195e5b5':
DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.
4678a6dc5f09008481524949a9667af5a6190374 15-Apr-2011 Andreas Huber <andih@google.com> Remove streamability verification, it's taking too long. Also...

make sure that findSampleAtTime uses composition time instead of decoding time,
at the expense of extra memory.

Change-Id: I67d09389b3df7ed265f614bdd0b142ca7f19f86a
related-to-bug: 4294536
ibstagefright/MPEG4Extractor.cpp
ibstagefright/SampleTable.cpp
ibstagefright/include/MPEG4Extractor.h
ibstagefright/include/SampleTable.h
0a89d849bbf20ff1739f0799d54f1868f8abefbc 14-Apr-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.

Change-Id: I27c2b5d20ae577e71936d32522f70f6ba08cc247
related-to-bug: 4286618
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/NuCachedSource2.h
e2e3f479fe160e8ba00321ada2c61d4bcaf5be4d 14-Apr-2011 Gloria Wang <gwang@google.com> Merge "- Add another parameter in notify() to be able to send timed text sample through listener during video playback. - Add OnTimedTextListener in the MediaPlayer For feature request 800939."
53e1c0497b720d0e4f00dd7ca61838b865d41add 13-Apr-2011 Glenn Kasten <gkasten@google.com> am 8d2e14da: am 34cd123a: am b0d6f10e: Bug 4167061 remove debugging code

* commit '8d2e14daa752d657b9747fc9734fbfd7b34c1f7a':
Bug 4167061 remove debugging code
7613baa541233c0955d32c4f76731f6c1fb6f61f 13-Apr-2011 Glenn Kasten <gkasten@google.com> am b0d6f10e: Bug 4167061 remove debugging code

* commit 'b0d6f10eedeef099164995d51dbd076a6fcc5acc':
Bug 4167061 remove debugging code
6c00983982d167bdb348c437f0480a480f38696c 13-Apr-2011 Glenn Kasten <gkasten@google.com> Bug 4167061 remove debugging code

Change-Id: I1cb46a7bbf885c72e75d32f3f7675d90ab611e85
ibstagefright/AwesomePlayer.cpp
b483c4724846c0b8d4e82afcbb7c17f671bae81c 12-Apr-2011 Gloria Wang <gwang@google.com> - Add another parameter in notify() to be able to send timed text sample
through listener during video playback.
- Add OnTimedTextListener in the MediaPlayer
For feature request 800939.

Change-Id: I65072c27acb4c0037109a72be38c73e9f667420f
ibmedia/IMediaPlayerClient.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
c33b033d11b781719d7f8dd2a63a826f09bb3593 12-Apr-2011 Andreas Huber <andih@google.com> Merge "Experimental support for changing the video surface/texture on an active mediaplayer"
90fc6105cf504bf8e5eabc33a8d35b70a91795d2 12-Apr-2011 Andreas Huber <andih@google.com> Merge "If the media extractor specifies an invalid thumbnail time, default to the first frame."
fb50c0ba482dddfb030a2cff6874586949dc8ffe 11-Apr-2011 Glenn Kasten <gkasten@google.com> am a7e8385c: am 87ee132a: am c6c2285b: Enable HDCP debugging in Stagefright (1 of 2)

* commit 'a7e8385cb34a19e47fb67bf8f632a8b47503242d':
Enable HDCP debugging in Stagefright (1 of 2)
df485b44bc929c34cf2cc068efe74816540c64b7 11-Apr-2011 Glenn Kasten <gkasten@google.com> am c6c2285b: Enable HDCP debugging in Stagefright (1 of 2)

* commit 'c6c2285b36e83b96056e2404371cdf6e6f7acaee':
Enable HDCP debugging in Stagefright (1 of 2)
449d8ad81402c2758793db99850a4d390c191f4f 11-Apr-2011 Glenn Kasten <gkasten@google.com> Enable HDCP debugging in Stagefright (1 of 2)

Change-Id: Ia3ea555d5fa45547ed6bfce59f299087ced7809c
ibstagefright/AwesomePlayer.cpp
21af757836167a328ddf1c0381909d53941528c4 11-Apr-2011 Andreas Huber <andih@google.com> If the media extractor specifies an invalid thumbnail time, default to the first frame.

Change-Id: I96514fa661d26726b4562872a5ebe87be88db71e
related-to-bug: 3447147
ibstagefright/StagefrightMetadataRetriever.cpp
79f84b521cc681dfd7ec7b1b0d5d832795085dc8 11-Apr-2011 Jason Simmons <jsimmons@google.com> Merge "In the MP3 extractor, compute timestamps based on sample count instead of byte count. This fixes timestamp accuracy on VBR streams."
fa4e195a735ab99e02388ac5c5611e73a76c7c72 09-Apr-2011 Jamie Gennis <jgennis@google.com> am 0fb4e73f: am 3a9f5143: am 66380f76: Stagefright: authenticate ANativeWindow.

* commit '0fb4e73f5fd107b0ebd1c7a1a25dc40d99cf0705':
Stagefright: authenticate ANativeWindow.
f68c65b8d9864919950aa52774e8cf7b5d7563f4 09-Apr-2011 Jamie Gennis <jgennis@google.com> am 66380f76: Stagefright: authenticate ANativeWindow.

* commit '66380f768c0de8bde1f54ac6ab3f126b66928dad':
Stagefright: authenticate ANativeWindow.
d4d43b2ad0f715211feb48ce2f3e2158883583c0 08-Apr-2011 Jamie Gennis <jgennis@google.com> Stagefright: authenticate ANativeWindow.

This change adds a check to verify that the ANativeWindow to which
decoded video buffers are queued sends those buffers to SurfaceFlinger.
The check is done when the buffer content is flagged as protected. This
change also adds an error in the case where protected buffers are
needed, but an ANativeWindow is not being used as the video destination.

Change-Id: I107c9082d65ef0de4a13594e9535a2053ad5161b
Bug: 4269240
ibstagefright/OMXCodec.cpp
4cb2c4dc7af70684e81cfbce46cbcbb9e44f4dc4 08-Apr-2011 James Dong <jdong@google.com> Give PSP and QuickTime compatible mp4 files a chance to play

Change-Id: I2618946b242b581fb8ed5de9a13ede23a4191b11
related-to-bug: 4173290
ibstagefright/MPEG4Extractor.cpp
a9e05b911f978dc3f25d4b1e35e51383dc4f9fc7 07-Apr-2011 Jason Simmons <jsimmons@google.com> In the MP3 extractor, compute timestamps based on sample count instead of byte count.
This fixes timestamp accuracy on VBR streams.

Change-Id: I73a30309536919cbeb5e5163f2f1340e2b9fa4b1
ibstagefright/MP3Extractor.cpp
ibstagefright/include/MP3Extractor.h
cc8ace7989f663fe6c6c1ed0febca0d9d1f19c7a 07-Apr-2011 Eric Laurent <elaurent@google.com> Do not disable effect in AudioEffect destructor.

Current implementation of AudioEffect class destructor disables
the effect before disconnecting from IAudioEffect interface.
This is problematic when more than one client has a handle on the same
effect engine as destroying one handle will disable the effect which is
not the intended behavior.

Change-Id: I10eacf981506469a7ef4eb9a1650813f0848de5d
ibmedia/AudioEffect.cpp
040e4a14ef9cafd5d08d9a180e6237fb79687995 07-Apr-2011 James Dong <jdong@google.com> Return status code from invoke()

Change-Id: Ie64b418d2a1f44e07942399c285b460c68f8e14f
related-to-bug: 4199781
ibmedia/IMediaPlayer.cpp
9d31d676f2c4b49735463ac0f4d6a67b7a4e9877 05-Apr-2011 Mike Lockwood <lockwood@android.com> Merge "MTP and media provider support for multiple storage devices:"
30adaaf9d6fd944c8f6a2c7a06774b019878c368 05-Apr-2011 Mike Lockwood <lockwood@android.com> MTP and media provider support for multiple storage devices:

- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: Iffb66ed156ef5bc80b14228af78fbacee7734360
tp/MtpServer.h
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/mtp.h
38ccae2c0324daa305f3fe77d25fdf5edec0b0e1 29-Mar-2011 Eric Laurent <elaurent@google.com> New fix for issue 4111672: control block flags

The first fix (commit 913af0b4) is problematic because it makes threads
in mediaserver process block on the cblk mutex. This is not permitted
as it can cause audio to skip or worse have a malicious application
prevent all audio playback by keeping the mutex locked.

The fix consists in using atomic operations when modifying the control
block flags.

Also fixed audio_track_cblk_t::framesReady() so that it doesn't block
when called from AudioFlinger (only applies when a loop is active).

Change-Id: Ibf0abb562ced3e9f64118afdd5036854bb959428
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
9a03bfb071e0969b14a1ead7c85a12bd3df564a1 04-Apr-2011 James Dong <jdong@google.com> am ea5d2c58: Merge "When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE." into gingerbread

* commit 'ea5d2c584490424be6bbc27dec58b4f9868d631e':
When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE.
7fb4b427d5fca79c09d69b212ddca41539c215a2 04-Apr-2011 Andreas Huber <andih@google.com> Merge "This reverts an earlier change 4aeec2da39fce4de9b07b694d59fd308ffb3d491"
51c1e0e86a0ad95bf3d890a9a2f51e54b8ef9444 04-Apr-2011 Andreas Huber <andih@google.com> This reverts an earlier change 4aeec2da39fce4de9b07b694d59fd308ffb3d491

Instead of returning 0-filled buffers after EOS from AudioTrack we do this
work in AudioOutput instead. That way the EOS signal (0 frames returned)
is preserved in AudioCache which otherwise would lead to a heap size overflow
filling everything with zeroes.

Change-Id: I7e07429ba887957a4340dd4b21eef4bba76248cd
related-to-bug: 3514073
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AudioPlayer.cpp
bd7b7177f88ae6e83bd7bb8bfd9b7018be923931 04-Apr-2011 Andreas Huber <andih@google.com> Avoid a race condition while signaling audio EOS/seek complete by acquiring the lock.

Change-Id: Idfea452ff661b264e013fe515bcd2a2762bd959c
related-to-bug: 4193552
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
94baecca5e14b083c46615a1bcf18ea6cf7cad46 01-Apr-2011 Andreas Huber <andih@google.com> Merge "Remove legacy hack to only drop frames every other late frame"
2ba7ce928b0fa8917ee202836b0963ca58613453 01-Apr-2011 Andreas Huber <andih@google.com> Fix a webm-seek issue introduced when adding support for streaming webm

Change-Id: I52ec841832077603ee035f7a648316349513e978
related-to-bug: 4199894
ibstagefright/matroska/MatroskaExtractor.cpp
dab59b5a4956b7e9b1ffc64a0676e7990579934e 01-Apr-2011 Andreas Huber <andih@google.com> Remove legacy hack to only drop frames every other late frame

Change-Id: I197e568d292341c330efb394c41aa9af0e74b081
related-to-bug: 4203195
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
d5109dc76e943d4d2f90d1681dfd728011b2173f 31-Mar-2011 Glenn Kasten <gkasten@google.com> am 69250839: am 4ed59de6: am ffa670b5: Bug 4167061

* commit '69250839bb0ae94305ee1ac9a452b98d67acc5cf':
Bug 4167061
650502b7f3a47fd85db72c1396d64ec9628821e1 31-Mar-2011 Glenn Kasten <gkasten@google.com> am ffa670b5: Bug 4167061

* commit 'ffa670b5b00b8b4c5a4296f9a1ac382c0e647894':
Bug 4167061
5b3635efd12466e957a59d93a9167c9a01e9c933 31-Mar-2011 Glenn Kasten <gkasten@google.com> Bug 4167061

Change-Id: I9bf7c0f9387ad23501261b8c2d10fa6fdaba8aef
ibstagefright/AwesomePlayer.cpp
db513feea83a4f76d8a6b492ff33d3d53247ac5e 31-Mar-2011 Andreas Huber <andih@google.com> am 399792b8: am 06ac0399: am b676b73e: Merge "When http streaming and Content-Length is unknown, make sure to return all" into honeycomb-mr1

* commit '399792b83174a835840a4f47adcd34aed4e0b9ba':
When http streaming and Content-Length is unknown, make sure to return all
5c43188653b82a8b40bd25ded8b3b8c48d67e132 31-Mar-2011 Andreas Huber <andih@google.com> am 66ec9068: am 8de5df43: am ebf6a72b: Merge "Surfaceflinger expects rectangles to be specified right/bottom edge exclusive." into honeycomb-mr1

* commit '66ec90687f3579fe73f6baa2a188f8a4583167a3':
Surfaceflinger expects rectangles to be specified right/bottom edge exclusive.
90fd5e0eac8bde1a37023b9014c90062ea3cf360 31-Mar-2011 James Dong <jdong@google.com> When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE.

Change-Id: I3a66fd0ed3f6b90350d706a608a39d8b4a398e32
related-to-bug: 4195127
ibstagefright/AudioSource.cpp
ba7d7874192e9670e7a51e7e334732c96f27ab5d 31-Mar-2011 Andreas Huber <andih@google.com> am b676b73e: Merge "When http streaming and Content-Length is unknown, make sure to return all" into honeycomb-mr1

* commit 'b676b73e391b10a4ec5fbd6a1a02054fb3d8aa4b':
When http streaming and Content-Length is unknown, make sure to return all
cbd2ba4e5398e2c2ae71a1fce6bd6d6b1e395fd6 31-Mar-2011 Andreas Huber <andih@google.com> Merge "When http streaming and Content-Length is unknown, make sure to return all" into honeycomb-mr1
9dc0193472834c49e6bdc864fbeb145828f1d8aa 30-Mar-2011 Andreas Huber <andih@google.com> When http streaming and Content-Length is unknown, make sure to return all

data that we successfully received before signalling the error.

Change-Id: I7e60602d41b4df85aa85e413c590687305e9bbce
related-to-bug: 4190765
ibstagefright/NuHTTPDataSource.cpp
f8374dec590223ebdd6959b26d9ba90749dd8328 24-Mar-2011 Andreas Huber <andih@google.com> Support for divx files, i.e. mpeg 4 video + mpeg audio layer III in .avi files

Change-Id: I6e1e989c43300ddb0d341e3e9183cdccd69eeae6
related-to-bug: 4192562
ibstagefright/AVIExtractor.cpp
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/include/AVIExtractor.h
72bbbff2dfb120ed1ebc9a50e8509364508bfa70 30-Mar-2011 Andreas Huber <andih@google.com> Merge "Stagefright DataSources now expose the underlying content mime type."
6511c9755c3a3360ba869772600c7aae048a7ffc 30-Mar-2011 Andreas Huber <andih@google.com> Stagefright DataSources now expose the underlying content mime type.

Use that mime type to determine if we should do upfront buffering at the start of
playback and don't for audio streams to ensure playback starts fairly instantly.

Change-Id: If21e36d1b024f0e5c723911bceadaa2e0307ab42
related-to-bug: 4090916
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/chromium_http/support.cpp
ibstagefright/include/ChromiumHTTPDataSource.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/NuHTTPDataSource.h
70d3e260edcd42972864bf501337f0b1a187657d 23-Mar-2011 James Dong <jdong@google.com> Check whether WAVE extractor can be initialized successfully in the sniffer for WAVE

bug - 3373994

Change-Id: I91c420815caae3b868fe9184ba48f37046b495fb
ibstagefright/WAVExtractor.cpp
62302d34b084c43b231f936be3c08f202d5c7c1a 30-Mar-2011 Andreas Huber <andih@google.com> am ebf6a72b: Merge "Surfaceflinger expects rectangles to be specified right/bottom edge exclusive." into honeycomb-mr1

* commit 'ebf6a72b3536646ade389c7afa828e316eb93c21':
Surfaceflinger expects rectangles to be specified right/bottom edge exclusive.
ff6bf33354f28a2bce073645bd102414c81d7580 29-Mar-2011 Andreas Huber <andih@google.com> Merge "Add a user-agent header to our RTSP requests."
e681b91c27439907f216cb6c88426929bc5194bf 29-Mar-2011 Andreas Huber <andih@google.com> Add a user-agent header to our RTSP requests.

Change-Id: I02f8ff6a4a37fa59cc8c5fcfd3afb64ee11ba576
related-to-bug: 4173725
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
a65818133df0a04a867423c50e7778bb225bfb52 29-Mar-2011 Andreas Huber <andih@google.com> Merge "Adding support for the '.mxmf' MIDI file extension."
8d30cc86d36c5e2d7d8defab8f58faed4139ed7f 29-Mar-2011 Andreas Huber <andih@google.com> Adding support for the '.mxmf' MIDI file extension.

Change-Id: Ic73e2f843f8640dd794d090413cf63232f0182b9
related-to-bug: 4186454
ibstagefright/StagefrightMediaScanner.cpp
f8be8c0c8055ead961d23b969bf46315eb93e887 29-Mar-2011 Andreas Huber <andih@google.com> Make sure we don't trigger a log warning if calling ALooper::stop() from the looper thread.

Change-Id: I669d589ab4521fe44a3e8f638c7ce8e79174d625
related-to-bug: 4179898
ibstagefright/foundation/ALooper.cpp
89c120e7adbe09c6283591789594c5e591aa5032 29-Mar-2011 Andreas Huber <andih@google.com> Surfaceflinger expects rectangles to be specified right/bottom edge exclusive.

Change-Id: Ib493572c614dbb74fa23b13c3e43899e3b31cf0e
related-to-bug: 4147205
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
51538b30da3208ecf498ce327ac3104b455f163d 29-Mar-2011 Iliyan Malchev <malchev@google.com> Merge "frameworks/base: some camera-interface cleanup"
108dddf924d714c811dd565b8f4c7a0178cca2f2 29-Mar-2011 Iliyan Malchev <malchev@google.com> frameworks/base: some camera-interface cleanup

Methods getNumberOfVideoBuffers() and getVideoBuffer() as well as struct
image_rect_struct are no longer used (instead, the necessary information is
passed through ANativeWindow.)

Change-Id: If4b11446fc9ccbde1f6b45bc70c0d0b8e54376eb
Signed-off-by: Iliyan Malchev <malchev@google.com>
ibstagefright/CameraSource.cpp
0c03d5c7c2fa4d17f7f5159e3fddd2adf6bfc923 28-Mar-2011 Andreas Huber <andih@google.com> Ignore OMX codec messages once we're in ERROR state.

Change-Id: I2bdf58ed705a641be1f3aec89fa41cada6acfc96
related-to-bug: 4175573
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMXNodeInstance.cpp
b1d3d37c7990d22d0659e4c8c9aac56d4c09b6ea 28-Mar-2011 Andreas Huber <andih@google.com> am a4a81aef: am e7cedad2: am 2edbdcc6: Merge "After a seek there\'s a brief period where audio time isn\'t reestablished." into honeycomb-mr1

* commit 'a4a81aef39b15649bda146476d98f23ac554887f':
After a seek there's a brief period where audio time isn't reestablished.
3979f08f59ab2905510a439bae32b92ae21cfddf 28-Mar-2011 Andreas Huber <andih@google.com> am 2edbdcc6: Merge "After a seek there\'s a brief period where audio time isn\'t reestablished." into honeycomb-mr1

* commit '2edbdcc6f2572e5f84253617b1850908344b3f8c':
After a seek there's a brief period where audio time isn't reestablished.
98442ddd86ea33453c2db10cfbfc310ae49dce8f 28-Mar-2011 Andreas Huber <andih@google.com> Merge "After a seek there's a brief period where audio time isn't reestablished." into honeycomb-mr1
000cca99e085be1aa46df44109b37a84af58e7c8 26-Mar-2011 Mathias Agopian <mathias@google.com> Merge "merge libsurfaceflinger_client into libgui"
5f7fcf29a7475a20cf38bf72da67746135d504c3 26-Mar-2011 Mathias Agopian <mathias@google.com> merge libsurfaceflinger_client into libgui

this is the first step in unifying surfacetexture and surface.
for this reason the header files were not moved, as most of them
will eventually go away.

NOTE: currently we keep libsurfaceflinger_client.so as an empty
library to workaround prebuilt binaries wrongly linking against
it.

Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
ibmedia/Android.mk
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
fe9b71919cdddf898a516169db840751878098ca 26-Mar-2011 Andreas Huber <andih@google.com> After a seek there's a brief period where audio time isn't reestablished.

Don't use audio time to trigger a "we're very late, skipping ahead" action
until it's reestablished.

Change-Id: Ia8534e5bed60203d49a457d14b2e55eb972b5fa1
related-to-bug: 4173683
ibstagefright/AudioPlayer.cpp
06570ecee7cab4d89030ad89307882ac1f6570d1 26-Mar-2011 Andreas Huber <andih@google.com> am e2cb08bd: am 2fee96bc: am 1457ef74: Merge "Make sure we post a video event when seeking after seeing video EOS before." into honeycomb-mr1

* commit 'e2cb08bd4c3bc7e7045e107af41f7228d780be04':
Make sure we post a video event when seeking after seeing video EOS before.
3a4d645d3bf0bcd3e75968a9d88245fa9a9e0a42 25-Mar-2011 Andreas Huber <andih@google.com> am 1457ef74: Merge "Make sure we post a video event when seeking after seeing video EOS before." into honeycomb-mr1

* commit '1457ef74d49ee56097ad97cc078e898326beb7db':
Make sure we post a video event when seeking after seeing video EOS before.
5dac87b088556b8ed7f2a4f5546d31be0bb68680 25-Mar-2011 Andreas Huber <andih@google.com> Make sure we post a video event when seeking after seeing video EOS before.

Change-Id: I513bf94c0732a85324160977ea5723d8aafd6aba
related-to-bug: 3316960
ibstagefright/AwesomePlayer.cpp
f490e1765c44f63bde8e8acd905f36f92a840ddf 25-Mar-2011 James Dong <jdong@google.com> am 70a5b031: am 9fb98238: am 837430dd: Merge "Switch to use SF cached source" into honeycomb-mr1

* commit '70a5b0317d5029b34be26a423c0ebeaa74b728ed':
Switch to use SF cached source
df4a70cf8858185323e5176bd3bed51f1b5cbc35 25-Mar-2011 James Dong <jdong@google.com> am 837430dd: Merge "Switch to use SF cached source" into honeycomb-mr1

* commit '837430dd3440f6e71f68ef755399e22386dee084':
Switch to use SF cached source
3318523222e31fb4a7fcc345ddb4ec845d30ef96 25-Mar-2011 James Dong <jdong@google.com> Switch to use SF cached source

bug - 3500025

Change-Id: I96c416d39af498f091d2d52f5923f556382a9c1f
ibstagefright/AwesomePlayer.cpp
a61e0f254f586d59c575e3087992889c0cf026cb 24-Mar-2011 Glenn Kasten <gkasten@google.com> am 64233b86: am 503f4daf: am 0b1b2a32: Merge "Bug 4159373 Use HDCP debug settings" into honeycomb-mr1

* commit '64233b86f3a78d2c4a21092b242ad071a6b38bd5':
Bug 4159373 Use HDCP debug settings
ee9f5eefb02bdef3120cd4c1053c505065fe9094 24-Mar-2011 Glenn Kasten <gkasten@google.com> am 0b1b2a32: Merge "Bug 4159373 Use HDCP debug settings" into honeycomb-mr1

* commit '0b1b2a3212cc6c96959e009a9705f94f2ed8b4f4':
Bug 4159373 Use HDCP debug settings
eabd34665adc284525fe7337ad5c56a8b92964ef 23-Mar-2011 Glenn Kasten <gkasten@google.com> Bug 4159373 Use HDCP debug settings

Change-Id: Iefc0a0d4b574ee94fbc83bf74b57c1d3465c821c
ibstagefright/AwesomePlayer.cpp
d7c1648e99ca1ca9c4b941aeefccd2feb55a649f 22-Mar-2011 Andreas Huber <andih@google.com> Merge "Delay signaling the end of audio playback until all frames have actually played."
84b343f29063fbfa2ee61b2e3d37ba059ca507d4 22-Mar-2011 Andreas Huber <andih@google.com> Delay signaling the end of audio playback until all frames have actually played.

Change-Id: I1fa07358a885a818fd0a5d7da425740f86095e10
related-to-bug: 3404000
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
98d147d15f704b021e130c197258d0520d9ca7ae 22-Mar-2011 James Dong <jdong@google.com> Merge "Fix AAC encoder test util and remove files that are not needed"
27dcaafef982f4bf461ad013a3dae4c474908380 22-Mar-2011 James Dong <jdong@google.com> Merge "Fix AMRWB test util and remove useless files"
9d00f0375f8b1af9fe06637e4fa575c7c062df39 22-Mar-2011 Andreas Huber <andih@google.com> am 6834f061: am 970d7dd9: am e2c32e9f: If nothing is to be copied, return right away.

* commit '6834f0617aea626dfc0f306c9fa3610f32cee1f7':
If nothing is to be copied, return right away.
0e680d80363358f1759a376d9a968732ac41bbe8 22-Mar-2011 Andreas Huber <andih@google.com> am 453c0d5f: Merge "DO NOT MERGE: Enable http-live support for https:// urls, fix a parsing issue." into honeycomb-mr1

* commit '453c0d5f16a09473b0653566973bf8b6a867cf79':
DO NOT MERGE: Enable http-live support for https:// urls, fix a parsing issue.
90d97c996a15f9ebc90fbd260f47f95ffbe68006 22-Mar-2011 James Dong <jdong@google.com> Fix AMRWB test util and remove useless files

Change-Id: Ia11a1ec053855c9e692070d23c7a690c39cb3d5e
ibstagefright/codecs/amrwbenc/SampleCode/AMRWB_E_SAMPLE.c
ibstagefright/codecs/amrwbenc/SampleCode/Android.mk
ibstagefright/codecs/amrwbenc/SampleCode/eclair/Makefile
ibstagefright/codecs/amrwbenc/SampleCode/ms.mk
ibstagefright/codecs/amrwbenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/makefile
ibstagefright/codecs/amrwbenc/build/eclair/ms.mk
61589965cc98a92f7755dd929511bec4b2414daa 22-Mar-2011 James Dong <jdong@google.com> Fix AAC encoder test util and remove files that are not needed

Change-Id: Ib6cbe78de9f85e4df357d53365a35d1f9f0bb1d3
ibstagefright/codecs/aacenc/SampleCode/AAC_E_SAMPLES.c
ibstagefright/codecs/aacenc/SampleCode/Android.mk
ibstagefright/codecs/aacenc/SampleCode/eclair/Makefile
ibstagefright/codecs/aacenc/SampleCode/ms.mk
ibstagefright/codecs/aacenc/Tools/doit.mk
ibstagefright/codecs/aacenc/Tools/eclair.mk
ibstagefright/codecs/aacenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/aacenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/aacenc/build/eclair/makefile
ibstagefright/codecs/aacenc/build/ms.mk
bb3ae0dc89b06ddf81c34fc1ba7f972712ab8a92 22-Mar-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Enable http-live support for https:// urls, fix a parsing issue.

Change-Id: Ic683201dcfcd11fb4bccfeefc63427a4c9bfabb4
related-to-bug: 4148291
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/httplive/M3UParser.cpp
0a73d81f213fb2d6f2fdd59c4dda047bf453bb1c 22-Mar-2011 Andreas Huber <andih@google.com> Enable http-live support for https:// urls, fix a parsing issue.

Change-Id: I2284e1d62babde7f739fba6a3cb4e2619f0e62f9
related-to-bug: 4148291
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/httplive/M3UParser.cpp
b6a7147ce79b4fd44313f23d76e25c8d1919d490 22-Mar-2011 Andreas Huber <andih@google.com> am e2c32e9f: If nothing is to be copied, return right away.

* commit 'e2c32e9f966cf9f2c9ed94bf0703344a2cca284b':
If nothing is to be copied, return right away.
03f6f4e7e2ce09357cbc05bb546cd8a6e54b5bae 21-Mar-2011 James Dong <jdong@google.com> Add read and write option in opening file for output in the writers

Change-Id: Ibfba0aacd3c8587c04a2e903b636de337cc30104
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
310962976d575c0a97ec7a768e9cca0b2361daea 21-Mar-2011 Andreas Huber <andih@google.com> If nothing is to be copied, return right away.

This avoids a potential out-of-bounds problem in the code below.

Change-Id: I942d55da0a5288b37512cb74407f900a2d824c0c
related-to-bug: 4139974
ibstagefright/NuCachedSource2.cpp
0511969950188634f4212fcf63680c43207baedd 21-Mar-2011 Eric Laurent <elaurent@google.com> Merge "Fix issue 3483718: audio streaming and A2DP."
9b7d950f1f3b0c526712b713dbceb0e22762c015 21-Mar-2011 Eric Laurent <elaurent@google.com> Fix issue 3483718: audio streaming and A2DP.

The problem is that when switching from A2DP to device speakers or headset,
The AudioTrack binder interface to AudioFlinger must be destroyed and restored
to accomodate new buffer size requirements. Current AudioTrack implementation
did not restore properly the PCM buffer write index which caused a mismatch between
the written frame count in the mediaplayer renderer and the AudioTrack. The renderer
could then believe the AudioTrack buffer was full and stop writing data preventing the
AudioTrack to reach a bufffer full condition and resume playback.

The rendered was also modified to refresh the AudioTrack frame count (buffer size)
inside the write loop in NuPlayer::Renderer::onDrainAudioQueue() as this count can change
from one write to the next.

Also modified AudioTrack::obtainBuffer() to check for track invalidated status before
querying for available space in the buffer. This avoids writing to the old track's
buffer until full before detecting the invalidated condition and create a new track.

Change-Id: I16a857e464e466880847f52f640820aa271539ad
ibmedia/AudioTrack.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
c8a8472a0205dd698c8d81bf7e09026ca1013d1e 21-Mar-2011 Andreas Huber <andih@google.com> Merge "Support passing headers to MediaMetadataRetriever's setDataSource API"
af8791e112c8072452bd14ef3c43a47511d19542 21-Mar-2011 Andreas Huber <andih@google.com> Support passing headers to MediaMetadataRetriever's setDataSource API

Change-Id: Ib1a5c08fc5034cac05034db27007a35c9b660b26
related-to-bug: 3506316
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/mediametadataretriever.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ibmediaplayerservice/MidiMetadataRetriever.cpp
ibmediaplayerservice/MidiMetadataRetriever.h
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/include/StagefrightMetadataRetriever.h
1d54b3e0ec3d1ef17e75fec6f97be59f29721fff 19-Mar-2011 James Dong <jdong@google.com> Scale the thumbnail if display dimension is different from the actual buffer size

bug - 3379293

Change-Id: I31c08010c97387716433da99d648bd364847b6aa
ibstagefright/StagefrightMetadataRetriever.cpp
ebd5d2541d4e5351fd1f1a23fc9ef047cfa67575 19-Mar-2011 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
9c79141ee9bde51f6cad04568f21b530d28c11e9 18-Mar-2011 James Dong <jdong@google.com> Merge "Better organize media recorder error and information event and types"
d42573cace9db2b5948e540c32beaef80f04153c 18-Mar-2011 Andreas Huber <andih@google.com> Squashed commit of the following:

commit ed615e2803839ef28e0eab50d17844c207083ad6
Author: Andreas Huber <andih@google.com>
Date: Fri Mar 18 12:38:30 2011 -0700

Support for live streaming of webm content over http.

Change-Id: Ie9ebd23d2c44d192d348b9fa3f3a0f3f28ac9e4c

commit 9c50b1392471a3d652b4a875c823bee854f8855b
Author: Andreas Huber <andih@google.com>
Date: Thu Mar 17 13:33:22 2011 -0700

Upgrade to the latest version of libwebm.

Change-Id: Ic7965dda84131a38f9d3c72b6acd2025ace939ce

Change-Id: I3c993a89f749f05741594ef0ea47864e17ee783b
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/MatroskaExtractor.h
1caf58cd652edab4e05bfef8ccaa1497c450f5e9 18-Mar-2011 Eric Laurent <elaurent@google.com> Merge "Fix issue 4111672: AudioTrack control block flags"
bc2661e26894905b1c3f5c59963708700bbcecaa 18-Mar-2011 James Dong <jdong@google.com> Merge "Handle display dimension scaling event due to SAR embedded in AVC videos"
9cbb1a6f99003a9cd8765e11b9d7380e67839f82 18-Mar-2011 James Dong <jdong@google.com> Handle display dimension scaling event due to SAR embedded in AVC videos

bug - 3379293

Change-Id: I03cb548e61d31bc0a2fb40916d207aaf840fafce
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
bc07bcc65e91c7aea9713631ae67760dcf1b0286 18-Mar-2011 James Dong <jdong@google.com> Better organize media recorder error and information event and types

Change-Id: I45f1f953596985494725525c1fabf57eccc19175
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
d13ff411aeaac2730e012ba2dcce03c671d2eb97 18-Mar-2011 Andreas Huber <andih@google.com> Signal a runtime error if the AVCDecoder encounters an invalid frame.

Instead of asserting.

Change-Id: I4c89f5fef92e5adb11d1ea6b564a67e99fc96595
related-to-bug: 4109304
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
33797ea64d067dfeaacbfd7ebe7f3383b73961b5 17-Mar-2011 Eric Laurent <elaurent@google.com> Fix issue 4111672: AudioTrack control block flags

Make sure that all read/modify/write operations on the AudioTrack
and AudioRecord control block flags field are protected by the
control block's mutex.

Also fix potential infinite loop in AudioTrack::write() if the
written size is not a multiple of frame size.

Change-Id: Ib3d557eb45dcc3abeb32c9aa56058e2873afee27
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
c901f74404435cc1cf2717016e2b0092b6dcea24 17-Mar-2011 James Dong <jdong@google.com> am 782ffe91: am 9c0c5b56: am 2f1f2248: Fix missing AOSP copyright headers for a bunch of media framework files

* commit '782ffe91da665c6b1fb9e297faa6e0dc6035f40c':
Fix missing AOSP copyright headers for a bunch of media framework files
f432a761e73bef8be43f83377ecea8abef72ce86 17-Mar-2011 James Dong <jdong@google.com> am 2f1f2248: Fix missing AOSP copyright headers for a bunch of media framework files

* commit '2f1f2248c8439adbd686810e306c55f9e6a5abc3':
Fix missing AOSP copyright headers for a bunch of media framework files
27c174483a8ae9688d5d4897c19074f62c7f1701 17-Mar-2011 James Dong <jdong@google.com> Fix missing AOSP copyright headers for a bunch of media framework files

bug - 4119349

Change-Id: If5924e16a5f596d5d73d9beb66eaf5ac9a6f0e50
ibmedia/IOMX.cpp
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/ACodec.cpp
ibstagefright/codecs/avc/common/include/avc_types.h
ibstagefright/foundation/AHierarchicalStateMachine.cpp
ibstagefright/include/MPEG2TSExtractor.h
00d48b9495265457dfb265e766296212b5447b0e 17-Mar-2011 Andreas Huber <andih@google.com> Merge "Don't send the seek-complete notification twice."
c21359d332ea2ac5258f86e1cf46db9e0faf3e4b 16-Mar-2011 James Dong <jdong@google.com> resolved conflicts for merge of 1cbf8493 to master

Change-Id: Ifea2ba8b02ecf291fbd1612973647a95a70511c4
512895089f2035bc86d3f502255199809aca721b 16-Mar-2011 Andreas Huber <andih@google.com> Don't send the seek-complete notification twice.

Change-Id: Ie994de2d57e20dde12b8d59af4968d03569c7efa
related-to-bug: 3489432
ibstagefright/AwesomePlayer.cpp
eabc1ebd1b4a08b74ba51108c2b900b448cb802f 16-Mar-2011 James Dong <jdong@google.com> am fc591762: Merge "Add the default camera id to mCameraIds for emulator and those devices without media_profiles.xml configuration file." into honeycomb-mr1

* commit 'fc59176241f498ad4eeb4237800c2eb5edd9efcd':
Add the default camera id to mCameraIds for emulator and those devices without media_profiles.xml configuration file.
8031ec79eb657a0ae84325410578ea87f50eeb54 16-Mar-2011 James Dong <jdong@google.com> Add the default camera id to mCameraIds for emulator and those devices without media_profiles.xml configuration file.

bug - 4109530

Change-Id: Ib83be7a7f767a4b20ac338734ada1581e7a4c5bf
ibmedia/MediaProfiles.cpp
8190975e03954b2efe30bd2cd146d869ad676580 16-Mar-2011 Andreas Huber <andih@google.com> am 46956b06: Merge "DO NOT MERGE: Fix a race condition when playing an audio-only stream and seeking before starting." into honeycomb-mr1

* commit '46956b0691b2a228237d17536fe4ad33a760c0af':
DO NOT MERGE: Fix a race condition when playing an audio-only stream and seeking before starting.
ae03031ab6af9505335e888b709ee661fe04ed83 16-Mar-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Fix a race condition when playing an audio-only stream and seeking before starting.

Change-Id: I70dfdfb7c27e3c713079c359ef89a570eb600dc7
related-to-bug: 4039068
ibstagefright/AwesomePlayer.cpp
b874cd085bba63528c570f74c493bfea835190d9 16-Mar-2011 Andreas Huber <andih@google.com> Fix a race condition when playing an audio-only stream and seeking before starting.

Change-Id: Id3883293caf316ce492f5eb16428c15ced82da38
related-to-bug: 4039068
ibstagefright/AwesomePlayer.cpp
f1e10e8ed74cac805d601139882378a1f450fe94 15-Mar-2011 James Dong <jdong@google.com> Fix an issue where the timestamp provided by WAVExtractor does not start with 0

Change-Id: Ie8eb86e26f026c07a3c3be43e35027b19de4a2c3
ibstagefright/WAVExtractor.cpp
8635b7b095fbf7ffc63d3ce791891a9116ace1f6 15-Mar-2011 James Dong <jdong@google.com> Add memory leak tracking/debugging code to drm server

bug - 4099038

Change-Id: I6c048eaf3d7f34bc144b8daaa5fdef1ed474af66
ibmedia/Android.mk
ibmedia/MemoryLeakTrackUtil.cpp
ibmediaplayerservice/MediaPlayerService.cpp
3e67eeb5c710bcf00d4cd4d6105a0b5f7ee3007e 15-Mar-2011 Iliyan Malchev <malchev@google.com> Merge "frameworks/base: remove LOCAL_PRELINK_MODULE"
de6ee790f0e0b758894f72daf3ec742fdabf3d22 14-Mar-2011 James Dong <jdong@google.com> Merge "libstagefright: Add error handling in AMRNB deooder"
9691a73139bb36c5bf294ed13eedcb04d7f05320 14-Mar-2011 Iliyan Malchev <malchev@google.com> frameworks/base: remove LOCAL_PRELINK_MODULE

Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481
Signed-off-by: Iliyan Malchev <malchev@google.com>
ibeffects/lvm/lib/Android.mk
ibeffects/lvm/wrapper/Android.mk
ibeffects/visualizer/Android.mk
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/common/Android.mk
ibstagefright/foundation/Android.mk
ibstagefright/yuv/Android.mk
1549dbbfb0d18201cc568b4fa2bd6b0e7f582e9d 08-Mar-2011 Sidipotu Ashok <sashok@codeaurora.org> libstagefright: Add error handling in AMRNB deooder

Return error when AMRNB software decoder fails

Change-Id: I1203db4a4b5ac766c8c131d3d0ba18a4ff2e3ceb
ibstagefright/codecs/amrnb/dec/AMRNBDecoder.cpp
57069260754665c72ba9b5c6789c3c504b887d8b 14-Mar-2011 Mike Lockwood <lockwood@android.com> am 2d24213f: am 3ec9d06f: Merge "MtpDevice: Handle zero length packets in readResponse()" into honeycomb-mr1

* commit '2d24213fca55fece8ce4a69a53abcd45983b0443':
MtpDevice: Handle zero length packets in readResponse()
51db2c7bc702bd819830d73293630576fabb62db 14-Mar-2011 James Dong <jdong@google.com> Merge "Fix PV AAC decoder crash due to out-of-boundary array access."
150694cda0842d38a9358fe8d1fcb4fb4a76599e 14-Mar-2011 Andreas Huber <andih@google.com> Experimental support for changing the video surface/texture on an active mediaplayer

Change-Id: Ia7a5126e9311dc1c721ab2aef54bd698151c88cd
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
6df0dc04a43e5272f1c57e772b0c0842c03a01bc 13-Mar-2011 James Dong <jdong@google.com> Fix PV AAC decoder crash due to out-of-boundary array access.

Two cases were fixed:
o xover had a larger number of bands than the high frequency band, which led to some negative array index under some circumstances
o integrated a PV fix from OpenCore.git where the array index for scratch_mem may be over the array boundary

bug - 3473128

Change-Id: I844cd8797b4e5b0120fafa0c46a8c1facea78a8b
ibstagefright/codecs/aacdec/sbr_dec.cpp
41be68d9953c8d87c7d4889e551a32a1028c90ec 14-Mar-2011 Mike Lockwood <lockwood@android.com> am 3ec9d06f: Merge "MtpDevice: Handle zero length packets in readResponse()" into honeycomb-mr1

* commit '3ec9d06f070db3a8899ad235736abd0ffaf6f578':
MtpDevice: Handle zero length packets in readResponse()
3d74457b66533b170606347e60628e55a2af255e 14-Mar-2011 Mike Lockwood <lockwood@android.com> MtpDevice: Handle zero length packets in readResponse()

Bug: 3509060

Change-Id: I291eefeaa667688c9e6e75da74ec3025b84065e9
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
8b9a9067511efca72ca872d689e30315c1450f94 14-Mar-2011 Mike Lockwood <lockwood@android.com> am 0bea34fc: am dec0b755: Merge "MTP host: Fix problems reading large data packets" into honeycomb-mr1

* commit '0bea34fc3ec5dfd8d0e7483368875b457b7e2262':
MTP host: Fix problems reading large data packets
23771ca8d528e1887a263365e01ac9f681248f22 14-Mar-2011 Mike Lockwood <lockwood@android.com> am dec0b755: Merge "MTP host: Fix problems reading large data packets" into honeycomb-mr1

* commit 'dec0b755fff1bf87aafd397ef0dd864f54c587cf':
MTP host: Fix problems reading large data packets
33bde8d8c4fc71fb3cdd8356fd0df70ffb44fcd7 12-Mar-2011 Mike Lockwood <lockwood@android.com> MTP host: Fix problems reading large data packets

Fixes problem reading large thumbnails via PTP

Bug: 4065217

Change-Id: I643672512829c93ab0827091f39103dbb1918071
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
6d8ed9598d526dfe9be983543f125e3178d7c9b1 26-Feb-2011 James Dong <jdong@google.com> If MP3 decoder output frame size were 0, media server would crash.

This is to log an error message should that happen.

Change-Id: I0f947cd7a8e6639b4f11a928bf90286a34cc652e
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
04b1447ce161ab99cde5d071014367e5b21571ca 11-Mar-2011 James Dong <jdong@google.com> am 68f66b94: Merge "MP3Extractor and MP3 decoder fixes - DO NOT MERGE" into gingerbread

* commit '68f66b945e7a69549689becd2e656d9056f1e7f5':
MP3Extractor and MP3 decoder fixes - DO NOT MERGE
9dec4911624b449afcf42a8d99ac78ca73952331 11-Mar-2011 James Dong <jdong@google.com> MP3Extractor and MP3 decoder fixes - DO NOT MERGE

cherry-picked the following patches from HC branch:
o PV's mp3 decoder mistreated inputBufferCurrentLength in unit of bytes as in unit of bits
o Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode
o When the temp buffer wraps around, the next read position should start
from what have been read to avoid reading the same remaining bytes in
the buffer again.
o Speed up MP3Extractor using cached reads

bug - 4083532

Change-Id: I7bbd2bd358fd5ee322287866cb8ee0c2bb217fea
ibstagefright/MP3Extractor.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_decode_header.cpp
34fba6695fe1b55710baef561785caa0486654fb 11-Mar-2011 Andreas Huber <andih@google.com> Only use ChromiumHTTPDataSource if webkit was built with chromium support.

Change-Id: I9ce16f4aae35c61c9fb92fefc2a7c72537631cba
ibstagefright/Android.mk
ibstagefright/HTTPBase.cpp
884d064fbf7f45f8089abd7d87bdca5d325cc2ab 11-Mar-2011 Glenn Kasten <gkasten@google.com> am 055066e1: am 92f2f3ff: Merge "Bug 3012968 DRM output control" into honeycomb-mr1

* commit '055066e1e77d944383360d50057f5b8187f23c0b':
Bug 3012968 DRM output control
203616faff0be6c2306f02d82f3ce305746beb49 11-Mar-2011 Glenn Kasten <gkasten@google.com> am 92f2f3ff: Merge "Bug 3012968 DRM output control" into honeycomb-mr1

* commit '92f2f3ff2ea5c5b474722f2055cfee4916010e26':
Bug 3012968 DRM output control
2eb62955eb84b97695e8a7e56e14310cbb86412b 28-Jan-2011 Glenn Kasten <gkasten@google.com> Bug 3012968 DRM output control

Modifies Stagefright to verify that there is a hardware-protected path
to video sink for DRM content.

Change-Id: I18b8741390e803a05a88c7f180b860a24ba88a10
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
b5ce361d19e69fe156f7188c9ee0f4734b259874 25-Feb-2011 Gloria Wang <gwang@google.com> Fix for bug 3477330
This patch fixs a crash bug caused by using a NULL DecryptHandle pointer.
Fix by using sp<DecryptHandle> instead.

Change-Id: Icbd59858385e8256125a615a3c82656b25319d44
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/FileSource.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/ChromiumHTTPDataSource.h
ibstagefright/include/DRMExtractor.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/NuHTTPDataSource.h
c4122f56d6c3425666b67a81ed2d7224c8a4cda3 10-Mar-2011 Andreas Huber <andih@google.com> Merge "Support http authentication ala http://foo:bar@host.org in stagefright."
3b93951624b5490a2d40abc5385dc71b15526757 10-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am d1e09e08: am 8df2477c: am bd0e806a: Support IPv6->IPv4 fallback in HTTP streaming.

* commit 'd1e09e08210e755034bbdd07e1f48b35ec9a4752':
Support IPv6->IPv4 fallback in HTTP streaming.
e146aa536ae4c990e70dd03e85f5bac9fbe956a0 10-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am d6aaec0c: am e4a02b61: am b9da16a1: Support IPv6 in HTTP streaming.

* commit 'd6aaec0ce7639a9d8bb73983711e20545b55e860':
Support IPv6 in HTTP streaming.
4ec5179bf8cdebe37538fd22a690f20783a2b010 10-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am 8df2477c: am bd0e806a: Support IPv6->IPv4 fallback in HTTP streaming.

* commit '8df2477c4e7e5bf72d6d1216ae5184c53304470e':
Support IPv6->IPv4 fallback in HTTP streaming.
83bfaf0acb485327bbc49356ea76025645f9ec0d 10-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am e4a02b61: am b9da16a1: Support IPv6 in HTTP streaming.

* commit 'e4a02b61290fa61955c979cfd1afc17a92bba481':
Support IPv6 in HTTP streaming.
d563b839989fbacfe958db4e6b9876796841aa21 10-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am bd0e806a: Support IPv6->IPv4 fallback in HTTP streaming.

* commit 'bd0e806a61df9b67890dc3b1390db554e7468b4a':
Support IPv6->IPv4 fallback in HTTP streaming.
f64b241764f52ebd595fc4535d4f54dc07f501fc 10-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am b9da16a1: Support IPv6 in HTTP streaming.

* commit 'b9da16a1e36fcf4e38a50adcf10ea59c12dea254':
Support IPv6 in HTTP streaming.
70fcf534d3fb6faa3aaa8061fc87f720c396e7ae 09-Mar-2011 Andreas Huber <andih@google.com> Support http authentication ala http://foo:bar@host.org in stagefright.

Change-Id: I0b20077ad540ec8aa11adf0ca9f4142ea8b8ae98
ibstagefright/chromium_http/support.cpp
72fee698602ede6f6b64b77c0f1f28d96ff673d3 09-Mar-2011 Andreas Huber <andih@google.com> Use the same http proxy mechanism that webkit uses instead of bypassing proxies.

Change-Id: Ifd64664d3052fbfa715c2920984170c2a6190f6b
related-to-bug: 3440271
ibstagefright/chromium_http/support.cpp
2aac40fe9d42a15dab0af6a0efea7a2468cd9e4f 09-Mar-2011 Eric Laurent <elaurent@google.com> am 2dc78477: am cc34967f: Merge "Fix issue 3439872: video chat and bluetooth SCO" into honeycomb-mr1

* commit '2dc78477364bd4accb9a603baaafca9a5523dcec':
Fix issue 3439872: video chat and bluetooth SCO
1156dc913a5ba7b2bc86489468d4914430f03d14 09-Mar-2011 Andreas Huber <andih@google.com> An HTTP datasource for stagefright using the chromium code.

Use of this new datasource is now the default unless overwritten by

adb shell setprop media.stagefright.use-chromium false

Change-Id: I156a8eb9a1fff1cb537b4aec6cf3e8e6052be81e
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/HTTPBase.cpp
ibstagefright/chromium_http/Android.mk
ibstagefright/chromium_http/ChromiumHTTPDataSource.cpp
ibstagefright/chromium_http/support.cpp
ibstagefright/chromium_http/support.h
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/ChromiumHTTPDataSource.h
ibstagefright/include/HTTPBase.h
ibstagefright/include/LiveSession.h
ibstagefright/include/NuHTTPDataSource.h
1703cdfee717b1b312bf8979816a9e2f16a82e5d 07-Mar-2011 Eric Laurent <elaurent@google.com> Fix issue 3439872: video chat and bluetooth SCO

This change fixes the stability problems experienced when using
a bluetooth headset supporting both A2DP and SCO. Problems occur
when starting the video chat at which time the A2DP output is being
stopped to start SCO. At that time, active AudioTracks are invalidated
by AudioFlinger so that a new AudioTrack binder interface can be
recreated by the client process on the new mixer thread with correct parameters.
The problem was that the process to restore the binder interface was not
protected against concurrent requests which caused 2 binder interfaces
to be created sometimes. This could lead to permanent client deadlock
if one of the client threads was waiting for a condition of the first
created binder interface while the second one was created (as the AudioFlinger
would only signal conditions on the last one created).
This concurrent request situation is more likely to happen when a client
uses the JAVA AudioTrack as the JNI implementation uses simultaneously the
native AudioTrack callback and write push mechanisms. By doing so, the code
that checks if the binder interface should be restored (in obtainBuffer()) is
much more likely to be called concurrently from two different threads.

The fix consists in protecting the critical binder interface restore phase
with a flag in the AudioTrack control block. The first thread acting upon the binder
interface restore request will raise the flag and the second thread will just wait for
a condition to be signaled when the restore process is complete.

Also protected all accesses to the AudioTrack control block by a mutex to prevent
access while the track is being destroyed and restored. If a mutex cannot be held
(e.g because we call a callback function), acquire a strong reference on the IAudioTrack
to prevent its destruction while the cblk is being accessed.

Modified AudioTrack JNI to use GetByteArrayElements() instead of
GetPrimitiveArrayCritical() when writing audio buffers. Entering a critical section would
cause the JNI to abort if a mediaserver crash occurs during a write due to the AudioSystem
callback being called during the critical section when media server process restarts.
Anyway with current JNI implementation, either versions do not copy data most of the times
and the criticial version does not guaranty no data copy.

The same modifications have been made to AudioRecord.

Change-Id: Idc5aa711a04c3eee180cdd03f44fe17f3c4dcb52
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
0ef631528fa7a2f061aea2bdd68ef734ed626b87 04-Feb-2011 Lorenzo Colitti <lorenzo@google.com> Support IPv6->IPv4 fallback in HTTP streaming.

Bug: 4068057
Change-Id: I425f65a99eb9e0986d9e9c0e264c3c8f61fcfdbd
ibstagefright/HTTPStream.cpp
7528e58daa21c43dd937d06b130a033f31c99604 04-Jan-2011 Lorenzo Colitti <lorenzo@google.com> Support IPv6 in HTTP streaming.

Bug: 4068057
Change-Id: I1e141ec99fbfa43722eeb2e4161d56548ffc0640
ibstagefright/HTTPStream.cpp
a5967faabad08cb5cd0c7098289fb62216dffbc6 08-Mar-2011 James Dong <jdong@google.com> Merge "Add the default back-facing camera to the MediaProfile camera vector As a result, missing media_profiles.xml will be still allowed."
d3ee677783864d933cd8bc82c14666bd135d43bd 08-Mar-2011 James Dong <jdong@google.com> Add the default back-facing camera to the MediaProfile camera vector
As a result, missing media_profiles.xml will be still allowed.

Change-Id: Ie6c1bbfdfd4e971f1d5d0e031a913e757f3863a7
ibmedia/MediaProfiles.cpp
af50f1169ec7489f981158ba6d1afacdeeeda9c3 08-Mar-2011 James Dong <jdong@google.com> am d581c047: Add missing copyright headers for a couple of files. DO NOT MERGE Cherry-picked from other branch...

* commit 'd581c04722e2610ca5471b9c3d1881043b1205b1':
Add missing copyright headers for a couple of files. DO NOT MERGE Cherry-picked from other branch...
64bfdc7d8d8e0404f7193f776fd226d1cd870f93 07-Mar-2011 James Dong <jdong@google.com> Add missing copyright headers for a couple of files. DO NOT MERGE
Cherry-picked from other branch...

bug - 4025673

Change-Id: I6fd1baaf5625297fb1e358de3a3a632a7f5deb90
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuHTTPDataSource.h
38978f57fec45748fd1eb7f96d25bc4e8415aabb 07-Mar-2011 James Dong <jdong@google.com> am a7c9dffd: am 4ed072f9: Merge "Add missing copyright headers to a couple of files" into honeycomb-mr1

* commit 'a7c9dffdb8097105482ce976ba0a51baa76d8806':
Add missing copyright headers to a couple of files
fbb1909036ba7de3d9fb8738daba60b357881153 05-Mar-2011 James Dong <jdong@google.com> Add missing copyright headers to a couple of files

bug - 4025673

Change-Id: Ie1c4cf18c06032f9b89cc08e5be25d38c0f76aa1
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuHTTPDataSource.h
e6482914b71449319abd691f304b6ae9223f97a1 07-Mar-2011 Andreas Huber <andih@google.com> Merge "Added more metadata published by the MediaMetaDataRetriever"
6ab1d170a6707e4b92bc1ee353dcd2bf7b897bac 05-Mar-2011 James Dong <jdong@google.com> am 0b7912d3: am 99b86247: Fix a leak from AACEncoder.cpp

* commit '0b7912d32848e123e3356d6452895f734b5dda7e':
Fix a leak from AACEncoder.cpp
73870c96dc3d652b64b74b023f3df67edf7d08c0 05-Mar-2011 James Dong <jdong@google.com> Fix a leak from AACEncoder.cpp

bug - 3470617

Change-Id: I328e92bc1b2aca72e5856703dae00f957f40bc27
ibstagefright/codecs/aacenc/AACEncoder.cpp
918581cd1d50f0d34a94ae820d82dc7ab50aaa99 04-Mar-2011 James Dong <jdong@google.com> am 70d7522e: am 865448a0: Merge "Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode" into honeycomb-mr1

* commit '70d7522e9f25f80f528d9737fa67976eacb24afd':
Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode
2eb6a47b58c5b36f887a372e89f3d70f5d40812c 04-Mar-2011 James Dong <jdong@google.com> Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode

For some mp3 files, the mode can be changed from one audio frame to another. Without
the capability to switch modes, the decoded audio may have lots of artifacts.

bug - 3253310

Change-Id: Id57bb1f204642d15e38a800c72214f6794cfaa37
ibstagefright/MP3Extractor.cpp
2256d515e6fa1dd95b8fd0de05b56d8c83af8327 04-Mar-2011 Andreas Huber <andih@google.com> Added more metadata published by the MediaMetaDataRetriever

- presence of audio/video content
- video dimensions
- avg. bitrate

Change-Id: Ie6d478a3c2d0bb6bebaea99ac0a20a4c17808934
related-to-bug: 3506316
ibstagefright/StagefrightMetadataRetriever.cpp
bdba1f2a3813e4c8e690d71cfc2b82d5dee85c73 03-Mar-2011 Andreas Huber <andih@google.com> Reject streaming .mp4 files over http that are not muxed reasonably.

Audio and video samples must be reasonably close by at any given timestamp,
for now we define "reasonably" as "their offsets must not be more than 1MB apart".

related-to-bug: 3509977
Change-Id: I4c3a2a239bf911306833f3b17b73c9e2f76ab901
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/MPEG4Extractor.h
4f46fed004b76d462ef859aa94a3c056b0e79b60 03-Mar-2011 Gloria Wang <gwang@google.com> Merge "- To track the usage of all audio output devices - To track the currently used audio device - The devices are separated as speaker and other audio devices - Provide the collected data to battery application through pullBatteryData()"
9ee159b79022b2e1a050acb3890ce948e99e9ccb 24-Feb-2011 Gloria Wang <gwang@google.com> - To track the usage of all audio output devices
- To track the currently used audio device
- The devices are separated as speaker and other audio devices
- Provide the collected data to battery application through pullBatteryData()

Change-Id: I374c755266b5ac6b1c6c630400f4daf901ea8acc
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
9a5f9b7dbe9ecdebfbd9e8f96452c42213b08a31 03-Mar-2011 Jamie Gennis <jgennis@google.com> Merge "Stagefright: Use the ANW min undequeued bufs query."
c3369fd756f015b06fe5824766e618160fe079f5 03-Mar-2011 Andreas Huber <andih@google.com> Merge "Resize internal PES buffers dynamically instead of relying on a fixed maximum size."
3e57322b332214e3cb1874e67a5704c9b2b5f6ec 03-Mar-2011 Andreas Huber <andih@google.com> Resize internal PES buffers dynamically instead of relying on a fixed maximum size.

Change-Id: Ibe720e6148799e32d039ccdb4b269659bc779952
ibstagefright/mpeg2ts/ATSParser.cpp
43a7e77206090d5a301dea224347a01a59fb2dfc 03-Mar-2011 Andreas Huber <andih@google.com> Merge "Allow optional specification of a PTS timestamp when signalling a discontinuity."
32f3cefa373cd55e63deda36ca9d07c7fe22eaaf 03-Mar-2011 Andreas Huber <andih@google.com> Allow optional specification of a PTS timestamp when signalling a discontinuity.

If present, rendering will be suppressed until reaching the timestamp.

Change-Id: Ic64bdf4225063c5a4d042ea9809960b843a46d19
related-to-bug: 3489454
ibmedia/IStreamSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerStreamListener.cpp
ibmediaplayerservice/nuplayer/NuPlayerStreamListener.h
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
f96ebc66c0feb441733da6d08bca6d8de96cd9f0 02-Mar-2011 James Dong <jdong@google.com> Merge "PV's mp3 decoder mistreated inputBufferCurrentLength in unit of bytes as in unit of bits"
ebdc652a891659d83386c3f92715ad6c70c8ba2d 02-Mar-2011 James Dong <jdong@google.com> PV's mp3 decoder mistreated inputBufferCurrentLength in unit of bytes as in unit of bits

bug - 3464899

Change-Id: Idef81a1bd3846d60fc5e4a40c11ce1ba78ebaa23
ibstagefright/codecs/mp3dec/src/pvmp3_decode_header.cpp
3fd91baee812919f53a85c5c05f32606313f8334 02-Mar-2011 Andreas Huber <andih@google.com> Provide better duration and seek accuracy if playing vorbis audio from a non-streaming source.

Change-Id: Ib823c2dd28e84f4c49e3676f4e4962a6e006b166
related-to-bug: 3107013
ibstagefright/OggExtractor.cpp
2a21ff5f51f74d98fcdee96dff1da658da8da84b 02-Mar-2011 James Dong <jdong@google.com> Merge "Get rid of redundant media profiles"
2a7e0a1eb29306982fd77bdc64d324464a48a2b9 01-Mar-2011 James Dong <jdong@google.com> Get rid of redundant media profiles

bug - 3330679

Change-Id: Idc55aea32746c0c57552c5e15a289681421aa859
ibmedia/MediaProfiles.cpp
d71a0e1ac517cf312b9a96fe5ba9de04f2b9ffd4 01-Mar-2011 Eric Laurent <elaurent@google.com> Fix issue 3499926.

Make sure that NumberEffectsEnabled is decremented at the same time as
SamplesToExitCountBb reaches 0 in Effect_process(). Not doing so
causes NumberEffectsEnabled not being decremented if Effect_setEnabled()
is called after SamplesToExitCountBb reaches 0 and before next Effect_process() is called.

Change-Id: Id827a301f93a5a09ecd9995a0c7d731ef526711a
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
59e7879a8482284a434268d51b4b438f0625d1be 01-Mar-2011 Jamie Gennis <jgennis@google.com> Merge "Stagefright: Query buffer usage from the component."
e13e24b6e8a7c2d0244ba575e309fb1254119a82 01-Mar-2011 Jamie Gennis <jgennis@google.com> Merge "Add an OMX IL API for querying buffer usage flags."
d2d38d5c937c552555aec8aa2eb9822a19b2476b 01-Mar-2011 Jamie Gennis <jgennis@google.com> Merge "Fix error recovery in Stagefright init."
258d4e3aef7984574b0972a66871afc8a13d8e4e 28-Feb-2011 Jamie Gennis <jgennis@google.com> Stagefright: Use the ANW min undequeued bufs query.

This change modifies Stagefright's ANativeWindow initialization to use
the new MIN_UNDEQUEUED_BUFFERS query on the ANativeWindow.

Change-Id: I62565945e90ac40de326de77adcfa5577ed89975
Related-Bug: 3356050
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
74006804065941841883c4b46ee785070164023f 23-Feb-2011 Jamie Gennis <jgennis@google.com> Fix error recovery in Stagefright init.

This change fixes the error path of
OMXCodec::allocateOutputBuffersFromNativeWindow so that it cancels the
correct number of buffers if a dequeueBuffer operation fails.

Change-Id: Ib7cdcdf24f1718bc070ad218a5980949c0e942eb
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
3c14b9745c4afc88cec247d9dd0b003e087cbb52 24-Feb-2011 Jamie Gennis <jgennis@google.com> Stagefright: Query buffer usage from the component.

This change makes Stagefright query the gralloc buffer usage flags from
the OMX IL component and passing those flags on to the ANativeWindow.

Change-Id: Ic9af8a9e6df9ff4aadc7355890324d68841bc488
Related-Bug: 3479027
ibstagefright/ACodec.cpp
ibstagefright/OMXCodec.cpp
e2ce6458659c6e1bad420357b61dc10cd8bbe2ab 24-Feb-2011 Jamie Gennis <jgennis@google.com> Add an OMX IL API for querying buffer usage flags.

This change defines an OpenMAX IL API for querying from the IL component
the gralloc buffer usage flags that should be used to allocate the
buffers. It also adds the Stagefright plumbing for using the new OMX IL
API.

Change-Id: I046b5e7be70ce61e2a921dcdc6e3aa9324d19ea6
Related-Bug: 3479027
ibmedia/IOMX.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
6fa83fbad4bf779c6677d525d434f0738726465e 28-Feb-2011 James Dong <jdong@google.com> Merge "The color conversion from YUV420Planar to RGB only requires the image width to be a multiple of 2, not 4."
8ddeebb93cb41e7a8e9fe763afb6c6016b21fa61 21-Feb-2011 Glenn Kasten <gkasten@google.com> Bug 3447027 Limit previews for DRM video

Change-Id: I5b15cf6a15623cf73f007c59143ab5e3fa5a07e8
ibstagefright/DRMExtractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
633b4c8cc1f41370576aa43e6c5a70e4865a36df 25-Feb-2011 James Dong <jdong@google.com> mp4a box contains mp3 audio when the object type indication is 0x6b

In this case, the MediaExtractor returns ERROR_UNSUPPORTED since our
software MP3 audio decoder may not be able to handle packetized
MP3 audio.

bug - 3377570

Change-Id: I8bb6b3813716b5fa019e318842e8e1908b3c8bf8
ibstagefright/MPEG4Extractor.cpp
18eb42eca6949158e630eae38a70db8f837c17c8 25-Feb-2011 Andreas Huber <andih@google.com> Merge "Alternate patch for late video issue: seek only the video ahead to the next"
827b55c5f3409b68ef57816208220d8804693e44 24-Feb-2011 Andreas Huber <andih@google.com> Merge "Suppress the logging of URLs when in incognito mode."
7314fa17093d514199fedcb55ac41136a1b31cb3 24-Feb-2011 Andreas Huber <andih@google.com> Suppress the logging of URLs when in incognito mode.

Change-Id: Ib951b495eae15669e160ef54686eab0eeb9b366a
related-to-bug: 3336575
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/LiveSession.h
ibstagefright/include/NuHTTPDataSource.h
64bb6983690bf994d904591145a3cdd6373bdbe6 24-Feb-2011 Andreas Huber <andih@google.com> Alternate patch for late video issue: seek only the video ahead to the next

syncframe after the current audio media position, leave audio untouched.

Change-Id: Ia9fa8e205467e5460c8219afd396bddd09fcfb46
related-to-bug: 3375737
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
72feaa5df1f7b15b18e30592653dc511dc0b8c51 24-Feb-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 3438258 Add SurfaceTexture as MediaPlayer sink"
e23da615c0b1721fe7d9d2e06e82e43b9bd89df3 24-Feb-2011 James Dong <jdong@google.com> Fix MP3Extractor

When the temp buffer wraps around, the next read position should start
from what have been read to avoid reading the same remaining bytes in
the buffer again.

o also fix some of the formatting string for logging

bug - 3482444

Change-Id: Ie0b56f4691ff9e80a48a57f1b7d0d28c78cfb313
ibstagefright/MP3Extractor.cpp
9287abf2657bee9464965c37bdaa866d023c9d89 24-Feb-2011 Glenn Kasten <gkasten@google.com> Merge "Don't crash when parsing DRM MIME types"
17e89b555a41aa591f1a01ecd51a7cb5a7bcfc0e 24-Feb-2011 James Dong <jdong@google.com> d263 may contain optional bitr box, and thus its size can be up to 23 bytes

bug - 3482703

Change-Id: Id6fdf9d1f4a304954c018b67d50bd79a07164687
ibstagefright/MPEG4Extractor.cpp
676ae7591c5260869f89efe2380afaacb79bacc9 24-Feb-2011 Mathias Agopian <mathias@google.com> Merge "Remove RefBase.h dependency on TextOutput.h"
1173118eace0e9e347cb007f0da817cee87579ed 09-Feb-2011 Glenn Kasten <gkasten@google.com> Bug 3438258 Add SurfaceTexture as MediaPlayer sink

This change enables the use of a SurfaceTexture in place of a Surface
as the video sink for an android.media.MediaPlayer. The new API
MediaPlayer.setTexture is currently hidden.

This includes:
- New Java and C++ interfaces
- C++ plumbing and implementation (JNI, Binder)
- Stagefright AwesomePlayer and NuPlayer use ANativeWindow
(either Surface or SurfaceTextureClient)

Change-Id: I2b568bee143d9eaf3dfc6cc4533c1bebbd5afc51
ibmedia/Android.mk
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/TestPlayerStub.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibstagefright/ACodec.cpp
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/SoftwareRenderer.h
7e20422fb3b0c11b18ae142f3be08f9bf65bfd4b 23-Feb-2011 Gloria Wang <gwang@google.com> Merge "To collect the total usage time of encoders in the media recorder"
75b0b5473c7b43f8c5972db7e6e8930988ead751 23-Feb-2011 Gloria Wang <gwang@google.com> To collect the total usage time of encoders in the media recorder

Change-Id: I94c9c94dec6bd714a3ebf96b4465b94f069e55b8
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
f7f3e824a8cb2b38355db8e4f99e43b90ee71ce4 23-Feb-2011 James Dong <jdong@google.com> Merge "Application-managed callback buffer support for raw image"
51b9a8b53eaa1a0188be95d4d6a749424787e0d6 23-Feb-2011 Gloria Wang <gwang@google.com> Merge "- Add method in MediaPlayerService to collect and pull codec usage (duration) for the battery app - Collect MediaPlayer decoding usage data"
7cf180c9bff69e5cc4a2f4e53b432db45ebbebab 20-Feb-2011 Gloria Wang <gwang@google.com> - Add method in MediaPlayerService to collect and pull
codec usage (duration) for the battery app
- Collect MediaPlayer decoding usage data

Change-Id: I0ef4e32b6a041ba1fe73c19f9c67185c61d03965
ibmedia/IMediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/AwesomePlayer.cpp
e468ac57f6e8afc6078c76d4eb1ac327112a3de0 18-Feb-2011 James Dong <jdong@google.com> Application-managed callback buffer support for raw image

bug - 3292153

Change-Id: I9789f7c5cde3a3889d7375e881181e9152d95fc2
ibstagefright/CameraSourceTimeLapse.cpp
95d7e994c73c17b27c7134ba3cc3acbb5889aa87 17-Feb-2011 Mathias Agopian <mathias@google.com> Remove RefBase.h dependency on TextOutput.h

Change-Id: I72cd6b98ef82b4868fe1c8ec87862cf43fb4ee73
ibstagefright/include/AMRExtractor.h
ibstagefright/include/MP3Extractor.h
ibstagefright/include/OggExtractor.h
ibstagefright/include/WAVExtractor.h
ibstagefright/include/avc_utils.h
ibstagefright/mpeg2ts/ESQueue.h
8e0e1979f0f41487b0f18aa5b9c8c52a39ca27f4 23-Feb-2011 James Dong <jdong@google.com> Merge "Remove mkvparser code from /frameworks/base"
c498a2747314b1e863eab6a22aaf7323642ba62a 23-Feb-2011 James Dong <jdong@google.com> Remove mkvparser code from /frameworks/base

bug - 3322129

Change-Id: I94dca6234ce57c9a32290aa7ac4885b0a2f566a9
ibstagefright/matroska/Android.mk
ibstagefright/matroska/mkvparser.cpp
ibstagefright/matroska/mkvparser.hpp
fcea8f7a7d178e5426aa06586cff54726e18d1f6 23-Feb-2011 Andreas Huber <andih@google.com> Support for PCMA and PCMU raw audio data in RTP/RTSP.

Change-Id: Icb87bdfa7cf572c572e2a86c46fa072d9fad18f6
related-to-bug: 3084183
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARawAudioAssembler.cpp
ibstagefright/rtsp/ARawAudioAssembler.h
ibstagefright/rtsp/Android.mk
a849440ca96e93f700d62c6e41d48905b4d405b6 18-Feb-2011 Mike Lockwood <lockwood@android.com> MTP: Add support for dynamically adding and removing storage units

BUG: 3402847

Change-Id: I7da266061d949abcb6bb11c6faaa47b5e4a2a977
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/mtp.h
39a5f1bbf88c124dc24b34d718a2d95f577b5bf1 22-Feb-2011 Andreas Huber <andih@google.com> Merge "Support more MPEG4-LATM audio functionality."
55e26193c885b7d5acdae9978848e6587987790f 22-Feb-2011 Andreas Huber <andih@google.com> Support more MPEG4-LATM audio functionality.

related-to-bug: 3474610

Change-Id: I6dab40e8b465922c62be9ee7f168718822c6caac
Now skipping extra header that the spec claimed shouldn't be present in LATM...
ibstagefright/foundation/ABitReader.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.h
f1d985081cff2a6aa2397c5341da8432db753211 22-Feb-2011 James Dong <jdong@google.com> Check file descriptor before passing it through binder calls

bug - 3476613

Change-Id: I858933fd2fe4c095c0bd58bf50344c47fc104be9
ibmedia/mediarecorder.cpp
8c8f24dce1dfc2d1eed8f7856ffceaa349afa2a6 19-Feb-2011 Glenn Kasten <gkasten@google.com> Don't crash when parsing DRM MIME types

Change-Id: I414897c911a6588061ddbb5f05c574e78162dca9
ibstagefright/MediaExtractor.cpp
0e10ea4e9773fc9c6c391b5b391a95e29edf29e4 17-Feb-2011 Andreas Huber <andih@google.com> Merge "Experimental support for https transfers in stagefright."
a472613aec322e25891abf5c77bf3f7e3c244920 16-Feb-2011 James Dong <jdong@google.com> A/V synchronization at the beginning of a recording session

o do not use edts/elst boxes since these optional boxes are ignored
o manipulate the first video/audio frame duration to make sure that the rest
of the audio/video is in sync (ideally, we should only manipulate
the vidoe frame duration, not the audio)
o reduce the initial audio mute/suppression period, which is used to
eliminate the "recording" sound.

bug - 3405882 and 3362703

Change-Id: Ib0acfb4f3843b365157288951dc122b006299c18
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
8cb0c4168bf4b678e4a6edfcf409247016be20d5 17-Feb-2011 Andreas Huber <andih@google.com> Experimental support for https transfers in stagefright.

Change-Id: If1bd0f265dda136c7c34b53317f64383023b53a3
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/HTTPStream.h
ibstagefright/include/NuHTTPDataSource.h
b8dc45f224232e6ff64c1528b9e549b5a348fcd3 16-Feb-2011 Andreas Huber <andih@google.com> am dbe09da6: DO NOT MERGE: Respond to RTSP server->client requests.

* commit 'dbe09da6ac4d1e9e78e5c8f33fbc6d32822ba7ed':
DO NOT MERGE: Respond to RTSP server->client requests.
917429960b0e0d0c363e849f482f6aeb11c9b7d7 16-Feb-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Respond to RTSP server->client requests.

Even if it's just to tell them that we don't support any (this is optional).

Change-Id: Iee50b4020f28a47dfbe5d56f1732fe044b3b3655
related-to-bug: 3353752
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
4fd9736c7719ea121f9717b331b771bef798ee64 16-Feb-2011 Andreas Huber <andih@google.com> Merge "Respond to RTSP server->client requests."
5ef152132b477a07fa31b2ddd39f4cf7a29f68b4 16-Feb-2011 Andreas Huber <andih@google.com> Respond to RTSP server->client requests.

Even if it's just to tell them that we don't support any (this is optional).

Change-Id: I557865ac00d0fb65ffa69363eb1eceaabe522a1a
related-to-bug: 3353752
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
6b61f4355db1974cd0f0dfaa4effdd7117b9f09b 15-Feb-2011 James Dong <jdong@google.com> Decouple AudioRecord read and audio encoding

bug - 3313754

Change-Id: I951dd0e21e34aa1412c391f003bc32103d0424b0
ibstagefright/AudioSource.cpp
ed8d14f6a934072cd012992c4ef16990a54baa9a 16-Feb-2011 Andreas Huber <andih@google.com> Remove legacy, AwesomePlayer-based http live implementation.

Change-Id: I455d0faa5612dcd4d2bb6f2b3c7b64a1caaabf69
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
6d91a2069f58ed054889371cbce3a294f3207338 16-Feb-2011 Andreas Huber <andih@google.com> am 8db7a7bf: Merge "DO NOT MERGE: Derive the Transport "source" attribute from the RTSP endpoint address if necessary" into gingerbread

* commit '8db7a7bfadc7bdfa30f60bb06063f91b19234096':
DO NOT MERGE: Derive the Transport "source" attribute from the RTSP endpoint address if necessary
d48a6044fddc910f17e67650f280e91e7aaf5e65 16-Feb-2011 Gloria Wang <gwang@google.com> Merge "Add AAC extractor"
50c44c79d2d7dd6cd1485d9d939f67f80b8da1ca 02-Feb-2011 Gloria Wang <gwang@google.com> Add AAC extractor

Change-Id: Iedb08525ac72e65ba98e5c791734da0720a0e3f6
ibstagefright/AACExtractor.cpp
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/avc_utils.cpp
ibstagefright/include/AACExtractor.h
ibstagefright/include/avc_utils.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
43270a821f418f57140220b4c78c559d880850ef 16-Feb-2011 Andreas Huber <andih@google.com> Revert "Make AwesomePlayer's reset process more verbose to track down ANRs (yet again)"

This reverts commit e7c83d4a711241923854d6bbd5de0e24f9192f93.

Change-Id: I5151c7c72d79154528c55aa01bf006c8e38e7af7
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
dc613448c264b09837ebd5c2d8b7ffcaaba4bcbc 15-Feb-2011 Andreas Huber <andih@google.com> Merge "Derive the Transport "source" attribute from the RTSP endpoint address if necessary"
b81c1b65e58186b5e7abf8f894c9b0f2f317ec09 15-Feb-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Derive the Transport "source" attribute from the RTSP endpoint address if necessary

and continue even if we were unable to poke a hole into the firewall.

Change-Id: I5757a2521b8d81a42d03cca379179ce2c9ee46e7
related-to-bug: 3457201
ibstagefright/rtsp/MyHandler.h
de9a20c274983d4f7a688acb68d5dfc6a432eb10 15-Feb-2011 Andreas Huber <andih@google.com> Derive the Transport "source" attribute from the RTSP endpoint address if necessary

and continue even if we were unable to poke a hole into the firewall.

related-to-bug: 3457201
Change-Id: I0a523f38e6959bf00b8b140a70bb65fcc414c9c1
ibstagefright/rtsp/MyHandler.h
8a0358e7adf4895cb6f3b0ce104fba379edb52bf 15-Feb-2011 Andreas Huber <andih@google.com> Merge "Work around several issues with non-compliant RTSP servers."
dc468c5f9d72ce54de0070493e9a23efb8907e06 15-Feb-2011 Andreas Huber <andih@google.com> Work around several issues with non-compliant RTSP servers.

In this particular case these RTSP servers were implemented as local services,
retransmitting live streams via a local RTSP server instance.

They picked wrong rtp/rtcp port pairs (odd rtp port), blank lines in the session
description, wrong case of the format description, relative base URLs...

Change-Id: I63fa90ca2398f19e8b52c147248bd2c5c2372426
related-to-bug: 3452103
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
d4fb52e3031578119ecd53087b1bcb4828c333c5 15-Feb-2011 Mike Lockwood <lockwood@android.com> MTP host: disable some test code

Change-Id: I2237ad88f73b03a2c324f17267c52cc42b8a0d5b
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
69686c47220cf6c85b91d741fc3a08eb46887ad1 15-Feb-2011 Andreas Huber <andih@google.com> am d1ba051a: DO NOT MERGE: Work around several issues with non-compliant RTSP servers.

* commit 'd1ba051a465518fa4325c364ed77025fc1a2a794':
DO NOT MERGE: Work around several issues with non-compliant RTSP servers.
3d7b550b1a9bae0ec692bf7b786385914f99ea3d 15-Feb-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Work around several issues with non-compliant RTSP servers.

In this particular case these RTSP servers were implemented as local services,
retransmitting live streams via a local RTSP server instance.

They picked wrong rtp/rtcp port pairs (odd rtp port), blank lines in the session
description, wrong case of the format description, relative base URLs...

Change-Id: I502a04a7e1d690fd461b7ecf0b56c6a6c2ac1325
related-to-bug: 3452103
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
f1958f9442bc937e1f8c8d9175901500b944b021 14-Feb-2011 Andreas Huber <andih@google.com> Enable cancelling the rtsp connection process early.

Change-Id: Ie2059c54541ad8c675944d71b39c772b0f6f04c8
related-to-bug: 3452699
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/ARTSPController.cpp
126ea73dd1919c8a176019c50b1ca96035aef45b 14-Feb-2011 Mike Lockwood <lockwood@android.com> MTP host: Use usb_device_bulk_transfer for synchronous transfers

Change-Id: Icf42ea0e5a848cee1565da49713ee9ad0db9f1a6
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpPacket.cpp
244ba87d20aeb29c9cad727820fa1e803ec3643c 12-Feb-2011 James Dong <jdong@google.com> Make available h263 DSI information from MPEG4Extractor

bug - 3446863

Change-Id: Idbaf7a564d544784fdbc36ed0339c98a519adc88
ibstagefright/MPEG4Extractor.cpp
f03034408506051f2f836e59305fcd5f662bf19a 11-Feb-2011 Andreas Huber <andih@google.com> Start playing (and decoding) audio only after the first video frame has been decoded.

if there's both audio and video content. This gives the video decoder an opportunity
to fill its internal buffer queue at the start of playback.

Change-Id: Ib2c95753b430e4e47207953b913b607024a328d7
related-to-bug: 3431702
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ff98976e40459e910cfd1a7693bb08cff4dabd42 11-Feb-2011 James Dong <jdong@google.com> The color conversion from YUV420Planar to RGB only requires the image width to be a multiple of 2, not 4.

bug - 3379293

Change-Id: I8960737f0604b54ce90dfc26137f1582073b4ab2
ibstagefright/colorconversion/ColorConverter.cpp
d52e5c3edcb1aedce8b5bea705422fd47b06622e 11-Feb-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 3352047 Wrong message when adjusting volume"
6b2718c67aa7b1a8e3b0f25a73a0d5f72c59ffc3 04-Feb-2011 Glenn Kasten <gkasten@google.com> Bug 3352047 Wrong message when adjusting volume

Add hidden AudioManager.getDevicesForStream and output device codes.

Change-Id: I4d1c1d3b6a077cd117720817d1f733dda557b947
ibmedia/AudioSystem.cpp
ibmedia/IAudioPolicyService.cpp
864d06670089f79bc177a51fd53de9db0e21fc99 10-Feb-2011 Andreas Huber <andih@google.com> Fix the build.

Change-Id: I9b777ffb260eb0f3790ae0907e4a443d33fa3f2f
ibstagefright/rtsp/Android.mk
100a4408968b90e314526185d572c72ea4cc784a 08-Feb-2011 Andreas Huber <andih@google.com> Change timestamp handling in RTSP, remove unused, experimental, gtalk support

related-to-bug: 3216447

NTP timestamp handling is now done at a higher layer than before.

Change-Id: I9fb23f1335110ec59e534f9aa0fe6f6a6406dd52
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/ARTPAssembler.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPConnection.h
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTPSource.h
ibstagefright/rtsp/Android.mk
ibstagefright/rtsp/MyHandler.h
fcac8fa9421f442f024018628a6042d7a14fbfb0 09-Feb-2011 James Dong <jdong@google.com> Reduce blocking time in file write

bug - 3418787

Change-Id: I4723662bf46ed07271be8468f84ae5d93cb793fa
ibstagefright/MPEG4Writer.cpp
722555f01ace262c2aba9e1ca5d9794ce30c564f 09-Feb-2011 James Dong <jdong@google.com> Catch read error from AudioRecord and do not assert

bug - 3439313

Change-Id: Ie29d6e4945978ef27fc3e5849e467d895c7736d3
ibstagefright/AudioSource.cpp
37865df43b68ae34ddb6f6450dbef301f92f3618 09-Feb-2011 James Dong <jdong@google.com> Merge "Should reset errno to 0 before calling strtoll()."
27944ef5cd8d0fb476c8c8958986e827c5f8ab83 09-Feb-2011 James Dong <jdong@google.com> Should reset errno to 0 before calling strtoll().

bug - 3431238

Change-Id: I855847209d2e022242b8eb62985759922ab94779
ibmediaplayerservice/StagefrightRecorder.cpp
6b8ef4762a26cb828e0a597719764d3d0404e2b1 08-Feb-2011 Gloria Wang <gwang@google.com> Merge "Add more check before using the DRM manager client."
8f64134f749e4f7861a08a3063450fc714c4651d 08-Feb-2011 Gloria Wang <gwang@google.com> Add more check before using the DRM manager client.

Change-Id: I7369dcd6b6abd1945430373200fd5353bca70652
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/FileSource.cpp
ibstagefright/NuHTTPDataSource.cpp
eeffad65d2db4879593c1d4806824ef5b4dcb3e1 08-Feb-2011 Andreas Huber <andih@google.com> Merge "Handle some edge cases when seeking while starting up OMXCodec"
9c0096378820e5a61db26e52a7e6df50ba9c872d 08-Feb-2011 Andreas Huber <andih@google.com> Handle some edge cases when seeking while starting up OMXCodec

These were exposed by the new preview-seekframe while paused code.
In particular, the codec may have been in state RECONFIGURING when attempting
to seek, or we may have initiated flushing of the output port and this may not
have completed yet by the time we want to reconfigure the output port.

Change-Id: Id7640ade11dbc7205a22f648ea0b5e3e9b49cf4b
related-to-bug: 3392259
ibstagefright/OMXCodec.cpp
cd334d7a8e9df05f6b94eefbad2bddda0850f2cf 08-Feb-2011 Andreas Huber <andih@google.com> Merge "Remove one log message from the VPXDecoder"
b93d55d9f6e154629d47270970e0a0ace5a1b0a0 08-Feb-2011 Gloria Wang <gwang@google.com> Merge "- Do not use global DrmManagerClient - Release the DrmManagerClient and DecryptHandle in DataSource Fix for bug 3429811"
576c3f65d7ad166c21ef09342a2a321e57666af4 08-Feb-2011 Andreas Huber <andih@google.com> Remove one log message from the VPXDecoder

related-to-bug: 3402216

The VPX format supports "internal-only" frames that are
referenced by future content but never actually displayed, so
this is a perfectly valid scenario that doesn't require a
log message.

Change-Id: I8330bfdfefcdf4ab66ae6d2b59b99fd9b89350df
ibstagefright/codecs/on2/dec/VPXDecoder.cpp
889b340ec736a9d3e3e690256d305cc8740f0c4b 07-Feb-2011 Gloria Wang <gwang@google.com> - Do not use global DrmManagerClient
- Release the DrmManagerClient and DecryptHandle in DataSource
Fix for bug 3429811

Change-Id: I549f72b75225751877eb0e630ce8098f8ec6316f
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/FileSource.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/DRMExtractor.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/NuHTTPDataSource.h
2b1222f8938356669672f35e0e53e176c78c40ef 07-Feb-2011 Andreas Huber <andih@google.com> Display a single (still-)frame of video after seeking while paused.

Change-Id: Ia78bf29ba6d649043e70c49913725cecdf918c03
related-to-bug: 3392259
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
349d3fcb4afacf754f7b5b5186d2f258f5bf35e7 04-Feb-2011 Andreas Huber <andih@google.com> Improvements/fixes to ACodec.

- Make sure ACodec reverts its state when it's shutdown
- Defer "resume" to after handling the OutputPortSettingsChange

- If the OMX_EventPortSettingsChanged event comes in while we're flushing, defer it
and make sure the output port can be disabled by deleting all buffers not already
owned by the component.

Change-Id: I1f8cdffa71237b57d4275a48b834647a7b263e8b
ibstagefright/ACodec.cpp
8782cb4dc783cdcac8498148ab1894b4780c18df 04-Feb-2011 Eric Laurent <elaurent@google.com> am 6f1bd261: am 9c0a1003: Merge "Fix issue 3371080" into honeycomb

* commit '6f1bd261b7fd86ac7817ca061dfb55b95150b836':
Fix issue 3371080
a205abd16ba836b27cfb8ba6b03611e8e8120978 04-Feb-2011 Andreas Huber <andih@google.com> Merge "Make AwesomePlayer's reset process more verbose to track down ANRs (yet again)"
553ab646159d94747dab5c3893ea51c8ec2463d9 04-Feb-2011 Andreas Huber <andih@google.com> Make AwesomePlayer's reset process more verbose to track down ANRs (yet again)

Change-Id: Ie1d853c31ad75ec5b12303c1131c9a74eb8cfc9f
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
4931bb5259d10c1fa01e7405fb7aaef58a8ffb22 03-Feb-2011 Andreas Huber <andih@google.com> Make sure timestamps attached to encoded media are composition timestamps.

not decoding timestamps. Obviously there is no difference between them if the
content in question does not involve frame reordering.

Change-Id: Iac4d06cfeb8a136f735c1148e98cac340d3ef893
related-to-bug: 3398314
ibstagefright/MPEG4Extractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/SampleTable.cpp
ibstagefright/include/SampleTable.h
856990b491d84b7ed4fefe337485c8997ba9dd02 13-Jan-2011 Glenn Kasten <gkasten@google.com> Bug 1804058 FLAC extractor

Note: dependent on external/flac for libFLAC

Implemented and tested:
* FLAC container
* mono and stereo
* standard sample rates
* standard bit depths
* sniffer
* media scanner
* Vorbis comment metadata including album art
* random access seeking with "torture test"
* web browser integration for audio/flac (not audio/x-flac), but
note that most web servers don't correctly report the MIME type

Not implemented:
* 24-bit to 16-bit dither or noise shaping in AudioFlinger
* 96 kHz to 44.1 or 48 kHz downsampling low pass filter in AudioFlinger
* replay gain is better done in AudioFlinger
* multi-channel, would need AudioFlinger support
* Ogg container, does not seem to be very popular yet

Change-Id: I300873e8c0cfc2e95403d9adb5064d16a2923f17
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/FLACExtractor.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/include/FLACExtractor.h
ibstagefright/include/OggExtractor.h
eda6c364c253ba97ee45a3adeb8c2b45db1f81db 02-Feb-2011 Eric Laurent <elaurent@google.com> Fix issue 3371080

Modified default volume control logic in AudioService:
1 IN_CALL volume if in video/audio chat
2 NOTIFICATION if notification is playing or was playing less than 5s ago.
3 MUSIC

Modified silent mode:
- now also affect MUSIC stream type
- entering silent mode when VOL- hard key is pressed once while selected
stream volume is already at 0 (except for VOICE_CALL stream).
- exiting silent mode when pressing VOL+ hard key while in silent mode

Play sound FX (audible selections, keyboard clicks) at a fixed volume.

Modified audio framework:
- isStreamActive() method now implemented in AudioPolicyManagerBase (previously AudioFlinger)
- iStreamActive() now specifies a time window during which the stream is considered
active after it actually stopped.

Change-Id: I7e5a0724099450b9fc90825224180ac97322785f
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioPolicyService.cpp
31c52e7c8c01e1db6ff9bcf66135c72544b1235a 02-Feb-2011 Kenny Root <kroot@google.com> Fix some memory leaks found in static analysis

Change-Id: Icd630009793c51acfaed45763ef50489ead40024
tp/MtpDevice.cpp
c36c7addb22cecfbe467b58ce219cd1f6db21a44 01-Feb-2011 Gloria Wang <gwang@google.com> Merge "- Support comfort noise in AMRExtractor - Support duration and seeking in AMRExtractor for different bit rates"
80f68ce02c91f188bb0cb0019fd25df2b8115f18 28-Jan-2011 Gloria Wang <gwang@google.com> - Support comfort noise in AMRExtractor
- Support duration and seeking in AMRExtractor for different bit rates

Bug 2530101

Change-Id: I12beffea73cea0ec056f0e0cf51a4a8d46d897b8
ibstagefright/AMRExtractor.cpp
ibstagefright/include/AMRExtractor.h
72a807dc64c5a967f43116dd84893e2213c5b6e3 01-Feb-2011 Andreas Huber <andih@google.com> am b450d96b: am 537fa17f: Merge "Disconnect HTTP live sessions as soon as the request comes in." into honeycomb

* commit 'b450d96b3d13cd341ef7aa4483c2223ddfecce3c':
Disconnect HTTP live sessions as soon as the request comes in.
ab8a0badb8fb1e294dacf2eb6a891439f348aff9 01-Feb-2011 Andreas Huber <andih@google.com> Disconnect HTTP live sessions as soon as the request comes in.

Instead of waiting until pending events have been processed.

Change-Id: Id758f5508a514561e18aade82175d69e9156965e
related-to-bug: 3409681
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/LiveSession.h
8d08c5aeee05425357b6603a22fa73fd6e095a47 31-Jan-2011 Mike Lockwood <lockwood@android.com> MTP: Use ro.product.manufacturer system property value for MTP manufacturer name

Previously it was hard coded to "Google, Inc."

BUG: 3405965

Change-Id: I5f962d474814c22e990c39b501c0f01da9e8dc6d
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
1f6c6b785f90f6c074c7d401f9fa537a4fb9f110 30-Jan-2011 The Android Open Source Project <initial-contribution@android.com> Mass merge from gingerbread - do not merge

Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629
cce3a1107ef5bf9c8c8dbbaf922a2b33f24abfe6 29-Jan-2011 Marco Nelissen <marcone@google.com> am c929677e: Merge "Increase the number of useful bits in the spectrum." into gingerbread

* commit 'c929677e017759047d94599faa1b80ebe278fefb':
Increase the number of useful bits in the spectrum.
02235c39040120295314a402841b17f68752ec99 28-Jan-2011 Andreas Huber <andih@google.com> am 35a1f771: am 79c46485: Merge "Revert "Make AwesomePlayer\'s reset process more verbose to track down ANRs (again)"" into honeycomb

* commit '35a1f771759459fc6c9b355d548c5b97cd50e110':
Revert "Make AwesomePlayer's reset process more verbose to track down ANRs (again)"
60e91863e185f84ec36fa3293e57ac9aa8500749 28-Jan-2011 Andreas Huber <andih@google.com> am 79c46485: Merge "Revert "Make AwesomePlayer\'s reset process more verbose to track down ANRs (again)"" into honeycomb

* commit '79c4648597dab2b7786c8f067896ab66abe190de':
Revert "Make AwesomePlayer's reset process more verbose to track down ANRs (again)"
5c009b036e01d2a351b02c47b8f20f384aa663fd 28-Jan-2011 Andreas Huber <andih@google.com> am b6c2e2b4: DO NOT MERGE: More robust parsing of NPT time ranges in RTSP.

* commit 'b6c2e2b46c574a90450438cccfb6cb97b7edc20f':
DO NOT MERGE: More robust parsing of NPT time ranges in RTSP.
db207461a16ebcab38b52906ef88228393efca41 28-Jan-2011 Andreas Huber <andih@google.com> Revert "Make AwesomePlayer's reset process more verbose to track down ANRs (again)"

This reverts commit aac2e9e1566a3bb0ef811ebd3a56b538324c95c1.

Change-Id: Ic84dfa829981fdc1a1330ccfe6b9dccf64a80719
related-to-bug: 3392386
ibstagefright/AwesomePlayer.cpp
4635eba3507750ed57817f244e84084d06df5b2c 28-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: More robust parsing of NPT time ranges in RTSP.

Change-Id: If5a00f1e29dbc12956e1fb000dac859706d19791
related-to-bug: 3217210
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/ASessionDescription.h
ibstagefright/rtsp/MyHandler.h
54f533e7a1c0753d52595eb4d42295d654fd1a97 28-Jan-2011 Andreas Huber <andih@google.com> am 970436ee: am b0eb8bb7: Merge "More robust parsing of NPT time ranges in RTSP." into honeycomb

* commit '970436ee42bad03940a73666f8150a28c5789713':
More robust parsing of NPT time ranges in RTSP.
391bf6f06111983d9618764068ecc189dc7abd79 28-Jan-2011 Andreas Huber <andih@google.com> am b0eb8bb7: Merge "More robust parsing of NPT time ranges in RTSP." into honeycomb

* commit 'b0eb8bb76c585e5e9d426fa8b8f4df17a240e6c4':
More robust parsing of NPT time ranges in RTSP.
783e5cd85d4bd40b1a04dfdfed256c5dcb2525cc 28-Jan-2011 Andreas Huber <andih@google.com> More robust parsing of NPT time ranges in RTSP.

Change-Id: I3674501d2fd66aaface805c0a8678c74671a6dd3
related-to-bug: 3217210
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/ASessionDescription.h
ibstagefright/rtsp/MyHandler.h
f41ef0ee0da4c497352df42d09c3d89940c25e14 27-Jan-2011 Mike Lockwood <lockwood@android.com> Add support for synchronous bulk USB transfers

Change-Id: Id5de49e4d728a702fa1583ecc24f83f36cc57d21
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
94172b1f44c1b12f6ee814d9def6a5550663b716 27-Jan-2011 Andreas Huber <andih@google.com> am bba92023: am 63b38e31: Merge "This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes." into honeycomb

* commit 'bba92023e55f46e8b4f8b81b3412e663a5e71ceb':
This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.
05b8794654688079247c5d1d5b59dd0d288fd436 27-Jan-2011 Andreas Huber <andih@google.com> am 2dce338e: DO NOT MERGE: This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.

* commit '2dce338e01678620db0734fc3d84bcb3f2512d62':
DO NOT MERGE: This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.
97a38b4f1be201bbbfa23d298bb779fffd624a3d 27-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.

And now we're just ignoring them. Yay standards.

Change-Id: Ia8c0b9161e606152fb681f0dda3ba901954dc749
related-to-bug: 3353752
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
0152b3345900679b79dff77e88b856016c10cb5b 27-Jan-2011 Andreas Huber <andih@google.com> am 63b38e31: Merge "This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes." into honeycomb

* commit '63b38e31aaea5a3e75c7bbe0c9e40e8bdb78ff73':
This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.
8ce64ddc2828f74704a6473c4b934de16c0e3bd1 27-Jan-2011 Andreas Huber <andih@google.com> Merge "This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes." into honeycomb
9202cca86e9017cc5ce30970c92a91ab32a0835e 27-Jan-2011 Andreas Huber <andih@google.com> This particular RTSP server streams MPEG4-LATM audio with extra trailing bytes.

And now we're just ignoring them. Yay standards.

Change-Id: I76529ad8d585f143d6f99621ff671d179caf7b35
related-to-bug: 3353752
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
d7376cae7aba269dca143b94c3d6736d0ed02213 27-Jan-2011 Mike Lockwood <lockwood@android.com> am bd65c065: am a13732e1: Merge "MTP: Fix month off by one error in date parsing and formatting code" into honeycomb

* commit 'bd65c065b2dcb54dde563a8a21c9f92da947c7dd':
MTP: Fix month off by one error in date parsing and formatting code
84d3a304c835017cdc530eb9d8e92198021d3e4c 27-Jan-2011 Mike Lockwood <lockwood@android.com> am a13732e1: Merge "MTP: Fix month off by one error in date parsing and formatting code" into honeycomb

* commit 'a13732e17a0f3d69df9c418407985b3ad64b1852':
MTP: Fix month off by one error in date parsing and formatting code
f26fec6212dcada2a1ffb642afe25429d1005aa4 27-Jan-2011 Mike Lockwood <lockwood@android.com> Merge "MTP: Fix month off by one error in date parsing and formatting code" into honeycomb
ea1db0a716cc937af5371153b959610baa2c6d52 26-Jan-2011 Mike Lockwood <lockwood@android.com> MTP: Fix month off by one error in date parsing and formatting code

BUG: 3379100

Change-Id: Ib386f0def9d611529ce0528b8159cef48df9cd85
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpUtils.cpp
76fd218ca290ffbb33790ae525c494d339da9d28 26-Jan-2011 James Dong <jdong@google.com> am 8bea1d55: am 7fb232c4: Merge "Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source." into honeycomb

* commit '8bea1d5585822bb62996e789f59c7629dfd9ac50':
Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source.
94eda03f76175dee88cf7941fcbdb6aec43a0d5d 26-Jan-2011 James Dong <jdong@google.com> am 7fb232c4: Merge "Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source." into honeycomb

* commit '7fb232c40cde91d0958be1694db2d97a126b95f9':
Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source.
c39aa13da5600571affee13ea8ef3936cc39cbb5 26-Jan-2011 Jean-Michel Trivi <jmtrivi@google.com> am 2ba92c71: do not merge bug 3370834 Cherrypick from master

* commit '2ba92c71b5684dce700cf848bf157153c156df1d':
do not merge bug 3370834 Cherrypick from master
78f80beb6bc975fa012a0b190c8bd0130bd44db0 26-Jan-2011 Andreas Huber <andih@google.com> am 11934aa3: am 373d357a: Merge "More instrumentation to track down the hardware decoder not shutting down bug." into honeycomb

* commit '11934aa32102d56ea920b058cb3cc9a455cd2232':
More instrumentation to track down the hardware decoder not shutting down bug.
e89f5d9ef38caec9240a74a9da7974ac5253f623 26-Jan-2011 Andreas Huber <andih@google.com> am 1a6e6d55: am 6df89fde: Merge "Ignore errors returned from native_window_set_crop." into honeycomb

* commit '1a6e6d55b8dd33b3bd2b52849d39ef96b556b52f':
Ignore errors returned from native_window_set_crop.
7757f5010a771fb8824b6fdf9788f588a1577e3f 26-Jan-2011 James Dong <jdong@google.com> Make sure that key frame is generated for timelapse video recording if there are at least two input video frames from camera source.

This will fix the stop failure issue where we have to wait n * time_interval before a key frame can be received by the file writer, where
o n is the actual number of buffers advertised by the video encoder
o time_interval is the interval settings for timelapse video recording
specifying the time distance between neighboring input video frames

The fix includes two parts:
o OMXCodec will not submit all n buffers at one time, but instead submit one input
frame at one time if it become available.

o Timelapse camera source made available the first two input frames and do not skip
them so that the first compressed output frame data can be received regardless
the specified time_interval

bug - 3367659

Change-Id: Ia68cc2cb0d71aa7dc54540e9ad82fae911ad530b
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
ibstagefright/OMXCodec.cpp
4fd8374fd8ece64599089895d554be73743e7193 26-Jan-2011 Andreas Huber <andih@google.com> am 373d357a: Merge "More instrumentation to track down the hardware decoder not shutting down bug." into honeycomb

* commit '373d357a8b13dc2cdc82d9e1d6144fb26e3bb202':
More instrumentation to track down the hardware decoder not shutting down bug.
d0fc955c08ed14ba8e4f0967b4fcef3c10bdcc62 26-Jan-2011 Andreas Huber <andih@google.com> am 6df89fde: Merge "Ignore errors returned from native_window_set_crop." into honeycomb

* commit '6df89fde0db446bb530ab872b373b1faa3ccb06c':
Ignore errors returned from native_window_set_crop.
2494373e91399a97ad405f4e42dff6543cc296c7 26-Jan-2011 Andreas Huber <andih@google.com> Merge "More instrumentation to track down the hardware decoder not shutting down bug." into honeycomb
43e5eca7048a3b7b3ee0223b7f3cbd837ed10ae5 25-Jan-2011 Andreas Huber <andih@google.com> More instrumentation to track down the hardware decoder not shutting down bug.

Change-Id: I3f31b6fdf5c90b436567bbce578dcbc4666ed7c2
related-to-bug: 3362836
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMXNodeInstance.cpp
6592195d76b12a9823f82d3352245d0a6d459647 26-Jan-2011 Andreas Huber <andih@google.com> Ignore errors returned from native_window_set_crop.

If the surface is already invalid, we'll know soon enough.

Change-Id: If360ffb8293817afb47df8c1a75722aea74bb335
related-to-bug: 3394601
ibstagefright/OMXCodec.cpp
270ea87277c1c601ea26db2af469a930cc4272ad 26-Jan-2011 Andreas Huber <andih@google.com> am 38a1714b: am 7765c65d: Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb

* commit '38a1714bf79821dad296eeddfda1b6a7ce93ebbd':
Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.
b9b84ec91ba7b300bc5ab9378448387733b5048e 26-Jan-2011 Andreas Huber <andih@google.com> am 807398e7: am d030359f: Merge "Instead of not feeding the AudioTrack any data after EOS, play silence instead." into honeycomb

* commit '807398e7f0718aaa9e8f53c556d0707c083819cf':
Instead of not feeding the AudioTrack any data after EOS, play silence instead.
b7b1486bd55f9fe27f15724452f748045d204fb1 26-Jan-2011 Andreas Huber <andih@google.com> am 7765c65d: Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb

* commit '7765c65dbe1ba8f2229f2fec5a83ba2d1da79733':
Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.
aeb38af82d525015ec4d3f2d51671093cd80a0dc 26-Jan-2011 Andreas Huber <andih@google.com> am d030359f: Merge "Instead of not feeding the AudioTrack any data after EOS, play silence instead." into honeycomb

* commit 'd030359ff10a031c762d4f229d9c1bdfd366cb50':
Instead of not feeding the AudioTrack any data after EOS, play silence instead.
78fc8fab70411c6863d5f71383061f51290294df 26-Jan-2011 Andreas Huber <andih@google.com> Merge "Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls." into honeycomb
bfa2f13fd3f463dbceea4d3a18c3124e70df0a05 15-Nov-2010 Jean-Michel Trivi <jmtrivi@google.com> do not merge bug 3370834 Cherrypick from master

Cherripick from master CL 79833, 79417, 78864, 80332, 87500

Add new audio mode and recording source for audio communications
other than telelphony.

The audio mode MODE_IN_CALL signals the system the device a phone
call is currently underway. There was no way for audio video
chat or VoIP applications to signal a call is underway, but not
using the telephony resources. This change introduces a new mode
to address this. Changes in other parts of the system (java
and native) are required to take this new mode into account.
The generic AudioPolicyManager is updated to not use its phone
state variable directly, but to use two new convenience methods,
isInCall() and isStateInCall(int) instead.

Add a recording source used to designate a recording stream for
voice communications such as VoIP.

Update the platform-independent audio policy manager to pass the
nature of the audio recording source to the audio policy client
interface through the AudioPolicyClientInterface::setParameters()
method.

SIP calls should set the audio mode to MODE_IN_COMMUNICATION,
Audio mode MODE_IN_CALL is reserved for telephony.

SIP: Enable built-in echo canceler if available.
1. Always initialize AudioRecord with VOICE_COMMUNICATION.
2. If echo canceler is available, disable our echo suppressor.

Note that this CL is intentionally not correcting the
getAudioSourceMax() return value in MediaRecorder.java as the
new source is hidden here.

Change-Id: Ie68cd03c50553101aa2ad838fe9459b2cf151bc8
ibmedia/AudioSystem.cpp
6e1cc6e6e5477693a279185c372b90863778a10b 26-Jan-2011 Andreas Huber <andih@google.com> Instead of not feeding the AudioTrack any data after EOS, play silence instead.

Change-Id: I9aa797cf5bb58eefed51d732f4e5d09450551158
related-to-bug: 3347428
ibstagefright/AudioPlayer.cpp
0b967b923f7f608b2faa1820167a4f262a2f0720 26-Jan-2011 Andreas Huber <andih@google.com> Linux sockets suck, closing a socket descriptor does not abort pending recv/send calls.

Change-Id: Id53e7831761619f72ddc61f63571230011c93f16
related-to-bug: 3362836
ibstagefright/HTTPStream.cpp
aa2343eb886835e6cbb80b6f042f1f8a8a6eb5ca 26-Jan-2011 Mike Lockwood <lockwood@android.com> am c80daa1b: am f10d9404: Merge "StagefrightMediaScanner: Close metadata retriever after we are done scanning" into honeycomb

* commit 'c80daa1b05b8f1d2873df23821ae2c5344e76fb8':
StagefrightMediaScanner: Close metadata retriever after we are done scanning
e0c2d1574276e7d863d2f600e15f5e837828fd4d 26-Jan-2011 James Dong <jdong@google.com> am 45800cf9: am 3115dad3: Merge "Report errors to applications if AudioRecord->start() fails" into honeycomb

* commit '45800cf939d716a6d6435872f5f876b2cfd2689d':
Report errors to applications if AudioRecord->start() fails
287c34497550ff3f27a5fa3aa15c0049081056d3 26-Jan-2011 Mike Lockwood <lockwood@android.com> am f10d9404: Merge "StagefrightMediaScanner: Close metadata retriever after we are done scanning" into honeycomb

* commit 'f10d940413000732f1cd35bcb113c41019c7e3b7':
StagefrightMediaScanner: Close metadata retriever after we are done scanning
b656f3592332cebfad8944e8692003cf3688d586 26-Jan-2011 Mike Lockwood <lockwood@android.com> Merge "StagefrightMediaScanner: Close metadata retriever after we are done scanning" into honeycomb
5895b78183840f3d56a6e50af26a4b9f778a5b14 26-Jan-2011 James Dong <jdong@google.com> am 3115dad3: Merge "Report errors to applications if AudioRecord->start() fails" into honeycomb

* commit '3115dad3fc8493ff510b9f6a46b18d951bf5c162':
Report errors to applications if AudioRecord->start() fails
eaae38445a340c4857c1c5569475879a728e63b7 25-Jan-2011 James Dong <jdong@google.com> Report errors to applications if AudioRecord->start() fails

bug - 3385198

Change-Id: I86ac8071eb28a538b333e102192193d1b9eda5eb
ibstagefright/AudioSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
0a095d09464ba18e288a3f529410af0f1257ac2a 26-Jan-2011 Mike Lockwood <lockwood@android.com> StagefrightMediaScanner: Close metadata retriever after we are done scanning

This prevents the mediaserver from leaking a file descriptor after
the media scanner runs

BUG: 3373546

Change-Id: I82a8bae82306de3da56a5c7da5b03ecf106a4efc
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibstagefright/StagefrightMediaScanner.cpp
f2c71496494409aba6e770a17c0488e25380428e 26-Jan-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 3117154"
b29a24c534ca753ae9923bf56943e3a75e82391e 25-Jan-2011 Marco Nelissen <marcone@google.com> am 8952df72: am 4b440268: am c929677e: Merge "Increase the number of useful bits in the spectrum." into gingerbread

* commit '8952df72402d8edbc60a0285f0dc7e8fce29a96f':
Increase the number of useful bits in the spectrum.
47fac46eeb5f522fc964bcaadf27512e29d691fb 25-Jan-2011 Marco Nelissen <marcone@google.com> am 4b440268: am c929677e: Merge "Increase the number of useful bits in the spectrum." into gingerbread

* commit '4b44026879723d924ddc306ea1e330a9e87c3a1c':
Increase the number of useful bits in the spectrum.
df489b929115ea93a0cf689830fe44400ce3c00f 25-Jan-2011 Glenn Kasten <gkasten@google.com> Bug 3117154

The previous default audible behavior was actually NONE (dry), despite
the default value of MEDIUMROOM. Corrected default value to match the
default behavior.

Change-Id: Iadb0d41629a383fd52f03e8a21ba4b74ea24401c
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
958c063ed2b9e255e4b4ffc5c7d5f9939da95c36 25-Jan-2011 Marco Nelissen <marcone@google.com> am c929677e: Merge "Increase the number of useful bits in the spectrum." into gingerbread

* commit 'c929677e017759047d94599faa1b80ebe278fefb':
Increase the number of useful bits in the spectrum.
47f44fb9b85ac555e5b84b2f5ca8536a85659c3e 25-Jan-2011 Marco Nelissen <marcone@google.com> Merge "Increase the number of useful bits in the spectrum." into gingerbread
05adea42e17b0af3b90e51945f800aa26a2d0240 25-Jan-2011 Andreas Huber <andih@google.com> am efebdf4b: DO NOT MERGE: Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder

* commit 'efebdf4bd4da35bc50c7d81450c8473697f6654a':
DO NOT MERGE: Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder
05b22175a0d186d964694a5162892b6b3476c562 24-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder

Change-Id: I6c27c00a6e13cb3635e61089c0db0989f5810c37
related-to-bug: 3384367
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/codecs/m4v_h263/dec/include/mp4dec_api.h
ibstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp
59556c4909a2b681791f2305bf48b5160edd0ba2 24-Jan-2011 Andreas Huber <andih@google.com> am 54bce526: am bc5172fe: Merge "Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder" into honeycomb

* commit '54bce526bf1062093d012853ae6ed2eb68e37e26':
Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder
4feffd1a8d95cf3843c06a37160580d30d421d8e 24-Jan-2011 Andreas Huber <andih@google.com> Merge "Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder" into honeycomb
124bd286a895d0fcd3c6586f27a6c0a454236f3f 24-Jan-2011 Andreas Huber <andih@google.com> am 5481142a: am c45d3ad0: Merge "The .mkv parser lib leaves some tracks NULL if it doesn\'t support them." into honeycomb

* commit '5481142a0358f72c192d5a7e7f50cda77106309e':
The .mkv parser lib leaves some tracks NULL if it doesn't support them.
b9ff4b4f631239a6a37fe6588e025cb387150c0e 24-Jan-2011 Andreas Huber <andih@google.com> Support non-multiple-of-16 dimensions in MPEG4/H.263 software decoder

Change-Id: Ia22ebce66d9c35de4b04c3eedc9495847796901d
related-to-bug: 3384367
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/codecs/m4v_h263/dec/include/mp4dec_api.h
ibstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp
b64747693f80ce8d88d4d0e0cc040b4623c4d871 24-Jan-2011 Andreas Huber <andih@google.com> am bd6ac1e4: am da6f9295: Merge "Make AwesomePlayer\'s reset process more verbose to track down ANRs (again)" into honeycomb

* commit 'bd6ac1e4d444e69d31677fec41d4d1a265098f08':
Make AwesomePlayer's reset process more verbose to track down ANRs (again)
30ae68bccd8de6f0ab2acd22a6d661ace514343e 24-Jan-2011 Andreas Huber <andih@google.com> The .mkv parser lib leaves some tracks NULL if it doesn't support them.

But it still counts them as valid tracks...

Change-Id: I77e8fd24cce91a586e8e418759db55b6eba449c0
related-to-bug: 3377186
ibstagefright/matroska/MatroskaExtractor.cpp
e20e15bcfd0317f63ecf76e6b8e9fbd9196fde0b 24-Jan-2011 Andreas Huber <andih@google.com> Make AwesomePlayer's reset process more verbose to track down ANRs (again)

Change-Id: I0d66994cc4295fd5ceeaaf151ce913ed0dd995f9
related-to-bug: 3362836
ibstagefright/AwesomePlayer.cpp
209821c7b7ead3ac58743d0a6d21dd05a2e77708 19-Jan-2011 Marco Nelissen <marcone@google.com> Increase the number of useful bits in the spectrum.

Change-Id: I3efc2ac8db689285566df35cb6f594aab41141db
ibmedia/Visualizer.cpp
7aa9f73b06525781245b8c2970f09f48050a276d 23-Jan-2011 Mike Lockwood <lockwood@android.com> Merge "New APIs for MTP and PTP host support"
23f1b33c5f88f07510ca5dc01b3afd7af6843d6c 30-Dec-2010 Mike Lockwood <lockwood@android.com> New APIs for MTP and PTP host support

This replaces the previous ContentProvider based interface

Change-Id: I4cea2544854adb9fdcc04345e4d73d8ef05380f3
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpClient.cpp
tp/MtpClient.h
tp/MtpDevice.cpp
tp/MtpDevice.h
5aae7c2895dcf1716ea66c440b7e569e84dcd5b5 22-Jan-2011 Mike Lockwood <lockwood@android.com> Merge "Remove MTP related log spam" into honeycomb
59d6ae5e339547fea8a350c1d855b52d5ac4f62c 22-Jan-2011 Mike Lockwood <lockwood@android.com> Remove MTP related log spam

Change-Id: I9de1792cbeec07fa5ab42ff9a10813f0c3d30fc1
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpStorage.cpp
8aded52c4d6962da5357d4bfc0bca4be3aa331ef 21-Jan-2011 Carl Shapiro <cshapiro@google.com> Revert "Make AwesomePlayer's reset process more verbose to track down ANRs."

This reverts commit 90c656574175bd54ed8d258f406f158177e5e91c.

Bug: 3378444
Change-Id: Id845bc0bc213f18c73fec12e6a2084cb2075c2d9
ibstagefright/AwesomePlayer.cpp
7fac331b39ca49ce49a67e425dcc031a3cb9e97f 21-Jan-2011 Andreas Huber <andih@google.com> Properly rotate video that's marked as such and decoded to a surface.

Change-Id: I1e9144db3447e58c99aac3f47702ad471678789c
related-to-bug: 3378148
ibstagefright/OMXCodec.cpp
bc7f5b2e56107cfeaeeab13cf8979379e3c2f139 21-Jan-2011 Andreas Huber <andih@google.com> Some tweaks to HTTP live / nuplayer behaviour

- play audio-only streams again
- workaround for malformed streams that switch PIDs across bandwidths
- attempt to pick a different bandwidth stream if the previously chosen one appears
to be malformed/unsupported.

Change-Id: I426d0a40dc725aa242f619d4c9d048b69aca55c9
related-to-bug: 2368598
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
b23ef145ac2a62068a6a8848f1f5d8a74f9c2b34 21-Jan-2011 Dave Sparks <davidsparks@android.com> am 65d39eeb: Merge "DO NOT MERGE: Prefill the cache before trying to instantiate the media extractor." into gingerbread

* commit '65d39eeb9b032e5507a01daa25afff62b29bffe4':
DO NOT MERGE: Prefill the cache before trying to instantiate the media extractor.
b408222bd9479c291874b607acae1425d6154fe7 21-Jan-2011 Andreas Huber <andih@google.com> Implement missing pause/resume support for NuPlayer.

Change-Id: Ia3f1ce521dd4b70e134ef03aa7c9db8e8d39a134
related-to-bug: 2368598
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
737be0d7937e5ab61f0ddb8db1f3835f171300f1 20-Jan-2011 James Dong <jdong@google.com> Merge "Eliminate recording sound by starting the video track before audio track." into honeycomb
7bd460110b27a979384dda351788eac95d8467f5 20-Jan-2011 James Dong <jdong@google.com> Eliminate recording sound by starting the video track before audio track.

Due to the variable delays in the system, the recording sound can still be heard
if the audio track is started early. This happens even after we suppress a relative
long period of initial audio for a recording session. By starting the video track
before the audio track, we effectively play the recording sound earlier.

bug - 3371141

Change-Id: I2cccf77eae953d96827fc080c618b1d962445c26
ibmediaplayerservice/StagefrightRecorder.cpp
6e3edc2dffb0d424b02ac57b55114b0d13163f56 20-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Prefill the cache before trying to instantiate the media extractor.

The latter is an operation that otherwise could block on the datasource
for a significant amount of time. During that time we'd be unable to
abort the preparation phase without this prefill.

Change-Id: I3bc889b264f599bfd5c2bbdf48b88ccb55d86172
related-to-bug: 3362836
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
1c705e94c291897d23d236a7d118a68eace74406 20-Jan-2011 Andreas Huber <andih@google.com> Merge "Prefill the cache before trying to instantiate the media extractor." into honeycomb
ac05c317cd818701535c5d72ce90da98c4bae75b 20-Jan-2011 Andreas Huber <andih@google.com> Prefill the cache before trying to instantiate the media extractor.

The latter is an operation that otherwise could block on the datasource
for a significant amount of time. During that time we'd be unable to
abort the preparation phase without this prefill.

Change-Id: Ia42496d88a11314386ea8797d665bf4e94871e30
related-to-bug: 3362836
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
886c09ee81eb7b8878e487c7f801ea8ddb27c17c 19-Jan-2011 James Dong <jdong@google.com> Merge "Logging the duration range from different media tracks for recording" into honeycomb
65b3d76025c71d755b0fb3b6ead90255f25417ed 19-Jan-2011 James Dong <jdong@google.com> Logging the duration range from different media tracks for recording

Change-Id: I8c3edcf97ce35301f8645e4a1e232d9bfc2c0349
ibstagefright/MPEG4Writer.cpp
88b7ad413c4b6d08697069b18488641d6ce31fd3 19-Jan-2011 Andreas Huber <andih@google.com> Always revert to the previous bandwidth if the required sequence number cannot be found

Change-Id: I098dba37f4a70fc703c9ce65346907c3e10f27f6
ibstagefright/httplive/LiveSession.cpp
88b348910a607ae399bcd693dd42a231d98da2c9 19-Jan-2011 Andreas Huber <andih@google.com> Return a runtime error if decryption fails instead of asserting.

Change-Id: Ibab7f2cae3ff7a2e19bc3f31005d5059775a664a
ibstagefright/httplive/LiveSession.cpp
662cb2487ed513ff3ac26b104b5715c01d78419c 19-Jan-2011 Andreas Huber <andih@google.com> Merge "Make parameter blocks read/writable even for SET_PARAMETER/SET_CONFIG requests." into honeycomb
b391290130f263441334ee4525a5832f0bea2ef0 19-Jan-2011 Andreas Huber <andih@google.com> Make parameter blocks read/writable even for SET_PARAMETER/SET_CONFIG requests.

Refactor the logic a little.

Change-Id: Idd7a26678d846c96b0b11f096305e7467381bda3
ibmedia/IOMX.cpp
113a95462d2018c62b9e6bc86e7f643ff46f29cf 19-Jan-2011 James Dong <jdong@google.com> Expose average video frame rate via MPEG4Extractor

bug - 3362483

Change-Id: Ifcbb75c1e8b80cb06c4b8fe7f5ff99bc6f18af69
ibstagefright/MPEG4Extractor.cpp
e75ceba6e3f009118c5debbbe2de268beb350c9a 19-Jan-2011 James Dong <jdong@google.com> Merge "Fix the presentation video resolution when it is different from the actual image resolution of the video." into honeycomb
018761c5cc4aefd0495eaa4666f2372a59a7980a 19-Jan-2011 Andreas Huber <andih@google.com> Turn another assertion into a runtime error. Damn you surfaces.

Change-Id: Ib62957180949293a6fb84bb5a40af058798337ab
related-to-bug: 3335220
ibstagefright/OMXCodec.cpp
b45c01c2b8588ff431b511151666a55a39f0a6ae 16-Jan-2011 James Dong <jdong@google.com> Fix the presentation video resolution when it is different from the actual image resolution of the video.

bug - 3352413

Change-Id: I8f08f3896e9fb90f09119dccdb88b82af60f79f2
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/AwesomePlayer.h
ea59c3e26a903af458cb1cadaeed869a99bf5680 19-Jan-2011 Andreas Huber <andih@google.com> am e9a00235: Merge "DO NOT MERGE: Apparently our native TCP sockets do not return an error from blocking "connect"" into gingerbread

* commit 'e9a00235c102d198a702bc665b2ea5b5e8c4bc07':
DO NOT MERGE: Apparently our native TCP sockets do not return an error from blocking "connect"
2b4883641e324c50a2ee24c5bd15170c7d31e57d 19-Jan-2011 James Dong <jdong@google.com> Use metadata in video buffers for timelapse video recording by default to eliminate memcpy

bug - 3361771

Change-Id: Ib37ffe4be8edc8708baa76b3507b6f11372536d9
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSourceTimeLapse.cpp
f4c056aeacad2dac60a83ccd7928bfeaa9d6ddf6 19-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Apparently our native TCP sockets do not return an error from blocking "connect"

if the network interface is shutdown while connecting.

Change-Id: I168c6026de24812efa9b7e607a9eb83efded8c1f
related-to-bug: 3362836
ibstagefright/HTTPStream.cpp
de16890e98cdd241398ed155cd47daf061584a77 19-Jan-2011 Andreas Huber <andih@google.com> Merge "Apparently our native TCP sockets do not return an error from blocking "connect"" into honeycomb
368ef16787c3fe2334dadc767e7418b610c83cbd 19-Jan-2011 Andreas Huber <andih@google.com> Apparently our native TCP sockets do not return an error from blocking "connect"

if the network interface is shutdown while connecting.

Change-Id: I1bd7e43475edf20f35e15dd4eae547126289f5f0
related-to-bug: 3362836
ibstagefright/HTTPStream.cpp
31389148f4ab7587e150f4043b7379eaefe2af2b 18-Jan-2011 James Dong <jdong@google.com> Fix the sluggish preview during timelapse video recording because software encoder is used.

bug - 3361771

Change-Id: Ic5344e9eabe7f1b82910b65b4260e4ad8dc51c32
ibmediaplayerservice/StagefrightRecorder.cpp
bf6489f8b4c03dda70bf7a549702b98da497e348 18-Jan-2011 Andreas Huber <andih@google.com> Merge "Implement parsing of vbv buffering info in RTSP." into honeycomb
126983a5afae1a554a8bb26711bb01edb1ddf5b1 18-Jan-2011 Bryan Mawhinney <bryanmawhinney@google.com> Merge "Don't report 100% buffered when the stream ends prematurely." into honeycomb
21a6f9ffee8b3c014abfe165b8f7fd2224f49e1f 18-Jan-2011 Andreas Huber <andih@google.com> Implement parsing of vbv buffering info in RTSP.

Change-Id: I7d871cafda2c4c65670a40ad9ab4f24317f8568a
related-to-bug: 3351915
ibstagefright/rtsp/APacketSource.cpp
1bd233ce7e1aa7730bc18d46ffd57791391738cd 18-Jan-2011 Bryan Mawhinney <bryanmawhinney@google.com> Don't report 100% buffered when the stream ends prematurely.

Change-Id: Ia4e80d02f28104427a3309e3d5b155faa5702757
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/NuCachedSource2.h
aa95240d9096f97aa2e2022fae8764a4386c8951 18-Jan-2011 Mike Lockwood <lockwood@android.com> MTP: Fix problems with modification dates for folders and non-media files

Also removed an unnecessary parameter to MtpDatabase.endSendobject()

BUG: 3352142

Change-Id: I6fd812dcba4814956bc8bc1cbd6bd5c868197790
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpServer.cpp
ccb3506ed1845121b94f4e27244e61a46eb19815 17-Jan-2011 Dharmaray Kundargi <dharmaray@google.com> integrate videoeditor preview player.

Change-Id: I83084f494605c8e6f4d198afa8c36f9e29579667
ibstagefright/include/AwesomePlayer.h
cf3592c5bf1c66ba510934fff5eb57ee0b3fd761 15-Jan-2011 Jean-Baptiste Queru <jbq@google.com> merge 83fdc69e from gingerbread - do not merge

Change-Id: Ib1e9e12244a44f75a93d66142e71915de6386680
6ee94582e3ce7bdd9625345e7564e3176a51a2f3 15-Jan-2011 James Dong <jdong@google.com> Fixed thrashing in the cached buffer during 720p YT video streaming

bug - 3340194

Change-Id: Ic59bb18ab1731d7dd7cae7cc8aeb393900bce7f6
ibstagefright/NuCachedSource2.cpp
42dd1d5f186252a7f09f8fb1a46ea82e3877b2d3 13-Jan-2011 James Dong <jdong@google.com> Add audio encoding parameters check

bug - 3345296

Change-Id: If3f33955f5473b0c5ad9c9b85f8b5cb21ddd7e65
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
95304d5488ba465f19cc788f1c7394218c2ea2d1 03-Dec-2010 James Dong <jdong@google.com> Squash commits of the following patches, cherry-picked from other branch - do not merge.

o Prepare for publishing MediaMetadataRetriever as public API
step one:
o replaced captureFrame with getFrameAtTime
o removed getMode

o Replace MediaMetadataRetriever.captureFrame() with MediaMetadataRetriever.getFrameAtTime()
as part of the preparation for publishing MediaMetadataRetriever as public Java API

o Remove captureFrame from MediaMetadataRetriever.java class
It has been replaced by getFrameAtTime() method

o Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java

o Publish MediaMetadataRetriever.java as public API
o Removed setMode() methods and related mode constants
o Removed some of the unused the metadata keys
o Updated the javadoc
o part of a multi-project change.

bug - 3309041

Change-Id: I2efb6e8b8d52897186b016cb4efda6862f5584c4
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/mediametadataretriever.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/include/StagefrightMetadataRetriever.h
3e9eeb3b411f56d9935f9240056107816da24653 12-Jan-2011 Andreas Huber <andih@google.com> Merge "Fail to parse duration instead of asserting, if the server response cannot be parsed." into honeycomb
7f7d52ac18dfc3c6d8f6267dad29306613e9bd0e 06-Jan-2011 James Dong <jdong@google.com> Publish MediaMetadataRetriever.java as public API

o Removed setMode() methods and related mode constants
o Removed some of the unused the metadata keys
o Updated the javadoc

o part of a multi-project change.

bug - 2433195

Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/mediametadataretriever.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
67988a9ba5a081d14dbd8a663516e1d484d829df 12-Jan-2011 James Dong <jdong@google.com> Merge "Speed up MP3Extractor using cached reads" into honeycomb
72b228f6b18763a95023fd8ba44eb7354cfd7f74 12-Jan-2011 Andreas Huber <andih@google.com> am 7c615360: Fail to parse duration instead of asserting, if the server response cannot be parsed.

* commit '7c6153606cc963191362494c8cb5669749e84326':
Fail to parse duration instead of asserting, if the server response cannot be parsed.
934ca8cb1bcffcf1781a576ca625d2f901e5f0a9 12-Jan-2011 Andreas Huber <andih@google.com> Fail to parse duration instead of asserting, if the server response cannot be parsed.

Change-Id: I42324468edca5ccce29486059091da8e64f36326
related-to-bug: 3338518
ibstagefright/rtsp/ASessionDescription.cpp
e49051406baa71cb63d5754d33908ce3df201af1 12-Jan-2011 Andreas Huber <andih@google.com> Fail to parse duration instead of asserting, if the server response cannot be parsed.

Change-Id: I95c61ed83800db82e99c0023b942fb8ae05ed3cf
related-to-bug: 3338518
ibstagefright/rtsp/ASessionDescription.cpp
7cc497733b7602b99b783decfa8c002bc27e25aa 12-Jan-2011 James Dong <jdong@google.com> Speed up MP3Extractor using cached reads

Change-Id: I53a5ed76bc2f76f0c184f3800b5448f677117ae3
ibstagefright/MP3Extractor.cpp
4dafe5b814c923538a0f275b62220ec9cc94a9b5 12-Jan-2011 Glenn Kasten <gkasten@google.com> Fix race in buffer ref counting.

Change-Id: Id47c30469c3e3ec293ed2ef574a191275b5044d6
ibstagefright/MediaBuffer.cpp
4c0104e004f30d7e48381ef8d728b2e93931611f 12-Jan-2011 Andreas Huber <andih@google.com> am 7e2f9cc8: DO NOT MERGE: Fix Matroska issues

* commit '7e2f9cc81da788006790365ff11f06551fc1bc26':
DO NOT MERGE: Fix Matroska issues
9a0cf4fb7d18e186e06341bde915de234992d969 12-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Fix Matroska issues

related-to-bug: 3331623

Squashed commit of the following:

commit 8484811f3784564ce962ec1b6311bac532d73ffc
Author: Andreas Huber <andih@google.com>
Date: Tue Jan 11 11:56:06 2011 -0800

Properly parse Matroska lacing flags and extract all frames contained in a block.

related-to-bug: 3331623

commit 38f1f39381a01659577461b3d35bd22db45ba317
Author: Andreas Huber <andih@google.com>
Date: Mon Nov 15 15:10:34 2010 -0800

Proper support for variable NALsize lengths of AVC content in .mkv files.

related-to-bug: 3197442

Change-Id: I4b404f3c3d0a2a2fa336b9edff75eb25ffc66a2f
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/mkvparser.cpp
ibstagefright/matroska/mkvparser.hpp
960737e761895d5850beabab809d03b3621d0ec3 12-Jan-2011 repo sync <andih@google.com> resolved conflicts for merge of e7fbfb6b to gingerbread-plus-aosp

Change-Id: Icef97302fb99e3dd346ec6ee04aa9e8eea7bff26
c4c3a2d4123f7dfe8c6ed0c26fb14aeb7b8d8f61 12-Jan-2011 Andreas Huber <andih@google.com> Merge "Increase cache size and low-watermark threshold, also" into honeycomb
fd52174eaacf661e9e7b1ff0001a9587f1b90b87 12-Jan-2011 Andreas Huber <andih@google.com> Merge "Properly parse Matroska lacing flags and extract all frames contained in a block." into honeycomb
145e68fc778275963189b02a1adcbe27cce4d769 12-Jan-2011 Andreas Huber <andih@google.com> Increase cache size and low-watermark threshold, also

MediaPlayer now sends out MEDIA_INFO,MEDIA_INFO_VIDEO_TRACK_LAGGING messages
to the JAVA client informing it how much (if at all) the video lags behind
audio (arg2 is the media delay in ms).

Change-Id: I6933f573d8597a35112e4b5ee0fcb826a7f6ddd1
related-to-bug: 3335220
ibmedia/mediaplayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/NuCachedSource2.h
50c8bea8fba2fcafb14696399028bdbc094dc995 11-Jan-2011 Andreas Huber <andih@google.com> Properly parse Matroska lacing flags and extract all frames contained in a block.

Change-Id: I1aca46b2e28b9cad88bf4a296f675e81e66ee095
related-to-bug: 3331623
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/mkvparser.cpp
ibstagefright/matroska/mkvparser.hpp
8eb04084b96d59802615f0e0570359c35ca3df61 11-Jan-2011 James Dong <jdong@google.com> Merge "Fix uninitialized rect structure for retrieving rect cropping information from decoder" into honeycomb
0d85990f20106513b6da5a446702aa62ab61397f 11-Jan-2011 Andreas Huber <andih@google.com> DO NOT MERGE: Fix parsing of ntp= PLAY response.

related-to-bug: 3340186

Squashed commit of the following:

commit b61c36b7228aec9f5360883b1e1c1e0530488974
Author: Andreas Huber <andih@google.com>
Date: Wed Oct 27 13:59:59 2010 -0700

Better support for MP4A-LATM RTP disassembly. This used to fail if mNumSubFrames > 1 and the sub frames did not align with RTP packet boundaries.

commit b10f322c07e5bebcaf032e8624cb4a5d733dfc15
Author: Andreas Huber <andih@google.com>
Date: Mon Oct 25 09:40:52 2010 -0700

We don't have access to the md5 implementation on the simulator, let's disable digest authentication in rtsp for simulator targets.

commit 0aa83cf9e4637adf9501708fcdf7d0d6d4dc4fe1
Author: Andreas Huber <andih@google.com>
Date: Wed Oct 20 15:00:34 2010 -0700

Support for BASIC and DIGEST authentication schemes in RTSP. Support for malformed packet descriptions that end lines in LF only, instead of CRLF.

related-to-bug: 3084183

Change-Id: I6e512cb73cc8d5624a83f7154aa5699f7fef7534
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.h
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/Android.mk
ibstagefright/rtsp/MyHandler.h
b0fb6bf746f1d611033c55a4a1ab5a4b0e212a95 11-Jan-2011 James Dong <jdong@google.com> Don't release the video recording frame after recording is stopped in CameraSourceTimeLapse.cpp

bug - 3334999

Change-Id: I1c83080713696221048da9b1a9f8c2ee48849ade
ibstagefright/CameraSourceTimeLapse.cpp
7b8a803497450bb90b9c4f5ba3426bf984fad274 10-Jan-2011 James Dong <jdong@google.com> am 13d1cb56: Merge "Avoid deadlock in OMX::freeNode by making sure OMXCodecObserver does not hold the last reference of OMXCodec object - do not merge" into gingerbread

* commit '13d1cb56dfdfc89888de6a0389b0fe6cf7e36c27':
Avoid deadlock in OMX::freeNode by making sure OMXCodecObserver does not hold the last reference of OMXCodec object - do not merge
0ecfbd1cf37dbfb44d19c27351f5769309ac028d 10-Jan-2011 Andreas Huber <andih@google.com> Return a runtime error instead of asserting if the M4vH263Decoder fails in start()

Change-Id: Ie704a72685f749613fa0ed5fa6f461abc0406371
related-to-bug: 3328200
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
32ad210e4e4bcbdf912a01c9d2ff105cb3c5056f 10-Jan-2011 Andreas Huber <andih@google.com> Merge "NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications." into honeycomb
31e2508c75018145a8238925ff1a08cbde4e799a 10-Jan-2011 Andreas Huber <andih@google.com> NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications.

Change-Id: I99b4223ad6ecfd8839a3c0e737fef3165565d76d
related-to-bug: 3336496
ibmediaplayerservice/nuplayer/DecoderWrapper.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/ACodec.cpp
ibstagefright/foundation/AMessage.cpp
32c8335c6b6eb87a88e9193db1a5aab29175d043 10-Jan-2011 James Dong <jdong@google.com> Avoid deadlock in OMX::freeNode by making sure OMXCodecObserver does not hold the last reference of OMXCodec object - do not merge

cherry-picked from: I4c79b66a900c527e3ae6a833f76d5da1b75c5a89

bug - 3336424

Change-Id: I2d8ecb79a5422342988c195c012c9e6327ac457a
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMX.cpp
14c858e80dfe2030c9f343dc0c6e2048e030731b 10-Jan-2011 James Dong <jdong@google.com> Avoid deadlock in OMX::freeNode by making sure OMXCodecObserver does not hold the last reference of OMXCodec object

bug - 3336424

Change-Id: I4c79b66a900c527e3ae6a833f76d5da1b75c5a89
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMX.cpp
aee6c07b3572bf2510cd9e7d29c454fcfedde31d 06-Jan-2011 pmehendale <pmehendale@nvidia.com> Awesomeplayer : Frame dropping logic change

Changed late frame drop policy, now we are dropping only 1 in 8,
late (> 40ms) frames. Dropping every late frame result in lot of noticible
pauses, usually with peaky bitrate activity these pauses become more prominant.
Dropping few frames is still required to allow overall playback chain,
to regain the performance.
Experimentally decided to drop Max one late frame in 8.

Change-Id: If20848d619a76aaf8179b1e5c3155610e3bc85fd
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
c29dd6f4ccd7ea7e41921d48d03d26e159aeaae4 07-Jan-2011 James Dong <jdong@google.com> Fix uninitialized rect structure for retrieving rect cropping information from decoder

o This patch is from NV.

bug - 3333254

Change-Id: I02bc26af464ea0bc9ad9f2e111474e8398c67220
ibstagefright/OMXCodec.cpp
11f8109ad8646d3acd9a0987613229cde59d52c1 06-Jan-2011 Marco Nelissen <marcone@google.com> Add support for the "compilation" tag in mp3, mp4 and ogg, and also add
support for two common ways of specifying album artist in ogg files.
b/3311831

(cherry-picked from GB because of weird automerger failure)

Change-Id: Ibf12a3d6bc8bbc2ac5ea815de6b33414b8f53f0f
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
e28b1e565705ffb85b05c8e226e1ab5010cb3821 07-Jan-2011 Marco Nelissen <marcone@google.com> am ba77a3f9: Add support for the "compilation" tag in mp3, mp4 and ogg, and also add support for two common ways of specifying album artist in ogg files. b/3311831

* commit 'ba77a3f9cb1d68b2ed4813aaae856444578e3a75':
Add support for the "compilation" tag in mp3, mp4 and ogg, and also add support for two common ways of specifying album artist in ogg files. b/3311831
20ad3a341a96e7746015ccb7369fa567897e11f6 07-Jan-2011 Andreas Huber <andih@google.com> Fix typo.

Change-Id: I2d7796425ea746432964ce48959b6c227d31df11
ibstagefright/httplive/LiveSession.cpp
aea5aff45a1af14e249ac311f0a128a621a7d13e 07-Jan-2011 Andreas Huber <andih@google.com> If the stream for the new bandwidth doesn't have the segment we're looking for...

go back to the previous bandwidth' stream.

Change-Id: I3477cb6932102883509a7cbe9fb2b3bb02dac8c6
ibstagefright/httplive/LiveSession.cpp
288fb7e5bd7060cbe9b737500975754c9312e2db 06-Jan-2011 Marco Nelissen <marcone@google.com> Add support for the "compilation" tag in mp3, mp4 and ogg, and also add
support for two common ways of specifying album artist in ogg files.
b/3311831

Change-Id: Iba1152013b7577168af71f947d7249560419fa05
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
4b197e1ffe46eb73ebdb80efc984bfde336b8e92 06-Jan-2011 Andreas Huber <andih@google.com> Use NuPlayer for HTTP live streaming playback by default.

Reversed the property logic, set media.httplive.disable-nuplayer to true to revert

Change-Id: I1057940667aaab56bb75c9ea15c2cdcab736f3c6
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/httplive/LiveSession.cpp
b1787e3b95e96cc002377d41518cc183f64b58c4 06-Jan-2011 Andreas Huber <andih@google.com> Colorconverter may not support some src/dst bitmap configurations.

Let it return an appropriate error code instead of asserting.

Change-Id: I7fe0dfa169e1cbdecb04c5fcbe8501e73362d05e
related-to-bug: 3328212
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/colorconversion/ColorConverter.cpp
4d785ae6b940c62610612baf9d24f1ee607a2714 06-Jan-2011 Andreas Huber <andih@google.com> If we failed to initialize the codec after transitioning to IDLE state, don't assert

during shutdown.

Change-Id: I40ac44260fb136c15d6dcb9f5ad62211640c66ec
related-to-bug: 3328222
ibstagefright/OMXCodec.cpp
5de2001a5c3f854b63dbcea284e02f930881ca75 06-Jan-2011 Mike Lockwood <lockwood@android.com> Remove support for obsolete PTP content provider

This will be replaced by a new PTP host API in an upcoming commit.

Change-Id: Ib914194e332b5c090cb8e34ed35bd691bc9f85d1
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/PtpCursor.cpp
tp/PtpCursor.h
42d0b79a787814d42e4c6f9dfe14f13cc0f6a758 04-Jan-2011 Mike Lockwood <lockwood@android.com> MTP: changes to use new usb_request support in libusbhost

Change-Id: Ic091eab166a66efcde0395dcebbbc513f2322fca
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpClient.cpp
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDevice.cpp
tp/MtpDevice.h
tp/MtpEventPacket.cpp
tp/MtpEventPacket.h
tp/MtpPacket.cpp
tp/MtpPacket.h
tp/MtpRequestPacket.cpp
tp/MtpRequestPacket.h
tp/MtpResponsePacket.cpp
tp/MtpResponsePacket.h
bade4951bd8b2c9148df9018c44903b9d48d1f7b 06-Jan-2011 Andreas Huber <andih@google.com> Merge "Some more fixes regarding HTTP live in NuPlayer."
22fc52f6f72f39e33c3970d0291de3569118aa5c 06-Jan-2011 Andreas Huber <andih@google.com> Some more fixes regarding HTTP live in NuPlayer.

Change-Id: I9e29615fa8ee6c7bd4189373a75c20caef3fd2b1
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
149d3b0565c9b7e56af344d0e5c2f121236fa119 05-Jan-2011 Andreas Huber <andih@google.com> Merge "Seek/Duration support for completed http live streams in NuPlayer."
43c3e6ce02215ca99d506458f596cb1211639f29 05-Jan-2011 Andreas Huber <andih@google.com> Seek/Duration support for completed http live streams in NuPlayer.

Change-Id: I55bbe75d87140c07b1927d14ad24130fce803463
related-to-bug: 3321475
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
ibmediaplayerservice/nuplayer/NuPlayerSource.h
ibmediaplayerservice/nuplayer/StreamingSource.h
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/LiveSession.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
019e96a6c6228c2565d8bc172f6278b31384aca5 05-Jan-2011 James Dong <jdong@google.com> Merge "Use video output if necessary for timelapse video recording"
28934a90e168291f6c77c56e8a05f272e5151bbd 05-Jan-2011 James Dong <jdong@google.com> Use video output if necessary for timelapse video recording

Change-Id: I88d0cc824f0fbf8b2f392fbc23c69b5bfefda1b8
ibstagefright/CameraSourceTimeLapse.cpp
c213b812514d16dd401cd308b9203b70bfbb3d5f 04-Jan-2011 Andreas Huber <andih@google.com> Merge "Properly shutdown the decoders on a reset() in NuPlayer's implementation."
1aef211b4e5dc952081727bfd2318b2cb5ca4506 04-Jan-2011 Andreas Huber <andih@google.com> Properly shutdown the decoders on a reset() in NuPlayer's implementation.

related-to-bug: 3321470
Change-Id: Ida6d2171c5a3a407188d4633602b764f8fe7086a
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
c2f95fba3ab2a4e512fd1152a12e64691f2ea73d 04-Jan-2011 James Dong <jdong@google.com> Merge "Remove captureFrame from MediaMetadataRetriever.java class It has been replaced by getFrameAtTime() method"
6e5cf568f4a5dee4be6ec991e1a96497303fb019 04-Jan-2011 James Dong <jdong@google.com> Remove captureFrame from MediaMetadataRetriever.java class
It has been replaced by getFrameAtTime() method

Change-Id: I9ed762e10e61dbc188e2a740e489a3e2ef9a6bb2
ibstagefright/StagefrightMetadataRetriever.cpp
65a170e3ac593a29abd0c76e9aa531fabad7f56d 04-Jan-2011 Andreas Huber <andih@google.com> Make AwesomePlayer's reset process more verbose to track down ANRs.

Change-Id: I8c9fa872263796ba61b3e8de6bc05d50f57833f5
related-to-bug: 3302399
ibstagefright/AwesomePlayer.cpp
8afe66571ba14c7f923966d7270287e6f950ef38 29-Dec-2010 Ying Wang <wangying@google.com> Fix build.

Due to a bug (fixed by 59163bf2f15e28712be6598144ae0fdb94dac52b),
libstagefright_yuv.so was actually not prelinked.

Change-Id: Idbc9b968708d0fc31a087d2e4f24398072d915e2
ibstagefright/yuv/Android.mk
d1b056a099b29e81d65582a8612210967fb71f93 29-Dec-2010 Mike Lockwood <lockwood@android.com> Change libusbhost and libmtp from static to shared libraries

Change-Id: Iccc67db32400cdeb88aa33261c9e0cf73db992ca
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
5bc087c573c70c84c6a39946457590b42d392a33 23-Dec-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit eaeaa2672d4e0a82891493b2bde8bdd0c0e79a1b
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 23 10:26:48 2010 -0800

Remove lowest bandwidth stream if using the legacy player.

Change-Id: I2f885e26344996de9152f8fda9fd6bdef89bf953

commit 7d652972615b2750fd8f1c21b9fab0e136df2b82
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 23 10:14:36 2010 -0800

Don't clear the packet source's format for legacy discontinuities.

Change-Id: I9bd5a21b9bd28043ad38bd0658ccc8eda3c1079a

commit 2b18a45aac17cbfe1aa089d0f6510957d438dd64
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 23 10:13:55 2010 -0800

Use NuPlayer for HTTP live streaming based on runtime property.

adb shell setprop media.httplive.enable-nuplayer true

Change-Id: I22738df3403985dc8e6992b1ab5da5747309f773

commit 50d899fb7b9ea52c3994b0a58e993998d926aeed
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 16:25:22 2010 -0800

Make ACodec a lot less verbose.

Change-Id: I94c7e499b61032321ffaf999f5ad2c913cde6a48

commit b19e1740cb4d02990a56844654b5d019987c6405
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 16:22:22 2010 -0800

Wait until we have fresh codec-specific-data before instantiating the decoders

after a discontinuity involving a format change.

Change-Id: I7bcf9b5ae3319f08bf8978a117e8ee5220902e37

commit 06428c006906c9099e430aface3b439ff1d36ecc
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 15:20:38 2010 -0800

Disable random seeks in the streaming tool for now.

Change-Id: Ie86fde422dcfc4b2c7a01be51a193fda9c88cd71

commit e19db68f3bea8a61c191f60f6940f30e3a0d5f1b
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 15:20:27 2010 -0800

Tweak HTTP live parameters.

Change-Id: If4b71e12485facc523a8a43d8213d0feb190daab

commit 1e9942791538c2256b579d96c6c04264b0d8b087
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 14:48:23 2010 -0800

Enable http live streaming through NuPlayer for http URLs containing the string m3u8

Change-Id: I1691fe12ae8f1507fe3673313959cd50bc324624

commit 4c33f96a6e499ee0efe0e70b687094430cb7c1c0
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 14:40:27 2010 -0800

Support for HTTP live streaming in NuPlayer.

Change-Id: Iacba1c3ebaeb8d3b972185deaf4cff18c8009c54

commit ddf705ce553708bc5b13d89a878484cf839bd674
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 13:42:47 2010 -0800

StreamingSource now a subclass of abstract NuPlayer::Source

Change-Id: Ia6c7c639628910b9d1f37decc55da48b07a70de3

commit 9e04a8406b1882a8e3fdeb7b4d52db5ae70b970a
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 22 13:33:52 2010 -0800

Refactor media data sourcing to NuPlayer::Source.

Change-Id: I1db9fb08c4e527bf7b19c29978cf342c2b0a0bc9

Change-Id: I9610a097481dda58f22142eacda3ac2dba0b63f9
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/nuplayer/Android.mk
ibmediaplayerservice/nuplayer/HTTPLiveSource.cpp
ibmediaplayerservice/nuplayer/HTTPLiveSource.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
ibmediaplayerservice/nuplayer/NuPlayerSource.h
ibmediaplayerservice/nuplayer/NuPlayerStreamListener.cpp
ibmediaplayerservice/nuplayer/StreamingSource.cpp
ibmediaplayerservice/nuplayer/StreamingSource.h
ibstagefright/ACodec.cpp
ibstagefright/avc_utils.cpp
ibstagefright/httplive/LiveDataSource.cpp
ibstagefright/httplive/LiveDataSource.h
ibstagefright/httplive/LiveSession.cpp
ibstagefright/include/LiveSession.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
ibstagefright/mpeg2ts/ESQueue.cpp
53df1a460bcfdd129ca2bc416dee2009e35c042e 22-Dec-2010 Andreas Huber <andih@google.com> Distinguish discontinuities w/ a format change from those without.

Shutdown decoders as needed in anticipation of a format change, otherwise just flush.

Change-Id: Ieb04f8aa8658569b091409c4903075fd496e5abb
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
df42f949c8bd05b81d94633767514fff88f52062 21-Dec-2010 Andreas Huber <andih@google.com> Better handling of forming absolute https URLs, runtime error on https:// access.

Change-Id: I7f6275520b0bd070e645024dd151a8541b8787b2
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/M3UParser.cpp
27a932a79b99fd2d869125e4c08b230fb6108860 21-Dec-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
3831a066bcf1019864a94d2bc7b4c9241efc5c22 21-Dec-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 63be8ceb8b2354fb997a277c0092abae015ecf10
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 17 13:45:34 2010 -0800

Enable handling of discontinuities that involve potential format changes.

Change-Id: I21848a113db8764abb54bdcf302b0923253eaf4d

commit d18a7f80ec09af382026809263dcbbfa9e7a9ec8
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 17 13:45:01 2010 -0800

Signal whether or not a format change occured as part of the discontinuity.

Change-Id: I06e64f542f4369549c9cebbb892dc612346ae43d

commit c400adbd5fdbd65cfef7aed9ec65bcaace4bb69b
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 17 13:44:46 2010 -0800

A little more instrumentation of ACodec

Change-Id: I07f4aeccbbd15cdd9f80f48c3f92ee984ef6d92b

commit 1d802ee01f47b3cdc5b89502cec7fbb595e197a3
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 17 13:43:58 2010 -0800

Only sync audio/video queues if both types of media are actually present.

Change-Id: Ic88edf9bb1ebd4034c08747cce9877a4e28e0d35

commit e402da39d9a4d8b75653a78f728e20a3ef0fb497
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 17 13:42:24 2010 -0800

Disable the random seek for now.

Change-Id: Iddd597b546e2f229e88214f9bdd6452bb188105e

Change-Id: I27c4d9ba916080be94ce6117dbb095e9022ed62b
ibmediaplayerservice/nuplayer/DecoderWrapper.cpp
ibmediaplayerservice/nuplayer/DecoderWrapper.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
ibstagefright/ACodec.cpp
ibstagefright/httplive/LiveSession.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
41152efd144ccf70c380d5c9a32105c02a039f43 21-Dec-2010 James Dong <jdong@google.com> Add more debugging code to track down hang during video recording

bug - 3276561

Change-Id: I1e02590b23031f29bcbfc4a1064f039ed80cb862
ibstagefright/CameraSource.cpp
ibstagefright/OMXCodec.cpp
54c02a58e5ad4b7b2668f63caa9d189e958f5544 20-Dec-2010 James Dong <jdong@google.com> Merge "Backward-compatibility max file size support, ignoring 0 or negative file size limit"
2d1e5d35be5e6d4b55ac8b39fbfcbeb60fcdd084 20-Dec-2010 James Dong <jdong@google.com> Backward-compatibility max file size support, ignoring 0 or negative file size limit

bug - 3281011

Change-Id: I2d3ae4565602e2374ca794c5e8d0837ad33cf0e8
ibmediaplayerservice/StagefrightRecorder.cpp
a4d153424bf33646a86a7e968064dabb8e073c52 20-Dec-2010 Jamie Gennis <jgennis@google.com> Merge "Change a Stagefright assert to an error check."
60693ddde0e435def1617848f545c78cec452766 18-Dec-2010 Jamie Gennis <jgennis@google.com> Change a Stagefright assert to an error check.

During OMX codec initialization it is possible that buffer allocation
fails. This changes Stagefright to set an error state and abort
initialization rather than crashing with an assert failure when that
happens.

Change-Id: I2fc2fadfe75657cdbf649cc8cafd2e4c251a5f8b
Bug: 3282700
ibstagefright/OMXCodec.cpp
357b7a806e530902ab60ceab877ea608a7e3e053 17-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "MediaScanner: Add support for scanning empty directories"
74de24045c00d641e79483b459d7d00d3d5bffe3 17-Dec-2010 Eric Laurent <elaurent@google.com> am 5a756fb0: Merge "Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO." into gingerbread

* commit '5a756fb0f1f3f8cd7612284c889dfc69875577a8':
Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO.
3e9f9f1596d4225ddd9288b4f7b24a15221374dc 16-Dec-2010 Mike Lockwood <lockwood@android.com> MediaScanner: Add support for scanning empty directories

Currently the media scanner does not create database entries for directories
unless they contain a file that is scanned.
Fixing this so we provide a consistent view of the world to MTP.

Change-Id: Ia776acfeae23192183e7192d63cdc34d830ea889
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
6e6b1cae2bac1b78205cefab8e4e9e9538982965 16-Dec-2010 Andreas Huber <andih@google.com> Instead of asserting, gracefully abort and signal and error.

Change-Id: I170a602ed80e6c85a94e46deadfc02aaf92bfebb
ibstagefright/httplive/LiveSession.cpp
5a7f242cfc0bd3b5208c21c27c0f5f348e98a0dc 16-Dec-2010 Andreas Huber <andih@google.com> Merge "The HTTP/1.1 Host request header must include port if it's not the default (80)."
ac13b81c590386b3a42e381b31d7614ca53b79c5 16-Dec-2010 Andreas Huber <andih@google.com> The HTTP/1.1 Host request header must include port if it's not the default (80).

Change-Id: Idcc1429fbeecef99dad435208c9a1bd481132e2b
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/M3UParser.cpp
f4a0e014f53c131dbb9ae86921b8064993c09e61 16-Dec-2010 Andreas Huber <andih@google.com> Merge "Remove now obsolete implementation of streaming from AwesomePlayer."
d0c5158d5244418880bb85122e9fd0e378892c2a 16-Dec-2010 Andreas Huber <andih@google.com> Merge "Properly announce decoder output format changes, make sure AMessage::dup does."
85704836f33a199d7e442a23db82abbd5620d35d 16-Dec-2010 Andreas Huber <andih@google.com> Remove now obsolete implementation of streaming from AwesomePlayer.

Change-Id: If62bedbf74c8e987d6651604d7bebc9da381e86a
ibstagefright/AwesomePlayer.cpp
2c2814b900a61fa07ddfff860b143fbbe9c740e9 16-Dec-2010 Andreas Huber <andih@google.com> Properly announce decoder output format changes, make sure AMessage::dup does.

Change-Id: Ia77f6b6d5e5c5055583740dfe876b8a3c22be9b6
ibmediaplayerservice/nuplayer/DecoderWrapper.cpp
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibstagefright/foundation/AMessage.cpp
0f01764099d7a65b8921725df3340140f9fc4cd5 16-Dec-2010 Eric Laurent <elaurent@google.com> Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO.

The problem is that when an input stream is opened for record over bluetooth SCO, the kernel
mono audio device should be opened in RW mode to allow further use of this same device by an output stream
also routed to bluetooth SCO.
This does not happen because of a bug in AudioSystem::isBluetoothScoDevice() that does not return true
when the device is DEVICE_IN_BLUETOOTH_SCO_HEADSET (input device for blurtooth SCO).

Change-Id: Ic78bf324b4a68e65721d763dc7682ce7a8f14f75
ibmedia/AudioSystem.cpp
a6256238d9015c42129fe43791968768fe501efa 16-Dec-2010 James Dong <jdong@google.com> Give the standard not compliant video sample a chance if its size in the mp4 header is invalid

Change-Id: Ib573ededb9c73285822fa238120faa484402bcf7
ibstagefright/MPEG4Extractor.cpp
e071b055cee301d71335519601474c62b10af411 16-Dec-2010 James Dong <jdong@google.com> Opted to recognize "h263" or "H263" boxes in an mp4 file

bug - 3278240

Change-Id: Ifd1b1f3e5dd55dbf2c33bbad9dd51998c25bfc15
ibstagefright/MPEG4Extractor.cpp
c08bb264768f773cd6d10b8736ccfc4745645135 16-Dec-2010 Andreas Huber <andih@google.com> Merge "Properly order the data written out to the transport stream by timestamp."
f933441648ef6a71dee783d733aac17b9508b452 16-Dec-2010 Andreas Huber <andih@google.com> Initial support for a true streaming player for mpeg2 transport streams.

Change-Id: I153eec439d260a5524b21270e16d36940ec3161a
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/nuplayer/Android.mk
ibmediaplayerservice/nuplayer/DecoderWrapper.cpp
ibmediaplayerservice/nuplayer/DecoderWrapper.h
ibmediaplayerservice/nuplayer/NuPlayer.cpp
ibmediaplayerservice/nuplayer/NuPlayer.h
ibmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
ibmediaplayerservice/nuplayer/NuPlayerDecoder.h
ibmediaplayerservice/nuplayer/NuPlayerDriver.cpp
ibmediaplayerservice/nuplayer/NuPlayerDriver.h
ibmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
ibmediaplayerservice/nuplayer/NuPlayerRenderer.h
ibmediaplayerservice/nuplayer/NuPlayerStreamListener.cpp
ibmediaplayerservice/nuplayer/NuPlayerStreamListener.h
ibstagefright/ACodec.cpp
ibstagefright/Android.mk
ibstagefright/foundation/AHierarchicalStateMachine.cpp
ibstagefright/foundation/Android.mk
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
3a1775247e26f274ef249442ef038ddf7217b68c 11-Dec-2010 Andreas Huber <andih@google.com> Properly order the data written out to the transport stream by timestamp.

This ensures data locality across tracks.

Change-Id: I823b9407e3603473422177ec02dff4860ffc5b4f
ibstagefright/MPEG2TSWriter.cpp
a093f92042cf65060d1474c0fe116c12f8981717 15-Dec-2010 Andreas Huber <andih@google.com> Proper recovery of timestamp information in the transport stream parser.

Change-Id: I647c73688c95529f54f0bb6af17d109dfe2bb11d
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
00502849dcc54086ad9fabbd90ef3d0e41ae78f5 15-Dec-2010 Andreas Huber <andih@google.com> Merge "Emit better (correct) timestamps that respect AAC upsampling."
41dabbcd9ab62d7ecea1570cc76c39ac485de2ce 15-Dec-2010 Andreas Huber <andih@google.com> Emit better (correct) timestamps that respect AAC upsampling.

Change-Id: I6587416c9caa0e263aa8ec6c6d89a42e28f6ff19
ibstagefright/codecs/aacdec/AACDecoder.cpp
d27f1e6959cdcdadfa471b9824686d784ca55def 14-Dec-2010 James Dong <jdong@google.com> Merge "Fix an issue where a fixed number of bits per sample is used for seek position calculation."
123e95a584556a64a2e0f9e242f48b9a080750a5 14-Dec-2010 Andreas Huber <andih@google.com> Merge "Properly signal the condition if we run out of input data."
93b47835ef496da664f98949ba3bb6c4583559a6 14-Dec-2010 Andreas Huber <andih@google.com> Merge "Support malformed ID3 V2.4 tags written by early versions of iTunes."
763b772bb6bca6a4aaef85cec840fd7061630d61 14-Dec-2010 Andreas Huber <andih@google.com> Properly signal the condition if we run out of input data.

Change-Id: I7a5ada8c25c1d32ca603b3b2c75e1808e140c367
ibstagefright/OMXCodec.cpp
428d96d5f882d01acb0abb7e1ceb51d4ccc48efa 14-Dec-2010 Andreas Huber <andih@google.com> Support malformed ID3 V2.4 tags written by early versions of iTunes.

Change-Id: I90c2a9bbf216e2ae9a37accdaa2214233f5e54ea
related-to-bug: 3275576
ibstagefright/id3/ID3.cpp
ibstagefright/include/ID3.h
feafefb1ed8d86100161f521fc7a44b819bd9529 14-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: check for replacing existing files via the database instead of the file system

Change-Id: I283dab48f24d2836e48fab8e49764a9cdf13de55
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
36fb2077764093a0a19ed65770078b9987bd82b1 14-Dec-2010 James Dong <jdong@google.com> Fix an issue where a fixed number of bits per sample is used for seek position calculation.

The patch was from NV.

bug - 3278233

Change-Id: I9bc22b6b0ee6bfa5d4617a8c497f67eb577efca4
ibstagefright/WAVExtractor.cpp
985f838934510983d8a887461e98dca60a6e858f 07-Dec-2010 James Dong <jdong@google.com> Yield the omx threads so that file writer threads have a chance to retrieve the output buffers once they become ready

bug - 3252228

Change-Id: Iab7cf1c9a87cce7b814c63b42b21fcd6a7314b36
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
a37fe6bf720683250d7fece6ed35a447694dda1f 13-Dec-2010 James Dong <jdong@google.com> Merge "Revert "Allows the authoring engine to skip frame.""
20c3be0e0394e1340c036685eb1edb8f6ef5a2ac 12-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for reserve storage setting to avoid low storage situations.

Set resource config_mtpReserveSpaceMegabytes to number of megabytes to reserve.
If MTP has dedicated storage this value should be zero, but if MTP is
sharing storage with the rest of the system, set this to a positive value
to ensure that MTP activity does not result in the storage being
too close to full.

BUG: 3250924

Change-Id: I881c87240da268bad1ea1b99ad03673ab85ffdbf
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpStorage.cpp
tp/MtpStorage.h
79e23b41fad961008bfde6e26b3c6f86878ca69d 11-Dec-2010 James Dong <jdong@google.com> Revert "Allows the authoring engine to skip frame."

o Skipping frames could lead to a lot of issues such as I frames is lost etc.
It is not being used anyway.

This reverts commit 53d4e0d58e2d5c18f6e026c705af833b9bdd7aba.

Conflicts:

media/libstagefright/AudioSource.cpp
media/libstagefright/CameraSource.cpp

Change-Id: I3abba1647de48db25bdc369066eb2a7ae4dedec2
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/MediaSource.cpp
ibstagefright/OMXCodec.cpp
abdd2ba259a5dc863a821c9d1187d83f2e2395ac 10-Dec-2010 James Dong <jdong@google.com> Fixed a failure from timelapse video recording because of accidental use of metadata buffers

bug - 3274317

Change-Id: I2c0e9fcd30c9141ce5a85e9d72cbd0baf561458b
ibstagefright/CameraSource.cpp
d69c7f654cc772b03717999c1b24402d5c40e69f 09-Dec-2010 James Dong <jdong@google.com> Release a recording frame only if mCamera exists and is not cleared.
and also call mCamera->stopRecording() only after CameraSource releases all the
outstanding video frames sent from CameraSource to its clients (such as video encoder).

Change-Id: I7eeed4e2f388e77c28668d52c24b5330d3d9ebde
ibstagefright/CameraSource.cpp
b41ad26dba96d70f53fff46d10eb589c2b3eb6f8 10-Dec-2010 James Dong <jdong@google.com> Merge "First step towards renabling Timelapse video recording"
f7454622eaac287d20ab43013d7015fe42b894f8 10-Dec-2010 Mike Lockwood <lockwood@android.com> MTP host: Handle receiving a response packet instead of data packet.

This will happen if the device needs to report an error rather than returning the data.

Change-Id: I477512b3676c2f0518a85a4135832ed4475fbc2d
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpDevice.h
tp/MtpPacket.cpp
tp/MtpPacket.h
ba29002c7aee13c068049037cd14bba6a244da6b 10-Dec-2010 James Dong <jdong@google.com> First step towards renabling Timelapse video recording

Change-Id: I93836b066fb69d5152d3774546a9935057a1f12f
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
424c6cbfa75da5f4f889ab6517dfee4dd024ba2d 11-Nov-2010 James Wylder <james.wylder@motorola.com> libstagefright: Compile MP3 & AAC decoders in 32bit ARM Mode

Speeds up the decoding leaving more time for cpuidle (lp2),
thus lowering overall current drain.

Change-Id: Ia4e0636b1813810072fe0a4f94f6921adf2eab31
Signed-off-by: James Wylder <james.wylder@motorola.com>
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/mp3dec/Android.mk
c96e481795f4d6b02e7c1eb6d2d5adb076c88cef 09-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Improve argument checking in SendObjectInfo"
7d44e4da3bc3d56c6a9aed1f27f51cfd5b54108f 09-Dec-2010 James Dong <jdong@google.com> am 1f5b133a: Merge "When INFO_FORMAT_CHANGED event comes in before the renderer was initialized, go back to read from source again" into gingerbread

* commit '1f5b133ae29090f1807be392874f6b7a5d92c6d4':
When INFO_FORMAT_CHANGED event comes in before the renderer was initialized, go back to read from source again
fd34626771a63d3a835863e1b4bf71dcb26e28d8 09-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Improve argument checking in SendObjectInfo

In particular, make sure the parent is a folder and make sure file
does not already exist.

Change-Id: Ifa870faba3285f03a92025d9e82f93fed78a761c
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpProperty.cpp
tp/MtpServer.cpp
e8079d0f6afcb138a0e5882ccbaf93647ea77c5b 09-Dec-2010 James Dong <jdong@google.com> When INFO_FORMAT_CHANGED event comes in before the renderer was initialized, go back to read from source again

bug - 3264094

Change-Id: I291a9b09b335d0eb4acf91f992e59fc44bc57d01
ibstagefright/AwesomePlayer.cpp
cb0cb25002f1b5fe0d02c997bac487b5b6c5c682 08-Dec-2010 Andreas Huber <andih@google.com> Fix thumbnail extraction for extractors that don't have a preference.

Change-Id: Id305a44416b08a667aae86c2109aa4dff9f17342
ibstagefright/StagefrightMetadataRetriever.cpp
a829968ac3ba900dd22d2122253f67099d9d6f9f 08-Dec-2010 Andreas Huber <andih@google.com> Merge "Better buffer status management and verification in OMXCodec."
92bf2f96c53d24adc1ace362439e82ca2cf6b856 07-Dec-2010 Andreas Huber <andih@google.com> Better buffer status management and verification in OMXCodec.

Change-Id: I90410f2ac0d8ff86076a239dc6e281b1bc4d8643
ibstagefright/OMXCodec.cpp
e52fda6714a209fa2117d970919324b56573f90f 08-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Support format argument in host GetObjectPropDesc command"
99e393a39a31bfbdeb435462939519e2d0279433 08-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Support format argument in host GetObjectPropDesc command

Change-Id: Ic14313c0f95bea1d1d475cc6a001b256fccb91c8
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpDevice.h
faac5c1a0aac9b09c4edf3d3ca3ea266787fd0c5 08-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Read property code before calling isDeviceProperty in MtpProperty::read()"
5da864845e024833c4c7f641acd7c88187a6bc1e 07-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Read property code before calling isDeviceProperty in MtpProperty::read()

Change-Id: I0b1493f3af5d9caac08327f9ffba91ee255d3d55
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpProperty.cpp
14609818a401ee874482042131f7a3cbd77395b2 08-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Improve MtpProperty logging support"
0c7c7c76a96a82ec728a2d5c091941c4057ffb25 07-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Improve MtpProperty logging support

Change-Id: I46800b99763edcc5e994d912941f9f5e9b1c94d2
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpDevice.h
tp/MtpProperty.cpp
tp/MtpProperty.h
79d8c23752e3004b62e513b2057a389346cdc335 08-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Host support for GetObjectPropsSupported and GetObjectPropDesc"
043b601774c0f302b73ed713772cd1bd62f43fe4 08-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Use correct return type for getSupportedObjectProperties"
baf00537ab2a022c11a8e3bdc5518e39846d0d20 08-Dec-2010 Mike Lockwood <lockwood@android.com> Merge "Revert "MTP: Remove static library build for linux host.""
98693f674125484de8873d969c209276a6dd604b 07-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Host support for GetObjectPropsSupported and GetObjectPropDesc

Change-Id: I6fd23587597fc68227dfb61118b097eda3e3e1d5
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpDevice.h
2e09e289b7e136481e9215bb61ed47cee5d9919b 07-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Use correct return type for getSupportedObjectProperties

Change-Id: I6d5bd63fecaa3384dfa1b97dbc0d89ea5668981f
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
ddc4497c17b23d4a9828f977d5ac11ee36059da9 07-Dec-2010 Mike Lockwood <lockwood@android.com> Revert "MTP: Remove static library build for linux host."

This reverts commit d46c683f0e13ad9341ba83453835f6658ae5ad15.

Change-Id: I7e56760c92bad1d66d4a1f2415328a4d2138de84
tp/Android.mk
97f2c9d530c9663deeb840f332dee205a7a11cdd 07-Dec-2010 Andreas Huber <andih@google.com> Merge "API Support for both synchronous and queued commands, optionally associated metadata."
a3748084e110b2d7c689a3b38b274e6a95756c5d 06-Dec-2010 James Dong <jdong@google.com> Merge "Remove check if the target video resolution is not supported by CameraSource and clean up Camera is CameraSource could not created."
14acc736e336cbd6026df781d4f411e908831815 06-Dec-2010 Andreas Huber <andih@google.com> API Support for both synchronous and queued commands, optionally associated metadata.

Change-Id: Idb90d64cb638942210c5822b3cba2f05b087d601
ibmedia/Android.mk
ibmedia/IStreamSource.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/foundation/AMessage.cpp
ibstagefright/foundation/Android.mk
a44153c1a57202fb538659eb50706e60454d6273 04-Dec-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 9254c845d7c82976fd4b8be406ce4b17eeb0e119
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 3 15:26:12 2010 -0800

Remove obsolete code from the cached data source.

Change-Id: I794b986ac8977cbc834dff189221a636ba564e36

commit 2ee33711064c58c53ba65ed9e63dd4b01ec2380e
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 3 15:23:13 2010 -0800

LiveSource is dead, long live LiveSession.

Change-Id: Ibcd0731ecf9c94f0b3e5db3d53d012d9da2a1c66

commit 9eabb2c3cd8571ab859bdeae0aa7f655c414d8fa
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 3 12:49:31 2010 -0800

Respect explicitly signalled discontinuities.

Change-Id: I3c0c16a2de7a99742d25db7d1b2ff0258de52271

commit 7f7f7b6b906b6ece6e4d43af7fd5f494e805c5e5
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 3 11:45:57 2010 -0800

Better protection against syncword emulation in AAC ADTS content.

Change-Id: I867e80a4556dd46d24ab3e781177c248a5221719

commit fe765766582efcc350aed01135ea603576adccf6
Author: Andreas Huber <andih@google.com>
Date: Fri Dec 3 09:15:59 2010 -0800

New implementation of http live driving code.

Change-Id: I31ddf3d6a0d5929b121be704a2b9c3d6775f7737

Change-Id: Id8d1829c8fcb173756965013f848c1d426ef1048
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/Android.mk
ibstagefright/httplive/LiveDataSource.cpp
ibstagefright/httplive/LiveDataSource.h
ibstagefright/httplive/LiveSession.cpp
ibstagefright/httplive/LiveSource.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/LiveSession.h
ibstagefright/include/LiveSource.h
ibstagefright/include/MPEG2TSExtractor.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
ea7b485595f8cec6a66668b5c54c8f297d843f77 05-Dec-2010 James Dong <jdong@google.com> Remove check if the target video resolution is not supported by CameraSource
and clean up Camera is CameraSource could not created.

bug - 3254411

Change-Id: I43497c450e7007de5ce027e2912b1421119e8887
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
16afe2fb439cab6125bb46a07a8078d4ce1c1ea5 03-Dec-2010 James Dong <jdong@google.com> Prepare for publishing MediaMetadataRetriever as public API

step one:
o replaced captureFrame with getFrameAtTime
o removed getMode

bug - 2433195

Change-Id: I38a8cecef29014692f0b08b8818326e3ebb40a12
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/mediametadataretriever.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/include/StagefrightMetadataRetriever.h
1cc73922339a110d7ffc47e8842f958492dd85bf 02-Dec-2010 James Dong <jdong@google.com> If camera source uses the metadata, we must use HW encoder
Software video encoders are not able to deal with non-YUV metadata in the video buffer sent from camera

bug - 3242213

Change-Id: I97361ed88b2a687190e5129459011afff7f32c2d
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
3bac12183aa69cc83e1d19b49d4b06a75318d694 02-Dec-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
decd96988e495133e4a1728f612d4c9fdb4d218e 02-Dec-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit de99ae4a523ff5ec40b47071f22fdde1a4b2a0bf
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 2 13:18:40 2010 -0800

Scan for sync words to find H.264 frame/AAC frame boundaries if PES packets do not start with them.

Change-Id: If2861982ecb3006fac806105dbfcd1d43c2a4205

commit be23791ff0d037aa7073589cdc8bfc362e1c281d
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 2 13:12:39 2010 -0800

Properly expand relative key URLs and strip surrounding quotes in the M3UParser.

Change-Id: I013a6d83a64f095d090e5c7730298bdac7d03ab4

commit 0f1d8f65effe0cc42a265dd91d8b91dce6534325
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 2 13:11:27 2010 -0800

Ugly hack that assumes that any http url containing "m3u8" refers to an httplive stream.

Change-Id: I05d7bbc5dab0f9822558122b5b9dc2a109ed8518

commit 255f0d5cdb1072ecd66b47ee614bf574f1388e5a
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 2 13:10:56 2010 -0800

Add one more mimetype "application/x-mpegurl" to identify httplive playlists.

Change-Id: I63fd3b8c2539c9ee23c077df533157af78b10863

Change-Id: I135687383009dbe32d690c9ba8dea60159adc616
ibstagefright/AwesomePlayer.cpp
ibstagefright/httplive/LiveSource.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/include/M3UParser.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
f6882a9c8144dc0fd07f3434bb870e5251f51275 02-Dec-2010 James Dong <jdong@google.com> am 80639875: am d4c5478a: Merge "Be conservative in estimating the file size limit." into gingerbread

* commit '806398755fdc63438b607856574e5b885ad98e6b':
Be conservative in estimating the file size limit.
5c2ccf1a4ff8465c076689b6c2d74f2cd4498df2 02-Dec-2010 James Dong <jdong@google.com> am d4c5478a: Merge "Be conservative in estimating the file size limit." into gingerbread

* commit 'd4c5478a8664f64ff66db9ae25250afac78b7a74':
Be conservative in estimating the file size limit.
40ce1f262cc4edbc8b7c470830325466263acaec 02-Dec-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for multiple properties in GetObjectPropList command

Change-Id: Ib469a6c8141937aaa3e811345056195117abb4b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpProperty.cpp
tp/MtpServer.cpp
acd234bba9f048971d66890009eeff9a8db94be3 01-Dec-2010 James Dong <jdong@google.com> Be conservative in estimating the file size limit.

bug - 3045580

Change-Id: Ifdffa354b9433639c3f246a0eb581ef14af1e797
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/MPEG4Writer.cpp
c75872920cd2de02d04bdc132ad5cf6d78c0578f 01-Dec-2010 Chia-chi Yeh <chiachi@android.com> am 4f93f08d: am 683a7ff9: Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread

* commit '4f93f08d8c8b8067ff2176d9ec15c76c0e4cc0c2':
Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.
899ed7543ad9bb82f9d31f8b03ab2215c8c9cd2c 30-Nov-2010 Andreas Huber <andih@google.com> am 30c81844: Merge "DO NOT MERGE Support for "chunked" HTTP transfer encoding." into gingerbread

* commit '30c818444d876dd868b84adec2416308c90f32e3':
DO NOT MERGE Support for "chunked" HTTP transfer encoding.
03b55cc9d3529995925c8df0d4a35269e591188c 30-Nov-2010 Andreas Huber <andih@google.com> Merge "DO NOT MERGE Support for "chunked" HTTP transfer encoding." into gingerbread
8e37a5c7b8c9be46e3068d43e6caf7e81036a363 30-Nov-2010 Andreas Huber <andih@google.com> am a41c1e1d: Merge "DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback." into gingerbread

* commit 'a41c1e1de0d5fac57842ffe73e0a4f575fcc73fb':
DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback.
8cb5a643fe566acb720aab0bde6fead6e75ef8bc 30-Nov-2010 Andreas Huber <andih@google.com> Merge "DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback." into gingerbread
8ba606c3b8a807058c92d95dcd7bcfdbc28147ae 28-Oct-2010 Andreas Huber <andih@google.com> DO NOT MERGE Upgrade to the latest version of libwebm to fix YouTube webm playback.

DO NOT MERGE
related-to-bug: 3141937

Change-Id: Iaf1b0c5d45a6b5bb7624a59747041c27b4dde83b
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/mkvparser.cpp
ibstagefright/matroska/mkvparser.hpp
462b1d71866fd53564e15db699eff47ad99915d1 18-Nov-2010 Andreas Huber <andih@google.com> DO NOT MERGE Support for "chunked" HTTP transfer encoding.

DO NOT MERGE

Change-Id: I253d48ea69f239a6d3d0bb7e0d31eef5c773a9d6
related-to-bug: 3205131
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/LiveSource.cpp
ibstagefright/include/HTTPStream.h
ibstagefright/include/NuHTTPDataSource.h
acd441dd1f44a5c6c3702dbafe3f82d52dd83d67 30-Nov-2010 Andreas Huber <andih@google.com> am 567b2bd1: Merge "After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user." into gingerbread

* commit '567b2bd1469b1c37e6249637d313253b7d84971e':
After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user.
2d6dbfb5e3f16d800d2e0b5da283001e53e72768 30-Nov-2010 Andreas Huber <andih@google.com> am b690e55d: Merge "DO NOT MERGE - Instead of asserting that ISurface successfully registered buffers, report an error and propagate it up to the java client." into gingerbread

* commit 'b690e55d3f713d68c6ed9654a05a5370bda731d5':
DO NOT MERGE - Instead of asserting that ISurface successfully registered buffers, report an error and propagate it up to the java client.
09b3581ef7ddba70c5d89d252de3a15d512aa49b 30-Oct-2010 Andreas Huber <andih@google.com> After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user.

Change-Id: Ifb1f8c91e95a5cafe30ae1035973316c210b98a5
related-to-bug: 3152363
ibstagefright/AwesomePlayer.cpp
ecd0a4f0b5bdd51bc35097b402202d6349f016ba 30-Nov-2010 Chia-chi Yeh <chiachi@android.com> am 683a7ff9: Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread

* commit '683a7ff922409d2aa6c944bc4e08de32029e80e5':
Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.
4d0565de200e61f457e4d97fcfbc4c9ccd81bdad 12-Nov-2010 Andreas Huber <andih@google.com> DO NOT MERGE - Instead of asserting that ISurface successfully registered buffers, report an error and propagate it up to the java client.

Change-Id: Ibb14e5aff20920da4917d85de38ba3a8ee71d0bd
related-to-bug: 3188835
ibstagefright/AwesomePlayer.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/SoftwareRenderer.h
ibstagefright/omx/OMX.cpp
7a1e1bdde7a28d9573367d6f95b736fd793ace0c 30-Nov-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Make sure buffer is big enough before reading the data packet"
1d34b4b921cdac91116e456d97b57a1931e9e335 30-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Make sure buffer is big enough before reading the data packet

Fixes buffer overflow when transferring large playlists.

Change-Id: I1b7feaf9e56d849e5b6609f0f68a6aa5a3ae1ea8
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
879e9cb6b4e8b09a5c7d4942ce36125193deadde 30-Nov-2010 Chia-chi Yeh <chiachi@android.com> Merge "Visualizer: Fix the conversion from 8-bit sample to 16-bit sample." into gingerbread
91a822eb44e7d70f92954304c5d574bb7350bcfd 24-Nov-2010 Andreas Huber <andih@google.com> Merge "Support streaming data across binder boundaries."
841af895d7f5051b9e96899710dba8d3fe2af1f2 24-Nov-2010 Mike Lockwood <lockwood@android.com> Merge changes Ia5fec45a,I74927f73,I5a3c0b07

* changes:
MTP: Fix typo in MtpServer::doGetObjectPropList
MTP: Implement GetPartialObject command
MTP: Use DateTime form in GetObjectPropDesc for date/time properties.
f05ff073495b0bb3e49859aee5b54d3e25088985 24-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Fix typo in MtpServer::doGetObjectPropList

Change-Id: Ia5fec45a238c49a6797a4ac55457ddb5d6521408
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
d81ce3cf2e6479915658a0829eced062e3655320 23-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Implement GetPartialObject command

Allows host to read partial contents of files on the device

Change-Id: I74927f7394224d674e1d150a4b72a51d9358459b
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpPacket.cpp
tp/MtpServer.cpp
tp/MtpServer.h
b892d0e5556ed6ded3e0548f75ab16fc2e3d92c3 24-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Use DateTime form in GetObjectPropDesc for date/time properties.

Change-Id: I5a3c0b07a9f2958b86947256606e6a824dbe93a6
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpProperty.cpp
tp/MtpProperty.h
e2b1028852120bcfded33b8f06f66b780437fe92 23-Nov-2010 Andreas Huber <andih@google.com> Support streaming data across binder boundaries.

Change-Id: Ifbac61406dcb81343765f99ccba08bd90f9274cc
ibmedia/Android.mk
ibmedia/IMediaPlayerService.cpp
ibmedia/IStreamSource.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
40ffa177d5077407c09949bcd4ff0031cff8ad6d 23-Nov-2010 James Dong <jdong@google.com> Merge "Do not getConfig on video encoder on output port"
495f154b602a0103b24b98226370349100a26adf 23-Nov-2010 James Dong <jdong@google.com> Do not getConfig on video encoder on output port

Change-Id: Id53e01dd8f3ec0c9ca94bb1d6dfccd7696254a2d
ibstagefright/OMXCodec.cpp
57151f37d7c91e031e91f67a83ee49cad33b4867 22-Nov-2010 Mike Lockwood <lockwood@android.com> Rename MtpCursor to PtpCursor

Change-Id: I8ce257641388b195f3e17995d323355b19355dc1
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpCursor.cpp
tp/MtpCursor.h
tp/PtpCursor.cpp
tp/PtpCursor.h
8e4d78541aafe9df78db510b3c804222cceb1e40 20-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Remove static library build for linux host.

Change-Id: Iefdd386b91dba0579ca952aca40b7114535e1d4e
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
31d7235c79667f88002d9ad87207099ed438a197 23-Nov-2010 Gloria Wang <gwang@google.com> am 3e18dfab: am 4da48ec8: Merge "Notify the playback status to DRM agents before the playback starts"

* commit '3e18dfab3417e139c7ec3896cea9e303fdc8fa63':
Notify the playback status to DRM agents before the playback starts
e81e8153c85fa0b0aebae686f6ba51ed2c3a2d11 23-Nov-2010 Gloria Wang <gwang@google.com> am 4da48ec8: Merge "Notify the playback status to DRM agents before the playback starts"

* commit '4da48ec88338af2df6f9abba850fb4c65918bb82':
Notify the playback status to DRM agents before the playback starts
321b630783709eeb18952c3408303489db4ea9eb 23-Nov-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
f5ab57c2d5e02af7483c94eddb177e4f5c9e9892 22-Nov-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 0870f7bdd10a7cd36087d723d1957d8e1b967ca7
Author: Andreas Huber <andih@google.com>
Date: Mon Nov 22 12:57:04 2010 -0800

set_surface_crop doesn't seem to work right yet, stop using it in the SoftwareRenderer.

Change-Id: If0a24f78b7810a6cecaa82eb4f23d0f90c22cc42

commit 4767b52bee3a54ae117a8708d6832276a44e6a6a
Author: Andreas Huber <andih@google.com>
Date: Mon Nov 22 11:14:57 2010 -0800

info->mMediaBuffer may still be NULL at this point...

Change-Id: I25a71569015b1bb87f1ea7efff7588958774426f

commit 0cef79874e1f1ddb10b7402177a87d3cffc7de92
Author: Andreas Huber <andih@google.com>
Date: Mon Nov 22 10:55:12 2010 -0800

QCOM's YVU420 color format conversion has now been tested.

Change-Id: I7fef4b642a928af15d42f006f7cdc107d5ff1d67

commit 84fe05a6c969ede0ce8a85a530e110afca07c7a7
Author: Andreas Huber <andih@google.com>
Date: Mon Nov 22 09:59:50 2010 -0800

Removed remaining traces of suspend/resume. Proper reporting of video dimensions based on cropping rectangle.

Change-Id: Ib238b80cbc1f19e7d312f2422eb5e9ab6b06b1bc

commit 50970cdc837c5c498bcf0cb61b436196ca9e2ef7
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 16:11:06 2010 -0800

Revamped Software Renderer respects the crop rectangle.

Removed obsolete ADRENO support code.

Change-Id: I984cbc8a99c4d97e09e7d1b1292099c88b9ae535

commit 8abbc6a5608bff650f968540f24a2eab75f254ed
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 16:10:41 2010 -0800

The metadata retriever now respects the crop rectangle while capturing a video frame.

Change-Id: Id3377176060086d16717f62c77ce26fabe899050

commit 2d42e4466609d304e88bd2cdd6eb7b297340cc21
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 16:09:50 2010 -0800

Changed ColorConverter APIs to be more general.

Clients can now refer to crop rectangles in both source and destination.

Change-Id: Ief151d736818396d0389ec04e7df5650e3ad7c04

commit 273184303d54a54febd3e9c3dd4df30507ea78b5
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 15:04:06 2010 -0800

The stagefright commandline tool now writes the extracted video frame to /sdcard/out.jpg

Change-Id: Ieb2ab3fda7a7cd9294beccb8db0eed75096eeef4

commit 2d43390328cadf4ba94c1c3c02e4fb30baa29690
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 14:36:55 2010 -0800

The AVC software decoder now properly advertises the cropping rectangle.

Change-Id: Idb7a8a7e2fde5740f0fc34b7e8c92eca2577104b

commit 9a7ed23c2fac8ce19dce7a34a603acee945a89f6
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 13:40:39 2010 -0800

OMXCodec now signals a format change if the cropping rectangle changes.

...and puts the cropping info into its output format.

Change-Id: I3ffbd8e877ba286fe06a82c536ef20d92548d2e2

commit efe0323947029df1c502599ccc288c8d676dfd31
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 11:29:39 2010 -0800

Stagefright's MetaData object now supports rectangle items.

Change-Id: I5667bb5ee6622c76104b99fb57f60abb802a8504

Change-Id: I27cb78f2c5e0353f95fdfc5cb53991949ed75b70
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/MetaData.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/colorconversion/Android.mk
ibstagefright/colorconversion/ColorConverter.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/SoftwareRenderer.h
ibstagefright/omx/Android.mk
c130b5bf563d049bd391ccd96985ac278ef8ff8d 05-Nov-2010 Gloria Wang <gwang@google.com> Notify the playback status to DRM agents before the playback starts

Change-Id: I288eae2d35ab175c720bb0dd9f69e3e08ada9b8a
ibstagefright/AwesomePlayer.cpp
f53263a7d580fb550dbc6c8d4f104119beb82ad7 20-Nov-2010 James Dong <jdong@google.com> Fixed an issue in SampleTable where the table index was incorrectly wrapped around to -1

bug - 3198642

Change-Id: Ia0544172502fc771f48fce22d5c1db19ac3554bb
ibstagefright/SampleTable.cpp
8577676b0f9247f994ca00bc59fdbcd1318e32b6 20-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 716f60ce: resolved conflicts for merge of e2ec61b2 to gingerbread-plus-aosp

* commit '716f60ce605131429dc9efe8f351f0da0c8cc8c2':
StagefrightMediaScanner: Call endFile() for MIDI and OGG files.
5b12af0ea4b98ad60bc066bceb8504d16fcca41d 20-Nov-2010 James Dong <jdong@google.com> Merge "Removed uncessary FILE structure pointer for I/O"
97c9a2ec2a67969de0c5fcbcc03e9ffc8f50e807 20-Nov-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of e2ec61b2 to gingerbread-plus-aosp

Change-Id: I81930c62e2f78b129995cffb8b1bf3332879c7cf
0e89c2282c31173ad03b7593c9587bab5799d89e 20-Nov-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 3157123."
f5aafb209d01ba2ab6cb55d1a12cfc653e2b4be0 18-Nov-2010 Eric Laurent <elaurent@google.com> Fix issue 3157123.

Use a Mutex wherever atomic operations were used in AudioTrack,
AudioRecord, AudioFlinger and AudioEffect classes.

Change-Id: I6f55b2cabdcd93d64ef19446735b8f33720f8dbc
ibmedia/AudioEffect.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
cb614f2208ecb7afe1d20125dbc2a61673d1d892 19-Nov-2010 Mike Lockwood <lockwood@android.com> Merge "PTP: Fix permissions problems with files imported via PTP"
27afe3a1cc9c07ac4884a7720087a597aea3c76f 19-Nov-2010 Mike Lockwood <lockwood@android.com> PTP: Fix permissions problems with files imported via PTP

Change-Id: I630a89c67e5b3d6d0c29e6c257f84e1909fa4de2
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpDevice.h
674ebd0b4e1143e38392a4e3bb38b4679a4577bc 19-Nov-2010 James Dong <jdong@google.com> Removed uncessary FILE structure pointer for I/O

o also move the fd owner from caller to callee in the Writers

Change-Id: I510ccfdd0fcc58f1777fea4ed1349fd251852c65
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/FileSource.cpp
ibstagefright/MPEG2TSWriter.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/rtsp/ARTPWriter.cpp
60d88f898219b08603548a953749e417e399df62 19-Nov-2010 Andreas Huber <andih@google.com> Merge "Fix an artifact of going from off_t to off64_t"
a9a25c3113b0c744f7d4e69c55fcd7a661ae4cfd 19-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 14ac9546: Merge "build failed with g++ v. 4.4.5 err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’ strrchr provides two prototypes. the one used returns const char* instead of char*"

* commit '14ac9546367d4df37eead55f6762b944b49f33b2':
build failed with g++ v. 4.4.5 err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’ strrchr provides two prototypes. the one used returns const char* instead of char*
7fe4ed1207fa587c65231f9a32374ae4b618d6c0 19-Nov-2010 Andreas Huber <andih@google.com> Fix an artifact of going from off_t to off64_t

Change-Id: I999fb60a290f9b2db5b73bf926392c8f4e1b7829
ibstagefright/NuCachedSource2.cpp
87995623c1865721daeb0da9efffca42e940c854 19-Nov-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 610ed879d57785cb0457f7f127889496d325f732
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 09:28:52 2010 -0800

HTTP header keys are to be treated case insensitive.

Change-Id: I9690880528a6b0f611958de7996c2753948a03c3

commit 554a2499a293d8d53907d01d972a9cfe9b92738e
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 19 09:22:45 2010 -0800

Remove one more legacy "string" implementation.

Change-Id: I7638d849427a39bbc040082a8663b3b9b81a632b

Change-Id: I626a60abdcd1dd6403be880dad4d0499d77ca71f
ibstagefright/Android.mk
ibstagefright/HTTPStream.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/include/HTTPStream.h
ibstagefright/include/stagefright_string.h
ibstagefright/string.cpp
b9ff444a7eaf7ffd43970c0477110c6808bd4a7c 19-Nov-2010 Mike Lockwood <lockwood@android.com> PTP: Improve performance and reliability of file importing

Now the file copy is done completely within the media process
rather than pushing data to the client via ContProvider.openFile().

File system writes are now interleaved with USB reads, which allows us
to copy the data faster and prevents the camera from timing out during transfer.

File is automatically inserted in the media provider after a successful import
and a Uri is returned to the client.

BUG: 2994234

Change-Id: Ie75c63da76f623343d3d966c6a707aa1ae871972
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDevice.cpp
tp/MtpDevice.h
6ed70d2d41f9929d1c3f5179d947766495f9efe5 06-Nov-2010 Hiroshi Takekawa <sian@big.or.jp> StagefrightMediaScanner: Call endFile() for MIDI and OGG files.

addStringTag() caches non-ascii metadata strings for later
processing, and then endFile() will be called at the end of
processFile() to convert non-ascii strings from locale's charset
to utf-8 if required.

Stagefright's processFile() failed to call endFile() when the
processing file is a MIDI file or an OGG file. This patch fixes
this problem to populate metadata correctly.

Reviewed by: Brad Fitzpatrick, Marco Nelissen.

Change-Id: I072e79d81dce1fec63297d2b5d2b870a72e5b66e
ibstagefright/StagefrightMediaScanner.cpp
317ca79a49746dbd1b6bb83712e93e2dc5f6e4f0 19-Nov-2010 James Dong <jdong@google.com> Merge "64-bit file size/offset support for media framework"
c726bd8b7b9929fd917b01e5551a66ad5fe2c04e 18-Nov-2010 Jamie Gennis <jgennis@google.com> Set the external display usage bit in Stagefright.

Change-Id: Ie18fa773fdb83508d96300dd7e4e4c7c3cdc4540
ibstagefright/OMXCodec.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
c7fc37a3dab9bd1f96713649f351b5990e6316ff 16-Nov-2010 James Dong <jdong@google.com> 64-bit file size/offset support for media framework

Change-Id: I3452bc2c0f1d990cc67285df2fce1f9f86ff8e10
ibstagefright/AMRExtractor.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/FileSource.cpp
ibstagefright/JPEGSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/SampleTable.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/ThrottledSource.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/XINGSeeker.cpp
ibstagefright/httplive/LiveSource.cpp
ibstagefright/id3/ID3.cpp
ibstagefright/include/LiveSource.h
ibstagefright/include/MP3Extractor.h
ibstagefright/include/MP3Seeker.h
ibstagefright/include/MPEG2TSExtractor.h
ibstagefright/include/MPEG4Extractor.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/NuHTTPDataSource.h
ibstagefright/include/SampleIterator.h
ibstagefright/include/SampleTable.h
ibstagefright/include/ThrottledSource.h
ibstagefright/include/VBRISeeker.h
ibstagefright/include/WAVExtractor.h
ibstagefright/include/XINGSeeker.h
ibstagefright/matroska/MatroskaExtractor.cpp
07e946ce4908eea5eebb30ea89f088fc7c679b5a 18-Nov-2010 Andreas Huber <andih@google.com> Log H.264 profile/level in OMXCodec

Change-Id: I5bf98e1ace701b543234dd9dae1315037ff363c2
ibstagefright/OMXCodec.cpp
17468ee8dbfe5eb0b9a4f72be80cbb92a5134800 18-Nov-2010 Andreas Huber <andih@google.com> Merge "Support for "chunked" HTTP transfer encoding."
22c86bdeabc3e7e65913136e44e30aceb1685f4f 18-Nov-2010 James Dong <jdong@google.com> Merge "Fix an issue wherre error notification will not be sent after mediaplayer reset"
7d23aa2a8354046ae0390eb5ad492346af5bce0f 18-Nov-2010 Andreas Huber <andih@google.com> Support for "chunked" HTTP transfer encoding.

Change-Id: I2f20d2d9ec0fa0c840b429049b0385289a30e774
related-to-bug: 3205131
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/LiveSource.cpp
ibstagefright/include/HTTPStream.h
ibstagefright/include/NuHTTPDataSource.h
a1680bce73ea1b051cc92e0df651a53944b104ee 18-Nov-2010 James Dong <jdong@google.com> Fix an issue wherre error notification will not be sent after mediaplayer reset

bug - 3198642

Change-Id: Ieab13e12af9fdd0ad0873c522885e1350e7cd24c
ibmedia/mediaplayer.cpp
14d32754d3a9c1ccf49188c489f224800cd747a7 18-Nov-2010 Gloria Wang <gwang@google.com> Merge "Add getUri() for streaming"
771b85d9245a24273497792a2515d88d31c99e1e 10-Nov-2010 Gloria Wang <gwang@google.com> Add getUri() for streaming

Change-Id: I56e15e67cc5f4d0f41c9e2985404a4d89d757e7e
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/NuHTTPDataSource.h
cf6a8d23345a6e54834e53b1eb7e465f3cb5e914 18-Nov-2010 Matthias Bady <aegirxx@googlemail.com> build failed with g++ v. 4.4.5
err msg: frameworks/base/media/libstagefright/MediaExtractor.cpp:62: error: invalid conversion from ‘const char*’ to ‘char*’
strrchr provides two prototypes. the one used returns const char* instead of char*

Change-Id: I6442ee642aebfbfc2f977bab40016cfedc7789ac
ibstagefright/MediaExtractor.cpp
e1b8cf1cafb75ce1339b67eb1764e224a257c579 16-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Fixes to allow file transfers > 4 gigabytes

BUG: 3198248

Change-Id: I6f11c79a19d7bdd63718a7370939124b1262d221
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpServer.cpp
f5b2ff2a636d1a98e959553376ebffa3a2749843 17-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Set correct format for abstract audio playlists

Fixes a bad interaction with the media scanner that could result in
playlists getting duplicated or deleted after rebooting.

BUG: 3175649

Change-Id: I970234e86b24ac17d069aca085683d988abc7881
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
ba529e486dde15fe75ea1b48570f9d60a4cf3c48 17-Nov-2010 Andreas Huber <andih@google.com> Support post-decode video rotation.

Change-Id: I9ac90871269c5e132e98a9bf3ad8cae00f329f17
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/MPEG4Extractor.h
ibstagefright/include/SoftwareRenderer.h
0a5ca668c6f7d45706e9aec4a1dfec0aacc6d233 16-Nov-2010 Andreas Huber <andih@google.com> Remove all traces of legacy renderer support in stagefright.

Change-Id: I17b8e0dbf53fca37c96830c41131b4bc0c24ca6d
ibmedia/IMediaPlayer.cpp
ibmedia/IOMX.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/TestPlayerStub.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/OMX.h
ibstagefright/include/SoftwareRenderer.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXRenderer.h
6f9f029f7fc625bb2a1b448ad30a80a6a6a73b20 16-Nov-2010 Andreas Huber <andih@google.com> Make sure live streamed http live content does not start playing from the very beginning.

The different bandwidth streams may not all start on the same seqnum, so switching bandwidths may fail lateron if we start playing from the very beginning.

Change-Id: I03df8d1f44b3f7b4713d381a3d97847997e3ee59
related-to-bug: 2368598
ibstagefright/httplive/LiveSource.cpp
8fff6bb0000e43f02c9d04ca90f941fdefdc1356 15-Nov-2010 James Dong <jdong@google.com> Add initial stereo capture support for AAC encoder

Change-Id: I1b9335f036ff42d958d0b32f25359b21733f96d4
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/include/AACEncoder.h
b6c22ce7992f0ec3b39c5208e1dcccf70242c510 16-Nov-2010 Andreas Huber <andih@google.com> Merge "Proper support for variable NALsize lengths of AVC content in .mkv files."
b10f3669a9b73cd024662c2b70f5155bc0c2cd21 16-Nov-2010 Andreas Huber <andih@google.com> Proper support for variable NALsize lengths of AVC content in .mkv files.

Change-Id: If60cc80998b3231b6aaedc39fc3f5a94f84a5929
related-to-bug: 3197442
ibstagefright/matroska/MatroskaExtractor.cpp
c42478ed7b8a379d2f8a43d4d349680c8a37573f 15-Nov-2010 James Dong <jdong@google.com> Fixed a race condition where some recording frames may not be released.

When startRecording() is called before setListener(), recording frames
are sent right after startRecording(), but there is no listener to
release the recording frames. This causes the hang in media server.

bug - 3166356

Change-Id: I19366ca682ef9f6b847590c190c30a15ed32b8e4
ibstagefright/CameraSource.cpp
f9c2d3381e0bb174194347b927ef2b36329f3a54 15-Nov-2010 Andreas Huber <andih@google.com> Merge "More HTTP live support, AES encryption etc."
d42c40fdbf51cb384a4df4d0bd1b2a74d022c48f 15-Nov-2010 Andreas Huber <andih@google.com> Merge "Refactor h.264 profile/level support into avc_utils."
a5c46895e956e445caffb4642a38486211def018 15-Nov-2010 Andreas Huber <andih@google.com> Merge "Provide bandwidth estimation support in NuHTTPDataSource"
c7f26cb1fcb2fd3d9af0a6bc9333f1443a688fad 15-Nov-2010 James Dong <jdong@google.com> Merge "Remove legacy PV stuff"
c62165b829f0244ad8e3646b3c4e314d6b4ccbb1 15-Nov-2010 Andreas Huber <andih@google.com> Provide bandwidth estimation support in NuHTTPDataSource

Change-Id: Ic98d8cf147bbba60ec735e7ca200addb2bd09f29
related-to-bug: 2368598
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuHTTPDataSource.h
e332a9181cf6a3155ed1a0fd2afc212ccb1f2753 15-Nov-2010 Andreas Huber <andih@google.com> More HTTP live support, AES encryption etc.

Change-Id: Ia5088042dd0a2181cb73cf8c7a2ff81e34b3064c
related-to-bug: 2368598
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/httplive/Android.mk
ibstagefright/httplive/LiveSource.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/include/LiveSource.h
ibstagefright/include/M3UParser.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ESQueue.cpp
bfd41f33c77c66ead48ee378e4ea4b7bfa5fca1f 15-Nov-2010 Andreas Huber <andih@google.com> Refactor h.264 profile/level support into avc_utils.

Change-Id: Idb33636dc723aa79ea0122dc3582109ada4b1358
related-to-bug: 2368598
ibstagefright/OMXCodec.cpp
ibstagefright/avc_utils.cpp
ibstagefright/include/avc_utils.h
b6da06e9dfb916da4b88e09e8a83e22ddae445b5 15-Oct-2010 Mike Lockwood <lockwood@google.com> MTP: Partial implementation of the GetObjectPropList command

In this initial implementation we only support fetching one property at a time.
Support depth = 0 (single object) or depth = 1 (all objects in a directory)
Reimplemented GetObjectPropValue on top of GetObjectPropList, since the former
is a special case of the latter.

Change-Id: Ia76ee61741d6ee3902b5c5d9fc094cf86dfaf650
Signed-off-by: Mike Lockwood <lockwood@google.com>
tp/MtpDatabase.h
tp/MtpDebug.cpp
tp/MtpProperty.cpp
tp/MtpServer.cpp
tp/MtpServer.h
tp/mtp.h
30d713a1c18a5ff892a7f13b2524ba624b70890a 11-Nov-2010 James Dong <jdong@google.com> Remove legacy PV stuff

Change-Id: I60ffea7c65592df4b3a80c590c863f1f79b371fd
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
2d71233de5450f1b128c8149fdbdf39b937f3cb8 13-Nov-2010 James Dong <jdong@google.com> Merge "Separate the key for audio sampling rate and video frame rate in MetaData.h"
56ecd20263d7f63476f756fc5d8b043b325c7bfb 09-Nov-2010 Jean-Michel Trivi <jmtrivi@google.com> Add support for audio recording source in generic audio policy mgr.

Update the platform-independent audio policy manager to pass the
nature of the audio recording source to the audio policy client
interface through the AudioPolicyClientInterface::setParameters()
method.

Change-Id: I6b4fd0f8a3acea0d7d30bbad98edd1977dc012bf
ibmedia/AudioSystem.cpp
393410a441b6d06daf286ed496470e9d6b2b6ca8 11-Nov-2010 James Dong <jdong@google.com> Separate the key for audio sampling rate and video frame rate in MetaData.h

Change-Id: Ia33befaa7e6df8762703002d01aa79c04f15f040
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
a628f89503e024e2b3f4dad88edd326845e058b9 12-Nov-2010 Andreas Huber <andih@google.com> Increase the prefetcher's low water mark so it restarts fetching data earlier.

720p high bitrate content pretty much requires this.

Change-Id: I2cb29d1fa2e3c511f1b88a106a02c53c68a10f2f
ibstagefright/include/NuCachedSource2.h
3279bde5c424f58f630a16426bad42e074ca07d6 12-Nov-2010 Andreas Huber <andih@google.com> Merge "Make sure the prefetcher is actively fetching data if we pause playback due to cache underrun."
34ef0f32c8fc0186236a27e07405328cc1f7c56d 12-Nov-2010 Andreas Huber <andih@google.com> Make sure the prefetcher is actively fetching data if we pause playback due to cache underrun.

Change-Id: Id5f4b7a0387137380dcd39995390a8e0d084b4b3

Conflicts:

media/libstagefright/AwesomePlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/NuCachedSource2.h
b50a8033f1c7c2b58913212825f9200f1a9e5652 11-Nov-2010 James Dong <jdong@google.com> Add color format query support to QueryCodecs()

Change-Id: Ic8589649cd09392a1b969a30082b4c9c4e6cc6a7
ibstagefright/OMXCodec.cpp
be0646b4ef6f764c854b61f572c18f8c4fc9a8b0 11-Nov-2010 James Dong <jdong@google.com> Merge "Fix memory leak when 0-memcpy quirk is used"
f23c4f92c3b0202435cf87db2642156fabc46f02 11-Nov-2010 James Dong <jdong@google.com> Fix memory leak when 0-memcpy quirk is used

o minor change to the original patch by Andreas:
call restorePatchedDataPointer() method only if kAvoidMemcopyInputRecordingFrames is turned on

Change-Id: Idf3710e6f759d37d28e866613f98d39215722cb9
ibstagefright/OMXCodec.cpp
7ce05cf6009a2fbbceb3d2c0ff639473d0b7d6a9 11-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Add missing call to closedir() in recursive delete code

BUG: 3185660

Change-Id: I3744d2cb193829d20a689af2aea50e8516779631
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
5f0cb5c62553125715dbbb171f0b81e4b7c6d6ac 10-Nov-2010 James Dong <jdong@google.com> Merge "Fix uninitialized variable"
62db7db731c47a00ee1493e94f3e1d953c6e297a 10-Nov-2010 James Dong <jdong@google.com> Fix uninitialized variable

o This was missed while the rotation patch was hand merged.

Change-Id: I4016f9fb9cd54c5e853da15bbaaa50b1d1dac8c8
ibmediaplayerservice/StagefrightRecorder.cpp
a65856b922a9b56eb87b06a87679ddd781db53bf 10-Nov-2010 Mike Lockwood <lockwood@android.com> Merge changes I49b383d3,I70809401

* changes:
MTP: Don't dump data packets twice in debug output.
Add support for range and enum forms in MTP ObjectPropDescs
d472e2804190ea6261a88dae546e5908309209f9 10-Nov-2010 Mike Lockwood <lockwood@android.com> MTP: Don't dump data packets twice in debug output.

Change-Id: I49b383d39aea101a58ae6902952ba91b44e7dc3b
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDebug.cpp
0181726d0cc2d0fc6f6a53b6479dcf0fc41b9499 10-Nov-2010 Mike Lockwood <lockwood@android.com> Add support for range and enum forms in MTP ObjectPropDescs

Change-Id: I70809401e37a1cfb82f5dbf86947be7d9500ccf1
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpProperty.cpp
tp/MtpProperty.h
4f4d72de3bcf2a670c2a1007fdb46d78f47ed173 10-Nov-2010 James Dong <jdong@google.com> Merge "Fix missing breaks in the profile/level conversion code in M4vH263 encoder"
b2c59c3b3e670575cc0011176ca30e03bfde3e80 10-Nov-2010 James Dong <jdong@google.com> Fix missing breaks in the profile/level conversion code in M4vH263 encoder

Change-Id: Icd2cac68ffb0f38acb68b2968bbb36210431482d
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
42ea76335f4c582e9843d6bf4b1fe258bcbf27fc 09-Nov-2010 Andreas Huber <andih@google.com> Merge "Some refactoring and added support for another form of vbr headers."
4456da54bcd206ed1f518c69cc959ca65a179c83 09-Nov-2010 Andreas Huber <andih@google.com> Some refactoring and added support for another form of vbr headers.

related-to-bug: 3172324

Change-Id: Ic364da09eac7f0a815f9ceb719b6baa8a76e3730
ibstagefright/Android.mk
ibstagefright/MP3Extractor.cpp
ibstagefright/VBRISeeker.cpp
ibstagefright/XINGSeeker.cpp
ibstagefright/include/MP3Extractor.h
ibstagefright/include/MP3Seeker.h
ibstagefright/include/VBRISeeker.h
ibstagefright/include/XINGSeeker.h
13f6284305e4b27395a23db7882d670bdb1bcae1 09-Nov-2010 James Dong <jdong@google.com> Rotation support

- We only support 0, 90, 180, and 270 degree clockwise rotation

- Some players are known to ignore composition matrix in the MP4 file,
although this is part of the MP4 file standard.
Both QT and YT are supporting the rotation

The original patch (65a73f4e8c79d05c0d9001b660325748d4ecf37b) was not merged.
The only change I made is to reuse the same kKeyRotation in MetaData.h;
and thus do not neeed to use kKeyRotationDegree.

Change-Id: Ib328716d4842201c4adf57e4ddfe1f1ac1ae4d8a
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/MPEG4Writer.cpp
2cef2eff28fd5ba3eaa875dd2e22e74b6f464121 09-Nov-2010 James Dong <jdong@google.com> am c4a2ead2: am d2d62d04: Merge "Support extracting thumbnail from rotated video tracks" into gingerbread

* commit 'c4a2ead2aa5ab4403553e4956ba71b44782f0c84':
Support extracting thumbnail from rotated video tracks
beda607a0b2775484b10d7e6a15eec1e956b3cec 09-Nov-2010 James Dong <jdong@google.com> am d2d62d04: Merge "Support extracting thumbnail from rotated video tracks" into gingerbread

* commit 'd2d62d04fc387e2f51d414e101a3e8e3c45f415e':
Support extracting thumbnail from rotated video tracks
ce0febae177d1816ee7a6750ed9fba52472b9a71 09-Nov-2010 James Dong <jdong@google.com> Support extracting thumbnail from rotated video tracks

Change-Id: Ife0a2536aaac5ff1efdf1035b9d2c892773ee16c
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
3baff73198ce852fa60080bd32703028298b4d65 08-Nov-2010 Andreas Huber <andih@google.com> resolved conflicts for merge of 31dc911a to gingerbread-plus-aosp

Change-Id: I2f51b2120b3c552566d91a7dc498a5e8b130205f
4974d5eaf838d893c418b85bd47f6f114d9b5aaa 06-Nov-2010 James Dong <jdong@google.com> am 1653e261: Merge "Rotation support" into gingerbread

* commit '1653e261e84922facfe27d3d8acc455ed2b6b6da':
Rotation support
85d9b4225d024bb0d602b48bd6d5219cbebd7b8e 04-Nov-2010 Andreas Huber <andih@google.com> Support post-decode video rotation.

Change-Id: Ia371316e73a57e44610de86adce3eaa560afbf84
ibmedia/IOMX.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/MPEG4Extractor.h
ibstagefright/include/OMX.h
ibstagefright/include/SoftwareRenderer.h
ibstagefright/omx/OMX.cpp
aca1fe35480ae76dd6bae167ade40adc955e2d0d 17-Aug-2010 James Dong <jdong@google.com> Rotation support

- We only support 0, 90, 180, and 270 degree clockwise rotation

- Some players are known to ignore composition matrix in the MP4 file,
although this is part of the MP4 file standard.
Both QT and YT are supporting the rotation

Change-Id: I1b7f66a801e9d9c49d889c9b06dd6173fa7e76c4
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/MPEG4Writer.cpp
412abda7a92b842378ecb5fd9bdb43a73d29f468 05-Nov-2010 James Dong <jdong@google.com> Merge "Use meta data in the media recording framework"
c2daea219b626a961d5ccef0b6b22c2496509748 05-Nov-2010 Gloria Wang <gwang@google.com> Merge "Add support for WV DRM"
b371426ce4cf2fa6d8c3d1903b61322feb165d35 01-Nov-2010 Gloria Wang <gwang@google.com> Add support for WV DRM

Change-Id: I0408c5e0a488f112a84337b21b0cd4613a4da461
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/FileSource.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/WVMExtractor.cpp
ibstagefright/include/NuCachedSource2.h
ibstagefright/include/NuHTTPDataSource.h
ibstagefright/include/WVMExtractor.h
8480835b4bc1350646376aa7f3ae33742a7adeb1 02-Nov-2010 James Dong <jdong@google.com> Use meta data in the media recording framework

o This patch allows us to do 720p video recording

Change-Id: I2ea37e80a59630145396b08ebcdc6ee71df53333
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/OMXCodec.cpp
6d80795874f85b4dbd4f8425ea3326f65ea8abb0 04-Nov-2010 James Dong <jdong@google.com> am c0fa1d47: Merge "Revert "Support rotation in media recorder"" into gingerbread

* commit 'c0fa1d4791667ee8d1a9685749e42426fe8bd38b':
Revert "Support rotation in media recorder"
ff5bfcf19da45e6bb0136ef818b7c4bf8fd8db3d 04-Nov-2010 James Dong <jdong@google.com> Revert "Support rotation in media recorder"

This reverts commit f1febe470ac30f8992066cb263c10f58493c4c34.
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
c59e5f5b601db3b7b8217474ac644a0e600a84df 04-Nov-2010 Hiroshi Lockheimer <hiroshi@google.com> am c181a082: Merge "Support rotation in media recorder" into gingerbread

* commit 'c181a08209dc85c80e4da5d20cd3980998def40d':
Support rotation in media recorder
5b6edb79827a910d8e677e35e77bc12fdc7772b9 04-Nov-2010 James Dong <jdong@google.com> Support rotation in media recorder

o needs to be tested with camera hal and camcorder application

Change-Id: Ie343185c8ad3ec55da8850efbdcf19cf98993232
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ed45fe0730a7e7fc9944741428f5a484350acc8a 02-Nov-2010 Jamie Gennis <jgennis@google.com> Fix a MediaBuffer leak in Stagefright.

Change-Id: I548e60b07cf1676476874b156cfbc4ffefdfa2b9
ibstagefright/OMXCodec.cpp
dbd40762b0d68e1a8333ec2f46acaf71e5938673 03-Nov-2010 Andreas Huber <andih@google.com> Merge "Experimentally reenable mpeg4 and h.263 hardware decoders."
09ddead9fcb391efd718738245455398a7ec6887 27-Oct-2010 Andreas Huber <andih@google.com> Experimentally reenable mpeg4 and h.263 hardware decoders.

Change-Id: I1be266bd4534004a08e8836b48cc6c09ca890ccc
ibstagefright/OMXCodec.cpp
bf3122eed31cd24acdf5cfd25541db0beb77e6f0 03-Nov-2010 Gloria Wang <gwang@google.com> am cf393faa: Merge "resolved conflicts for merge of c1c45a4d to gingerbread-plus-aosp" into gingerbread-plus-aosp

* commit 'cf393faaa871333496a63c13196fdbc0f2bd9118':
- Move the business rule management down to DRM agents. - Do not register DRM sniffer because drmserver is not enabled.
26490f71a5a50b2200d60de28ad0ea6b1d0a1847 03-Nov-2010 James Dong <jdong@google.com> am f3847e87: Merge "DO NOT MERGE" into gingerbread

* commit 'f3847e875eb1c58094a2d159a2a6f3f0b381d77a':
DO NOT MERGE
63a0a11e8b3292253b3d3bf3a7f7dc733cf6762f 03-Nov-2010 James Dong <jdong@google.com> DO NOT MERGE

Fix premature release of recording frames when physical address or metadata is stored in input video buffers

- bug 3158459

Change-Id: If297189d2a87fc3abfda68c29ac75b490b30a902
ibstagefright/OMXCodec.cpp
606649635ecb5a7f1378f2538a25fee64214ff42 02-Nov-2010 Gloria Wang <gwang@google.com> resolved conflicts for merge of c1c45a4d to gingerbread-plus-aosp

Change-Id: I5411eaa0426cf208c6db3570f707d1b6b4baf455
0821a824a718a28fa5144309bf09ea40411c8ae0 30-Oct-2010 Jamie Gennis <jgennis@google.com> Stop using OMX_COLOR_FormatAndroidPrivateStart.

This removes the use (and definition) of the Android-private range of
OMX color formats from Stagefright. Instead we will just be
interpreting the video color format of an OMX port as an Android pixel
format if the port is in native buffer mode.

Change-Id: I3ea50703336a88249e7563bc7022dfedbeac506e
ibstagefright/OMXCodec.cpp
678d25019bd951a6af083bee0282e5b907713849 02-Nov-2010 Andreas Huber <andih@google.com> Merge "Notify surfaceflinger about (changes to) the crop rectangle output by the decoder."
55426ce7eded04c9993149edd86f861cfccb4d19 29-Oct-2010 Gloria Wang <gwang@google.com> - Move the business rule management down to DRM agents.
- Do not register DRM sniffer because drmserver is not enabled.

Change-Id: I7a1052fe406f5087051a482b7e85a458f3ec7b8f
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
67f4cae120b49fad8b53a83499db1545bfa41e38 02-Nov-2010 Andreas Huber <andih@google.com> Notify surfaceflinger about (changes to) the crop rectangle output by the decoder.

Change-Id: I9c33618dd3351be1ecadcc7d0329654ea50bad3f
related-to-bug: 3153626
ibstagefright/OMXCodec.cpp
51ef3f681e275f6edc6886c7a2dd409e6734a0ee 01-Nov-2010 Gloria Wang <gwang@google.com> Media scanner support for FL(Forward Lock) DRM file types

Change-Id: Id85edbfc2851d9054a7433d24bb5cf33a457a4e5
ibstagefright/StagefrightMediaScanner.cpp
02a1db7dc1de2f2df306ec10bab992bc8bbaaca8 30-Oct-2010 Andreas Huber <andih@google.com> After seeking display the first new video frame right away without concern for A/V sync. This looks much more responsive to the user.

related-to-bug: 3152363
Change-Id: Ia097bf61ca05e01365357cb23ff83e2ad417f3fd
ibstagefright/AwesomePlayer.cpp
6b6a736ec71c692c165952fe653a7766075e94bb 01-Nov-2010 Chia-chi Yeh <chiachi@android.com> Visualizer: Fix the conversion from 8-bit sample to 16-bit sample.

Change-Id: Ie6d77b0f61a37333e05cdcdb6ef29d6f6c345a9d
ibmedia/Visualizer.cpp
565b4951c444fb6c3e273aa1ffe3008393f46bef 30-Oct-2010 James Dong <jdong@google.com> Merge "Added some debugging log messages at stop()"
88c647bb7403ec964a97742408f55df43ed8c6c3 30-Oct-2010 Gloria Wang <gwang@google.com> Merge "- register DRM sniffer only when drmserver is up - notify DRM agents the status after seeking"
a89082944308805b0def7de87c67e370e74b8789 29-Oct-2010 Gloria Wang <gwang@google.com> - register DRM sniffer only when drmserver is up
- notify DRM agents the status after seeking

Change-Id: Id77977fc7548970559dc8974461b0bd1d2aa9514
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
cb09c03450bb09304ad5afd2d223254bf2e6e38c 30-Oct-2010 James Dong <jdong@google.com> Added some debugging log messages at stop()

There are so many cases where the codecs just could not stopped ...

Change-Id: If9ff261fcd4726c2ee21ec7c9336ca9c2917d399
ibstagefright/MPEG4Writer.cpp
05ea6434ed399395e2dbe9f68abb44f04b274cb0 29-Oct-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 0d5694ba2d399dd0869532a4d6256448185a1be0
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:59:23 2010 -0700

suspend() and resume() methods on VideoView are back but don't do anything.

They need to be back because they were public before.

Change-Id: Iddfd1021ffcf341f26e8d55ba761fd33701e2425

commit 16192891ed7d349ee97e47d1729d20a2d0d247b8
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:47:05 2010 -0700

Revert "New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming."

This reverts commit 2e1818a4d16c3309660f27286c77d8d1eee95a25.

Conflicts:

api/current.xml

Change-Id: I68dd1d05871044faf3f832d0838aa40bc7f890e5

commit 8f934dc1a3ae4e60f0790fcf97671e063fa20fad
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:44:16 2010 -0700

Revert "Release mediaplayer if the current state is not suspending. Fix for bug 2480093."

This reverts commit efb882cf75eef39ecaf9f8920ed302a019fa629f.

commit f2ed03550887986f39d36b5dabcd9e919949c7cf
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:44:08 2010 -0700

Revert "Release MediaPlayer if suspend() returns false."

This reverts commit 047212fd4ea360675e94d3ce83c7f5544f65b268.

commit 441ecce678bd24e9660a72c8627b5bd94433ff8b
Author: Andreas Huber <andih@google.com>
Date: Fri Oct 29 11:40:46 2010 -0700

manually.

Change-Id: I4fdd43c9f7c8b3eedddb31a196da4984e1c58e87

Change-Id: I60d4b10e7a9e4ed8d9a796f1711618f557eb6e89
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
c8ca26ed63edcf2731c4773b8ce3141930cc7245 29-Oct-2010 James Dong <jdong@google.com> Merge "Added profile and level translation in SW video encoders"
ff1df9951d09f1a1a8ae2dbc42b82b0f9c164e5e 28-Oct-2010 Andreas Huber <andih@google.com> Upgrade to the latest version of libwebm to fix YouTube webm playback.

Change-Id: I6a0f5e1aa07d3af428c314d36f69b119fa8d2d3a
related-to-bug: 3141937
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/mkvparser.cpp
ibstagefright/matroska/mkvparser.hpp
5cb8fdbfeda95fdc70e8edb69adc20c57cb277be 20-Oct-2010 James Dong <jdong@google.com> Added profile and level translation in SW video encoders

Change-Id: I6b9c33c7e4b497f3dc61b2a0dcf4e65727f9bcdd
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
fc9ac988e08a8b4c42e58999300265989f26f24c 27-Oct-2010 Andreas Huber <andih@google.com> Better support for MP4A-LATM RTP disassembly. This used to fail if mNumSubFrames > 1 and the sub frames did not align with RTP packet boundaries.

Change-Id: I20e3b86f52b7f0f41663ffe8bc1f4db92280e884
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.h
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ASessionDescription.cpp
c8b3ca3caf7edc08d652937d29724ae7a496655a 27-Oct-2010 Marco Nelissen <marcone@google.com> am cd08ada7: am 67c7a4ae: Merge "Fix off-by-two and other bugs in the visualization code. b/3137511" into gingerbread
2726a0ff895ecc0eac3ea5dbc04f407b008cc7f0 27-Oct-2010 Marco Nelissen <marcone@google.com> am 67c7a4ae: Merge "Fix off-by-two and other bugs in the visualization code. b/3137511" into gingerbread
d0041bc2649a4989965e4684563200029e324808 27-Oct-2010 Andreas Huber <andih@google.com> Merge "Remove annoying warning during mpeg4 extraction."
51d6cc75dd2c1b343601b76a93fded170ce6cb43 27-Oct-2010 Andreas Huber <andih@google.com> Merge "FileSource may fail to open a file in which case subsequent code dereferences a NULL pointer. This fixes this recently introduced problem."
4e6572967da698d568a44d18797b751ec8ae5401 27-Oct-2010 Andreas Huber <andih@google.com> FileSource may fail to open a file in which case subsequent code dereferences a NULL pointer. This fixes this recently introduced problem.

Change-Id: I60dd9532b694a1b488743b71f43e107c778d6683
ibstagefright/FileSource.cpp
75fc7654280ac2a72fa8124b88e616219a3e61e2 27-Oct-2010 Andreas Huber <andih@google.com> Remove annoying warning during mpeg4 extraction.

Change-Id: Iffadeefb43bab6da1299b0a0582d6c6990156c32
related-to-bug: 3093774
ibstagefright/SampleTable.cpp
64c3bdea8cba454d4404baded584ea0f0611b3ee 27-Oct-2010 Marco Nelissen <marcone@google.com> Fix off-by-two and other bugs in the visualization code.
b/3137511

Change-Id: Ic431701e93c025bc417c9742e9af6bb2350c7dd6
ibeffects/visualizer/EffectVisualizer.cpp
6d309134e3a2c8c1687724a8a8632424ce9a1e33 27-Oct-2010 Kristian Monsen <kristianm@google.com> Fix for simulator build break

strrchr returns a const char* in c++ if you give in a const char*

Change-Id: I15ac2ae9e1d41d7737193146c526fcbddccae27c
ibstagefright/MediaExtractor.cpp
7b54d6652692ce078df9c606d2d72ebc8ee1f4a2 27-Oct-2010 Andreas Huber <andih@google.com> am e1e82745: am 2088e371: Merge "Assume that all of the decoded vorbis audio data is valid unless the source indicates otherwise." into gingerbread
7b74bba58149afe9ff4c67cd508928c303851cc3 27-Oct-2010 Andreas Huber <andih@google.com> am 2088e371: Merge "Assume that all of the decoded vorbis audio data is valid unless the source indicates otherwise." into gingerbread
53409d6fe668e695e92479371f0ec162723feed5 27-Oct-2010 Andreas Huber <andih@google.com> Assume that all of the decoded vorbis audio data is valid unless the source indicates otherwise.

Change-Id: Iea88e3f09955d82a9a11fbcc075db8d9c4007490
ibstagefright/codecs/vorbis/dec/VorbisDecoder.cpp
bbf03557f2008fad77bf9340460d4e6a28cbb957 26-Oct-2010 James Dong <jdong@google.com> Merge "Add two creation flags to OMXCodec::Create()"
deeb96121e9d67ee4c0701c88d5b5cfadc4541b2 26-Oct-2010 Gloria Wang <gwang@google.com> A temporary fix for "Waiting for service drm.drmManager".

Change-Id: I554c9bbec8c63c3c8dbc5b5374614c1101f6d1d9
ibstagefright/DataSource.cpp
d332a72e8f71caea0d3dc898db6a9d7a929fad32 23-Oct-2010 James Dong <jdong@google.com> Add two creation flags to OMXCodec::Create()

o This allows to force to use software codecs or hardware codecs
o If request cannot be fullfilled, Create() returns NULL.

Change-Id: I02b56a9229abb56d49703fe80ac18571d33f3748
ibstagefright/OMXCodec.cpp
1104688c53b1815b543dbe1ef1ca56c7a77f241c 26-Oct-2010 James Dong <jdong@google.com> Merge "Remove OMX.PV.* components from OMXCodec.cpp"
c810b75fd04eef8af509bb42aa8837566a374b32 23-Oct-2010 James Dong <jdong@google.com> Remove OMX.PV.* components from OMXCodec.cpp

Change-Id: Ie43c00a4d589e9cca6e9505a5dabd4e0d8af321a
ibstagefright/OMXCodec.cpp
b33fd3c77c59b93291135a36638b2777606863d2 26-Oct-2010 James Dong <jdong@google.com> Merge "Don't change the video recording frame rate if it is not requested."
aceaaf303422bbe3a7b8d9cdb96495dbf8109c23 26-Oct-2010 Gloria Wang <gwang@google.com> resolved conflicts for merge of 965f960e to master

Change-Id: I63cec8ffb3593216da1de03428134d89e75b9338
635730831e08c32a5fe7c59125e0919b7e7899cd 24-Oct-2010 James Dong <jdong@google.com> Don't change the video recording frame rate if it is not requested.

o set the default video frame rate to the current frame rate being used
o add check on whether the requested frame rate is supported
o fix an issue where the hardware video encoder setting was bypassed
o increases the max frame rate from 30 t0 120 frames per second
the actual frame rate will be clipped if the requested frame rate is too
high when recording starts by checking the hardware encoder capabilities

Change-Id: I1b47671d74da0ebcb9601bdca390d430cc048fbc
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
a9741a9232c81eaf59179acef91f5be46c42264e 26-Oct-2010 Gloria Wang <gwang@google.com> resolved conflicts for merge of 9084631d to gingerbread-plus-aosp

Change-Id: Ie2b675d50bfca3f33aee80f1a67c9f03d1f97472
c21143636f2c6078c8ad6b096f69a9208591342b 25-Oct-2010 Andreas Huber <andih@google.com> We don't have access to the md5 implementation on the simulator, let's disable digest authentication in rtsp for simulator targets.

Change-Id: I02a9b4af929601c899f04cee9864d0dd0716de62
ibstagefright/rtsp/ARTSPConnection.cpp
dcd25efb46c41c8d24a0a9cf61fb57f84149709e 22-Jun-2010 Gloria Wang <gwang@google.com> DRM framework support:
- add a sniffer for DRM files
- add DRMSource and DRMExtractor for es_based DRM
- add pread in FileSource.cpp for container_based DRM
- add native DRM framework API calls in the player for
DRM audio/video playback

Change-Id: I4b9ef19165c9b4f44ff40eeededb9a665e78a90f
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/DRMExtractor.cpp
ibstagefright/DataSource.cpp
ibstagefright/FileSource.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/DRMExtractor.h
ibstagefright/include/MPEG4Extractor.h
315940bf8ab4b49a49ff986afaf4775a2cacc381 15-Jul-2010 Mike Lockwood <lockwood@android.com> Fixes for simulator build on lucid

strchr and strrchr now return const char* instead of char*

Change-Id: Idc013222e86c80b1e91d5aeb09a1a24809a82358
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
5b2146fc017b02bb5f096b1ac336efd3558a117c 22-Oct-2010 James Dong <jdong@google.com> Merge "OMX extension to support storing meta data in video input buffers during recording"
7f6ff8eb6eed438590e24f0b536c65110976bcfb 22-Oct-2010 James Dong <jdong@google.com> am 6123e0f7: am 1bd8a8c8: Merge "Turn the media time adjustment in file writer back on" into gingerbread

Merge commit '6123e0f7c91ffc7534da99b4668879dacf662227'

* commit '6123e0f7c91ffc7534da99b4668879dacf662227':
Turn the media time adjustment in file writer back on
ddcd04f2b3fef095e9f4020d5f87b7259e6921e9 22-Oct-2010 James Dong <jdong@google.com> am 1bd8a8c8: Merge "Turn the media time adjustment in file writer back on" into gingerbread

Merge commit '1bd8a8c8acdb7c3aa875ea62ccf0b9111f1c9410' into gingerbread-plus-aosp

* commit '1bd8a8c8acdb7c3aa875ea62ccf0b9111f1c9410':
Turn the media time adjustment in file writer back on
5b6a01e65aa4129a9226667536d1bc1dad5980d8 22-Oct-2010 James Dong <jdong@google.com> Turn the media time adjustment in file writer back on

o This was turned off to unblock the tests on some device
o The adjustment duration is increased to suppress fluctuations observed on some device

bug - 3058745

Change-Id: Iaeeb1c1c52783f5c679305645c995e57b4b2a573
ibstagefright/MPEG4Writer.cpp
e870772a78ffe08b1c14a791e368f1499f1be0f3 21-Oct-2010 James Dong <jdong@google.com> OMX extension to support storing meta data in video input buffers during recording

bug - 3042125

Change-Id: I7543809fa4ff61d48da35eec6c2bd5eaa7e8cead
ibmedia/IOMX.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
cf5e77c0676f6af1685de30ad902fe94e476907f 21-Oct-2010 James Dong <jdong@google.com> am 8ad6335d: am fa7a87fb: Merge "File writer size estimation improvement" into gingerbread

Merge commit '8ad6335d2c22900de5b46460473495b5bcea9f99'

* commit '8ad6335d2c22900de5b46460473495b5bcea9f99':
File writer size estimation improvement
9acb8a2030444c46f9c4fa55e1f6137058cf46f8 21-Oct-2010 James Dong <jdong@google.com> am fa7a87fb: Merge "File writer size estimation improvement" into gingerbread

Merge commit 'fa7a87fb4b3d25b0b6b0985d65848a144d28df26' into gingerbread-plus-aosp

* commit 'fa7a87fb4b3d25b0b6b0985d65848a144d28df26':
File writer size estimation improvement
f83dd80384f70da1f6d36d60e831439ff7739ad7 21-Oct-2010 Jamie Gennis <jgennis@google.com> Fix a copy & paste logging error.

This change corrects the name of a variable used in a logging macro,
allowing AwesomePlayer.cpp to build with verbose logging enabled.

Change-Id: Ie23fe0fb17f08ac43348cee3209bfe68088e856e
ibstagefright/AwesomePlayer.cpp
edffc0fcbe02409e8e56e06c3b1dccc7215d2947 21-Oct-2010 Jamie Gennis <jgennis@google.com> Merge "Fix the non-ANW video decode path."
bf2ba2a97927c24d14c0e71158abe7b49c557c68 21-Oct-2010 Jamie Gennis <jgennis@google.com> Fix the non-ANW video decode path.

The BufferInfo::mOwnedByNativeWindow field was not being initialized in
the non-ANativeWindow video decode path.

Change-Id: If2f6249902a08690f6c62ef30791b9979050c0e5
ibstagefright/OMXCodec.cpp
642a8eac64b7370fd874c4d34654583c50c0850c 21-Oct-2010 Andreas Huber <andih@google.com> Merge "If we basically finished the preparation phase and are only buffering enough data to start playback, cancel this early on reset()."
6a05c9e912aeb8bfe1ef99516def91a177a481b6 19-Oct-2010 Andreas Huber <andih@google.com> If we basically finished the preparation phase and are only buffering enough data to start playback, cancel this early on reset().

Change-Id: I71a59d5e019e7b9ec3d9375d6231cc301ad3999b
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
a3c740f68f30f3f929cdc8d6ad9ab562502bdff0 21-Oct-2010 Andreas Huber <andih@google.com> Merge "Support for BASIC and DIGEST authentication schemes in RTSP. Support for malformed packet descriptions that end lines in LF only, instead of CRLF."
4579b7d49f6dd4f37e6043e59debfd72d69b8e7b 21-Oct-2010 Andreas Huber <andih@google.com> Support for BASIC and DIGEST authentication schemes in RTSP. Support for malformed packet descriptions that end lines in LF only, instead of CRLF.

Change-Id: I57eaefdc4b300a8f56bbe5cf3a34c424e8efe63a
related-to-bug: 3084183
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/Android.mk
ibstagefright/rtsp/MyHandler.h
244c73a2f07d4d88e3aace982e522a1d90ff49cf 20-Oct-2010 Andreas Huber <andih@google.com> Merge "Make sure we can encode the size of the codec specific data in a single byte."
5f995b0e72ed6f186cb0ab2a525c4cfce614f3a9 20-Oct-2010 Andreas Huber <andih@google.com> Make sure we can encode the size of the codec specific data in a single byte.

Change-Id: If7680cbfb380180c8dd6d6019b9c6c67661e468d
ibstagefright/MPEG4Writer.cpp
dc99cd65fac3964637f2674db07323c07f720279 20-Oct-2010 James Dong <jdong@google.com> Merge "Fix an issue where the video size was incorrectly retrieved from preview size"
f96c9d193c70c7216b34e6c65f046a09a2a81f14 20-Oct-2010 James Dong <jdong@google.com> Fix an issue where the video size was incorrectly retrieved from preview size

bug - 3115814

Change-Id: I6aa59b3182ceee35c6d6ef54ff520f81077873f0
ibstagefright/CameraSource.cpp
6a9da9fc558263548ebfbae2cbf177eb7454a41b 07-Oct-2010 Jamie Gennis <jgennis@google.com> Add decode-to-ANativeWindow support to Stagefright.

This change adds support to Stagefright for doing OMX video decoding directly
into buffers dequeued from an ANativeWindow. It does this by registering the
dequeued buffers with the OMX component using an Android-specific OMX
extension, and then exchanging buffers between the OMX component and the
ANativeWindow.

Change-Id: Ida66f836503255a68d378c6903d96dfe9747ce87
ibstagefright/AwesomePlayer.cpp
ibstagefright/MediaBuffer.cpp
ibstagefright/OMXCodec.cpp
5c9523154d106b555db6c41f85ab205a4f189b02 19-Oct-2010 James Dong <jdong@google.com> Make camera source ready for handling meta-data video buffers.

bug - 3042125

Change-Id: I877b265c6bf8e0593121c8d5a95ae5599cdc6fb9
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
78a1a286f736888ae7af8860b2c424af0d978848 20-Oct-2010 James Dong <jdong@google.com> File writer size estimation improvement

o Do not count the reserved space for moov if the meta data size is small
o Do not count the extra 1KB disturbing small file estimation.
o Reduce the default minimum reserved space from 4 KB to 3 KB.
o Estimate the moov size based on both duration AND file size limit is set
and set it to the smaller estimated value.

low risk change

bug - 3111983

Change-Id: I6ac2adb979d8cc12d6b4f1813d000c989add0199
ibstagefright/MPEG4Writer.cpp
74e1e56dfa15be0ffea82c60d81846c4f6615421 19-Oct-2010 Andreas Huber <andih@google.com> am 2d00c605: am 52bea277: Merge "If we encounter video stream EOS while seeking we may still need to seek audio." into gingerbread

Merge commit '2d00c6050977f3e03665fbfef93f4f6aed041a63'

* commit '2d00c6050977f3e03665fbfef93f4f6aed041a63':
If we encounter video stream EOS while seeking we may still need to seek audio.
60d6ac48ea94f9613e21200f3bcf04b7e818ba11 19-Oct-2010 Andreas Huber <andih@google.com> am 52bea277: Merge "If we encounter video stream EOS while seeking we may still need to seek audio." into gingerbread

Merge commit '52bea277ff92a2a1780e035c82c72082434e7b16' into gingerbread-plus-aosp

* commit '52bea277ff92a2a1780e035c82c72082434e7b16':
If we encounter video stream EOS while seeking we may still need to seek audio.
a3764dee0d52e65d16005a411e2d4efd0af20953 19-Oct-2010 Andreas Huber <andih@google.com> am 8b5161c2: am d68cda47: An attempt to unregister a handler that\'s no longer registered should not cause an assertion.

Merge commit '8b5161c2aed8637de9bffb1d81298d60ea237caf'

* commit '8b5161c2aed8637de9bffb1d81298d60ea237caf':
An attempt to unregister a handler that's no longer registered should not cause an assertion.
2ad46bea6b7ef92b24e9bd98b0b459beb71b96ab 19-Oct-2010 Andreas Huber <andih@google.com> am 9b2f18df: am bc96c284: Merge "For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder." into gingerbread

Merge commit '9b2f18df2436b6c2d9735e65119b92f320bb57e2'

* commit '9b2f18df2436b6c2d9735e65119b92f320bb57e2':
For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder.
9969c0b798ad81764b67f5a098f7c417b82dcc89 19-Oct-2010 Andreas Huber <andih@google.com> am 8f5214eb: am 02ec432e: Merge "If the PES packet size exceeds 16-bit range, use a packet size of 0 instead. This is valid for video content according to the specs." into gingerbread

Merge commit '8f5214eb6fa6c85c9c6703da15c4a6cf95ac4b17'

* commit '8f5214eb6fa6c85c9c6703da15c4a6cf95ac4b17':
If the PES packet size exceeds 16-bit range, use a packet size of 0 instead. This is valid for video content according to the specs.
4769cc92740e3ab58e9263d42553c12bbf79e3be 19-Oct-2010 Andreas Huber <andih@google.com> If we encounter video stream EOS while seeking we may still need to seek audio.

Change-Id: Ie260942247b6810ca94e86328a3725d75b12181d
related-to-bug: 3108724
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
475c5fabc59a86eb667f3afb4b1523f9b98797e3 19-Oct-2010 Andreas Huber <andih@google.com> am d68cda47: An attempt to unregister a handler that\'s no longer registered should not cause an assertion.

Merge commit 'd68cda472a3646966a203338ccac04f0783293b7' into gingerbread-plus-aosp

* commit 'd68cda472a3646966a203338ccac04f0783293b7':
An attempt to unregister a handler that's no longer registered should not cause an assertion.
f200777290d2e3e8b580c512cc0808eae9790705 19-Oct-2010 Andreas Huber <andih@google.com> An attempt to unregister a handler that's no longer registered should not cause an assertion.

There are edge cases in which a handler attempts to unregister itself while on another thread a message fails to be delivered to that very handler and causes automatic unregistration. In this case the handler's good cleanup intentions are thwarted by the CHECK.

Change-Id: I4e41b5e7b619159ecce4856c15cccca031a28b5b
related-to-bug: 3101247
QA-impact: no(!!!) risk
ibstagefright/foundation/ALooperRoster.cpp
1bd36ef733ad5c5fa06106387e7ee0df39c33116 18-Oct-2010 Andreas Huber <andih@google.com> am bc96c284: Merge "For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder." into gingerbread

Merge commit 'bc96c2848dadaa844f95e89708d9941f73bbf400' into gingerbread-plus-aosp

* commit 'bc96c2848dadaa844f95e89708d9941f73bbf400':
For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder.
b5b39d2c348f54a40fc800c9efec17d7f1e8a486 18-Oct-2010 Andreas Huber <andih@google.com> Merge "For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder." into gingerbread
232c33806f6e839a7db76f645d52b5647e097f8c 18-Oct-2010 Andreas Huber <andih@google.com> am 02ec432e: Merge "If the PES packet size exceeds 16-bit range, use a packet size of 0 instead. This is valid for video content according to the specs." into gingerbread

Merge commit '02ec432e6eff2ab59165c5b7c9b1a0d6689d0823' into gingerbread-plus-aosp

* commit '02ec432e6eff2ab59165c5b7c9b1a0d6689d0823':
If the PES packet size exceeds 16-bit range, use a packet size of 0 instead. This is valid for video content according to the specs.
acc82a3bad22af17008a839d993e3bd7a5d9b5af 15-Oct-2010 Andreas Huber <andih@google.com> If the PES packet size exceeds 16-bit range, use a packet size of 0 instead. This is valid for video content according to the specs.

Change-Id: I686320d9d4cd826f43c0813c6ba1dc4949d1115f
ibstagefright/MPEG2TSWriter.cpp
f3712f026aad1fc46b1df18d1dba718281e39726 18-Oct-2010 Andreas Huber <andih@google.com> For thumbnail extraction make sure we instantiate a decoder that allows access to the framebuffer. Implement the samsung workaround to support this by reconfiguring the decoder.

related-to-bug: 3106534
Change-Id: Ie28d72af2f9e93818d1840ac83aa7bc11fa57b3b
ibstagefright/OMXCodec.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
c540e63b50c214ccb0eabc93806a64c5b145d110 18-Oct-2010 Jean-Baptiste Queru <jbq@google.com> Fix build (bad merge)

Bug: 3101573
Change-Id: I2c0518e31f39c9a6e88d86cc468653bbcb5be05e
ibstagefright/colorconversion/Android.mk
8ac0cb9dc8a46f9b2badabc91cb5f7871e2215a9 18-Oct-2010 Jean-Baptiste Queru <jbq@google.com> Merge fb474872 from gingerbread-plus-aosp

Change-Id: I1bbb845a86a7b7df44ea175df3af22e5f47c44e3
b0d62457a9630b144187dcd5b143ee9c91f591d0 16-Oct-2010 Andreas Huber <andih@google.com> am cb90947b: am e1f3976b: Merge "Make sure we cache the sampleTable again if using the caching datasource." into gingerbread

Merge commit 'cb90947bf8ed2c898c1b7e529dd0c99d112ed611'

* commit 'cb90947bf8ed2c898c1b7e529dd0c99d112ed611':
Make sure we cache the sampleTable again if using the caching datasource.
06fa2bcce5dd80b406a23f980d8c9fac1524ebfd 16-Oct-2010 Andreas Huber <andih@google.com> am b04f356d: Merge "Include the framework copy of the OpenMAX headers instead of referencing external/opencore." into gingerbread

Merge commit 'b04f356d86eec74217fca8e3b85d801c4fcaa678' into gingerbread-plus-aosp

* commit 'b04f356d86eec74217fca8e3b85d801c4fcaa678':
Include the framework copy of the OpenMAX headers instead of referencing external/opencore.
56cfa2376ae87cba730ea7ce4a9e0ca4f0d07627 15-Oct-2010 Andreas Huber <andih@google.com> Include the framework copy of the OpenMAX headers instead of referencing external/opencore.

Change-Id: I762f59acf5e1f770e4d7c2d89af362bfffebefa6
related-to-bug: 3101573
ibmedia/Android.mk
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
ibstagefright/codecs/avc/dec/Android.mk
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/m4v_h263/dec/Android.mk
ibstagefright/codecs/m4v_h263/enc/Android.mk
ibstagefright/codecs/on2/dec/Android.mk
ibstagefright/colorconversion/Android.mk
ibstagefright/httplive/Android.mk
ibstagefright/matroska/Android.mk
ibstagefright/mpeg2ts/Android.mk
ibstagefright/omx/Android.mk
ibstagefright/omx/tests/Android.mk
ibstagefright/rtsp/Android.mk
d804a1a27b42541157fddf725593d4e2ccaa6ad5 15-Oct-2010 Andreas Huber <andih@google.com> am e1f3976b: Merge "Make sure we cache the sampleTable again if using the caching datasource." into gingerbread

Merge commit 'e1f3976bb4eab0d7c46bc8596679d4d00695148c' into gingerbread-plus-aosp

* commit 'e1f3976bb4eab0d7c46bc8596679d4d00695148c':
Make sure we cache the sampleTable again if using the caching datasource.
b9d3038ec950665639e26acd51329ebc800e780d 15-Oct-2010 Andreas Huber <andih@google.com> Make sure we cache the sampleTable again if using the caching datasource.

QA-impact: This fixes http streaming again which I broke about 2 days ago. The previously observed symptoms were stuttering playback of http streams (think YouTube) after a certain playback position.

Change-Id: I14050e3522ecd62c90d29310efdf508fdd2e87b5
related-to-bug: 3098873
ibstagefright/MPEG4Extractor.cpp
3e8742fa4a5f0f8b185274763f6ec4e6c3a89344 15-Oct-2010 Andreas Huber <andih@google.com> am 27c7fb1a: am 90d59d18: Merge "Metadata.cpp and Metadata.java had drifted out of sync. This change remedies that." into gingerbread

Merge commit '27c7fb1a861776b4fdc2632697e4e25eee83617f'

* commit '27c7fb1a861776b4fdc2632697e4e25eee83617f':
Metadata.cpp and Metadata.java had drifted out of sync. This change remedies that.
6fed68ded4ab2c042b7ca14409a24aee916313d5 15-Oct-2010 Andreas Huber <andih@google.com> am bb5d7c21: am 5f423917: Merge "Attempt to derive the avg. bitrate of the entire stream from metadata." into gingerbread

Merge commit 'bb5d7c21615128630fc9d08274bb14ca01e2124b'

* commit 'bb5d7c21615128630fc9d08274bb14ca01e2124b':
Attempt to derive the avg. bitrate of the entire stream from metadata.
a44501ea0896c2508bd6b807185d9049be6752f3 15-Oct-2010 Andreas Huber <andih@google.com> am 8e4f3c76: am 646e0d5a: Merge "Some webcams output rtp streams but never send any rtcp data in violation of the specs. Attempt to use fake timestamps to be able to play these..." into gingerbread

Merge commit '8e4f3c76dd7f5596fa2fe10bdf008d4c02353160'

* commit '8e4f3c76dd7f5596fa2fe10bdf008d4c02353160':
Some webcams output rtp streams but never send any rtcp data in violation of
f9f083e2853740c97588f4db82c24645ae5880e4 15-Oct-2010 Kenny Root <kroot@google.com> resolved conflicts for merge of a127c07c to master

Change-Id: Ifdfc6681cba00f36456eaf7a97f34a75b9d0c086
d6119356f45c9c57cac812357d969ecc3001087e 15-Oct-2010 Andreas Huber <andih@google.com> am 28b93967: am 165c6579: Merge "HTTP Live content that are tagged as complete are now seekable." into gingerbread

Merge commit '28b93967d0e702304c7edec854a29d5ab88bfce0'

* commit '28b93967d0e702304c7edec854a29d5ab88bfce0':
HTTP Live content that are tagged as complete are now seekable.
8cde59da2dd8540466aff5e94e9a6e5f74df1f10 14-Oct-2010 Andreas Huber <andih@google.com> am 90d59d18: Merge "Metadata.cpp and Metadata.java had drifted out of sync. This change remedies that." into gingerbread

Merge commit '90d59d180bd963f00161e6bfaabfda432960cab6' into gingerbread-plus-aosp

* commit '90d59d180bd963f00161e6bfaabfda432960cab6':
Metadata.cpp and Metadata.java had drifted out of sync. This change remedies that.
2959a5a5b4d151e14da3abe0289c15693409eb84 14-Oct-2010 Andreas Huber <andih@google.com> Metadata.cpp and Metadata.java had drifted out of sync. This change remedies that.

Change-Id: I48175666857ab0fb1519777bdb6f7f0b6b5cc599
related-to-bug: 3073955
ibmedia/Metadata.cpp
0b5181ddfdde400f9cac6db239cf97ced3b67e22 13-Oct-2010 Andreas Huber <andih@google.com> am 5f423917: Merge "Attempt to derive the avg. bitrate of the entire stream from metadata." into gingerbread

Merge commit '5f42391701c0657d520d00f62a4c061b18ba1280' into gingerbread-plus-aosp

* commit '5f42391701c0657d520d00f62a4c061b18ba1280':
Attempt to derive the avg. bitrate of the entire stream from metadata.
a82c3c631a9c0bb721e35d03714715ffe3b0b0c3 13-Oct-2010 Andreas Huber <andih@google.com> Merge "Attempt to derive the avg. bitrate of the entire stream from metadata." into gingerbread
217c81ec709f657bc2817b2083e400946b13e9d8 13-Oct-2010 Andreas Huber <andih@google.com> am 646e0d5a: Merge "Some webcams output rtp streams but never send any rtcp data in violation of the specs. Attempt to use fake timestamps to be able to play these..." into gingerbread

Merge commit '646e0d5ab342f414f556574f2d078bd6deb22ed3' into gingerbread-plus-aosp

* commit '646e0d5ab342f414f556574f2d078bd6deb22ed3':
Some webcams output rtp streams but never send any rtcp data in violation of
11b72e19970f620adfb1aa458b45ff06cec77f10 13-Oct-2010 James Dong <jdong@google.com> Remove hard-coded color format for Nvidia's video encoder

o camera would query the color format if camera source is used
o if camera source is not used, a MetaData can be passed to do the same.

Change-Id: Iff1f802cc4974b286085473e5384bd88e04fa05d
ibstagefright/OMXCodec.cpp
f61551f4fc79e7da879802e3974afa9b03ffb5d0 13-Oct-2010 Andreas Huber <andih@google.com> Some webcams output rtp streams but never send any rtcp data in violation of
the specs. Attempt to use fake timestamps to be able to play these...

Change-Id: Ia7a926616fb764e972955df4acdb59d85cdd93df
related-to-bug: 3087310
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPConnection.h
ibstagefright/rtsp/MyHandler.h
7fbdb0903dfbf70b314a74e64e28fb880cdb9247 13-Oct-2010 Andreas Huber <andih@google.com> Attempt to derive the avg. bitrate of the entire stream from metadata.

related-to-bug: 3093224
Change-Id: I4726b023373e04468cc12fd64f7fe6ee923add95
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
e4edd632d48720b44f7878273f46d192d5703150 13-Oct-2010 Andreas Huber <andih@google.com> am 312644cd: Merge "Support for writing to MPEG2 transport stream files." into gingerbread

Merge commit '312644cdbb39522fe9cac028b15b907ce0e8e0f7' into gingerbread-plus-aosp

* commit '312644cdbb39522fe9cac028b15b907ce0e8e0f7':
Support for writing to MPEG2 transport stream files.
43024e1f4953d9b8891b7b72f10e76f11812e772 13-Oct-2010 Andreas Huber <andih@google.com> am 165c6579: Merge "HTTP Live content that are tagged as complete are now seekable." into gingerbread

Merge commit '165c6579660c22edafb61fee2a0cf39334a2a905' into gingerbread-plus-aosp

* commit '165c6579660c22edafb61fee2a0cf39334a2a905':
HTTP Live content that are tagged as complete are now seekable.
5cb77e080ced5362b5f047e107327b3cb6ece6c9 13-Oct-2010 Andreas Huber <andih@google.com> Merge "Support for writing to MPEG2 transport stream files." into gingerbread
59b7dc39ea8332d3418a599e51447d7edb612ac4 12-Oct-2010 Andreas Huber <andih@google.com> Support for writing to MPEG2 transport stream files.

Change-Id: If3b7a807bc224a4b1cb2236537c3ebdc5aee0d97
ibmedia/mediarecorder.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/MPEG2TSWriter.cpp
bff07d0b22a5ee2d9f044f6cb5e4be1532017ab0 12-Oct-2010 Andreas Huber <andih@google.com> HTTP Live content that are tagged as complete are now seekable.

Change-Id: I9d0d2f009f883e5baf3e9de8c5c0aa05760e4bde
related-to-bug: 2368598
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/httplive/LiveSource.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/include/LiveSource.h
ibstagefright/include/M3UParser.h
ibstagefright/include/MPEG2TSExtractor.h
ibstagefright/include/NuCachedSource2.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
43a2b3b5fd4e15ffed4235f348d5eba168e8432c 12-Oct-2010 Andreas Huber <andih@google.com> am 5b0d0630: am 1010da2e: Merge "Just in case we\'re behind a NAT router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through." into gingerbread

Merge commit '5b0d063010b364102ffb7a533e2b76ecfd9636d5'

* commit '5b0d063010b364102ffb7a533e2b76ecfd9636d5':
Just in case we're behind a NAT router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through.
23d2071ab44d7b5e3b16e8a81e11884faf01092f 11-Oct-2010 Mike Lockwood <lockwood@google.com> MTP: Include size of 12 byte header in packet size for GetObject data packet

Fixes file transfer from device to host with libmtp.

Change-Id: Ifb304c1f106e94b2710ee5c11816b83cf5f25478
Signed-off-by: Mike Lockwood <lockwood@google.com>
tp/MtpServer.cpp
a543d453047fbc09e11c38d1597ae2c71d9a02d9 11-Oct-2010 Andreas Huber <andih@google.com> am 1010da2e: Merge "Just in case we\'re behind a NAT router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through." into gingerbread

Merge commit '1010da2e02216b2f94fbe763a82d53201b340217' into gingerbread-plus-aosp

* commit '1010da2e02216b2f94fbe763a82d53201b340217':
Just in case we're behind a NAT router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through.
2bc940b4f961e588459c83862b2c6bea314a4027 11-Oct-2010 Andreas Huber <andih@google.com> Just in case we're behind a NAT router/firewall, attempt to poke holes into it for future incoming RTP/RTCP packets to pass through.

Change-Id: Idd47968d4027f357222f19f15eecfd70fdec3282
related-to-bug: 3073813
ibstagefright/rtsp/MyHandler.h
250e051e564e3b6f5a88314379d5e145a2b5615f 11-Oct-2010 Andreas Huber <andih@google.com> am cac43e8a: am beffefa2: Merge "RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams." into gingerbread

Merge commit 'cac43e8a2ce59c1151d5a2028330b2a769591d22'

* commit 'cac43e8a2ce59c1151d5a2028330b2a769591d22':
RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams.
e31aa743466972764f9db5a88a713621ff0a29ae 11-Oct-2010 Andreas Huber <andih@google.com> am e0c8545a: am 0fd4e216: Merge "Refactor some more h.264 utility code out into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR." into gingerbread

Merge commit 'e0c8545a2369881fe09582337a9de3db2db1a951'

* commit 'e0c8545a2369881fe09582337a9de3db2db1a951':
Refactor some more h.264 utility code out into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR.
9086ce254ac8769dbe90afd5146fce509a86418f 11-Oct-2010 Andreas Huber <andih@google.com> am 2b4f1f4c: am f72dd019: Merge "Disable 10secs forward/backward seeking for rtsp as seek is a very expensive operation there. Decouple the 10sec forward/backward button functionality from seekbar functionality." into gingerbread

Merge commit '2b4f1f4cb814f7a7df8d2cb9fcb5210bfe7999c7'

* commit '2b4f1f4cb814f7a7df8d2cb9fcb5210bfe7999c7':
Disable 10secs forward/backward seeking for rtsp as seek is a very expensive operation there. Decouple the 10sec forward/backward button functionality from seekbar functionality.
f0dee1c7bb5ed2b90b2207bde7552d0f9ce2c3b1 11-Oct-2010 Andreas Huber <andih@google.com> am 5dcf588a: am b9bf5457: Merge "Respect the cropping rectangle when extracting the video dimensions from the sequence parameter set of H.264 streams." into gingerbread

Merge commit '5dcf588a81a59142985736d8bb0430586f68ec08'

* commit '5dcf588a81a59142985736d8bb0430586f68ec08':
Respect the cropping rectangle when extracting the video dimensions from the sequence parameter set of H.264 streams.
d10091147c620aab1ca8da97a3c55e1644859cb1 11-Oct-2010 James Dong <jdong@google.com> am d31fc239: am 6dcdfdb4: Merge "Name the writer threads" into gingerbread

Merge commit 'd31fc2397a494fc54679ac8fdb52983b60287183'

* commit 'd31fc2397a494fc54679ac8fdb52983b60287183':
Name the writer threads
1c8ef86f2c25272488c171f1469f996ebf335edc 11-Oct-2010 Andreas Huber <andih@google.com> am 14ea1048: am c5912acc: Merge "Disable the access unit timeout temporarily while a seek operation is in progress." into gingerbread

Merge commit '14ea1048e7e8a4b40836b5601bc86b91663525cb'

* commit '14ea1048e7e8a4b40836b5601bc86b91663525cb':
Disable the access unit timeout temporarily while a seek operation is in progress.
2eeadf9ded4b5770a713496e9887d668889987bc 11-Oct-2010 Eric Laurent <elaurent@google.com> am 4f21e517: am b37fcbfd: Merge "Added getter for session Id to AudioSink" into gingerbread

Merge commit '4f21e517d09b9d793d20d64547df330fba705b3c'

* commit '4f21e517d09b9d793d20d64547df330fba705b3c':
Added getter for session Id to AudioSink
0714c8262054cb6a532025feb082b21b502a128b 11-Oct-2010 Andreas Huber <andih@google.com> am d96a068c: am bb245d35: Merge "Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch." into gingerbread

Merge commit 'd96a068cc7b3519a5b7d122a12025684b6f28c76'

* commit 'd96a068cc7b3519a5b7d122a12025684b6f28c76':
Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch.
0e4d896cb9ab813131c45b3b1fcd4cc66d341468 10-Oct-2010 Andreas Huber <andih@google.com> am bb708373: am 949f7d90: Merge "Work to support switching transport streams mid-stream and signalling discontinuities to the decoder." into gingerbread

Merge commit 'bb70837397e3fb437b7b4443b37d7a83c11e6e43'

* commit 'bb70837397e3fb437b7b4443b37d7a83c11e6e43':
Work to support switching transport streams mid-stream and signalling discontinuities to the decoder.
79e0ac144ca9bb771e2c6b1954c882da12a4bea8 10-Oct-2010 Andreas Huber <andih@google.com> am 45bd1159: am 02654f01: Merge "On this particular device the hardware video decoder spits out buffers that don\'t actually contain our video data, so we cannot use them to restore the video frame after suspend/resume." into gingerbread

Merge commit '45bd1159fa34b51ba077e0cde760d171ca092552'

* commit '45bd1159fa34b51ba077e0cde760d171ca092552':
On this particular device the hardware video decoder spits out buffers that don't actually contain our video data, so we cannot use them to restore the video frame after suspend/resume.
2b37ced30f89437c804c3945b901019b86d210ae 09-Oct-2010 James Dong <jdong@google.com> 0-memcpy video recording framework

Part III: Move startRecording() call earlier, asking camera hal
to allocate video buffers before CameraSource.start() is called.

Change-Id: I3f1d7d5636ca2644fe52af61f297d48c6b1ce89d
ibstagefright/CameraSource.cpp
54ff19ac69ace7c05ea90d225e26dab3b133f487 08-Oct-2010 James Dong <jdong@google.com> Move Camera specific logic out from StagefrightRecorder to CameraSource

o updated comments and streamlined the logic in
checkVideoSize() and checkFrameRate() as suggested

Change-Id: I49d04ac7998d4a215997aa63555dfb6e814e38d3
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
b4ff90196e0bff3d80bb922933cd646381c2d1b4 09-Oct-2010 Andreas Huber <andih@google.com> am beffefa2: Merge "RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams." into gingerbread

Merge commit 'beffefa24f398b610d58dd583d9f5613dc529c28' into gingerbread-plus-aosp

* commit 'beffefa24f398b610d58dd583d9f5613dc529c28':
RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams.
0dcd837af4169bdb6fb2a0c384722dc4f57433c6 09-Oct-2010 Andreas Huber <andih@google.com> RTSP seeking is now asynchronous, MediaPlayer is not notified that the seek is complete until it actually is. Ignore seek requests on live streams.

Change-Id: Ie61230cd60dd6c682baf72529100369ad6291189
related-to-bug: 3073955
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/ARTSPController.h
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/MyHandler.h
3ec866c1ea1a9b254bb41383311887b53dc418d4 08-Oct-2010 Andreas Huber <andih@google.com> am 0fd4e216: Merge "Refactor some more h.264 utility code out into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR." into gingerbread

Merge commit '0fd4e216e7d6045528d5d1010f8b5f01581efb10' into gingerbread-plus-aosp

* commit '0fd4e216e7d6045528d5d1010f8b5f01581efb10':
Refactor some more h.264 utility code out into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR.
c68a48c474f609df3eeb7d9738675d6ac8835e0a 08-Oct-2010 Andreas Huber <andih@google.com> Refactor some more h.264 utility code out into avc_utils. Work around a hardware decoder issue by making sure the first access unit submitted to a decoder at startup or after seek is an IDR.

Change-Id: I61936601e55df7e4c23a8c13087579a4f85bd6e6
ibstagefright/avc_utils.cpp
ibstagefright/include/avc_utils.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/APacketSource.h
abc40fd3f7effc025ccad91d05f5d6bb2a4c857c 08-Oct-2010 Andreas Huber <andih@google.com> am f72dd019: Merge "Disable 10secs forward/backward seeking for rtsp as seek is a very expensive operation there. Decouple the 10sec forward/backward button functionality from seekbar functionality." into gingerbread

Merge commit 'f72dd0190ee64914161d361be1213eda8cab7b90' into gingerbread-plus-aosp

* commit 'f72dd0190ee64914161d361be1213eda8cab7b90':
Disable 10secs forward/backward seeking for rtsp as seek is a very expensive operation there. Decouple the 10sec forward/backward button functionality from seekbar functionality.
6f3cba53efdd985ab13734c7ad90eb373ae9b9f7 08-Oct-2010 Andreas Huber <andih@google.com> Merge "Disable 10secs forward/backward seeking for rtsp as seek is a very expensive operation there. Decouple the 10sec forward/backward button functionality from seekbar functionality." into gingerbread
c7e61d5e67a8218d33835a1b5ca0256b30699ae7 08-Oct-2010 Andreas Huber <andih@google.com> am b9bf5457: Merge "Respect the cropping rectangle when extracting the video dimensions from the sequence parameter set of H.264 streams." into gingerbread

Merge commit 'b9bf545774b1f1dbd35c34c4060a6ebdd2bc843c' into gingerbread-plus-aosp

* commit 'b9bf545774b1f1dbd35c34c4060a6ebdd2bc843c':
Respect the cropping rectangle when extracting the video dimensions from the sequence parameter set of H.264 streams.
e6d26450e5a01be5b7f1343578e7237e68db7737 08-Oct-2010 Andreas Huber <andih@google.com> Merge "Respect the cropping rectangle when extracting the video dimensions from the sequence parameter set of H.264 streams." into gingerbread
2d511ff0eb4c6127659795b642825c55879a15bc 08-Oct-2010 Andreas Huber <andih@google.com> Respect the cropping rectangle when extracting the video dimensions from the sequence parameter set of H.264 streams.

Change-Id: Id7f21d5ab8533b4e17ceaa8619a39c27f0306150
ibstagefright/avc_utils.cpp
6a3bc8ca890fae9019c668c9f6262403f0769d44 08-Oct-2010 James Dong <jdong@google.com> am 6dcdfdb4: Merge "Name the writer threads" into gingerbread

Merge commit '6dcdfdb42a562747dceb1e9fb2aa10c67d18959f' into gingerbread-plus-aosp

* commit '6dcdfdb42a562747dceb1e9fb2aa10c67d18959f':
Name the writer threads
a5412b0431a22e52a4cc1623b92eb48fcd4d985c 08-Oct-2010 Andreas Huber <andih@google.com> am c5912acc: Merge "Disable the access unit timeout temporarily while a seek operation is in progress." into gingerbread

Merge commit 'c5912acc04226a8f9377d1aad50de8d3f883854c' into gingerbread-plus-aosp

* commit 'c5912acc04226a8f9377d1aad50de8d3f883854c':
Disable the access unit timeout temporarily while a seek operation is in progress.
70f521de2675ce6eedf4b22beed94ea1289b0f38 08-Oct-2010 Andreas Huber <andih@google.com> Disable 10secs forward/backward seeking for rtsp as seek is a very expensive operation there. Decouple the 10sec forward/backward button functionality from seekbar functionality.

Change-Id: I016e79b688774f8ee91ac53216197b5fb9cb41b2
related-to-bug: 3073955
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/include/ARTSPController.h
cb71fba37c51352d6e980bfe1f3e93ff803d550e 08-Oct-2010 James Dong <jdong@google.com> Merge "Name the writer threads" into gingerbread
80d41229f6207602b298cb3de89af2ee5e776bee 08-Oct-2010 Andreas Huber <andih@google.com> Merge "Disable the access unit timeout temporarily while a seek operation is in progress." into gingerbread
a9d9dd2425c32f6868c35f49a3e8f29aafba931a 08-Oct-2010 Andreas Huber <andih@google.com> Disable the access unit timeout temporarily while a seek operation is in progress.

Change-Id: I116cb76342aae4168f34ebae49ecb2301702a0ea
related-to-bug: 3073955
ibstagefright/rtsp/MyHandler.h
74684081846ee6e68325fa5aba5c45b7447fd368 08-Oct-2010 Eric Laurent <elaurent@google.com> am b37fcbfd: Merge "Added getter for session Id to AudioSink" into gingerbread

Merge commit 'b37fcbfd7f9d65b90b43e0242903030c5a6517b5' into gingerbread-plus-aosp

* commit 'b37fcbfd7f9d65b90b43e0242903030c5a6517b5':
Added getter for session Id to AudioSink
bea16187c176837d35e7294f1f14ac195c5d5cad 08-Oct-2010 Eric Laurent <elaurent@google.com> Merge "Added getter for session Id to AudioSink" into gingerbread
4b43c1f169ab29b2d4dd058573668f7f4ffb8ca1 08-Oct-2010 Andreas Huber <andih@google.com> am bb245d35: Merge "Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch." into gingerbread

Merge commit 'bb245d35b6e81d750a91815543973b0a5976352b' into gingerbread-plus-aosp

* commit 'bb245d35b6e81d750a91815543973b0a5976352b':
Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch.
a6f61fc8e3d06373c17f0a38ff600e2b71c414fa 08-Oct-2010 James Dong <jdong@google.com> Name the writer threads

Change-Id: I51461c3800ac5850e21ff398e80eb20b562264b3
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
8c563ed9ca8a863a66965330b5d14bb4b4ab59d4 08-Oct-2010 Eric Laurent <elaurent@google.com> Added getter for session Id to AudioSink

Added a method to expose the audio session id at AudioSink interface
so that the AudioPlayer in stagefright can retrieve it.

Also:
- Fixed audio effect send level not being initialized in mediaplayer.
- Fixed compilation error when LOGV is enabled in mediaplayer JNI

Change-Id: I4bb55454fd63d646e0e677692d737c4843fb05fb
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
f4ea1f92bc56a8ffceddba0dbd3979fe0219b13c 08-Oct-2010 Andreas Huber <andih@google.com> Increase scratch buffers sizes in mp3 software decoder, this integrates a PV master/opensource patch.

Change-Id: I5a637f1b380e44c94040ec507843d58a1f5a9b61
related-to-bug: 3065605
ibstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_reorder.h
ibstagefright/codecs/mp3dec/src/s_tmp3dec_file.h
da91f0b87bded1e4ebc9cc1a1712c7a0d44fba84 07-Oct-2010 Andreas Huber <andih@google.com> am 949f7d90: Merge "Work to support switching transport streams mid-stream and signalling discontinuities to the decoder." into gingerbread

Merge commit '949f7d9066e09768e570686a5695aaba4a1dafd0' into gingerbread-plus-aosp

* commit '949f7d9066e09768e570686a5695aaba4a1dafd0':
Work to support switching transport streams mid-stream and signalling discontinuities to the decoder.
712a002fa3a507158c9ae3435b843edd3a69d7e8 07-Oct-2010 Andreas Huber <andih@google.com> am 02654f01: Merge "On this particular device the hardware video decoder spits out buffers that don\'t actually contain our video data, so we cannot use them to restore the video frame after suspend/resume." into gingerbread

Merge commit '02654f01bc6bd2e581b4a1d2409ecea217294fa2' into gingerbread-plus-aosp

* commit '02654f01bc6bd2e581b4a1d2409ecea217294fa2':
On this particular device the hardware video decoder spits out buffers that don't actually contain our video data, so we cannot use them to restore the video frame after suspend/resume.
fa6a5d481474ba11517c8d0eb6431595d387b81e 07-Oct-2010 Andreas Huber <andih@google.com> Merge "Some instrumentation of OMXCodec for future investigation and a possibly temporary fix for the green tinge on video playback."
a240812f10335fe4c8677da824293b7e04aad7e9 07-Oct-2010 Andreas Huber <andih@google.com> Some instrumentation of OMXCodec for future investigation and a possibly temporary fix for the green tinge on video playback.

Change-Id: Iee9cd7b0c326bac96382007b4ea077d4368d7d01
related-to-bug: 3051572
ibstagefright/OMXCodec.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
2eb16c2250c57a8009ab58e9aeb1606ab62bbbbc 07-Oct-2010 Andreas Huber <andih@google.com> am 56ee1080: am 17bc4f65: Merge "Make sure to call AudioTrack::stop() instead of AudioTrack::pause() after submitting all samples to AudioTrack to make sure those remaining samples are actually played out." into gingerbread

Merge commit '56ee1080f004110bff622e5b60c243d9cabfe120'

* commit '56ee1080f004110bff622e5b60c243d9cabfe120':
Make sure to call AudioTrack::stop() instead of AudioTrack::pause() after submitting all samples to AudioTrack to make sure those remaining samples are actually played out.
2a4d22d79e927f2245537921e10fc5fda1c47a29 08-Sep-2010 Andreas Huber <andih@google.com> Work to support switching transport streams mid-stream and signalling discontinuities to the decoder.

Change-Id: I7150e5e7342e1117c524856b204aadcb763e06ed
related-to-bug: 2368598
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/httplive/LiveSource.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/LiveSource.h
ibstagefright/include/M3UParser.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
2b82e9652ba049e754c2cc74e381282f231d5fbf 07-Oct-2010 Andreas Huber <andih@google.com> On this particular device the hardware video decoder spits out buffers that don't actually contain our video data, so we cannot use them to restore the video frame after suspend/resume.

Change-Id: I1b8fe68c1766299844fe84ebbff49cb8b3e4cc7c
related-to-bug: 3070094
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
eba2d0611923ad75c3b894ebe5ce3d5fc7f6a946 07-Oct-2010 James Dong <jdong@google.com> am a86a6c4e: am 6f1c7bda: Merge "Fixed an issue where the reserved free space in the file writer was larger than intended" into gingerbread

Merge commit 'a86a6c4e326bfdfc351dacca95b23bb78f78efbe'

* commit 'a86a6c4e326bfdfc351dacca95b23bb78f78efbe':
Fixed an issue where the reserved free space in the file writer was larger than intended
8805043df9bba6206839b3a754f2bca4f62a1721 06-Oct-2010 James Dong <jdong@google.com> Merge "Use setVideoSize API in StagefrightRecorder"
185a9a54fb29d3d691c6ec16a7403af194a023b9 06-Oct-2010 James Dong <jdong@google.com> am 6a02ba01: am b99f0c7e: Merge "Resilent media time stamp adjustment" into gingerbread

Merge commit '6a02ba0100e030e0b8bf2b6f195eabac1f1812db'

* commit '6a02ba0100e030e0b8bf2b6f195eabac1f1812db':
Resilent media time stamp adjustment
a782d22f3eacd337c135feb12362934fc0adb6ca 05-Oct-2010 Andreas Huber <andih@google.com> am 17bc4f65: Merge "Make sure to call AudioTrack::stop() instead of AudioTrack::pause() after submitting all samples to AudioTrack to make sure those remaining samples are actually played out." into gingerbread

Merge commit '17bc4f65324a823598e7671256c815bf32ddcc95' into gingerbread-plus-aosp

* commit '17bc4f65324a823598e7671256c815bf32ddcc95':
Make sure to call AudioTrack::stop() instead of AudioTrack::pause() after submitting all samples to AudioTrack to make sure those remaining samples are actually played out.
b2e3954c94717e43b3dc9b880564f166cfbbc0a2 05-Oct-2010 Andreas Huber <andih@google.com> Make sure to call AudioTrack::stop() instead of AudioTrack::pause() after submitting all samples to AudioTrack to make sure those remaining samples are actually played out.

Change-Id: Id574a0203efcb5e565f1b0fe77869fc33b9a9d56
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
11e69dea99ca2ace7bf8eb56ce6f6528fc906813 05-Oct-2010 James Dong <jdong@google.com> am 6f1c7bda: Merge "Fixed an issue where the reserved free space in the file writer was larger than intended" into gingerbread

Merge commit '6f1c7bda39774fe3a1febf72b03c8ad481c1ea54' into gingerbread-plus-aosp

* commit '6f1c7bda39774fe3a1febf72b03c8ad481c1ea54':
Fixed an issue where the reserved free space in the file writer was larger than intended
a007e8229fb2be4866c483f9cd6c4af238a2da5e 05-Oct-2010 James Dong <jdong@google.com> Fixed an issue where the reserved free space in the file writer was larger than intended

The problem was that even though user does not explicitly request the max file size
limit via MediaRecorder.setMaxFileSize(), the file writer sets an implicit file
size limit if 32-bit file offset is used on user's behalf. The reserved free space
is estimated based on the file size, if the file size limit is set by the user.

The fix is to add an extra bool to tell the difference between an
explit requested file size and an implicit file limit and use that
to set the estimated moov box size accordingly.

Change-Id: I731aca6c7833aa764ed7b905edb77721577471b3
ibstagefright/MPEG4Writer.cpp
deed343476e45165ed176c036c8f77b170bacfeb 05-Oct-2010 James Dong <jdong@google.com> am b99f0c7e: Merge "Resilent media time stamp adjustment" into gingerbread

Merge commit 'b99f0c7eae365f788a21944fef28de580c7f5f92' into gingerbread-plus-aosp

* commit 'b99f0c7eae365f788a21944fef28de580c7f5f92':
Resilent media time stamp adjustment
3754a7901b6bed448eaecfbd29a4705b30a6b656 05-Oct-2010 James Dong <jdong@google.com> Merge "Resilent media time stamp adjustment" into gingerbread
872a481558350634a3fd5cb67939de288af00ecb 03-Oct-2010 James Dong <jdong@google.com> Resilent media time stamp adjustment

Change-Id: I13ab87c05f26bb11a3cc9bf8559f98e6ea0752db
ibstagefright/MPEG4Writer.cpp
5f4d93467a03b3a38320416f8cc2c2c2c94bf3fc 04-Oct-2010 James Dong <jdong@google.com> Use setVideoSize API in StagefrightRecorder

Change-Id: Ia7ddf5e8d2b931453d2cb801169906191349ca07
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
05425bc043f6dc45cc093065d5270b70100681b5 04-Oct-2010 Andreas Huber <andih@google.com> am dfd03fe9: am aa1a694d: Merge "Make sure to finish the preparation phase even EOS occurs before we consider the cache to be completely filled up." into gingerbread

Merge commit 'dfd03fe99336792b6dae6c4c9fd5f5ba157e054c'

* commit 'dfd03fe99336792b6dae6c4c9fd5f5ba157e054c':
Make sure to finish the preparation phase even EOS occurs before we consider the cache to be completely filled up.
8b62c6ae868e01f4c5783566fe2fa20408b61caf 04-Oct-2010 Andreas Huber <andih@google.com> am aa1a694d: Merge "Make sure to finish the preparation phase even EOS occurs before we consider the cache to be completely filled up." into gingerbread

Merge commit 'aa1a694dc78e5201fc83fe3d710a6e43eb62831a' into gingerbread-plus-aosp

* commit 'aa1a694dc78e5201fc83fe3d710a6e43eb62831a':
Make sure to finish the preparation phase even EOS occurs before we consider the cache to be completely filled up.
83977eb230d829cfe520f55d7977037a904ce548 04-Oct-2010 Andreas Huber <andih@google.com> Make sure to finish the preparation phase even EOS occurs before we consider the cache to be completely filled up.

Change-Id: I29143e357fb6ea7b860636100e010f2ea7436798
related-to-bug: 3037389
ibstagefright/AwesomePlayer.cpp
0074d69add482a351b4e0004d62b1cb8ed475505 04-Oct-2010 Andreas Huber <andih@google.com> am bb506dab: am 7fa69374: Merge "Don\'t retrieve metadata unless necessary for ogg-vorbis ringtone auto-looping." into gingerbread

Merge commit 'bb506dab1ff10e6939fcd0457571e0b46793dd80'

* commit 'bb506dab1ff10e6939fcd0457571e0b46793dd80':
Don't retrieve metadata unless necessary for ogg-vorbis ringtone auto-looping.
66e3c30dc6c6e46bd56cb3dcd9fbd732c517a887 04-Oct-2010 Andreas Huber <andih@google.com> am 7fa69374: Merge "Don\'t retrieve metadata unless necessary for ogg-vorbis ringtone auto-looping." into gingerbread

Merge commit '7fa693740756123fa9d05e62fb47aae5d703c71d' into gingerbread-plus-aosp

* commit '7fa693740756123fa9d05e62fb47aae5d703c71d':
Don't retrieve metadata unless necessary for ogg-vorbis ringtone auto-looping.
6954535ba64374e4e941cd83019a7af53edfb098 04-Oct-2010 Andreas Huber <andih@google.com> Don't retrieve metadata unless necessary for ogg-vorbis ringtone auto-looping.

Change-Id: Iaf5880bb3376f9cbf22aefe198878eaf6f3f08c7
related-to-bug: 3037389
ibstagefright/AwesomePlayer.cpp
c2945f514a66ac3ec2972f8d9dbb6219bb8f243a 02-Oct-2010 James Dong <jdong@google.com> am 2bf74b8f: am 6c609b6a: Merge "Turn off media time adjustment by default" into gingerbread

Merge commit '2bf74b8f0ad59b1379534e760a356adeb3673fd2'

* commit '2bf74b8f0ad59b1379534e760a356adeb3673fd2':
Turn off media time adjustment by default
97b4b6461f61f14f19cee147531de619816b11a7 02-Oct-2010 James Dong <jdong@google.com> am 6c609b6a: Merge "Turn off media time adjustment by default" into gingerbread

Merge commit '6c609b6a60e533a93c6d0088222bd8da209b9953' into gingerbread-plus-aosp

* commit '6c609b6a60e533a93c6d0088222bd8da209b9953':
Turn off media time adjustment by default
1fd01cbce6edb54334579f89e49a679207204619 02-Oct-2010 James Dong <jdong@google.com> Merge "Turn off media time adjustment by default" into gingerbread
d0ea545d8357e7d86ad5f19cb2c6499c91786473 02-Oct-2010 James Dong <jdong@google.com> Turn off media time adjustment by default

Change-Id: I1f8021d605d0fd896e0639607a84e3f7c459612e
ibstagefright/MPEG4Writer.cpp
01c048aad73aec73f03cc79538839b08b8c1d1c7 01-Oct-2010 Andreas Huber <andih@google.com> am 57853559: am e619a9da: Merge "Start playing live streams from the start, no the middle..." into gingerbread

Merge commit '57853559c31154db9c202d653065c592169c5027'

* commit '57853559c31154db9c202d653065c592169c5027':
Start playing live streams from the start, no the middle...
555e9dc7439d89846f4d76046d45b628e2d7499e 01-Oct-2010 Andreas Huber <andih@google.com> am e619a9da: Merge "Start playing live streams from the start, no the middle..." into gingerbread

Merge commit 'e619a9da44e4c00f9034917aef67f86da0bc207f' into gingerbread-plus-aosp

* commit 'e619a9da44e4c00f9034917aef67f86da0bc207f':
Start playing live streams from the start, no the middle...
a49c0d09653da20a7194d96fa43b230b2580ba75 01-Oct-2010 Andreas Huber <andih@google.com> Merge "Start playing live streams from the start, no the middle..." into gingerbread
fa1dc774ac8b929666519c57560bf2ce6d422e0f 01-Oct-2010 Andreas Huber <andih@google.com> am d6d5cfb9: am 469b8033: Merge "Remove development-only code." into gingerbread

Merge commit 'd6d5cfb91469d4f060db7cfccfd883903ce95f16'

* commit 'd6d5cfb91469d4f060db7cfccfd883903ce95f16':
Remove development-only code.
6466853f05e3f3b050de210490cc0fc855e60bb7 01-Oct-2010 Andreas Huber <andih@google.com> Start playing live streams from the start, no the middle...

Change-Id: Ie01ba1250b51155cb1fb32fc3340189a16c01476
related-to-bug: 2368598
ibstagefright/httplive/LiveSource.cpp
c0c726a34f2a35623e0451315d86bead0dcc8f2e 01-Oct-2010 Andreas Huber <andih@google.com> am 469b8033: Merge "Remove development-only code." into gingerbread

Merge commit '469b80336368bef3742e97c15e9017c1f2d404ae' into gingerbread-plus-aosp

* commit '469b80336368bef3742e97c15e9017c1f2d404ae':
Remove development-only code.
969247b7ab387743035dece47356678c8aec2ac4 01-Oct-2010 Andreas Huber <andih@google.com> am 14401bf7: am d1398db3: Merge "Squashed commit of the following:" into gingerbread

Merge commit '14401bf7bca34c692f248406c78bd8b49783217a'

* commit '14401bf7bca34c692f248406c78bd8b49783217a':
Squashed commit of the following:
caf5a483b16c2d123eddcf28241ad71131568033 01-Oct-2010 Andreas Huber <andih@google.com> Remove development-only code.

Change-Id: Ic2ca0efb631eb779ca157fb01b02aa19a1222c06
related-to-bug: 2368598
ibstagefright/AwesomePlayer.cpp
32d34824b2bad653ec5e9ef767e50f13a8c182d7 01-Oct-2010 Andreas Huber <andih@google.com> am d1398db3: Merge "Squashed commit of the following:" into gingerbread

Merge commit 'd1398db35cb2e4d918fc631dda35cacb8540b187' into gingerbread-plus-aosp

* commit 'd1398db35cb2e4d918fc631dda35cacb8540b187':
Squashed commit of the following:
6a63a939601645404fd98f58c19cc38ca818d99e 01-Oct-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 46744c7697f29aec71aed8de3c95ce035c284d97
Author: Andreas Huber <andih@google.com>
Date: Thu Sep 30 16:44:57 2010 -0700

better separation of access units

Change-Id: I5a9e2138aed341f0bcf22cfe368a15ca5ea5a73c

commit d34952ac0feb1ae722ff65824d7353335502219b
Author: Andreas Huber <andih@google.com>
Date: Thu Sep 30 15:35:01 2010 -0700

Support for ES packets that do not start on PES packet boundaries.

Change-Id: I2cf012833948eddfb20b16a1901206cf22ce71e4
related-to-bug: 2368598

Change-Id: Ib9329bd6bb7149b5a6e2483788a96b1b158952fc
ibstagefright/AwesomePlayer.cpp
ibstagefright/avc_utils.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/include/avc_utils.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/Android.mk
ibstagefright/mpeg2ts/ESQueue.cpp
ibstagefright/mpeg2ts/ESQueue.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
9ad6e8bd9fab860e639f6ce95479e4b2a9b03ff5 01-Oct-2010 Eric Laurent <elaurent@google.com> am de12c3cf: am 220ab887: Merge "Issue 3032913: improve AudioTrack recovery time" into gingerbread

Merge commit 'de12c3cf56e3f27b2efc60eeae8b5e422747f2b9'

* commit 'de12c3cf56e3f27b2efc60eeae8b5e422747f2b9':
Issue 3032913: improve AudioTrack recovery time
b3788b6d0f5a003d3d3e621ad605e2f3f4cb11e8 01-Oct-2010 Eric Laurent <elaurent@google.com> am 220ab887: Merge "Issue 3032913: improve AudioTrack recovery time" into gingerbread

Merge commit '220ab8877b234e6807b7f6d9028ba55d23220301' into gingerbread-plus-aosp

* commit '220ab8877b234e6807b7f6d9028ba55d23220301':
Issue 3032913: improve AudioTrack recovery time
44d9848d6656777a18019223e0d35f2fcc67719a 01-Oct-2010 Eric Laurent <elaurent@google.com> Issue 3032913: improve AudioTrack recovery time

This issue showed that when an AudioTrack underruns during a too long period
of time and is therefore disabled by audioflinger mixer, it takes an additional
delay of up to 3 seconds to recover.
This fix adds a simple mechanism to recover immediately when the client application
is ready to write data again in the AudioTrack buffer

Also throttle warnings on record overflows

Change-Id: I8b2c71578dd134b9e60a15ee4d91b70f3799cb3d
ibmedia/AudioTrack.cpp
02d615bcb70a1bfe26dd5e3d719d621ee5c4ed87 29-Sep-2010 Chia-chi Yeh <chiachi@android.com> am 10b15c08: am d6877fa4: Merge "AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead." into gingerbread

Merge commit '10b15c08bb8ffb1fddeac2e79c882a23ffe7a3de'

* commit '10b15c08bb8ffb1fddeac2e79c882a23ffe7a3de':
AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead.
1720ba0dd73f807cd9b6d90ffbfa581e18b6de08 29-Sep-2010 Chia-chi Yeh <chiachi@android.com> am d6877fa4: Merge "AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead." into gingerbread

Merge commit 'd6877fa4971710150de20453bf4ba54dca863429' into gingerbread-plus-aosp

* commit 'd6877fa4971710150de20453bf4ba54dca863429':
AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead.
922855214d0e8ae4159794d7f751f780b3243552 29-Sep-2010 Chia-chi Yeh <chiachi@android.com> Merge "AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead." into gingerbread
88cfb59fde78a07ac8797008cf79b22193e983d9 29-Sep-2010 Chia-chi Yeh <chiachi@android.com> AMRNB: use Frame_Type_3GPP defined in frame_type_3gpp.h instead.

This allows gsmamr_enc.h and gsmamr_dec.h to be included in the same
file without conflict definition.

Change-Id: I1c8dac235c122735ba14a1af2fda48c0f8d9f87b
ibstagefright/codecs/amrnb/common/include/frame_type_3gpp.h
ibstagefright/codecs/amrnb/dec/src/gsmamr_dec.h
ibstagefright/codecs/amrnb/enc/src/gsmamr_enc.h
9e2e2d2bc86372bde4673c31ef416b2f29d87ac2 29-Sep-2010 Eric Laurent <elaurent@google.com> am b047e3cd: am aeb2c62e: Merge "Fix several audio effects problems." into gingerbread

Merge commit 'b047e3cdf24b32e26f366fcd4cd0eee8ae6c592c'

* commit 'b047e3cdf24b32e26f366fcd4cd0eee8ae6c592c':
Fix several audio effects problems.
b91d92d7147c10dd19987706d30dea011ff459af 29-Sep-2010 Andreas Huber <andih@google.com> am 387bdcda: am 88a995ed: Merge "Properly flush the AudioTrack/AudioSink on a seek request and make sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content." into gingerbread

Merge commit '387bdcdadc312c8e9f702da164bd8bd53cbd92fd'

* commit '387bdcdadc312c8e9f702da164bd8bd53cbd92fd':
Properly flush the AudioTrack/AudioSink on a seek request and make sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content.
307e7f5295fefe8e21113dabebf434cac0d71e6d 29-Sep-2010 Eric Laurent <elaurent@google.com> am aeb2c62e: Merge "Fix several audio effects problems." into gingerbread

Merge commit 'aeb2c62e7669f004512c42ad8572d1fdd2c25f68' into gingerbread-plus-aosp

* commit 'aeb2c62e7669f004512c42ad8572d1fdd2c25f68':
Fix several audio effects problems.
dac69110ed1073bf0a9827a3f78698896dd05d97 28-Sep-2010 Eric Laurent <elaurent@google.com> Fix several audio effects problems.

Fixed the following issues in LVM effect bundle wrapper:
- memory leaks in EffectCreate() in case effect creation fails at various stages
- Added saturation when accumulating to output buffer
- Fixed problems with enabled effects count when an effect is released while enabled
- Do not allocate temporary buffer for accumulation each time process() is called

Fixed the following issues in effects framework (AudioFlinger)
- Release effect synchronously in the library when deleted from effect chain
- Do not call the effect process function if no tracks are present in the same
audio session

Change-Id: Ifbd80a163415cfb3c0a337c12082853ea45d9c91
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
fb9b87b6c22d940e5e7cb4b5e7cfae99015a0131 28-Sep-2010 Andreas Huber <andih@google.com> am d6c30e8c: am be045061: Merge "Instead of constantly polling the AudioPlayer to see if it reached EOS or finished seeking, initiate the notification from the AudioPlayer when the event happens." into gingerbread

Merge commit 'd6c30e8c1521bc584f33500b8ee897dafdfec023'

* commit 'd6c30e8c1521bc584f33500b8ee897dafdfec023':
Instead of constantly polling the AudioPlayer to see if it reached EOS or finished seeking, initiate the notification from the AudioPlayer when the event happens.
8267b65adcfd944c3f465425183ad7f38b0999e5 28-Sep-2010 Andreas Huber <andih@google.com> am c889bbfa: am 4769f579: Merge "Vorbis files may have more samples encoded that should be used, i.e. we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files." into gingerbread

Merge commit 'c889bbfa965f4ba90636f561c5e1353289d4cb06'

* commit 'c889bbfa965f4ba90636f561c5e1353289d4cb06':
Vorbis files may have more samples encoded that should be used, i.e. we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files.
b8b92e517c4168a96f4d29d35cba7a87f0913c87 28-Sep-2010 Andreas Huber <andih@google.com> am 9d591860: am 3a9cc8ce: Merge "Squashed commit of the following:" into gingerbread

Merge commit '9d59186068891834272c2e3ee6f9c4228af24656'

* commit '9d59186068891834272c2e3ee6f9c4228af24656':
Squashed commit of the following:
f4d14086206af57fa2d0144e94124fa73be84968 28-Sep-2010 Andreas Huber <andih@google.com> am 88a995ed: Merge "Properly flush the AudioTrack/AudioSink on a seek request and make sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content." into gingerbread

Merge commit '88a995edcf3c371845cb32aed8bcddb7509bf875' into gingerbread-plus-aosp

* commit '88a995edcf3c371845cb32aed8bcddb7509bf875':
Properly flush the AudioTrack/AudioSink on a seek request and make sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content.
036fad5034d05beecae19da6da46e1ce7be78e64 28-Sep-2010 Andreas Huber <andih@google.com> Merge "Properly flush the AudioTrack/AudioSink on a seek request and make sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content." into gingerbread
51be6db7d0e802b3f5d067e39e543ae4f09ed01c 28-Sep-2010 Dave Sparks <davidsparks@android.com> am 7dff9dfd: am 269dea1c: Merge "Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669. The dump function whitelists several directories as filters to the output. The mount point changed for SD card in Froyo, and we started filtering files that w

Merge commit '7dff9dfd6176fad1318a27f16318561453a429f0'

* commit '7dff9dfd6176fad1318a27f16318561453a429f0':
Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669.
c7d368d990303dc5369c7c61579f88c5059dc8d7 28-Sep-2010 Andreas Huber <andih@google.com> Properly flush the AudioTrack/AudioSink on a seek request and make sure that both the mp3 decoder and aac software decoders start fresh after a seek without any dependency on previously decoded content.

Change-Id: I4909fdf19518dbabb6c340e2a31b50dfe6c5b067
related-to-bug: 3029947
ibstagefright/AudioPlayer.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
10d64915079bfb316a3949fe7fa35dca37a92af4 28-Sep-2010 Andreas Huber <andih@google.com> am be045061: Merge "Instead of constantly polling the AudioPlayer to see if it reached EOS or finished seeking, initiate the notification from the AudioPlayer when the event happens." into gingerbread

Merge commit 'be0450619528e65eebfa1d7eab78fde757d094cc' into gingerbread-plus-aosp

* commit 'be0450619528e65eebfa1d7eab78fde757d094cc':
Instead of constantly polling the AudioPlayer to see if it reached EOS or finished seeking, initiate the notification from the AudioPlayer when the event happens.
6fd2b44b156c4ef28e131183f0fe8f7dcecfcc6e 28-Sep-2010 Andreas Huber <andih@google.com> Merge "Instead of constantly polling the AudioPlayer to see if it reached EOS or finished seeking, initiate the notification from the AudioPlayer when the event happens." into gingerbread
ed54ad0f8619ae416b0968ade6248894cbfc4dba 28-Sep-2010 Andreas Huber <andih@google.com> Instead of constantly polling the AudioPlayer to see if it reached EOS or finished seeking, initiate the notification from the AudioPlayer when the event happens.

Change-Id: I43875b6adaf96d4e982ef3dfc3d6c8f7034ac51d
related-to-bug: 3036592
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
668549b81b97fe706d15d5f6d4b767f63796e022 28-Sep-2010 Andreas Huber <andih@google.com> am 4769f579: Merge "Vorbis files may have more samples encoded that should be used, i.e. we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files." into gingerbread

Merge commit '4769f57948455277d0670ef18f64824ca5d894c1' into gingerbread-plus-aosp

* commit '4769f57948455277d0670ef18f64824ca5d894c1':
Vorbis files may have more samples encoded that should be used, i.e. we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files.
8211da9eabe28037ebcc23bbfbbe20cb21cb0cdc 28-Sep-2010 Andreas Huber <andih@google.com> Merge "Vorbis files may have more samples encoded that should be used, i.e. we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files." into gingerbread
cdcd43b47c881aa34b3a6c396e91d0c1b4f3674a 28-Sep-2010 Andreas Huber <andih@google.com> am 3a9cc8ce: Merge "Squashed commit of the following:" into gingerbread

Merge commit '3a9cc8cef49165d6b1a1eb37b15a0ae21b0042f7' into gingerbread-plus-aosp

* commit '3a9cc8cef49165d6b1a1eb37b15a0ae21b0042f7':
Squashed commit of the following:
640d660f03b2dd52969ebcdf57d1d4b371581781 28-Sep-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:" into gingerbread
db6222212528637d8f2afa7f49fc3c8c915bafbe 28-Sep-2010 Andreas Huber <andih@google.com> Vorbis files may have more samples encoded that should be used, i.e. we have to trim samples at the end of the stream. This is crucial for proper looping of some audio files.

related-to-bug: 3036592
Change-Id: Ib142b171c829ed74156c0281d9d4543fcc96c802
ibstagefright/OggExtractor.cpp
ibstagefright/codecs/vorbis/dec/VorbisDecoder.cpp
ibstagefright/include/VorbisDecoder.h
2658b3f8736a378ad5956aefed069387808d8cd3 28-Sep-2010 Dave Sparks <davidsparks@android.com> am 269dea1c: Merge "Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669. The dump function whitelists several directories as filters to the output. The mount point changed for SD card in Froyo, and we started filtering files that were open on t

Merge commit '269dea1c48640ec2bf5a4e9de851cac2dbfbafd1' into gingerbread-plus-aosp

* commit '269dea1c48640ec2bf5a4e9de851cac2dbfbafd1':
Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669.
3a2f37f40cfceb181ee61ae53a7d6954ce9717cd 28-Sep-2010 Mike Lockwood <lockwood@android.com> MtpCursor: Fix long to int truncation bug

BUG: 2978335

Change-Id: I2491a2ce3b65afa272540090cabace52067b8534
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpCursor.cpp
tp/MtpCursor.h
02fa834249a01144d6f23137951538600aa5d611 28-Sep-2010 Dave Sparks <davidsparks@android.com> Fix media.player dumpsys to output open/mapped files correctly. Bug 2866669.
The dump function whitelists several directories as filters to the output.
The mount point changed for SD card in Froyo, and we started filtering files
that were open on the SD card. This fix changes the filter for the SD card,
and adds the directory for data files as well.

Change-Id: I61b67c3d11d93dbd530e8b3566000e79bc037137
ibmediaplayerservice/MediaPlayerService.cpp
0da4dab0a45a2bc1d95cbc6ef6a4850ed2569584 27-Sep-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 29a4d3effb05a2e074cb0693316ab1977baeb0b6
Author: Andreas Huber <andih@google.com>
Date: Mon Sep 27 12:01:32 2010 -0700

Fully working implementation of MPEG2TSWriter (for AAC and AVC sources).

Change-Id: I8a32a47565b647bf6c078c520e39565e08ea0d84

commit f4dec4c3899f3be393508e180d6c07e249d3335e
Author: Andreas Huber <andih@google.com>
Date: Mon Sep 27 10:36:31 2010 -0700

More reliable identification of MPEG2 transport streams. Don't keep scanning forever in case the stream does not have both audio and video tracks.

Change-Id: Icc5b4e8be145b2805e8776559546a6818342aea7

commit 4fe3cc942f9b3d3cf54138b828c41214aa916dd2
Author: Andreas Huber <andih@google.com>
Date: Mon Sep 27 08:23:39 2010 -0700

test code

Change-Id: I16560a17661407d06497f99ff88230724bb898af

commit 64d988b24f49f179a90fa677be11c823959e734b
Author: Andreas Huber <andih@google.com>
Date: Thu Sep 23 14:42:52 2010 -0700

First shot at supporting writing to an MPEG2 transport stream.

Change-Id: Ie537939a99fa3ddc0c7661c47c18277584817c74

Change-Id: If78fd034af8f6e8ceac8dbeff96d5ecb3f6b96dc
ibstagefright/Android.mk
ibstagefright/MPEG2TSWriter.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
c0540f0bfd5cc0a67e96855496918c9cd212f1ea 27-Sep-2010 James Dong <jdong@google.com> am a9f17c8b: am bf47092e: Merge "Fix track duration calculation if the start timestamp is non-zero" into gingerbread

Merge commit 'a9f17c8b424b505b50fdfb920cab37c32cbe628d'

* commit 'a9f17c8b424b505b50fdfb920cab37c32cbe628d':
Fix track duration calculation if the start timestamp is non-zero
eb4caf47783c4c06042b9bbe5d1526e8e859a8be 27-Sep-2010 James Dong <jdong@google.com> am bf47092e: Merge "Fix track duration calculation if the start timestamp is non-zero" into gingerbread

Merge commit 'bf47092e1e76224474745b6919febd3aa9df5bcf' into gingerbread-plus-aosp

* commit 'bf47092e1e76224474745b6919febd3aa9df5bcf':
Fix track duration calculation if the start timestamp is non-zero
e2dc4aa0578dea9ab8c13ea4b69b7e6d0d1711d8 27-Sep-2010 James Dong <jdong@google.com> Merge "Fix track duration calculation if the start timestamp is non-zero" into gingerbread
8428af5381e835cc783b7ecb0d71cb60961c99c2 24-Sep-2010 James Dong <jdong@google.com> Fix track duration calculation if the start timestamp is non-zero

o Updated the comments in the patch
o Added some additional checks on the timestamp

Change-Id: I8ad81eb6bfe358c1db5245cbb52efc905cdc234c
ibstagefright/MPEG4Writer.cpp
703f59f1c935c264dc11567d3d5183c76cc370ba 27-Sep-2010 Andreas Huber <andih@google.com> am fa5c8fc4: am abaabb2c: Merge "Support other kinds of HTTP redirect in NuHTTPDataSource" into gingerbread

Merge commit 'fa5c8fc4a48fab5c5c612bd4eed6ea9c568f6afc'

* commit 'fa5c8fc4a48fab5c5c612bd4eed6ea9c568f6afc':
Support other kinds of HTTP redirect in NuHTTPDataSource
bcce675910251fcfd2467ffe0784bc2858b3b85a 27-Sep-2010 Andreas Huber <andih@google.com> am abaabb2c: Merge "Support other kinds of HTTP redirect in NuHTTPDataSource" into gingerbread

Merge commit 'abaabb2c7994e5a5026c2e2bd860d7f21eed0451' into gingerbread-plus-aosp

* commit 'abaabb2c7994e5a5026c2e2bd860d7f21eed0451':
Support other kinds of HTTP redirect in NuHTTPDataSource
676570f3c6b41e8b854cb31e8ceaa370980eb6fc 27-Sep-2010 Andreas Huber <andih@google.com> Merge "Support other kinds of HTTP redirect in NuHTTPDataSource" into gingerbread
7539a0594204c3436571bacabe50a14c78dedf5f 27-Sep-2010 Andreas Huber <andih@google.com> Support other kinds of HTTP redirect in NuHTTPDataSource

Change-Id: I3268a94cfb48cee9caa8914804d7907ff91d8a8e
related-to-bug: 3037686
ibstagefright/NuHTTPDataSource.cpp
c425ffbfdca80c663b16a875228c15a1147a75f4 27-Sep-2010 Eric Laurent <elaurent@google.com> am 1b37df95: am 9627847d: Merge "Fix error in AudioEffect command status reporting." into gingerbread

Merge commit '1b37df95ec9d03aaa5f4055c6cd86db42f9c9727'

* commit '1b37df95ec9d03aaa5f4055c6cd86db42f9c9727':
Fix error in AudioEffect command status reporting.
da4b9bdd4682fb3a20964908cb18d02c943b7f35 27-Sep-2010 Eric Laurent <elaurent@google.com> am 9627847d: Merge "Fix error in AudioEffect command status reporting." into gingerbread

Merge commit '9627847d588cd969f60dcc79d165209184a90069' into gingerbread-plus-aosp

* commit '9627847d588cd969f60dcc79d165209184a90069':
Fix error in AudioEffect command status reporting.
be92346b66d396830b30f535bc4b8a545b8c0009 26-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Fix some warnings

Change-Id: I1302cacd1df885c770332cecaaea9f7c8ab97b88
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpObjectInfo.cpp
dde372033b4da75ebde7ea2afdec1c1b86ab5a42 26-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Include current property value in GetDevicePropDesc

Change-Id: I05125c79ad58b6f75734fcedcc8af9b689fa9ff3
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpProperty.cpp
tp/MtpProperty.h
tp/MtpStringBuffer.cpp
tp/MtpStringBuffer.h
tp/MtpTypes.h
7cee5d3c3673d9a325d8096eea0ba48258fc656c 25-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Fix reading and writing device property descriptors

Change-Id: I8d9653ceedfed688addd6c4194c097d7090c3468
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpProperty.cpp
0fa449cc475580d995e9d56756c3da5507d2b6f6 24-Sep-2010 Eric Laurent <elaurent@google.com> Fix error in AudioEffect command status reporting.

AudioEffect::command() should not interpret the status
returned in pReplyData unless the command is ENABLE or
DISABLE.

Also fixed:
- bug in Visualizer::getWAveForm() status reporting.
- wrong initialization value for capture buffer in visualizer engine.

Change-Id: I60fb0011f9dba96ee74661dec1e8ef441edcaf35
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
ibmedia/Visualizer.cpp
74aa142af3eefd53e676b0a57e6032c9340f561e 24-Sep-2010 James Dong <jdong@google.com> Merge "Added two more video encoders"
9f25277389e0be7818830b72cc32cca7f0db825f 24-Sep-2010 Mike Lockwood <lockwood@android.com> Merge changes Ie8bd9107,I1065179a

* changes:
MTP: Reenable GetObjectPropValue and SetObjectPropValue
MTP: Minor debug output cleanup
677f5700c5ea35256079ef14e06b7382e438d860 24-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Reenable GetObjectPropValue and SetObjectPropValue

Windows no longer chokes now that we implement the minimum set of properties

BUG: 2869730

Change-Id: Ie8bd9107610b9b38f060ad8a2f05334a3b4aff9b
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
a881b44cc7e18bdfa03251bc65b7d0903a1b1efc 24-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Minor debug output cleanup

Change-Id: I1065179aa64f43c7d8067ccda249319a016840ab
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
fdcf11233dbd42612ee7d740a52c5f91b0243be0 24-Sep-2010 Mike Lockwood <lockwood@android.com> Merge changes I75c4c7dc,Ie9f3dea3

* changes:
MTP: List all the formats we support in addition to FORMAT_UNDEFINED
MTP: Fix problems with signed ints in MtpCursor.cpp
4620df7b92a85074a2fcdca3fc6f3a3d432bffb8 23-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Fix problems with signed ints in MtpCursor.cpp

BUG: 2978335

Change-Id: Ie9f3dea3b88b00a555e1ca3232f196e83ee7a6da
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpCursor.cpp
tp/MtpCursor.h
6d59aa4bb8e9734a9197290a027356e88552f59a 24-Sep-2010 James Dong <jdong@google.com> Added two more video encoders

Change-Id: Ia426da5bfc255974d7bbf3915a473543e0841dc9
ibstagefright/OMXCodec.cpp
0597872f3ff7cc3c8549c26483158c22c3d09126 23-Sep-2010 Andreas Huber <andih@google.com> am 13770dcc: am 7b2ed5d7: Merge "Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data \'avcC\' accordingly." into gingerbread

Merge commit '13770dcce2cc1b4268ba092b59bc5a4c049f3a33'

* commit '13770dcce2cc1b4268ba092b59bc5a4c049f3a33':
Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly.
7504187b46abb91df54539c569840b4c3f0ae1ce 23-Sep-2010 Andreas Huber <andih@google.com> am 7b2ed5d7: Merge "Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data \'avcC\' accordingly." into gingerbread

Merge commit '7b2ed5d7d607e435b88ea75db3a1a43a00a86275' into gingerbread-plus-aosp

* commit '7b2ed5d7d607e435b88ea75db3a1a43a00a86275':
Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly.
1f78badb5398c17526be021e3c9e3c4aa24536ec 23-Sep-2010 Andreas Huber <andih@google.com> Merge "Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly." into gingerbread
95fcef25b48e35b625899288971ab628efbf8584 23-Sep-2010 Andreas Huber <andih@google.com> Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly.

Change-Id: I1423923fafbcac6911218277e2bbfa068e49dcc6
ibstagefright/MPEG4Writer.cpp
45adaf601ea69f8bd060c8a219e1ccf7045bbfa4 23-Sep-2010 James Dong <jdong@google.com> am 693a430c: am 903fc221: Ignore errors from correction parameter query and config for M4v and H263 encoders

Merge commit '693a430cff3c9fac503b5005e9fd5419611eddde'

* commit '693a430cff3c9fac503b5005e9fd5419611eddde':
Ignore errors from correction parameter query and config for M4v and H263 encoders
8872633927679cfeb77948ba7b562e07e899ef91 23-Sep-2010 James Dong <jdong@google.com> am 30c7e132: am 697bd76e: Merge "Use the advertised profile and level from M4V and H263 video encoders" into gingerbread

Merge commit '30c7e132171edf41a787d6e29d169ac467f6f1ae'

* commit '30c7e132171edf41a787d6e29d169ac467f6f1ae':
Use the advertised profile and level from M4V and H263 video encoders
5257d874dd68bf67b75c316f44e32e18ede0b469 23-Sep-2010 James Dong <jdong@google.com> am 903fc221: Ignore errors from correction parameter query and config for M4v and H263 encoders

Merge commit '903fc221068d02bdb53ba2a48f86339caf405259' into gingerbread-plus-aosp

* commit '903fc221068d02bdb53ba2a48f86339caf405259':
Ignore errors from correction parameter query and config for M4v and H263 encoders
bf0025d50700fa9693b56035f72a99d0fd23aa9a 23-Sep-2010 James Dong <jdong@google.com> am 697bd76e: Merge "Use the advertised profile and level from M4V and H263 video encoders" into gingerbread

Merge commit '697bd76e427f00584a0e026ceca2f4d39215cd0d' into gingerbread-plus-aosp

* commit '697bd76e427f00584a0e026ceca2f4d39215cd0d':
Use the advertised profile and level from M4V and H263 video encoders
59f63db5d1cdc91336a2b82e195e0000091cd6e3 23-Sep-2010 James Dong <jdong@google.com> Ignore errors from correction parameter query and config for M4v and H263 encoders

This feature is not essential for camcorder application

Change-Id: Id560632207dcf24fe361280ebe8178ea7332f22d
ibstagefright/OMXCodec.cpp
97e0fcc0cb69692a6c518e2bfaf9892a164e7f58 23-Sep-2010 James Dong <jdong@google.com> Use the advertised profile and level from M4V and H263 video encoders

This is already the case for AVC video encoder

Change-Id: I9cc97a03ab457b4bd0b21832c09f6d0aa7f5fc39
ibstagefright/OMXCodec.cpp
325bc94e89e786ab1e44bc33428fd5f9382c4e34 23-Sep-2010 Andreas Huber <andih@google.com> am a72bb404: Merge "Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs." into gingerbread

Merge commit 'a72bb404ceb11ac551825226eb75d2a280deb1b2' into gingerbread-plus-aosp

* commit 'a72bb404ceb11ac551825226eb75d2a280deb1b2':
Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs.
9fb467e5c50795afda3675efd5ba0e5cd552fd75 22-Sep-2010 Andreas Huber <andih@google.com> Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs.

Change-Id: I73974a336852974e2fb95a9626c1a96f296449eb
ibstagefright/omx/tests/OMXHarness.cpp
c8f53719e482b60c63b7d584c2528fa007598dac 22-Sep-2010 Andreas Huber <andih@google.com> am 4374b23d: Merge "Make sure we drain the avc software decoder\'s output queue once we run out of input data." into gingerbread

Merge commit '4374b23d6be406710b91be746229e6c548613410' into gingerbread-plus-aosp

* commit '4374b23d6be406710b91be746229e6c548613410':
Make sure we drain the avc software decoder's output queue once we run out of input data.
5a808f8de7b81081ac682e96b625d45fcf43fe46 22-Sep-2010 Andreas Huber <andih@google.com> Make sure we drain the avc software decoder's output queue once we run out of input data.

Change-Id: I3d92ebae4951b618a6dfcf42936cc4c63d4de539
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/include/AVCDecoder.h
079cc2e29823e16ff775cebb5709bcb3a24a809d 22-Sep-2010 Andreas Huber <andih@google.com> Merge "Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs." into gingerbread
3cc8eb61f0931b53e4a6ea5346ac5720d01161d8 22-Sep-2010 Andreas Huber <andih@google.com> Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs.

Change-Id: I0650af10acb3097e9f03c6079992305540b6bc86
ibstagefright/omx/tests/OMXHarness.cpp
9dbd5240b3096b6a44525b22d8a10057ce13cec9 22-Sep-2010 Andreas Huber <andih@google.com> Merge "Make sure we drain the avc software decoder's output queue once we run out of input data." into gingerbread
15b1eeaf7f694939873bb28a2ef223e6826ef568 22-Sep-2010 Andreas Huber <andih@google.com> Make sure we drain the avc software decoder's output queue once we run out of input data.

Change-Id: I5de540675a64ac0b170eee10691d77a647950397
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/include/AVCDecoder.h
a4d13a5419af68fe5adb521e265f8c80c4e760b1 22-Sep-2010 Eric Laurent <elaurent@google.com> am 6943b94b: am a6dc4699: Merge "Fix issue 2913071." into gingerbread

Merge commit '6943b94b8f267c83060946bae0961efc30444dee'

* commit '6943b94b8f267c83060946bae0961efc30444dee':
Fix issue 2913071.
cd20f59a3987e738b50adb02761ef853d6531597 22-Sep-2010 Eric Laurent <elaurent@google.com> am a6dc4699: Merge "Fix issue 2913071." into gingerbread

Merge commit 'a6dc4699222a484222d1c54d5319f302a02e406b' into gingerbread-plus-aosp

* commit 'a6dc4699222a484222d1c54d5319f302a02e406b':
Fix issue 2913071.
5ee6bb5a8665cf09aa6266012d6ba7d405886724 22-Sep-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2913071." into gingerbread
a60165dbfcc44c6114ce63dba38bb3f08f614081 22-Sep-2010 Andreas Huber <andih@google.com> am 0b2affe8: am 87d208f7: Merge "This log message is codec specific." into gingerbread

Merge commit '0b2affe8f05f887fcb6ae6314e2a0e586dabe9e1'

* commit '0b2affe8f05f887fcb6ae6314e2a0e586dabe9e1':
This log message is codec specific.
3f94dacbd43b48bb629a79e45e738ead37c5debd 22-Sep-2010 Andreas Huber <andih@google.com> am af909581: am 67738486: Merge "Remove stagefright foundation\'s incompatible logging interface and update callsites." into gingerbread

Merge commit 'af90958184fc5cfa1a4190e28bcfc4fdd4a5bcd6'

* commit 'af90958184fc5cfa1a4190e28bcfc4fdd4a5bcd6':
Remove stagefright foundation's incompatible logging interface and update callsites.
1f6ea1df082767b51a311630f5b72e2e264c1e3b 22-Sep-2010 Andreas Huber <andih@google.com> am 87d208f7: Merge "This log message is codec specific." into gingerbread

Merge commit '87d208f7ea7d8fc518d1403aae6d1ba1833bff13' into gingerbread-plus-aosp

* commit '87d208f7ea7d8fc518d1403aae6d1ba1833bff13':
This log message is codec specific.
4d6205a5ceb3e53cdcbf4f473e7bb1509503c1c5 22-Sep-2010 Andreas Huber <andih@google.com> am 67738486: Merge "Remove stagefright foundation\'s incompatible logging interface and update callsites." into gingerbread

Merge commit '67738486d9d1bdc2e6fb0c04698fd74de689acbc' into gingerbread-plus-aosp

* commit '67738486d9d1bdc2e6fb0c04698fd74de689acbc':
Remove stagefright foundation's incompatible logging interface and update callsites.
a3121424e0680647e8ab7beb4229db6d8d4f337f 22-Sep-2010 Andreas Huber <andih@google.com> Merge "This log message is codec specific." into gingerbread
6e4c5c499999c04c2477b987f9e64f3ff2bf1a06 21-Sep-2010 Andreas Huber <andih@google.com> Remove stagefright foundation's incompatible logging interface and update callsites.

Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c
ibstagefright/NuCachedSource2.cpp
ibstagefright/ThreadedSource.cpp
ibstagefright/foundation/ADebug.cpp
ibstagefright/foundation/ALooperRoster.cpp
ibstagefright/foundation/Android.mk
ibstagefright/foundation/hexdump.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/AAVCAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTPSource.h
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
ibstagefright/rtsp/UDPPusher.cpp
ibstagefright/rtsp/rtp_test.cpp
0e75f0f0147baeb6277c3dcc4403cf0201155a99 21-Sep-2010 Eric Laurent <elaurent@google.com> Fix issue 2913071.

Scale audio signal during capture according to peak level so that
returned values on 8 bits contain enough information even for weak
signals.

Also do not reject requests to enable/disable the visualizer if we are
already in the requested state.

Change-Id: I07a705619764350834e61f82d161761eab688747
ibeffects/visualizer/EffectVisualizer.cpp
955194dc6a9f74dc4aeb4559f71f0323dc2f8166 22-Sep-2010 Andreas Huber <andih@google.com> This log message is codec specific.

Change-Id: I603ae7bd13b186a6df0a26ea9abe073e89276caf
ibstagefright/OMXCodec.cpp
ddca588b03095141035f338b5dc4bb65b105ce62 21-Sep-2010 James Dong <jdong@google.com> am e436ef09: am e5206694: Merge "Another attempt for fixing AAC+/eAAC+ related issue" into gingerbread

Merge commit 'e436ef09d205eee473d5a4a4d0a1721b8dfbe193'

* commit 'e436ef09d205eee473d5a4a4d0a1721b8dfbe193':
Another attempt for fixing AAC+/eAAC+ related issue
4b64ef5073432ee87b9037d9e04aedf6b46590e2 21-Sep-2010 James Dong <jdong@google.com> am e5206694: Merge "Another attempt for fixing AAC+/eAAC+ related issue" into gingerbread

Merge commit 'e5206694174d2140e662832425665ec3890fcc73' into gingerbread-plus-aosp

* commit 'e5206694174d2140e662832425665ec3890fcc73':
Another attempt for fixing AAC+/eAAC+ related issue
18269453d3c6c350c9743a03820d41a69dbb4654 18-Sep-2010 James Dong <jdong@google.com> Another attempt for fixing AAC+/eAAC+ related issue

The decoder has to decode the very first two frames (decoder specific data + first data
frame) in order to be really sure whether a stream is AAC or AAC+/eAAC+.

bug - 2966336

Change-Id: Ib12a07285933df0d6c346370a12f70e99e811881
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/include/AACDecoder.h
32eaa26f6152913b015f855a930cd8f12bd21d4d 21-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Fix typo that resulted in the MTP provider returning thumb format for object format

BUG: 2994234

Change-Id: I99574043d3e0b310b9b7246f89b5b4a1e14fb5a6
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpCursor.cpp
d44b51d9fcb0b5d891d2abece83a551e71ebb73b 18-Sep-2010 Marco Nelissen <marcone@google.com> am 5c9f3579: am f30fae63: Merge "Add a check to track a problem the monkey script has been triggering." into gingerbread

Merge commit '5c9f35799422d818f34f814c76c2acd8c939a40c'

* commit '5c9f35799422d818f34f814c76c2acd8c939a40c':
Add a check to track a problem the monkey script has been triggering.
979d233237271c2acc0c3902508e208fce16a1c9 18-Sep-2010 Andreas Huber <andih@google.com> am 7bc600cb: am f98197a7: Make sure the message dispatcher stays around until after OMX_FreeHandle is finished in case it posts some more messages during shutdown. Clear the source as soon as possible in OMXCodec\'s destructor.

Merge commit '7bc600cb08394e60eef984843976d4f79e5d94e8'

* commit '7bc600cb08394e60eef984843976d4f79e5d94e8':
Make sure the message dispatcher stays around until after OMX_FreeHandle is finished in case it posts some more messages during shutdown. Clear the source as soon as possible in OMXCodec's destructor.
6901625dcb847871e23f04b9a282dc5d313a1d57 18-Sep-2010 Marco Nelissen <marcone@google.com> am f30fae63: Merge "Add a check to track a problem the monkey script has been triggering." into gingerbread

Merge commit 'f30fae63389a2216faf55636b95a08f35b5c3620' into gingerbread-plus-aosp

* commit 'f30fae63389a2216faf55636b95a08f35b5c3620':
Add a check to track a problem the monkey script has been triggering.
6d2969a09ffe48c1600fd48caeb6293a92e204c2 18-Sep-2010 Andreas Huber <andih@google.com> resolved conflicts for merge of 1fc97385 to master

Change-Id: I9b1fb673844eb822313067d3be16b6c1ce1f2ccb
1c1503cf47c0a37a30e7acac2c5d29140fc61a5f 18-Sep-2010 Marco Nelissen <marcone@google.com> Add a check to track a problem the monkey script has been triggering.

Change-Id: If3896946d993cbab2442e17740f18efd7e753a3b
ibmedia/mediaplayer.cpp
467bdb0df9909b20492c103ff6839f39d346c670 17-Sep-2010 Nipun Kwatra <nkwatra@google.com> Merge "Adding default profiles for specific levels."
d5672bc7162fa49abf9bb5844195887e911aa7ce 17-Sep-2010 Nipun Kwatra <nkwatra@google.com> Adding default profiles for specific levels.

The low and high profiles should each match one of the
specific profiles. So we need to add the specific profiles
corresponding to the low/high profiles. This makes the
default profile compliant to documentation + cts.

Also fixed javadoc to account time lapse profiles.

Change-Id: I34e7307d00ce261c69dc10ead2900025c7f6d428
ibmedia/MediaProfiles.cpp
ab1b9612fc5ad9d98ff76b3eb18d9f48a295f13e 17-Sep-2010 Andreas Huber <andih@google.com> am f98197a7: Make sure the message dispatcher stays around until after OMX_FreeHandle is finished in case it posts some more messages during shutdown. Clear the source as soon as possible in OMXCodec\'s destructor.

Merge commit 'f98197a7274c2d7da647f52b3d8b0c74492139af' into gingerbread-plus-aosp

* commit 'f98197a7274c2d7da647f52b3d8b0c74492139af':
Make sure the message dispatcher stays around until after OMX_FreeHandle is finished in case it posts some more messages during shutdown. Clear the source as soon as possible in OMXCodec's destructor.
583027ca28629510622bde541cc1649371ac9502 17-Sep-2010 Andreas Huber <andih@google.com> am 524e6f62: Register the new OMX components.

Merge commit '524e6f62c93e9947f3f9de386c6f6be7a3085d3c' into gingerbread-plus-aosp

* commit '524e6f62c93e9947f3f9de386c6f6be7a3085d3c':
Register the new OMX components.
00998fbb52dfa78ac3a4b3706d64fc612926bfbc 17-Sep-2010 Andreas Huber <andih@google.com> Make sure the message dispatcher stays around until after OMX_FreeHandle is finished in case it posts some more messages during shutdown. Clear the source as soon as possible in OMXCodec's destructor.

Change-Id: I9c896cf07dea0c3201b6f074dbaf27e6d85cd784
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMX.cpp
78eff720c86eb6d4e3d45a144df60b2ca464d2d4 16-Sep-2010 Nipun Kwatra <nkwatra@google.com> Implemented frequent read returns for quick stop in time lapse.

If the frame capture interval is large, read will block for a long time.
Due to the way the mediaRecorder framework works, a stop() call from
mediaRecorder waits until the read returns, causing a long wait for
stop() to return. To avoid this, we return a copy of the last read
frame with the same time stamp if a frame is not available quickly.
This keeps the read() call from blocking too long. This method is
triggered when startQuickReadReturns() is called on
CameraSourceTimeLapse.

In the still camera case, also using waitRelative on Condition
instaed of sleeping, so that we can wake it up.
Also for the idle check instead of sleeping, we now wait on a
condition variable, which is woken up when the last takePicture
callback gets called.

Change-Id: Ia74386e175536aee0f44ae2f8b114c353d3d72f5
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
095916d92ea2378aea6fc35e80e368172c02021b 16-Sep-2010 Andreas Huber <andih@google.com> Register the new OMX components.

Change-Id: I795287c63073ca86ad0f97d6afcfc85c401dc984
ibstagefright/OMXCodec.cpp
302a965f4bf5d179ccc68b7d853e2806941de020 17-Sep-2010 Andreas Huber <andih@google.com> am 92aa28ad: am a7516e90: Merge "Make sure the .wav extractor does not read data outside the bounds of the \'data\' box." into gingerbread

Merge commit '92aa28addd5dbe576b2c1b66cbc00c561402f2b9'

* commit '92aa28addd5dbe576b2c1b66cbc00c561402f2b9':
Make sure the .wav extractor does not read data outside the bounds of the 'data' box.
0e38944cc890cc3c68077c8e29d63e6107c9d184 17-Sep-2010 Andreas Huber <andih@google.com> am a7516e90: Merge "Make sure the .wav extractor does not read data outside the bounds of the \'data\' box." into gingerbread

Merge commit 'a7516e90d01a22d17a470695eefa905e0ff066cc' into gingerbread-plus-aosp

* commit 'a7516e90d01a22d17a470695eefa905e0ff066cc':
Make sure the .wav extractor does not read data outside the bounds of the 'data' box.
876742d2526fdf03190dad2ab9deb76b7c02939f 17-Sep-2010 Andreas Huber <andih@google.com> Merge "Make sure the .wav extractor does not read data outside the bounds of the 'data' box." into gingerbread
104fcb88d4125caff74f63be4ce23537ca693ac7 16-Sep-2010 Andreas Huber <andih@google.com> Make sure the .wav extractor does not read data outside the bounds of the 'data' box.

Change-Id: Icf18f9224d97e6a78328dd429ebc3a3433e5cecd
related-to-bug: 3007790
ibstagefright/WAVExtractor.cpp
e2d8ba8c36fd39eb98f604b11654aa5466673260 16-Sep-2010 James Dong <jdong@google.com> Add YUV420P color format support for video output from camera hal

Change-Id: I5c8266348d0840361c8095ce351ac85c44d4068f
ibstagefright/CameraSource.cpp
38a7476749eb4b4fd117b6e64027870077eb22d8 16-Sep-2010 James Dong <jdong@google.com> am e30d039f: am a7f5e476: Merge "Fixed a bug in the query to the supported profiles and levels" into gingerbread

Merge commit 'e30d039f0ef797c35dd9f75e590f0b819c1c6194'

* commit 'e30d039f0ef797c35dd9f75e590f0b819c1c6194':
Fixed a bug in the query to the supported profiles and levels
eafc0ea74b2929e6d7704320b1bf910e6ef162be 16-Sep-2010 James Dong <jdong@google.com> am a7f5e476: Merge "Fixed a bug in the query to the supported profiles and levels" into gingerbread

Merge commit 'a7f5e476d54e6f7da588909d370580c3e3457e9b' into gingerbread-plus-aosp

* commit 'a7f5e476d54e6f7da588909d370580c3e3457e9b':
Fixed a bug in the query to the supported profiles and levels
0270f47ffeee4907ba1626f6871f5157e529e54e 16-Sep-2010 James Dong <jdong@google.com> Merge "Fixed a bug in the query to the supported profiles and levels" into gingerbread
ada349a3340d495a89c322dead7fea09d3538919 16-Sep-2010 Andreas Huber <andih@google.com> am 62d4ebc0: am 49e1ae22: Merge "Sometimes the avc software decoder will signal that a frame is ready but then unexpectedly fail to return the frame... stop asserting on that and return an error instead." into gingerbread

Merge commit '62d4ebc0423831dfd8165d359e5b809f00f60656'

* commit '62d4ebc0423831dfd8165d359e5b809f00f60656':
Sometimes the avc software decoder will signal that a frame is ready but then unexpectedly fail to return the frame... stop asserting on that and return an error instead.
f868457219ca363d94d48d94ae6be39d7239052f 16-Sep-2010 Andreas Huber <andih@google.com> am 49e1ae22: Merge "Sometimes the avc software decoder will signal that a frame is ready but then unexpectedly fail to return the frame... stop asserting on that and return an error instead." into gingerbread

Merge commit '49e1ae22801f5f9e620552ffd205b05a0d89f65f' into gingerbread-plus-aosp

* commit '49e1ae22801f5f9e620552ffd205b05a0d89f65f':
Sometimes the avc software decoder will signal that a frame is ready but then unexpectedly fail to return the frame... stop asserting on that and return an error instead.
f01691f44dcbe38a0ab3914e7c709ddc009d95dc 16-Sep-2010 James Dong <jdong@google.com> Fixed a bug in the query to the supported profiles and levels

According to OMX spec, the levels returned is the max level settings.
In fact, we could not enum all the levels.

Change-Id: Ib1cba74100512800a5761c7567894c7ea5b5a452
ibstagefright/OMXCodec.cpp
47dc308b114f2ee83f71bc9787db343ff3cc64fd 16-Sep-2010 Andreas Huber <andih@google.com> am 7a848c0d: am 8946ab26: A ThreadedSource wraps around an existing MediaSource and reads output buffers on a separate thread. It\'s now used for the vpx decoder to decode frames ahead of time to improve playback performance.

Merge commit '7a848c0d7cb1978155ab7743aadb2e07bc4bdcc6'

* commit '7a848c0d7cb1978155ab7743aadb2e07bc4bdcc6':
A ThreadedSource wraps around an existing MediaSource and reads output buffers on a separate thread. It's now used for the vpx decoder to decode frames ahead of time to improve playback performance.
5a0beab037fa8fd630c4c3290c8bbf410a51596a 16-Sep-2010 Eric Laurent <elaurent@google.com> am d32d3011: am 37de5da0: Merge "Fix problem in lvm effect bundle wrapper" into gingerbread

Merge commit 'd32d30119bd0c0988a6806f1205db5426235af52'

* commit 'd32d30119bd0c0988a6806f1205db5426235af52':
Fix problem in lvm effect bundle wrapper
72b2749aafff4643bd91b845c621fb7211b96208 16-Sep-2010 Andreas Huber <andih@google.com> Sometimes the avc software decoder will signal that a frame is ready but then unexpectedly fail to return the frame... stop asserting on that and return an error instead.

Change-Id: I6c0782b51b57e9be0fd410bd34078dc3c2b088d6
related-to-bug: 3005156
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
96d22b2f001b2ad7dc6573152995263016bc4a08 16-Sep-2010 Andreas Huber <andih@google.com> am 8946ab26: A ThreadedSource wraps around an existing MediaSource and reads output buffers on a separate thread. It\'s now used for the vpx decoder to decode frames ahead of time to improve playback performance.

Merge commit '8946ab2618a4eebfdf7b00c6b68e6a5d8432cafa' into gingerbread-plus-aosp

* commit '8946ab2618a4eebfdf7b00c6b68e6a5d8432cafa':
A ThreadedSource wraps around an existing MediaSource and reads output buffers on a separate thread. It's now used for the vpx decoder to decode frames ahead of time to improve playback performance.
aae3516293e58c0b015d4109bde58c11d503433c 16-Sep-2010 Andreas Huber <andih@google.com> A ThreadedSource wraps around an existing MediaSource and reads output buffers on a separate thread. It's now used for the vpx decoder to decode frames ahead of time to improve playback performance.

Change-Id: I57a798b00adeb2c8056e85aab29a2b57aef00b63
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/ThreadedSource.cpp
ibstagefright/include/ThreadedSource.h
1db7c215a91bbb3245d09b3c9a63e0b4d4b24552 16-Sep-2010 Eric Laurent <elaurent@google.com> am 37de5da0: Merge "Fix problem in lvm effect bundle wrapper" into gingerbread

Merge commit '37de5da03b33e85c2b0561b9a32e3c5395cfbc15' into gingerbread-plus-aosp

* commit '37de5da03b33e85c2b0561b9a32e3c5395cfbc15':
Fix problem in lvm effect bundle wrapper
70fb57d15b829e3f20224727311f945e3bb13f3b 16-Sep-2010 Eric Laurent <elaurent@google.com> Merge "Fix problem in lvm effect bundle wrapper" into gingerbread
29cc743e57f2a1701a0a0d3a0e5406ed0f2e8a89 16-Sep-2010 Eric Laurent <elaurent@google.com> Fix problem in lvm effect bundle wrapper

When an effect was deleted while enabled, the count of enabled effects
in the bundle was not decremented. Resulted a state where if another effect
was still enabled, its process function was called only every other time.

Change-Id: I59a0c5b7f50f416a9ecadae297b42912e56ddd51
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ae0de4aa0a0eb85ff28ca9db6e7edf737a90ae52 16-Sep-2010 Andreas Huber <andih@google.com> am f8297ba0: am 24a2c2b5: Merge "Upgrade to the latest .webm project code." into gingerbread

Merge commit 'f8297ba011af959331873e09612665a486e1a1a7'

* commit 'f8297ba011af959331873e09612665a486e1a1a7':
Upgrade to the latest .webm project code.
0a1b9dcf0106731e1b8113fb77e933ffaf70bd0b 16-Sep-2010 James Dong <jdong@google.com> am 0cd2472b: am 82a39f4a: Merge "Add some explicit error log messages" into gingerbread

Merge commit '0cd2472bf8a0062b56b9cd4613c44791b32fe42f'

* commit '0cd2472bf8a0062b56b9cd4613c44791b32fe42f':
Add some explicit error log messages
3bdab1621022eddf125386daa7c097c3df64b16b 16-Sep-2010 James Dong <jdong@google.com> am beb55f57: am 9f882c0b: Merge "Fix audio input sample timestamp when audio driver loses audio samples" into gingerbread

Merge commit 'beb55f572fd217174ebf8f6679792a6b22896645'

* commit 'beb55f572fd217174ebf8f6679792a6b22896645':
Fix audio input sample timestamp when audio driver loses audio samples
ac5f724d00c8ac2040f01485873b6373f8994354 16-Sep-2010 Andreas Huber <andih@google.com> am 7ff94577: am 9909b948: Merge "Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting." into gingerbread

Merge commit '7ff945775210c60e6f113fb00903449cbb05c68a'

* commit '7ff945775210c60e6f113fb00903449cbb05c68a':
Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting.
26b4a13c69cbf7e9174dde8c51ee50526b02d215 16-Sep-2010 Andreas Huber <andih@google.com> am 24a2c2b5: Merge "Upgrade to the latest .webm project code." into gingerbread

Merge commit '24a2c2b59670b4d9083ff0d23c87d3910a632e7d' into gingerbread-plus-aosp

* commit '24a2c2b59670b4d9083ff0d23c87d3910a632e7d':
Upgrade to the latest .webm project code.
616715ab614ce25ea395a8e9a553a82637f1021d 16-Sep-2010 James Dong <jdong@google.com> Fix potential unintialized variable yuvformat

Change-Id: If0a77855d98b45769a154b25d6535f30cd41536a
ibstagefright/CameraSourceTimeLapse.cpp
eae61939e1dc3079fac58887ad1af08d1de074c7 16-Sep-2010 Andreas Huber <andih@google.com> Merge "Upgrade to the latest .webm project code." into gingerbread
acf67ea7f5ae70a093d8b164872ad1bce502f807 16-Sep-2010 Andreas Huber <andih@google.com> Upgrade to the latest .webm project code.

Change-Id: I645eff9b7c10bf33144977e6093663407af402e2
ibstagefright/codecs/on2/dec/VPXDecoder.cpp
a5d9071c3e9c6bbcb889b56fe1a7440d130fb0b4 15-Sep-2010 James Dong <jdong@google.com> am 82a39f4a: Merge "Add some explicit error log messages" into gingerbread

Merge commit '82a39f4aabb5b44801690a95fcf61d4f2ab97a8e' into gingerbread-plus-aosp

* commit '82a39f4aabb5b44801690a95fcf61d4f2ab97a8e':
Add some explicit error log messages
1d857be60e1a94b39d2e78201eb28692f93140f6 15-Sep-2010 James Dong <jdong@google.com> am 9f882c0b: Merge "Fix audio input sample timestamp when audio driver loses audio samples" into gingerbread

Merge commit '9f882c0b10ddbd436e24e51db8b1063bc5591d24' into gingerbread-plus-aosp

* commit '9f882c0b10ddbd436e24e51db8b1063bc5591d24':
Fix audio input sample timestamp when audio driver loses audio samples
d79091075e470f5c59a5400027fd41f6c9ea848a 15-Sep-2010 James Dong <jdong@google.com> Merge "Add some explicit error log messages" into gingerbread
e78d3bba024e979715383e2c2b4b086749508090 15-Sep-2010 James Dong <jdong@google.com> Merge "Fix audio input sample timestamp when audio driver loses audio samples" into gingerbread
09a38311206a19b79ca302b9cad926608e938fd4 15-Sep-2010 Andreas Huber <andih@google.com> am 9909b948: Merge "Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting." into gingerbread

Merge commit '9909b948ac83d2cf19f7eeb06748b85fcac2212a' into gingerbread-plus-aosp

* commit '9909b948ac83d2cf19f7eeb06748b85fcac2212a':
Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting.
3b93208243d6f4caab3f0b27372e95c9be8d9893 15-Sep-2010 Andreas Huber <andih@google.com> Merge "Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting." into gingerbread
6f85dba3768089679ff5e35ad2f1841918d0adb2 15-Sep-2010 Andreas Huber <andih@google.com> Various fixes to improve resilience of the rtsp stack against spurious errors instead of asserting.

Change-Id: Idbec5996ed0675c70e911b9c0514961fea099fb4
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/MyHandler.h
3ee899e0466ecce107257beec04a2178939cf24e 15-Sep-2010 Nipun Kwatra <nkwatra@google.com> Disable shutter sound and play recording sound for still mode time lapse.

Disabling shutter sound when using still capture for time lapse recording.
We also play recording sound at the start and stop of recording as is
done for usual video recording.

Change-Id: I6a6fa0c7c867979624105eea74fc17945db1f517
ibstagefright/CameraSourceTimeLapse.cpp
59d9e31c503e5c2f49448362a0d3a8f1150fb6c2 14-Sep-2010 Nipun Kwatra <nkwatra@google.com> Checks for auxiliary video recording.

- Check that time lapse mode is on when using auxiliary video recording.
- Check that auxiliary video size is strictly less than the main video
size.

Change-Id: Ic49d25e6ac30f6f885ce4f5fb38dbe0cc7bc1be1
ibmediaplayerservice/StagefrightRecorder.cpp
a1abc1a76741914c7bc43f1df9e32744f023ab75 14-Sep-2010 James Dong <jdong@google.com> Add some explicit error log messages

Change-Id: I8a69157b75a67f0d3c19f05775a8cb0629232299
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
67e9269eaeab41a6c9a18794ebb32cbd1414381c 14-Sep-2010 James Dong <jdong@google.com> Fix audio input sample timestamp when audio driver loses audio samples

Change-Id: Ic0f1489f710929af50e7714867ae5153b3242dd8
ibstagefright/AudioSource.cpp
e757f0fc727cd99d2aa5434e709651c32705e54d 14-Sep-2010 Mike Lockwood <lockwood@android.com> Merge changes I28b846a3,Ifd9b48cb

* changes:
MediaScanner: Fix problems with scanner non-file objects from the database
MTP: Delete all files and subdirectories when deleting directories.
d32114950770a6e9361e0869a41e5a03a7acab42 13-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Delete all files and subdirectories when deleting directories.

Children are now recursively deleted from the database and filesystem.

Change-Id: Ifd9b48cbc34b84b8f5073f2493dfe9735fae5492
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
d20b4cfde2848052cf93ed13df14d75347ec64fd 13-Sep-2010 Eric Laurent <elaurent@google.com> am 4d987850: am bd2e9ec6: Merge "Fix volume problems with insert revert" into gingerbread

Merge commit '4d9878502f7661ed34540a485a5942d859e209c7'

* commit '4d9878502f7661ed34540a485a5942d859e209c7':
Fix volume problems with insert revert
df268bacee4fac7b07ed129d14707c981a9ed895 13-Sep-2010 Eric Laurent <elaurent@google.com> am bd2e9ec6: Merge "Fix volume problems with insert revert" into gingerbread

Merge commit 'bd2e9ec64d9a292a1309504c6c5fe33e1bc2333a' into gingerbread-plus-aosp

* commit 'bd2e9ec64d9a292a1309504c6c5fe33e1bc2333a':
Fix volume problems with insert revert
e0aed6ddcb4e3c301b80aa26706b6052dab42c41 11-Sep-2010 Eric Laurent <elaurent@google.com> Fix volume problems with insert revert

- Use a constant input level to the reverb engine and implement volume control in the
insert reverb. This avoids the volume spikes when an effect that was inserted after
the reverb is disabled or removed.
- Fix clicks (one silent buffer) at the end of the reverb disable period.
- Modified volume management in audioflinger so that the volume ramp is also done by
the insert effect if present when the track is paused (avoids clicks).
- Increased room level for all presets.

Also fixed problems with output stage session (-1):
- effect bundle wrapper was not designed to support session -1
- the permission check in audioflinger for using session -1 failed due to a wrong usage of
getCallingPid()

Change-Id: Id1ff51327263364bf71d3f2668fa5cde4311d84f
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
c59ad085c9737e8d56328732be6864de302acae9 10-Sep-2010 Mike Lockwood <lockwood@android.com> Media scanner support for tracking files of arbitrary type.

The native media scanner no longer filters files based on file extension.
Audio, video, image and playlist files are handled as before, but non-media
files are now inserted into the "files" table, which was originally added
to support MTP.

Change-Id: I9053218fb6d2671a3bb181405c34442b94678afc
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
9783ed8f85af3d7c72030098acfed7e1d6638349 11-Sep-2010 Nipun Kwatra <nkwatra@google.com> Exposing specific profile levels + hasProfile().

- Exposing the specific resolution profile levels
QUALITY_{QCIF,CIF,480P,720P,1080P} and the new time lapse profiles
QUALITY_TIME_LAPSE_{LOW,HIGH,QCIF,CIF,480P,720P,1080P}
- Unhiding the hasProfile() function used to test if a given profile exists.

Change-Id: I5d8b9e1ba61718f304235e76d85244e428e68643
ibmedia/MediaProfiles.cpp
1a02fabca518806222212bdc708b36a37a7c3925 11-Sep-2010 Nipun Kwatra <nkwatra@google.com> Merge "Adding hasProfile."
a0d472f114bb6a74005aaf61e91e3569ae061630 10-Sep-2010 Nipun Kwatra <nkwatra@google.com> Merge "Added specific resolution and time lapse profiles."
8bb5603cc735315c8691dc9b7a81b4ad4d6e253e 10-Sep-2010 Nipun Kwatra <nkwatra@google.com> Adding hasProfile.

- Added hasProfile to CamcorderProfile and JNI.
- Added hasCamcorderProfile to MediaProfiles.
- using android.hardware.Camera.CAMERA_ID_DEFAULT for default camera
in get().

Change-Id: Ib57bb49ae79492d7cbc0ec6c7b6efcbf74f80013
ibmedia/MediaProfiles.cpp
c0a84782589eececdfa7e723e8aa0e572d0d79f5 07-Sep-2010 Nipun Kwatra <nkwatra@google.com> Added specific resolution and time lapse profiles.

- Added enums QUALITY_{QCIF,480P,720P,1080P}
QUALITY_TIME_LAPSE_{LOW,HIGH,QCIF,480P,720P,1080P} in CamcorderProfile
and corresponding ones in MediaProfiles.
- Added functions createDefaultCamcorderTimeLapseLowProfile,
createDefaultCamcorderTimeLapseHighProfile to set default values.
- Moved javadoc for constants to the get() function.

Change-Id: Ib8b3f8d29395dff77a397d1e6b44cfaf8c481d4d
ibmedia/MediaProfiles.cpp
275c732cd79a40617773636086b287901f8d4485 10-Sep-2010 Eric Laurent <elaurent@google.com> am ea4680f0: am 2814ad25: Merge "LVM release 1.09 delivery" into gingerbread

Merge commit 'ea4680f007c9fbc1ff73a6b161e6e83ebaeff981'

* commit 'ea4680f007c9fbc1ff73a6b161e6e83ebaeff981':
LVM release 1.09 delivery
e2af4f70b5326d7c55533639844b3a7eaf12e34c 10-Sep-2010 Eric Laurent <elaurent@google.com> am 2814ad25: Merge "LVM release 1.09 delivery" into gingerbread

Merge commit '2814ad25578d1a52826464477da16217247c04e0' into gingerbread-plus-aosp

* commit '2814ad25578d1a52826464477da16217247c04e0':
LVM release 1.09 delivery
a1754133ee6640346b5fd6daa4666f5d2285379a 10-Sep-2010 Eric Laurent <elaurent@google.com> Merge "LVM release 1.09 delivery" into gingerbread
a01b7943b59eb869911f6a43b906f44ddefdebed 10-Sep-2010 Andreas Huber <andih@google.com> am 0d661b5e: am ff4c57ad: Merge "TimedEventQueue now explicitly sets its scheduling policy to foreground as it should." into gingerbread

Merge commit '0d661b5eb42aba49de8d4d6ddc5140a8b2348055'

* commit '0d661b5eb42aba49de8d4d6ddc5140a8b2348055':
TimedEventQueue now explicitly sets its scheduling policy to foreground as it should.
f3915937c4af4d5a10cb7c2429e4fd323b69a087 10-Sep-2010 Andreas Huber <andih@google.com> am ff4c57ad: Merge "TimedEventQueue now explicitly sets its scheduling policy to foreground as it should." into gingerbread

Merge commit 'ff4c57ade41c1c5c5f79088f6cef0fc1142c25f1' into gingerbread-plus-aosp

* commit 'ff4c57ade41c1c5c5f79088f6cef0fc1142c25f1':
TimedEventQueue now explicitly sets its scheduling policy to foreground as it should.
acb5621440968ddf62651a2e6c1ddb69cf675972 10-Sep-2010 Andreas Huber <andih@google.com> TimedEventQueue now explicitly sets its scheduling policy to foreground as it should.

Change-Id: I630c9fb51686d87a4075f01a6d7f6f9139ddcb4b
related-to-bug: 2944452
ibstagefright/TimedEventQueue.cpp
19997876b3af80adc2ae7395e6fab053268026fc 09-Sep-2010 Andreas Huber <andih@google.com> am 8986f62b: am f3de053c: Merge "Instead of asserting return a runtime error if the maximum sample size cannot be determined." into gingerbread

Merge commit '8986f62b30e494b68476ff8ef81acd4b1dd22674'

* commit '8986f62b30e494b68476ff8ef81acd4b1dd22674':
Instead of asserting return a runtime error if the maximum sample size cannot be determined.
ea162150921988808ee83195a913f015de5a3182 09-Sep-2010 James Dong <jdong@google.com> am e19df3dc: am 5c43a7af: Merge "When 32-bit offset is used, if the requested max file size is greater than the 32-bit offset limit, set the limit to the max 32-bit offset limit." into gingerbread

Merge commit 'e19df3dca1c8a1d9f783a6722c56f6ea82189412'

* commit 'e19df3dca1c8a1d9f783a6722c56f6ea82189412':
When 32-bit offset is used,
1432a0075c0f638206a8e59e33cc81d5caea4bcf 09-Sep-2010 Andreas Huber <andih@google.com> am f0eab98c: am a063cd64: Merge "Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content." into gingerbread

Merge commit 'f0eab98c4ef7449eb5a5ef659cd794e0003216b3'

* commit 'f0eab98c4ef7449eb5a5ef659cd794e0003216b3':
Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content.
5185b0138aaeffeecc93b958cb9cd9821f260faf 09-Sep-2010 Eric Laurent <elaurent@google.com> LVM release 1.09 delivery

- Reverb:
- 1 channel mixed has gain zero
- core componenet now only outputs STEREO samples
- wrapper now handles only STEREO from the Reverb Core
- Bass Boost:
- increase scratch memory

Change-Id: I00ae31051cc40a7006fc993420facfeb4d30dc52
ibeffects/lvm/lib/Bass/src/LVDBE_Private.h
ibeffects/lvm/lib/Reverb/src/LVREV_ApplyNewSettings.c
ibeffects/lvm/lib/Reverb/src/LVREV_Process.c
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
e3ae15e0ccee7b57a8e8f2cb283b041e97607755 09-Sep-2010 Andreas Huber <andih@google.com> am f3de053c: Merge "Instead of asserting return a runtime error if the maximum sample size cannot be determined." into gingerbread

Merge commit 'f3de053c0a525f85f763ab9b8781ae95ef3e930e' into gingerbread-plus-aosp

* commit 'f3de053c0a525f85f763ab9b8781ae95ef3e930e':
Instead of asserting return a runtime error if the maximum sample size cannot be determined.
de32b0f6b1364af8b7a1124831d268e178f82891 09-Sep-2010 James Dong <jdong@google.com> am 5c43a7af: Merge "When 32-bit offset is used, if the requested max file size is greater than the 32-bit offset limit, set the limit to the max 32-bit offset limit." into gingerbread

Merge commit '5c43a7af7b9530016b922ddec0401ab9199cd595' into gingerbread-plus-aosp

* commit '5c43a7af7b9530016b922ddec0401ab9199cd595':
When 32-bit offset is used,
31d2a4b01517a5e5d923d066269be49207b2c805 09-Sep-2010 Andreas Huber <andih@google.com> Merge "Instead of asserting return a runtime error if the maximum sample size cannot be determined." into gingerbread
4c73f1f95838a9cc86ff7d3beb7388f98eee562a 09-Sep-2010 James Dong <jdong@google.com> Merge "When 32-bit offset is used, if the requested max file size is greater than the 32-bit offset limit, set the limit to the max 32-bit offset limit." into gingerbread
49110ce0ed95918c85eebe6e09e900b905b37e23 09-Sep-2010 Andreas Huber <andih@google.com> Instead of asserting return a runtime error if the maximum sample size cannot be determined.

Change-Id: Icf17ed04323f5415e0f9f1e4fd9f19ca60ce15ac
related-to-bug: 2602446
ibstagefright/MPEG4Extractor.cpp
84cd8adafe0bbfc1af775c9d9a69ec988cb05714 09-Sep-2010 Andreas Huber <andih@google.com> am a063cd64: Merge "Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content." into gingerbread

Merge commit 'a063cd6478254bba3290576ae5556abf469d6535' into gingerbread-plus-aosp

* commit 'a063cd6478254bba3290576ae5556abf469d6535':
Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content.
772bcc27ba7c1fd42c72ecaca55d533328bd18e7 09-Sep-2010 Andreas Huber <andih@google.com> Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content.

Change-Id: I26db4524c5306bf2346438d2bd359c5cfb95cead
related-to-bug: 2900419
ibstagefright/MP3Extractor.cpp
ibstagefright/include/MP3Extractor.h
9b2cef27bbe953c0b5c37ada9bf18d706c396513 09-Sep-2010 James Dong <jdong@google.com> am 306cd58d: am d353c840: Merge "HW audio encoder expects timestamp via kKeyTime from each input buffer" into gingerbread

Merge commit '306cd58ddcc0cb8487bc6e015f8c692eea47a334'

* commit '306cd58ddcc0cb8487bc6e015f8c692eea47a334':
HW audio encoder expects timestamp via kKeyTime from each input buffer
d2518e0c0a5bffd30b0dccb04fe7bf5b77c354b1 09-Sep-2010 James Dong <jdong@google.com> When 32-bit offset is used,
if the requested max file size is greater than the 32-bit offset limit,
set the limit to the max 32-bit offset limit.

Change-Id: Ie74cbed98469721d4280a0b87491e888948f0046
ibstagefright/MPEG4Writer.cpp
368b56e07f5d55911bfdd81bf39c04da57bccfb4 09-Sep-2010 James Dong <jdong@google.com> am d353c840: Merge "HW audio encoder expects timestamp via kKeyTime from each input buffer" into gingerbread

Merge commit 'd353c840ad5bf1b4e6bfba0e10bcdc79223bcdf7' into gingerbread-plus-aosp

* commit 'd353c840ad5bf1b4e6bfba0e10bcdc79223bcdf7':
HW audio encoder expects timestamp via kKeyTime from each input buffer
fbf7162465ee5b9e928d5676d439a475c93b0725 09-Sep-2010 James Dong <jdong@google.com> Merge "HW audio encoder expects timestamp via kKeyTime from each input buffer" into gingerbread
3c3763d2ee1cd1fba7fe522fbaf0faca315d8c2a 09-Sep-2010 James Dong <jdong@google.com> HW audio encoder expects timestamp via kKeyTime from each input buffer

- This fixes media server crashes on droid

Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc
ibstagefright/AudioSource.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
87e607994fa1703e1b975af41b02e539e7b7411f 09-Sep-2010 Eric Laurent <elaurent@google.com> am e126119c: am 95d86480: Merge "Modify type of some environmental reverb parameters" into gingerbread

Merge commit 'e126119c3a406bc564f2549aeb1416aff112689d'

* commit 'e126119c3a406bc564f2549aeb1416aff112689d':
Modify type of some environmental reverb parameters
e92e213499d7bc6d867886c00e7a1be081ab8fbd 09-Sep-2010 Eric Laurent <elaurent@google.com> am 95d86480: Merge "Modify type of some environmental reverb parameters" into gingerbread

Merge commit '95d8648054223a501fe5390edef7e5d9383a4be8' into gingerbread-plus-aosp

* commit '95d8648054223a501fe5390edef7e5d9383a4be8':
Modify type of some environmental reverb parameters
54c38fdcff502ab3502c55dd314a954dd60c0183 09-Sep-2010 Eric Laurent <elaurent@google.com> Modify type of some environmental reverb parameters

Changed type of decay time, reverb delay and reflections delay parameters
from signed to unsigned int to match OpenSL ES interface definition.

Also fixed some type casts in lvm reverb wrapper.

Change-Id: I5ca5e76a87c2590f01f031f3168355586ef22556
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
5de4999e6dd8a3f2740d20e30e8a3fccdcb76362 07-Sep-2010 Andreas Huber <andih@google.com> Don't assert on unexpected surface flinger dequeue/enqueueBuffer errors, log a warning and ignore them instead.

Change-Id: Ia45887df82d66f393520e5a4308f430010402d5e
related-to-bug: 2976248
ibstagefright/colorconversion/SoftwareRenderer.cpp
5d7d90a0dec80114e4e299aaca69e41df6ff296a 04-Sep-2010 Nipun Kwatra <nkwatra@google.com> Merge changes I71f5b0fc,I92c7accb

* changes:
Moving decision to use still camera to CameraSourceTimeLapse
pass auxiliary video parameters.
155e833a7a5fc3e193691324cf9326da1bc3289a 02-Sep-2010 Nipun Kwatra <nkwatra@google.com> Moving decision to use still camera to CameraSourceTimeLapse

CameraSourceTimeLapse now decides whether to use still or video
camera automatically. It checks if the passed in size is a valid
preview size and if it is, then uses the video camera else uses
the still camera.

Removed from StagefrightRecorder the support to set parameter
useStillCameraForTimeLapse.

Change-Id: I71f5b0fc7080ca524792381efe918d22e41a7f36
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSourceTimeLapse.cpp
4d3f97efda864ca571047edd5239fc8275ea37c4 04-Sep-2010 Eric Laurent <elaurent@google.com> am ef9e508c: am 7e427934: Merge "LVM release 1.08 delivery." into gingerbread

Merge commit 'ef9e508c2cb3b52d31250ceca3dddace17cec950'

* commit 'ef9e508c2cb3b52d31250ceca3dddace17cec950':
LVM release 1.08 delivery.
734c3c96787e550b4a28bdf895438a7e79f30152 04-Sep-2010 James Dong <jdong@google.com> am d6fd133d: am 9077f8ec: Merge "Not all audio source has the drift time information" into gingerbread

Merge commit 'd6fd133d18c189ab112daef9dc649d0796df5d99'

* commit 'd6fd133d18c189ab112daef9dc649d0796df5d99':
Not all audio source has the drift time information
aa8d119ae39dc28cf1599575b97a4f96a7893a22 04-Sep-2010 Eric Laurent <elaurent@google.com> am 7e427934: Merge "LVM release 1.08 delivery." into gingerbread

Merge commit '7e427934e69db804f3ee803e6ffeef4a339e9b8b' into gingerbread-plus-aosp

* commit '7e427934e69db804f3ee803e6ffeef4a339e9b8b':
LVM release 1.08 delivery.
f9c0ae8474dc7180a561ed1e7a8ba3d0d31f6d38 04-Sep-2010 Eric Laurent <elaurent@google.com> Merge "LVM release 1.08 delivery." into gingerbread
77682dbd1d86b9504e1fedcf2b44619dca4d0d19 04-Sep-2010 James Dong <jdong@google.com> am 9077f8ec: Merge "Not all audio source has the drift time information" into gingerbread

Merge commit '9077f8ec931a4c080948a85ce2e0f793f65e9b62' into gingerbread-plus-aosp

* commit '9077f8ec931a4c080948a85ce2e0f793f65e9b62':
Not all audio source has the drift time information
ddba3f0424340869f7819153cc8c1037caf62919 04-Sep-2010 James Dong <jdong@google.com> Merge "Not all audio source has the drift time information" into gingerbread
2d3bf535004f7310fe04a4b5f46b6747cdb3c93f 03-Sep-2010 Eric Laurent <elaurent@google.com> LVM release 1.08 delivery.

- Changed bundle SamplesToExit to 0.1 secs
- Added SamplesToExit to Revreb
- Removed mixer from Core reverb

Change-Id: I675ec22889f20ef35a0ac427600c2654111c397e
ibeffects/lvm/lib/Reverb/src/LVREV_ApplyNewSettings.c
ibeffects/lvm/lib/Reverb/src/LVREV_GetInstanceHandle.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Control.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
49ce029a6b62681c576a51f963d734eccd4eaccd 03-Sep-2010 Andreas Huber <andih@google.com> am 8e11c822: am 9fee0b2a: Ogg files can be tagged to be automatically looping, this setting always overrides the MediaPlayer\'s setLooping setting.

Merge commit '8e11c82247151085fa165c76bfbc157bc6091ca4'

* commit '8e11c82247151085fa165c76bfbc157bc6091ca4':
Ogg files can be tagged to be automatically looping, this setting always overrides the MediaPlayer's setLooping setting.
1d816a9af5ed42aca84a46f51d77648aca4139b8 03-Sep-2010 Andreas Huber <andih@google.com> am 9fee0b2a: Ogg files can be tagged to be automatically looping, this setting always overrides the MediaPlayer\'s setLooping setting.

Merge commit '9fee0b2a02daa6fcf286ed930e45400dd3ba8dba' into gingerbread-plus-aosp

* commit '9fee0b2a02daa6fcf286ed930e45400dd3ba8dba':
Ogg files can be tagged to be automatically looping, this setting always overrides the MediaPlayer's setLooping setting.
24beeac58c36b780ae61d1fb7a3421ffe5510a1e 03-Sep-2010 Jamie Gennis <jgennis@google.com> Merge "Add the new Stagefright ANativeWindow OMX codec API."
83750eaf5a3f38c243a9e7eb81d4b2421e3a0d88 31-Aug-2010 Jamie Gennis <jgennis@google.com> Add the new Stagefright ANativeWindow OMX codec API.

This change defines the two OMX_SetParameter calls that enable OMX codecs to
interact with ANativeWindows. It also adds the plumbing to the IOMX, OMX, and
OMXNodeInstance classes to use these new APIs.

This is try 2 for this change, after reverting the first one because it broke
the build.

Change-Id: I94249b72bdb5d5719360f03d7935fcca4ece5028
ibmedia/IOMX.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
8ae49d87b98d57d6758b0c51b95e28a6581a79f1 03-Sep-2010 Andreas Huber <andih@google.com> Ogg files can be tagged to be automatically looping, this setting always overrides the MediaPlayer's setLooping setting.

Change-Id: Ifb564c6cdf6137eac14869f9ca7d471f05a5556a
related-to-bug: 2974691
ibstagefright/AwesomePlayer.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/include/AwesomePlayer.h
511ea9823b1ab1d45eb86607cb291878c70b26ae 03-Sep-2010 Andreas Huber <andih@google.com> am af7a7c34: am cc4a38c6: Merge "Properly buffer a certain amount of data on streaming sources before finishing prepare()." into gingerbread

Merge commit 'af7a7c34e0752db2b8ec3dd7fa6e8d486ea010dc'

* commit 'af7a7c34e0752db2b8ec3dd7fa6e8d486ea010dc':
Properly buffer a certain amount of data on streaming sources before finishing prepare().
6f6bc92bc775bc6ddb6d85a45030b217ceb28976 03-Sep-2010 Andreas Huber <andih@google.com> am cc4a38c6: Merge "Properly buffer a certain amount of data on streaming sources before finishing prepare()." into gingerbread

Merge commit 'cc4a38c60f52082f3c1970c7eda6756949c6e5d5' into gingerbread-plus-aosp

* commit 'cc4a38c60f52082f3c1970c7eda6756949c6e5d5':
Properly buffer a certain amount of data on streaming sources before finishing prepare().
1a4c79eada496dc43918440608f15410eaecd28c 03-Sep-2010 Andreas Huber <andih@google.com> Merge "Properly buffer a certain amount of data on streaming sources before finishing prepare()." into gingerbread
8650e1960905097f6f1d6aa462ccb1c93c656834 03-Sep-2010 Andreas Huber <andih@google.com> Properly buffer a certain amount of data on streaming sources before finishing prepare().

Change-Id: I39bf3c6dafcbe003b51dea4795742dcd8548f207
related-to-bug: 2875110
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
caa68a57f0b358b8fbe17447ffa453b9120a8610 03-Sep-2010 James Dong <jdong@google.com> Not all audio source has the drift time information

Change-Id: I74e502376348ca4a6ffaa7492bed35c1355e7e62
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
35b8b488e0822854d411976710ed55f3a1c72bf3 03-Sep-2010 James Dong <jdong@google.com> am bc1452a3: am 7755cdd6: Remove unused/debugging code from MP4 file writer

Merge commit 'bc1452a307ac61ca87bf78722701ac85100952af'

* commit 'bc1452a307ac61ca87bf78722701ac85100952af':
Remove unused/debugging code from MP4 file writer
52c006e31d4fc710abfb98b66fdb79fb8cb096ac 03-Sep-2010 James Dong <jdong@google.com> am 7755cdd6: Remove unused/debugging code from MP4 file writer

Merge commit '7755cdd69690ccbb42c6fd47b3e9c4594d4ade82' into gingerbread-plus-aosp

* commit '7755cdd69690ccbb42c6fd47b3e9c4594d4ade82':
Remove unused/debugging code from MP4 file writer
b4d5320bda29cd9694461c9b61d0211f801ff0af 02-Sep-2010 James Dong <jdong@google.com> Remove unused/debugging code from MP4 file writer

o also makes nal length in the recorded file modifiable at runtime

Change-Id: I731b4dde7070d8d9628b36b523a5b2c011c7c2cf
ibstagefright/MPEG4Writer.cpp
92be4e1735b54e2528fed455b87c813cdd73d8c2 03-Sep-2010 James Dong <jdong@google.com> am 3c3fc97e: am 46e63b34: Merge "Better file size estimate" into gingerbread

Merge commit '3c3fc97e104bd17af608727d82e965fc28f2c89d'

* commit '3c3fc97e104bd17af608727d82e965fc28f2c89d':
Better file size estimate
de428f1d27a2f5039b228aa6e011f8651539b43a 03-Sep-2010 James Dong <jdong@google.com> am 46e63b34: Merge "Better file size estimate" into gingerbread

Merge commit '46e63b346770efa14451b8e67b7f7636c4e5a76c' into gingerbread-plus-aosp

* commit '46e63b346770efa14451b8e67b7f7636c4e5a76c':
Better file size estimate
1f90c4b3fda9dbd2824d67fd679f850572f114dc 02-Sep-2010 James Dong <jdong@google.com> Better file size estimate

When the recorded file becomes large, the metadata size can
no longer be ignored. This makes it possible to save the
recorded file when the storage becomes almost full at the
end of the recording session.

Change-Id: Ief038080f825c9946ce550949c03e914aec1e31a
ibstagefright/MPEG4Writer.cpp
fbc6db2e7af12b88703b4cbaa4c7b979bc9d028e 03-Sep-2010 James Dong <jdong@google.com> am bb64e554: am 7ed7668b: Merge "Calculate audio media drift time from AudioSource" into gingerbread

Merge commit 'bb64e554d9a28fcf8eebf579e91ff71b8ffef1e3'

* commit 'bb64e554d9a28fcf8eebf579e91ff71b8ffef1e3':
Calculate audio media drift time from AudioSource
ea0fe650000b25fbc1a5feb43a0ac2b507adc062 03-Sep-2010 James Dong <jdong@google.com> am 7ed7668b: Merge "Calculate audio media drift time from AudioSource" into gingerbread

Merge commit '7ed7668b30e70ca8e3f0f183364433326ed29f39' into gingerbread-plus-aosp

* commit '7ed7668b30e70ca8e3f0f183364433326ed29f39':
Calculate audio media drift time from AudioSource
e3e76c456baee122de6715ae280130abaddc906c 02-Sep-2010 Mike Lockwood <lockwood@android.com> MTP: Implement support for getting/setting device properties

Added support for the "device friendly name" and "synchonization partner"
properties, which are required by Microsoft.

Change-Id: Ic0443333d75f7d98a2d902a790b9d505a56d4eef
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpProperty.cpp
tp/MtpProperty.h
tp/MtpServer.cpp
d707fcb3e29707ca4a5935c294ef0b38eb5aba5f 02-Sep-2010 James Dong <jdong@google.com> Calculate audio media drift time from AudioSource

The problem was that the time to receive an output buffer
from an audio encoder is different because the encoder does not
need to read from the source for all output buffers. This leads
to large fluctuation in terms of wall clock duration between two
neighboring audio sample outputs from the audio encoder. As a
result, the media time for the video track after adjustment using
the drifting changes wildly sometimes.

This patch addresses this issue by only updating the media drift
time when an audio source input buffer is read. the wall clock
for the audio track is also calculated at the same time when
the input audio buffer is read at AudioSource.

bug - 2959800

Change-Id: I3174aa182f744784b540f0a7198524d4eee8bd7b
ibstagefright/AudioSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
6faf0cd82346b23075d1f8b9f70f7af43f2c5f04 02-Sep-2010 Andreas Huber <andih@google.com> am fd0eed00: am a2511da9: Merge "Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data." into gingerbread

Merge commit 'fd0eed007d99178092ede56ec2c4799046615f70'

* commit 'fd0eed007d99178092ede56ec2c4799046615f70':
Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data.
955c5d0e21097a4baccc3174fa43e9cfe45cfa9b 02-Sep-2010 James Dong <jdong@google.com> am 3fd01c4d: am d3c1bae4: Merge "Make sure that if initialization fails, AudioSource still behaves well." into gingerbread

Merge commit '3fd01c4da9b8fb7796d64096b9bbd6fcdee280e6'

* commit '3fd01c4da9b8fb7796d64096b9bbd6fcdee280e6':
Make sure that if initialization fails, AudioSource still behaves well.
031ecf372128a786a9ae84aee9c681af7a0c7db1 02-Sep-2010 Andreas Huber <andih@google.com> am a2511da9: Merge "Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data." into gingerbread

Merge commit 'a2511da9d65b11be7f59ed3f525f77e85aeb4bef' into gingerbread-plus-aosp

* commit 'a2511da9d65b11be7f59ed3f525f77e85aeb4bef':
Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data.
4cd45f8664678c37bf0e13f76b1718bfbd7a1372 02-Sep-2010 James Dong <jdong@google.com> am d3c1bae4: Merge "Make sure that if initialization fails, AudioSource still behaves well." into gingerbread

Merge commit 'd3c1bae4eb78404bd1e17b7acf67087a18c83ef3' into gingerbread-plus-aosp

* commit 'd3c1bae4eb78404bd1e17b7acf67087a18c83ef3':
Make sure that if initialization fails, AudioSource still behaves well.
9b93478fef2915a1d0cbb1fe17d2788ef8b5b230 02-Sep-2010 Andreas Huber <andih@google.com> Merge "Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data." into gingerbread
ab8920aace6e4381f10c992e5606f7eda71ea833 02-Sep-2010 Nipun Kwatra <nkwatra@google.com> Merge "Support for auxiliary video parameters."
e91b46246305ba233067e06bce8d8a82e6c5b101 02-Sep-2010 James Dong <jdong@google.com> Merge "Make sure that if initialization fails, AudioSource still behaves well." into gingerbread
c9e894872c298b25fe9d74e68aa1e7287a541ac3 02-Sep-2010 Andreas Huber <andih@google.com> Better support for buffered streaming of rtsp content, if buffer drops below a certain threshold we will temporarily pause playback until we have sufficient data.

Change-Id: Ice8564e902e48c89c9c00f6651c5504b3c41fcad
related-to-bug: 2556656
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/ARTSPController.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/APacketSource.h
ibstagefright/rtsp/ARTSPController.cpp
9f2d258645826c999a93a4206df157fec2e3b0f2 01-Sep-2010 Jamie Gennis <jgennis@google.com> Revert "Merge "Add the new Stagefright ANativeWindow OMX codec API.""

This reverts commit 8a643b411e1802977f742709113ce01b06a18e12, reversing
changes made to 73ea9beaf8eb3d0027e78cbc0ac5e626c3f8deb4.
ibmedia/IOMX.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
6e20bdf799a6f4efa6c42121a958634ea32ed5cc 01-Sep-2010 James Dong <jdong@google.com> Make sure that if initialization fails, AudioSource still behaves well.

Change-Id: I16dfc90bcb8a324d6ee9a38a5a1a31cc094c820a
ibstagefright/AudioSource.cpp
9dd4931cca8e4a2fcbcabf4eb7078648e1c029cd 01-Sep-2010 Jamie Gennis <jgennis@google.com> Merge "Add the new Stagefright ANativeWindow OMX codec API."
cfe88a20345dad981842b2c8092e4c704d3f98b4 01-Sep-2010 Nipun Kwatra <nkwatra@google.com> Support for auxiliary video parameters.

Added support for passing width, height and video bitrate
for the auxiliary video.
Also setting encoder level depending on the video size and bitrate.

Change-Id: I4a90046853f67287c3e7e6babc75b4827f0c3e73
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
56f2c6e529bc62d55fc8baa7d1b52326307474d4 01-Sep-2010 Andreas Huber <andih@google.com> am 47f2cf62: am 412fc7cd: Merge "Keep gtalk video chat specific code consistent with rtsp changes." into gingerbread

Merge commit '47f2cf620731226a9311db0f864a4e1404e54b96'

* commit '47f2cf620731226a9311db0f864a4e1404e54b96':
Keep gtalk video chat specific code consistent with rtsp changes.
002b34c3f56932fa472ee4a9fd47a8b021a27b1a 01-Sep-2010 Andreas Huber <andih@google.com> am 412fc7cd: Merge "Keep gtalk video chat specific code consistent with rtsp changes." into gingerbread

Merge commit '412fc7cdb6a1c4b6afe85b58fcc794fd67271942' into gingerbread-plus-aosp

* commit '412fc7cdb6a1c4b6afe85b58fcc794fd67271942':
Keep gtalk video chat specific code consistent with rtsp changes.
bcbe5af62aad9d1ef64f799fcde58ac9a8adace8 01-Sep-2010 Andreas Huber <andih@google.com> Merge "Keep gtalk video chat specific code consistent with rtsp changes." into gingerbread
8852dbbdf3ceda01a96f3c8a814822e224239494 01-Sep-2010 Andreas Huber <andih@google.com> am 021a822e: am de2b1615: Merge "Properly extract all raw_data_blocks from an ADSP mpeg4 audio buffer." into gingerbread

Merge commit '021a822e76ab34a6404486e23157db6b6c50ec3e'

* commit '021a822e76ab34a6404486e23157db6b6c50ec3e':
Properly extract all raw_data_blocks from an ADSP mpeg4 audio buffer.
559dc605bfe2deb73ad718e0d5c5dc55e27c45df 31-Aug-2010 Jamie Gennis <jgennis@google.com> Add the new Stagefright ANativeWindow OMX codec API.

This change defines the two OMX_SetParameter calls that enable OMX codecs to
interact with ANativeWindows. It also adds the plumbing to the IOMX, OMX, and
OMXNodeInstance classes to use these new APIs.

Change-Id: Ibfbf893dc3513db0b3d3221bec5708c77287cddc
ibmedia/IOMX.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
d8c48ad99d2e2a0b9df9aa4986ed0d31741e0d2f 01-Sep-2010 Andreas Huber <andih@google.com> am de2b1615: Merge "Properly extract all raw_data_blocks from an ADSP mpeg4 audio buffer." into gingerbread

Merge commit 'de2b1615d27881d98f483fc9158497fbe1fc5f8d' into gingerbread-plus-aosp

* commit 'de2b1615d27881d98f483fc9158497fbe1fc5f8d':
Properly extract all raw_data_blocks from an ADSP mpeg4 audio buffer.
82f7321b03eec1e40af9d681370f754ee0279582 01-Sep-2010 Andreas Huber <andih@google.com> Properly extract all raw_data_blocks from an ADSP mpeg4 audio buffer.

Change-Id: I15e21eae50beb6057024ea42a7e9bf3b8d8a0603
related-to-bug: 2368598
ibstagefright/AwesomePlayer.cpp
ibstagefright/mpeg2ts/ATSParser.cpp
389636ce967af15e72817e2133907a2cb2efd1ae 01-Sep-2010 Andreas Huber <andih@google.com> Keep gtalk video chat specific code consistent with rtsp changes.

Change-Id: I5f3f46c2150e16b26674432e427f79c04a69cd8e
ibstagefright/rtsp/ARTPSession.cpp
1040127473ee48c1c3b8c279ae05d38dbfb6e4c2 01-Sep-2010 Eric Laurent <elaurent@google.com> am 55e79374: am f560ceab: Merge "Audio Effects: fix problems in volume control." into gingerbread

Merge commit '55e7937462d107b469a58651d3d51e15086f8e9e'

* commit '55e7937462d107b469a58651d3d51e15086f8e9e':
Audio Effects: fix problems in volume control.
2e0448f9be36784d07581d1c2ef7a0c0ecba0663 01-Sep-2010 Eric Laurent <elaurent@google.com> am f560ceab: Merge "Audio Effects: fix problems in volume control." into gingerbread

Merge commit 'f560ceabe11b4f541c568bead61a5ec8f527151c' into gingerbread-plus-aosp

* commit 'f560ceabe11b4f541c568bead61a5ec8f527151c':
Audio Effects: fix problems in volume control.
8f45bd725549436eeacd12ee69349e2332ed8da5 31-Aug-2010 Eric Laurent <elaurent@google.com> Audio Effects: fix problems in volume control.

- Fixed click when re-enabling effect during the turn off phase:
make sure the effect states where effect is processed are the same
where volume control is delegated to effect.
- Fixed click when effect is deleted while still active: do not apply
volume ramp if an effect having volume control was just removed from the
effect chain.

Also fixed a crash when PCM dump is enabled in effect bundle wrapper.

Change-Id: Ib562f5cf75c69af75df0e862536262e2514493e4
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
3ef9f98aebb76018d2ee48ae4ac727a05efa63df 01-Sep-2010 Andreas Huber <andih@google.com> am 6b52911c: am 48ac68e1: Merge "Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr." into gingerbread

Merge commit '6b52911cc7ba548fd3a240ca61eba510a8581e6f'

* commit '6b52911cc7ba548fd3a240ca61eba510a8581e6f':
Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr.
dc344e56790d2a301d25c27a4c0ae47cdac2898b 31-Aug-2010 Andreas Huber <andih@google.com> am 48ac68e1: Merge "Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr." into gingerbread

Merge commit '48ac68e1b117b6b55f06daced7d9d5d550853306' into gingerbread-plus-aosp

* commit '48ac68e1b117b6b55f06daced7d9d5d550853306':
Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr.
06124758ff402512f3c7a5fb2b35d8d09a0d6c2e 31-Aug-2010 Andreas Huber <andih@google.com> Merge "Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr." into gingerbread
16c4e8c778d8518af4c0cbefadc5d5b1272c1762 31-Aug-2010 Andreas Huber <andih@google.com> am e1a3cddd: am 99fa510e: Merge "Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)" into gingerbread

Merge commit 'e1a3cddd94749a42457a8f32cf21f663f07e4edf'

* commit 'e1a3cddd94749a42457a8f32cf21f663f07e4edf':
Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)
07e0c92953811c9c8062d419104a2d591ff38877 31-Aug-2010 Andreas Huber <andih@google.com> am 99fa510e: Merge "Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)" into gingerbread

Merge commit '99fa510e67cb973b45fc216c75bdc817421e14ae' into gingerbread-plus-aosp

* commit '99fa510e67cb973b45fc216c75bdc817421e14ae':
Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)
23e6126e489c732e9a8216253a3eee1667b9dd9f 31-Aug-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Send an Intent after an MTP session that resulted in media database modifications"
4dba3e90f211eb5f5af19b10c5d3fc8c967b0086 31-Aug-2010 Andreas Huber <andih@google.com> Support for RFC3640 - mpeg4-generic RTP packet type, AAC-lbr and AAC-hbr.

Change-Id: Ied92ea8c2448a2cb1a732c72c21c69da1913dbc8
related-to-bug: 2556656
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPSource.cpp
6b3a9d15c8a2282c03f1df7d72a55b6800d4ecec 31-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Send an Intent after an MTP session that resulted in media database modifications

Change-Id: Ib2796e9155350c67769502935a73cf98d6ae9c08
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpServer.cpp
e7d3e90d8761f52a6acfdcd926f0392aca8ebb52 31-Aug-2010 Andreas Huber <andih@google.com> Better detection of connection problems - timeout if no rtcp packets arrive within a certain time, not a final frame (which may take longer)

Change-Id: I3c1ae79bb9342770e959ebdcdc6b748549b76330
related-to-bug: 2556656
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/MyHandler.h
ad452ffadf0ced7449395585a55255c915734e17 30-Aug-2010 Nipun Kwatra <nkwatra@google.com> Added VideoSourceDownSampler

VideoSourceDownSampler takes in a real video source. The MediaSource
interface is then implemented by shortcircuiting calls to this real source,
except for the read() function. For read we first call read of the real
source, then downsample the frame to the desired size and return that.

Change-Id: I6e1b377e043e136a70a7b03792eb9165bbe26398
ibstagefright/Android.mk
ibstagefright/VideoSourceDownSampler.cpp
5d6aca5d86e86af3f8f597be573d4563d69ceb85 27-Aug-2010 Nipun Kwatra <nkwatra@google.com> Added setAuxiliaryOutputFile to MediaRecorder and JNI

added setAuxiliaryOutputFile to allow setting of an auxiliary output file.
Also added the JNI support.

Change-Id: I8c3335192bd6f7fcbfdfc8552cfd0848f2ad2a5d
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
9c075bca0b75093ca0514a3c8f74d73c8e9e83fd 27-Aug-2010 Nipun Kwatra <nkwatra@google.com> Adding support for parallel recording sessions.

- Added setOutputFileAuxiliary to pass the auxiliary file descriptor. The java
interface through JNI will be checked in next.

- renamed setupCameraSource to setupCamera as the function just sets the camera.
- Added setupCameraSource which sets up the camera source. This functionality
was in setupVideoEncoder before.
- setupVideoEncoder now takes in a cameraSource instead of creating it on it
own.

- Refactored startMPEG4Recording() to use setupMPEG4Recording,
setupMPEG4MetaData.
- setupMPEG4Recording() takes in file descriptor, bitrates to setup a mpeg4
writer. This function can be called multiple times to setup multiple
writers.
- Added setupMPEG4MetaData() for setting up the meta data for mpeg4 writer.
startMPEG4Recording() now calls setupMPEG4Recording, setupMPEG4MetaData for
each recording session.

Change-Id: I07f5334a1ff8e12a36f58e94129fcfa6add2208b
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/Android.mk
6865ddb29fc7e7a14104d73c65b71074502bb6c7 31-Aug-2010 Chia-chi Yeh <chiachi@android.com> am 1577e629: am 12006013: fixedfft: Only includes cpu-features.h when __arm__ is defined.

Merge commit '1577e629866b2700e31c9467478e05ebffcc69a1'

* commit '1577e629866b2700e31c9467478e05ebffcc69a1':
fixedfft: Only includes cpu-features.h when __arm__ is defined.
d0e5b406dd0f86b01b3f550fbb894a7492454da2 31-Aug-2010 Andreas Huber <andih@google.com> Merge "Make sure we only reallocate buffers on a genuine port definition change."
eebcf36cf2db2563af8ef479e01747321aa959e8 31-Aug-2010 Chia-chi Yeh <chiachi@android.com> am 12006013: fixedfft: Only includes cpu-features.h when __arm__ is defined.

Merge commit '12006013cc2cd0a076855ed068f5f782b24631c3' into gingerbread-plus-aosp

* commit '12006013cc2cd0a076855ed068f5f782b24631c3':
fixedfft: Only includes cpu-features.h when __arm__ is defined.
5edae619a6ad7337a3d14b53f7665ff17ec3ee84 30-Aug-2010 Chia-chi Yeh <chiachi@android.com> fixedfft: Only includes cpu-features.h when __arm__ is defined.

Change-Id: Ifb6c03b38eff3c94a507ceb5043fcc48b364c25c
ibmedia/fixedfft.cpp
5e9d8a22e974627e1b3273cc3ca3277998d93ed4 31-Aug-2010 Andreas Huber <andih@google.com> Make sure we only reallocate buffers on a genuine port definition change.

Change-Id: I434be98700e5d9333f75a3a9a8c78f1acc7e7247
related-to-bug: 2953523
ibstagefright/OMXCodec.cpp
ca999e0f936fc83f321e31ae13f93348d3f7454c 31-Aug-2010 Andreas Huber <andih@google.com> am 03e83d4a: am 68ae91cb: Merge "Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we\'re ignoring timestamps for gtalk videochat but we still have to have a placeholder." into gingerbread

Merge commit '03e83d4ad909f5c07fb2011e03348a413453e909'

* commit '03e83d4ad909f5c07fb2011e03348a413453e909':
Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder.
d81ef83a493a27887b795fdf9ece391155779914 31-Aug-2010 Andreas Huber <andih@google.com> am 68ae91cb: Merge "Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we\'re ignoring timestamps for gtalk videochat but we still have to have a placeholder." into gingerbread

Merge commit '68ae91cbd20939e48ad15c15405048e7ff9fe2f8' into gingerbread-plus-aosp

* commit '68ae91cbd20939e48ad15c15405048e7ff9fe2f8':
Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder.
5d5f5dfcc16756fe80a7c46cff0949fce9d54fe9 31-Aug-2010 Andreas Huber <andih@google.com> Merge "Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder." into gingerbread
b186054757f4743eb9a6d6e81d262b9c7b36bec7 31-Aug-2010 Andreas Huber <andih@google.com> Recent changes to the rtsp code require every buffer fed to the packet source to have a timestamp, we're ignoring timestamps for gtalk videochat but we still have to have a placeholder.

Change-Id: Ib8615ce5a89a9a846ee2f9f96cdfb23462f72c7a
ibstagefright/rtsp/ARTPSession.cpp
b62029edb6e0f97759ffb6d8f587267bee2dc31b 31-Aug-2010 Andreas Huber <andih@google.com> am 987556bc: am abb8398e: Merge "Instead of closing the connection altogether if no UDP packets arrive after a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection." into gingerbread

Merge commit '987556bc9bc1a61415b6e65bd600b8daf5b24d30'

* commit '987556bc9bc1a61415b6e65bd600b8daf5b24d30':
Instead of closing the connection altogether if no UDP packets arrive after a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection.
f594c6449ec3eeac92cb983a3bb0e4ef4ccc3e19 31-Aug-2010 Andreas Huber <andih@google.com> am abb8398e: Merge "Instead of closing the connection altogether if no UDP packets arrive after a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection." into gingerbread

Merge commit 'abb8398e5ab40a3078902c5333126a0743ba2458' into gingerbread-plus-aosp

* commit 'abb8398e5ab40a3078902c5333126a0743ba2458':
Instead of closing the connection altogether if no UDP packets arrive after a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection.
7aef03379179c109c2547c33c410bfc93c8db576 31-Aug-2010 Andreas Huber <andih@google.com> Instead of closing the connection altogether if no UDP packets arrive after a certain time, try changing transports (to interleaved TCP). Also properly close the sockets on disconnection.

Change-Id: Ie8d6a3865a0477e28d4b76bb9038e468451287b1
related-to-bug: 2556656
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/MyHandler.h
dd0f7a7127fdb04863b4ad66d2b846ee94358314 30-Aug-2010 Andreas Huber <andih@google.com> am 9aa05ec2: am 681c5ff2: Merge "Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore." into gingerbread

Merge commit '9aa05ec2cd6bc592074c7bd08d22db46649c7f12'

* commit '9aa05ec2cd6bc592074c7bd08d22db46649c7f12':
Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore.
d3a3eaf5d0c88e13b8dc7154fcae8b15dcacc932 30-Aug-2010 Eric Laurent <elaurent@google.com> am 5762dc19: am 858bb4f6: Merge "LVM release 1.07 delivery." into gingerbread

Merge commit '5762dc19836e332d3ac1906e5698088a128b362d'

* commit '5762dc19836e332d3ac1906e5698088a128b362d':
LVM release 1.07 delivery.
9d876aca5ede85e6d9ccb82f11fae2834955c6f9 30-Aug-2010 Andreas Huber <andih@google.com> am 7ed9104c: am f6639c46: Finetune some rtsp timeout constants.

Merge commit '7ed9104c3acb172a480ebd7fd456fe69efd1ec3d'

* commit '7ed9104c3acb172a480ebd7fd456fe69efd1ec3d':
Finetune some rtsp timeout constants.
c5c4286bebffa4c2a9539c8e09207c3130351531 30-Aug-2010 Andreas Huber <andih@google.com> am 6df6d606: am df992ac9: Merge "ALoopers can now be named (useful to distinguish threads)." into gingerbread

Merge commit '6df6d60681be9d524ce7fc07f2511008de424d27'

* commit '6df6d60681be9d524ce7fc07f2511008de424d27':
ALoopers can now be named (useful to distinguish threads).
e83fffc032654b819774e5d94d38842bb4190c22 30-Aug-2010 Andreas Huber <andih@google.com> am 681c5ff2: Merge "Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore." into gingerbread

Merge commit '681c5ff2085a08835c08b97641ebdc1b37489943' into gingerbread-plus-aosp

* commit '681c5ff2085a08835c08b97641ebdc1b37489943':
Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore.
1c842b26ebbf64d15b6015b9a03d888829b946ef 30-Aug-2010 Andreas Huber <andih@google.com> Merge "Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore." into gingerbread
a1ffe49c7d537bf2a16fc3eb32b0ecc6d72bdf8a 30-Aug-2010 Andreas Huber <andih@google.com> Reverse the default setting of media.stagefright.enable-{rtsp,record} in preparation for building without opencore.

Change-Id: I1ca6bd8faba0185f9694f9dc04d2b3e6a7ab5ac3
related-to-bug: 2370115
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
d2ab607485542b3e273d945ce423399cea763b52 30-Aug-2010 Eric Laurent <elaurent@google.com> am 858bb4f6: Merge "LVM release 1.07 delivery." into gingerbread

Merge commit '858bb4f66ea1bd9c48b9817cb44a59c8b0394229' into gingerbread-plus-aosp

* commit '858bb4f66ea1bd9c48b9817cb44a59c8b0394229':
LVM release 1.07 delivery.
bf5606b983e203a916d4f687b81b6ebd047802ff 30-Aug-2010 Andreas Huber <andih@google.com> am f6639c46: Finetune some rtsp timeout constants.

Merge commit 'f6639c46e83a1ccab7b293192c208091d17c61be' into gingerbread-plus-aosp

* commit 'f6639c46e83a1ccab7b293192c208091d17c61be':
Finetune some rtsp timeout constants.
c28160fcf5fb785106e00fa5854929be8b49a98a 30-Aug-2010 Andreas Huber <andih@google.com> am df992ac9: Merge "ALoopers can now be named (useful to distinguish threads)." into gingerbread

Merge commit 'df992ac9cc54cedb3e384617ed683a2d1a24d38b' into gingerbread-plus-aosp

* commit 'df992ac9cc54cedb3e384617ed683a2d1a24d38b':
ALoopers can now be named (useful to distinguish threads).
384969931fd36e88872953fff25a881641e816b9 30-Aug-2010 Eric Laurent <elaurent@google.com> Merge "LVM release 1.07 delivery." into gingerbread
e56121bc4cb29c91d736eab181b1f51c4f125e78 30-Aug-2010 Andreas Huber <andih@google.com> Finetune some rtsp timeout constants.

Change-Id: Ice731c5097c2a2dee8a7f0cd45b547cd34f532c6
ibstagefright/rtsp/MyHandler.h
c01ec02269e3bf1fd57620149085407bf6750447 30-Aug-2010 Andreas Huber <andih@google.com> Merge "ALoopers can now be named (useful to distinguish threads)." into gingerbread
cc567f511a159867dcde8da824cab7464e687535 28-Aug-2010 Nipun Kwatra <nkwatra@google.com> Merge "client_id->clientId, bugfix for signaling of read abort on stop."
4caa5782afbf07da01532f7b8744157f0e92d01e 27-Aug-2010 Nipun Kwatra <nkwatra@google.com> client_id->clientId, bugfix for signaling of read abort on stop.

- changed client_id->clientId, mClient_id->mClientId
- there was a bug in the condition for calling
signalReadComplete_lock() in stop. We should call it only when
!mLastReadCompleted and also if the current client has not already
completed its read (this second check was missing before).

Change-Id: I9a57cf6b5c6f3260883a6c74d0c7b22f675c422e
ibstagefright/MediaSourceSplitter.cpp
9bdccaca6a7a09457670138bf6cdd9b3ba5e7087 28-Aug-2010 James Dong <jdong@google.com> am a5fe77d0: am df8356ff: Merge "Workaround for a QCOM issue where the output buffer size advertised by the AVC encoder is occasionally too small." into gingerbread

Merge commit 'a5fe77d004091bd9521d087c2572f587191afbfc'

* commit 'a5fe77d004091bd9521d087c2572f587191afbfc':
Workaround for a QCOM issue where the output buffer size advertised by the AVC encoder
f00421ce0af03785a229552cb9738ac09b17a675 28-Aug-2010 James Dong <jdong@google.com> am 7d3ff384: am b86365ad: Merge "Suppress the video recording start signal - bug 2950297" into gingerbread

Merge commit '7d3ff3849c830f0136c692b6074f1ba5da288fe7'

* commit '7d3ff3849c830f0136c692b6074f1ba5da288fe7':
Suppress the video recording start signal
9fbd6ae6b6d9f3eb791a3385df6fed3524531bd4 28-Aug-2010 Andreas Huber <andih@google.com> am 05c1cada: am 577615c9: Merge "Better support for rtsp (normal play-)time display. Better seek support, timeout if no packets arrive for too long." into gingerbread

Merge commit '05c1cadaeaf272a70acc889bfccd607648058470'

* commit '05c1cadaeaf272a70acc889bfccd607648058470':
Better support for rtsp (normal play-)time display. Better seek support, timeout if no packets arrive for too long.
437ab8c4b66a6c9dc47faa257df90089ebef10a9 28-Aug-2010 Andreas Huber <andih@google.com> am e25e0361: am e250c220: Merge "We accidentally always aborted after 10 secs, even if the connection was fine." into gingerbread

Merge commit 'e25e03612e1a2988ed83f24d2658cf0898fd1944'

* commit 'e25e03612e1a2988ed83f24d2658cf0898fd1944':
We accidentally always aborted after 10 secs, even if the connection was fine.
a814c1fdc2acf0ed2ee3b175110f6039be7c4873 28-Aug-2010 Andreas Huber <andih@google.com> ALoopers can now be named (useful to distinguish threads).

Change-Id: Ieabaddb2e3a9e3a7a5bc36e55cd0721b60dbd50e
ibstagefright/AwesomePlayer.cpp
ibstagefright/NuCachedSource2.cpp
ibstagefright/foundation/ALooper.cpp
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/MyHandler.h
b354e7916ee7b5fffb61c3ede30c3d3b0c26b475 27-Aug-2010 James Dong <jdong@google.com> am df8356ff: Merge "Workaround for a QCOM issue where the output buffer size advertised by the AVC encoder is occasionally too small." into gingerbread

Merge commit 'df8356ff9a2f1fab44bb3aea26c5da0a9f23a4ad' into gingerbread-plus-aosp

* commit 'df8356ff9a2f1fab44bb3aea26c5da0a9f23a4ad':
Workaround for a QCOM issue where the output buffer size advertised by the AVC encoder
824c9ff4a55e86faae4f8f158977329909cbfaf6 27-Aug-2010 James Dong <jdong@google.com> Workaround for a QCOM issue where the output buffer size advertised by the AVC encoder
is occasionally too small.

bug - 2882917

Change-Id: Id59d8529084c5689a26f272e0cd3b1e955fd8a30
ibstagefright/OMXCodec.cpp
23f0d683c230aab3310ca244ff99e2130a770e93 27-Aug-2010 James Dong <jdong@google.com> am b86365ad: Merge "Suppress the video recording start signal - bug 2950297" into gingerbread

Merge commit 'b86365ad74a197f2af6d70eedeb19083e31a9686' into gingerbread-plus-aosp

* commit 'b86365ad74a197f2af6d70eedeb19083e31a9686':
Suppress the video recording start signal
d9a81d43fd23f10091afa4e78bd2f5db87f74e7f 27-Aug-2010 Nipun Kwatra <nkwatra@google.com> Merge "Added MediaSourceSplitter to split single source to multiple ones."
352c4683820c31eaad63e52a47d0d442bfe2c193 27-Aug-2010 James Dong <jdong@google.com> Merge "Suppress the video recording start signal - bug 2950297" into gingerbread
c7e5094ece8083bcaa8160564655df986126f4bd 27-Aug-2010 Nipun Kwatra <nkwatra@google.com> Added MediaSourceSplitter to split single source to multiple ones.

MediaSourceSplitter provides a way to split a single mediaSource
into multiple sources. It takes in the real mediaSource and multiple
clients can then be created which serve from the same real mediaSource.

Change-Id: I7254ead24b4c26c784b033e6bc7ff5a0d083a0c3
ibstagefright/MediaSourceSplitter.cpp
368b3ede8b8741bd61fd2fdbf71028e7c01e9750 27-Aug-2010 Andreas Huber <andih@google.com> am 577615c9: Merge "Better support for rtsp (normal play-)time display. Better seek support, timeout if no packets arrive for too long." into gingerbread

Merge commit '577615c98e390f8417e07844d04304eac5b0e911' into gingerbread-plus-aosp

* commit '577615c98e390f8417e07844d04304eac5b0e911':
Better support for rtsp (normal play-)time display. Better seek support, timeout if no packets arrive for too long.
6adecf466b58ceb3adac535b83a7505801f0f093 27-Aug-2010 Andreas Huber <andih@google.com> am e250c220: Merge "We accidentally always aborted after 10 secs, even if the connection was fine." into gingerbread

Merge commit 'e250c220d1bb3bd117641add94ee7465a82f085c' into gingerbread-plus-aosp

* commit 'e250c220d1bb3bd117641add94ee7465a82f085c':
We accidentally always aborted after 10 secs, even if the connection was fine.
8d342970108926c4ea355c90d26a2a353ec0fd47 27-Aug-2010 Andreas Huber <andih@google.com> Better support for rtsp (normal play-)time display. Better seek support, timeout if no packets arrive for too long.

Change-Id: Id491541a6ae501604cda815f8e961a3bfe26db7d
related-to-bug: 2556656
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/ARTSPController.h
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/AAVCAssembler.cpp
ibstagefright/rtsp/AH263Assembler.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/APacketSource.h
ibstagefright/rtsp/ARTPAssembler.cpp
ibstagefright/rtsp/ARTPAssembler.h
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/MyHandler.h
d918324d44aa48b3b064ea9b87d0c520c38f15a9 27-Aug-2010 Eric Laurent <elaurent@google.com> LVM release 1.07 delivery.

- Virtualizer now uses the correct control parameter, instead of reverberation
- Volume smoothing for first frame has been added
- Equalizer_setParameter now returns correct error code
- Correcting Non-Linear compressor gain step noise during transitions and effect level changes
- Removed SVN header blocks
- Memory and MIPS values have been added to the API
- Reverb uses a more efficient malloc for input PCM
- Reverb DecayHFRatio now ranges up to 2000
- Logging has been removed for most volume functions

Change-Id: Ib59e7e331263c3811559231b4ae90c82e34a8421
ibeffects/lvm/lib/Bass/lib/LVDBE.h
ibeffects/lvm/lib/Bass/src/LVDBE_Coeffs.h
ibeffects/lvm/lib/Bass/src/LVDBE_Control.c
ibeffects/lvm/lib/Bass/src/LVDBE_Init.c
ibeffects/lvm/lib/Bass/src/LVDBE_Private.h
ibeffects/lvm/lib/Bass/src/LVDBE_Process.c
ibeffects/lvm/lib/Bass/src/LVDBE_Tables.c
ibeffects/lvm/lib/Bass/src/LVDBE_Tables.h
ibeffects/lvm/lib/Bundle/lib/LVM.h
ibeffects/lvm/lib/Bundle/src/LVM_API_Specials.c
ibeffects/lvm/lib/Bundle/src/LVM_Buffers.c
ibeffects/lvm/lib/Bundle/src/LVM_Coeffs.h
ibeffects/lvm/lib/Bundle/src/LVM_Control.c
ibeffects/lvm/lib/Bundle/src/LVM_Init.c
ibeffects/lvm/lib/Bundle/src/LVM_Private.h
ibeffects/lvm/lib/Bundle/src/LVM_Process.c
ibeffects/lvm/lib/Bundle/src/LVM_Tables.c
ibeffects/lvm/lib/Bundle/src/LVM_Tables.h
ibeffects/lvm/lib/Common/lib/AGC.h
ibeffects/lvm/lib/Common/lib/BIQUAD.h
ibeffects/lvm/lib/Common/lib/CompLim.h
ibeffects/lvm/lib/Common/lib/Filter.h
ibeffects/lvm/lib/Common/lib/InstAlloc.h
ibeffects/lvm/lib/Common/lib/LVM_Common.h
ibeffects/lvm/lib/Common/lib/LVM_Macros.h
ibeffects/lvm/lib/Common/lib/LVM_Timer.h
ibeffects/lvm/lib/Common/lib/LVM_Types.h
ibeffects/lvm/lib/Common/lib/Mixer.h
ibeffects/lvm/lib/Common/lib/ScalarArithmetic.h
ibeffects/lvm/lib/Common/lib/VectorArithmetic.h
ibeffects/lvm/lib/Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.c
ibeffects/lvm/lib/Common/src/Abs_32.c
ibeffects/lvm/lib/Common/src/Add2_Sat_16x16.c
ibeffects/lvm/lib/Common/src/Add2_Sat_32x32.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F16C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BP_1I_D16F32C30_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F32Cll_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F32Cll_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BP_1I_D32F32C30_TRC_WRA_02.c
ibeffects/lvm/lib/Common/src/BP_1I_D32F32Cll_TRC_WRA_02_Init.c
ibeffects/lvm/lib/Common/src/BP_1I_D32F32Cll_TRC_WRA_02_Private.h
ibeffects/lvm/lib/Common/src/BQ_1I_D16F16C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_1I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BQ_1I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_1I_D16F32C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_1I_D16F32Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_1I_D16F32Css_TRC_WRA_01_init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32C13_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32Css_TRC_WRA_01_init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D32F32C30_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D32F32Cll_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D32F32Cll_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/CompLim_private.h
ibeffects/lvm/lib/Common/src/Copy_16.c
ibeffects/lvm/lib/Common/src/Core_MixHard_2St_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/Core_MixInSoft_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/Core_MixSoft_1St_D32C31_WRA.c
ibeffects/lvm/lib/Common/src/DC_2I_D16_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/DC_2I_D16_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/DC_2I_D16_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/DelayAllPass_Sat_32x16To32.c
ibeffects/lvm/lib/Common/src/DelayMix_16x16.c
ibeffects/lvm/lib/Common/src/DelayWrite_32.c
ibeffects/lvm/lib/Common/src/FO_1I_D16F16C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/FO_1I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/FO_1I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/FO_1I_D32F32C31_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/FO_1I_D32F32Cll_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/FO_1I_D32F32Cll_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/FO_2I_D16F32C15_LShx_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/FO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/Filters.h
ibeffects/lvm/lib/Common/src/From2iToMS_16x16.c
ibeffects/lvm/lib/Common/src/From2iToMono_16.c
ibeffects/lvm/lib/Common/src/From2iToMono_32.c
ibeffects/lvm/lib/Common/src/InstAlloc.c
ibeffects/lvm/lib/Common/src/Int16LShiftToInt32_16x32.c
ibeffects/lvm/lib/Common/src/Int32RShiftToInt16_Sat_32x16.c
ibeffects/lvm/lib/Common/src/JoinTo2i_32x32.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixHard_2St_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixInSoft_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.c
ibeffects/lvm/lib/Common/src/LVC_MixInSoft_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_MixSoft_1St_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_MixSoft_2St_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Mixer.h
ibeffects/lvm/lib/Common/src/LVC_Mixer_GetCurrent.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_GetTarget.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_Init.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_Private.h
ibeffects/lvm/lib/Common/src/LVC_Mixer_SetTarget.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_SetTimeConstant.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_VarSlope_SetTimeConstant.c
ibeffects/lvm/lib/Common/src/LVM_FO_HPF.c
ibeffects/lvm/lib/Common/src/LVM_FO_LPF.c
ibeffects/lvm/lib/Common/src/LVM_GetOmega.c
ibeffects/lvm/lib/Common/src/LVM_Mixer_FilterCoeffs.h
ibeffects/lvm/lib/Common/src/LVM_Mixer_TimeConstant.c
ibeffects/lvm/lib/Common/src/LVM_Polynomial.c
ibeffects/lvm/lib/Common/src/LVM_Power10.c
ibeffects/lvm/lib/Common/src/LVM_Timer.c
ibeffects/lvm/lib/Common/src/LVM_Timer_Init.c
ibeffects/lvm/lib/Common/src/LVM_Timer_Private.h
ibeffects/lvm/lib/Common/src/LoadConst_16.c
ibeffects/lvm/lib/Common/src/LoadConst_32.c
ibeffects/lvm/lib/Common/src/MSTo2i_Sat_16x16.c
ibeffects/lvm/lib/Common/src/Mac3s_Sat_16x16.c
ibeffects/lvm/lib/Common/src/Mac3s_Sat_32x16.c
ibeffects/lvm/lib/Common/src/MixInSoft_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/MixSoft_1St_D32C31_WRA.c
ibeffects/lvm/lib/Common/src/MixSoft_2St_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/Mixer_private.h
ibeffects/lvm/lib/Common/src/MonoTo2I_16.c
ibeffects/lvm/lib/Common/src/MonoTo2I_32.c
ibeffects/lvm/lib/Common/src/Mult3s_32x16.c
ibeffects/lvm/lib/Common/src/NonLinComp_D16.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32C14G11_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32C30G11_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CllGss_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CllGss_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CssGss_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CssGss_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/Shift_Sat_v16xv16.c
ibeffects/lvm/lib/Common/src/Shift_Sat_v32xv32.c
ibeffects/lvm/lib/Common/src/dB_to_Lin32.c
ibeffects/lvm/lib/Common/src/mult3s_16x16.c
ibeffects/lvm/lib/Eq/lib/LVEQNB.h
ibeffects/lvm/lib/Eq/src/LVEQNB_CalcCoef.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Coeffs.h
ibeffects/lvm/lib/Eq/src/LVEQNB_Control.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Init.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Private.h
ibeffects/lvm/lib/Eq/src/LVEQNB_Process.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Tables.c
ibeffects/lvm/lib/Reverb/lib/LVREV.h
ibeffects/lvm/lib/Reverb/src/LVREV_ApplyNewSettings.c
ibeffects/lvm/lib/Reverb/src/LVREV_ClearAudioBuffers.c
ibeffects/lvm/lib/Reverb/src/LVREV_GetControlParameters.c
ibeffects/lvm/lib/Reverb/src/LVREV_GetInstanceHandle.c
ibeffects/lvm/lib/Reverb/src/LVREV_GetMemoryTable.c
ibeffects/lvm/lib/Reverb/src/LVREV_Private.h
ibeffects/lvm/lib/Reverb/src/LVREV_Process.c
ibeffects/lvm/lib/Reverb/src/LVREV_SetControlParameters.c
ibeffects/lvm/lib/Reverb/src/LVREV_Tables.c
ibeffects/lvm/lib/Reverb/src/LVREV_Tables.h
ibeffects/lvm/lib/SpectrumAnalyzer/lib/LVPSA.h
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Control.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Init.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Memory.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Private.h
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Process.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_QPD.h
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_QPD_Init.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_QPD_Process.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Tables.c
ibeffects/lvm/lib/StereoWidening/lib/LVCS.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_BypassMix.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_BypassMix.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Control.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Equaliser.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Equaliser.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Headphone_Coeffs.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Init.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Private.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Process.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_ReverbGenerator.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_ReverbGenerator.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_StereoEnhancer.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_StereoEnhancer.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Tables.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Tables.h
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.h
cc6adf524c1bb3bfaa5be464b50b8bcca899761c 27-Aug-2010 Andreas Huber <andih@google.com> We accidentally always aborted after 10 secs, even if the connection was fine.

Change-Id: I3f2ae2f46ae62b84b1e253658d7182c04ee3dfae
ibstagefright/rtsp/MyHandler.h
f1ae1963f5028a670573b50a9c1cfb504fc426b4 27-Aug-2010 James Dong <jdong@google.com> Suppress the video recording start signal
- bug 2950297

Change-Id: I0044d07178691feb904cf81e87c1b6d4b714dc1a
ibstagefright/AudioSource.cpp
7cb54d6f0e6c89f45e3db0bd9246f35836d67b8f 27-Aug-2010 Andreas Huber <andih@google.com> am 74ae6973: am 17a765a1: Merge "Support for RTP packets arriving interleaved with RTSP responses." into gingerbread

Merge commit '74ae6973f8d5b7bc7bc4a7dcac5ddce90f382cd4'

* commit '74ae6973f8d5b7bc7bc4a7dcac5ddce90f382cd4':
Support for RTP packets arriving interleaved with RTSP responses.
bb28cd26054217303653f3271ea4702d769a89b7 27-Aug-2010 Andreas Huber <andih@google.com> Merge "Disable all the hardware decoders except for h.264 video decode, since the software decoders are faster."
27fdb181daebec3dbe477080adad94f81ed667ad 26-Aug-2010 Andreas Huber <andih@google.com> Disable all the hardware decoders except for h.264 video decode, since the software decoders are faster.

Change-Id: Ia41194752ef72feb4ed1d5199e97b1649075b646
ibstagefright/OMXCodec.cpp
f39928df7764de84eef31781ca0448fdc036b4d0 26-Aug-2010 Andreas Huber <andih@google.com> am 17a765a1: Merge "Support for RTP packets arriving interleaved with RTSP responses." into gingerbread

Merge commit '17a765a139f5a0b10768937cb11ecd9e7941b039' into gingerbread-plus-aosp

* commit '17a765a139f5a0b10768937cb11ecd9e7941b039':
Support for RTP packets arriving interleaved with RTSP responses.
1b07372a4004fec0ac9ab296741060ac348476ae 26-Aug-2010 Andreas Huber <andih@google.com> Merge "Support for RTP packets arriving interleaved with RTSP responses." into gingerbread
5291085d561f290b172e752da08fc3afab85c0b9 26-Aug-2010 James Dong <jdong@google.com> am 9509a0ce: am 318a759e: Merge "Make sure that timestamp does not go backward in MP4 file writer" into gingerbread

Merge commit '9509a0ce7ec1b10305bb6bd5fbf0edcf5b4f7fe1'

* commit '9509a0ce7ec1b10305bb6bd5fbf0edcf5b4f7fe1':
Make sure that timestamp does not go backward in MP4 file writer
0792ce7e0924ebb0dbe7b7cfcd79d12cbdb03ed2 26-Aug-2010 Andreas Huber <andih@google.com> Support for RTP packets arriving interleaved with RTSP responses.

Change-Id: Ib32fba257da32a199134cf8943117cf3eaa07a25
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPConnection.h
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
ibstagefright/rtsp/MyHandler.h
64b531e9a119c2458e48c134fc4385ca074e0d12 26-Aug-2010 James Dong <jdong@google.com> am 318a759e: Merge "Make sure that timestamp does not go backward in MP4 file writer" into gingerbread

Merge commit '318a759e3c24dd741f8959e2a433150ae88fb8d6' into gingerbread-plus-aosp

* commit '318a759e3c24dd741f8959e2a433150ae88fb8d6':
Make sure that timestamp does not go backward in MP4 file writer
640a72ecf2feb1ee5152d70234ff48d3be0e5ddf 26-Aug-2010 James Dong <jdong@google.com> Merge "Make sure that timestamp does not go backward in MP4 file writer" into gingerbread
bd49bd32eba737b334bb1398fa97ee8c4584a2bf 26-Aug-2010 Andreas Huber <andih@google.com> am e58cd37d: am 8ac0983e: Merge "Fix support for per-frame unsynchronization in ID3V2.4 tags." into gingerbread

Merge commit 'e58cd37d6667c8812ab8d40dd814f77eb7df1b96'

* commit 'e58cd37d6667c8812ab8d40dd814f77eb7df1b96':
Fix support for per-frame unsynchronization in ID3V2.4 tags.
5959988b63ace3fba2fc78b135a4f5ef25dcf860 26-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Fix build break due to integer constant too large

Change-Id: Ia03ebe171d68bdfb04913abafc11dcb9c9071595
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
252aaac4a8830e4b172ffc916f42f8cd91ad1e72 26-Aug-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: work in progress on expanded property support"
90e4b45495f806f937fcdb52e18842237fccd5fb 26-Aug-2010 Andreas Huber <andih@google.com> am 8ac0983e: Merge "Fix support for per-frame unsynchronization in ID3V2.4 tags." into gingerbread

Merge commit '8ac0983edafa064126c4480dd31047d1bb4ce111' into gingerbread-plus-aosp

* commit '8ac0983edafa064126c4480dd31047d1bb4ce111':
Fix support for per-frame unsynchronization in ID3V2.4 tags.
8277cec96ffa55082962591bca1c55abbeec8c26 10-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: work in progress on expanded property support

GetObjectPropValue and SetObjectPropValue are disabled until I figure out
why Windows doesn't like what I have done.

Change-Id: I74e945ef3ea031f6d46f4ebaa8df815da0a5c3ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
f30274368327563021fb20faeb67b5661a0f373c 26-Aug-2010 Andreas Huber <andih@google.com> Merge "Fix support for per-frame unsynchronization in ID3V2.4 tags." into gingerbread
53bfd693c45278bf71cb5e184ffd3e95d52e04d8 26-Aug-2010 Eric Laurent <elaurent@google.com> am 8ca5df27: am c14f9ca6: Merge "Added preset reverb." into gingerbread

Merge commit '8ca5df27df8a2b6435486f9b5a163bf222f8fed1'

* commit '8ca5df27df8a2b6435486f9b5a163bf222f8fed1':
Added preset reverb.
6067b47c0d2cff7d26e088d97dc8d5190c5a4d00 26-Aug-2010 Andreas Huber <andih@google.com> am cec075cc: am 23584022: Merge "Ensure that buffering updates eventually hit 100% after we download everything." into gingerbread

Merge commit 'cec075cc420e601602d6bfe16272c30006d262a6'

* commit 'cec075cc420e601602d6bfe16272c30006d262a6':
Ensure that buffering updates eventually hit 100% after we download everything.
3bfb0a0c55b1b5a93d1decbc6454ae30cc47fb63 26-Aug-2010 Eric Laurent <elaurent@google.com> am c14f9ca6: Merge "Added preset reverb." into gingerbread

Merge commit 'c14f9ca6e5e795b641e7809786b4e51e13493907' into gingerbread-plus-aosp

* commit 'c14f9ca6e5e795b641e7809786b4e51e13493907':
Added preset reverb.
f0bfaa8f56ddcfbebc129ecb45335218c39506f0 26-Aug-2010 Eric Laurent <elaurent@google.com> Merge "Added preset reverb." into gingerbread
b821911513c9a15a2d0286c9447a1d29f2ce4b46 26-Aug-2010 Andreas Huber <andih@google.com> am 23584022: Merge "Ensure that buffering updates eventually hit 100% after we download everything." into gingerbread

Merge commit '235840228b0692b66d854ff499b5c4060f883e03' into gingerbread-plus-aosp

* commit '235840228b0692b66d854ff499b5c4060f883e03':
Ensure that buffering updates eventually hit 100% after we download everything.
ac994dfb88d414aeedf5998aa1c6015c5b47ec01 25-Aug-2010 Andreas Huber <andih@google.com> Fix support for per-frame unsynchronization in ID3V2.4 tags.

Change-Id: I6874b596f88817347756a375d9fb1c9bff418eca
related-to-bug: 2949149
ibstagefright/id3/ID3.cpp
ibstagefright/include/ID3.h
81ce48911035569c934e6555c2c94c6c19aec968 25-Aug-2010 Andreas Huber <andih@google.com> Merge "Ensure that buffering updates eventually hit 100% after we download everything." into gingerbread
d31cdebccaa64e4ce0012254aa4986fbea93a2a1 25-Aug-2010 Andreas Huber <andih@google.com> am 96dc4559: am b8814dce: Merge "Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now." into gingerbread

Merge commit '96dc45597e53742a2c8453f9ce03f7d501a75668'

* commit '96dc45597e53742a2c8453f9ce03f7d501a75668':
Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now.
4243f1a733ceac97118b30aa93a1949fd82aeb9a 25-Aug-2010 Andreas Huber <andih@google.com> am b8814dce: Merge "Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now." into gingerbread

Merge commit 'b8814dce287552c1bdf13fa999296ebc7387776d' into gingerbread-plus-aosp

* commit 'b8814dce287552c1bdf13fa999296ebc7387776d':
Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now.
3f71e8bb8f31763e7d6573364313ce3efee83c10 25-Aug-2010 Andreas Huber <andih@google.com> Merge "Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now." into gingerbread
5a1c3529e4fa2f8a11054181294e0ce79fff8dd3 25-Aug-2010 Andreas Huber <andih@google.com> Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now.

Change-Id: Icb77ae3ee95a69c7da25b4d3b8696c0a2d33028a
related-to-bug: 2948754
ibstagefright/AMRExtractor.cpp
ibstagefright/DataSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/include/AMRExtractor.h
ibstagefright/include/MP3Extractor.h
ibstagefright/include/MPEG2TSExtractor.h
ibstagefright/include/MPEG4Extractor.h
ibstagefright/include/OggExtractor.h
ibstagefright/include/WAVExtractor.h
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/MatroskaExtractor.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
2a4b49bd3863024884a694b454e2e452752e6ea0 25-Aug-2010 Andreas Huber <andih@google.com> Ensure that buffering updates eventually hit 100% after we download everything.

Change-Id: I43bb85b1128fa9c1bc8632970d7101006393bcc8
related-to-bug: 2844095
ibstagefright/AwesomePlayer.cpp
e7c0899a7b7549ea342af67e7ab525f81672cfa5 25-Aug-2010 Eric Laurent <elaurent@google.com> am 74ede9e4: am 67b50606: Merge "Fix the simulator build." into gingerbread

Merge commit '74ede9e4fd3f5ab3c139abd95a22abf9f33c2d64'

* commit '74ede9e4fd3f5ab3c139abd95a22abf9f33c2d64':
Fix the simulator build.
dd8b35d2f7911bb1e12010f143c5b8c1b621f2ed 25-Aug-2010 Eric Laurent <elaurent@google.com> am 67b50606: Merge "Fix the simulator build." into gingerbread

Merge commit '67b506065e9fe3c56e3d1b47eedfa01170d574f9' into gingerbread-plus-aosp

* commit '67b506065e9fe3c56e3d1b47eedfa01170d574f9':
Fix the simulator build.
625981ec8417528cbea67c86dcbe32a9e79a79be 25-Aug-2010 Eric Laurent <elaurent@google.com> Fix the simulator build.

Fixes the sim build broken by commit 58d3bd08107f44cba79938dd8430e69c0fda4202.

Change-Id: I5a63623363d558783dc5254fdd322080cc2f3525
ibmedia/fixedfft.cpp
5ac7b5def64625fdc9cfaf1bbdd013f5ada241f3 25-Aug-2010 Andreas Huber <andih@google.com> am 67ca90b3: am 6b6ae996: Merge "A first shot at proper support for seeking of rtsp streams." into gingerbread

Merge commit '67ca90b339feb8bb6889ca289a9dbc82c447b0d2'

* commit '67ca90b339feb8bb6889ca289a9dbc82c447b0d2':
A first shot at proper support for seeking of rtsp streams.
97344f1d8e8e95fd07d5deee2ae2492a7e4c24b0 24-Aug-2010 Eric Laurent <elaurent@google.com> Added preset reverb.

Modified lvm reverb wrapper code to expose a preset reverb interface.
Also removed debug log from bundle and reverb wrapper.

Change-Id: If9b95d91e25a6ff834decdfdda34b17df9b46967
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
aae7b2274a1521a1a82bbe560e03a046d116bb40 25-Aug-2010 Andreas Huber <andih@google.com> am 6b6ae996: Merge "A first shot at proper support for seeking of rtsp streams." into gingerbread

Merge commit '6b6ae996b2e84af030397cff3a7f0087de93e01c' into gingerbread-plus-aosp

* commit '6b6ae996b2e84af030397cff3a7f0087de93e01c':
A first shot at proper support for seeking of rtsp streams.
094370fa878b5e45d7a8914c51faa456ca9dbfe1 25-Aug-2010 Andreas Huber <andih@google.com> Merge "A first shot at proper support for seeking of rtsp streams." into gingerbread
627c790c1f7c8fd44dc50abb03885aa5a075d418 24-Aug-2010 Eric Laurent <elaurent@google.com> am 33e0d834: am b6d71351: Merge "LVM release 1.05 delivery" into gingerbread

Merge commit '33e0d8343174339cc9622d63c23d47c0ba0d3baa'

* commit '33e0d8343174339cc9622d63c23d47c0ba0d3baa':
LVM release 1.05 delivery
cce326fe43411855aca2f719e505b051bc4b61b3 24-Aug-2010 Andreas Huber <andih@google.com> A first shot at proper support for seeking of rtsp streams.

Change-Id: I9604f2d09feedc0074c0e715be58e719d4483760
related-to-bug: 2556656
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/ARTSPController.h
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/APacketSource.h
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/MyHandler.h
40e9940fadf22daa64c1e766fa8a855c7b149c17 24-Aug-2010 James Dong <jdong@google.com> Make sure that timestamp does not go backward in MP4 file writer

Change-Id: I90745b9df7f19d61f3ab826bf9d2419fe788554e
ibstagefright/MPEG4Writer.cpp
d9734dc5f25730944ec4e62bb028092e1841e4a3 24-Aug-2010 Andreas Huber <andih@google.com> am 31e71131: am 3e22ef1e: Merge "Better handling of rtsp connection and disconnection." into gingerbread

Merge commit '31e71131049c943a388134e796087e109248efcc'

* commit '31e71131049c943a388134e796087e109248efcc':
Better handling of rtsp connection and disconnection.
a8c88e810ea1b8e90fd6c250d4c0a87eb628d4d8 24-Aug-2010 James Dong <jdong@google.com> am 28a92120: am 3f51fa78: Runtime dump support for MediaWriter

Merge commit '28a92120a702289533a9c9d004bd60f83b2fd98b'

* commit '28a92120a702289533a9c9d004bd60f83b2fd98b':
Runtime dump support for MediaWriter
ef6c8c0324be75dfac3d6a4025ec3b3a7ca23826 24-Aug-2010 Chia-chi Yeh <chiachi@android.com> am a102871c: am b80e610b: Merge "Visualizer: replace the FFT implementation with a faster one." into gingerbread

Merge commit 'a102871c7cbb74ebddc53231a871145de61351b0'

* commit 'a102871c7cbb74ebddc53231a871145de61351b0':
Visualizer: replace the FFT implementation with a faster one.
7ec0a1325486912ab1b2964cab635328f522dd40 24-Aug-2010 Eric Laurent <elaurent@google.com> am b6d71351: Merge "LVM release 1.05 delivery" into gingerbread

Merge commit 'b6d71351c074d5c0bc13a91544d776f1524eaabd' into gingerbread-plus-aosp

* commit 'b6d71351c074d5c0bc13a91544d776f1524eaabd':
LVM release 1.05 delivery
afb68fbf65fad41fdd8da333a61278588e735846 24-Aug-2010 Eric Laurent <elaurent@google.com> Merge "LVM release 1.05 delivery" into gingerbread
515c0a56b6fbcca18a08f0daac7be278dede46d0 24-Aug-2010 Nipun Kwatra <nkwatra@google.com> am 701b710c: am 300b0b7e: Merge "setParamMaxFileDurationUs should allow zero time input as per API of setMaxDuration." into gingerbread

Merge commit '701b710c194181765616520f6d89d450b4b6c1f5'

* commit '701b710c194181765616520f6d89d450b4b6c1f5':
setParamMaxFileDurationUs should allow zero time input as per API of setMaxDuration.
ee7a5d9f5506b494ad45946690d1edc8afe8b4c4 24-Aug-2010 James Dong <jdong@google.com> am 3fc01525: am b755e325: Merge "Only add 4 bytes offset for the output media buffer when SPS is not received for SW AVC encoder" into gingerbread

Merge commit '3fc01525ff33020d4d82a7fb8ade8cf18baaf4f5'

* commit '3fc01525ff33020d4d82a7fb8ade8cf18baaf4f5':
Only add 4 bytes offset for the output media buffer when SPS is not received for SW AVC encoder
4b79168835965cf0fc41ebe2a367e22b4cb20d08 11-Aug-2010 Jamie Gennis <jgennis@google.com> Change the framework to use the new camera preview path.

This change makes the camera HAL interface take an ANativeWindow interface from
which all the camera preview buffers will be allocated. The framework code
running in application processes now passes a Surface object rather than an
ISurface to the camera server via Binder when setting the preview surface. The
camera server then forwards that Surface object (which implements the
ANativeWindow interface) to the camera HAL, which uses it to communicate with
SurfaceFlinger to allocate the camera preview buffers.

Change-Id: Ie438f721559cd7de5e4f848a26d96360dda07b5f
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
82252a9a732c7325166c36589c1dfa9f2cb8ac04 23-Aug-2010 Andreas Huber <andih@google.com> Merge "Account for the _ADRENO constant being moved."
3e135cf939b4baf9902fe24fb0e50528e62c10bd 23-Aug-2010 Jamie Gennis <jgennis@google.com> Account for the _ADRENO constant being moved.

Change-Id: I443e2028c06f8b03e864525365c5c38de79314fe
ibstagefright/colorconversion/Android.mk
ibstagefright/colorconversion/SoftwareRenderer.cpp
fec932fda5b69cc8b572063decc0f64faa36ff4a 23-Aug-2010 Dima Zavin <dmitriyz@google.com> Merge changes Ic94c18a6,Iff770de1,Ifed6b4dc

* changes:
libstagefright: enable tegra hw audio decoders
libstagefright: Enable tegra hw video decoders
libstagefright: Enable tegra hw encoder
f143cc1866737c2ac24f4b2d7e4b2e776be10d56 23-Aug-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
5daeb129a2c2ba3d14ccd94af283b5f561c783ea 16-Aug-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 35cc68814a9537c31fde146e171e7b0bbdfe211e
Author: Andreas Huber <andih@google.com>
Date: Mon Aug 16 08:48:42 2010 -0700

Only enable support for yuv to yuv conversion on passion, where it's available, use the slower yuv->rgb565 path everywhere else.

commit d8ac5a8814103e60d11d2acf61997fc31a1dc58d
Author: Andreas Huber <andih@google.com>
Date: Fri Aug 13 13:56:44 2010 -0700

The software renderer takes over all rendering, converting from yuv to yuv if possible and rgb565 otherwise.

commit 684972074b74318bdcb826ed9b5b0864d2d2e273
Author: Andreas Huber <andih@google.com>
Date: Fri Aug 13 09:34:35 2010 -0700

A first shot at supporting the new rendering APIs.

Change-Id: Iea9b32856da46950501f1a700f616b5feac710fd
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/TestPlayerStub.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/colorconversion/Android.mk
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/SoftwareRenderer.h
ibstagefright/omx/OMX.cpp
441fe026c7cfda8bb7e3ec91b251fc55df3d6493 23-Aug-2010 Andreas Huber <andih@google.com> am 3e22ef1e: Merge "Better handling of rtsp connection and disconnection." into gingerbread

Merge commit '3e22ef1e111966df6ad527632fdc35d105c73916' into gingerbread-plus-aosp

* commit '3e22ef1e111966df6ad527632fdc35d105c73916':
Better handling of rtsp connection and disconnection.
01f0908b3e8c759a9fcd565f6bc6cc6c4033678f 23-Aug-2010 Andreas Huber <andih@google.com> Merge "Better handling of rtsp connection and disconnection." into gingerbread
deb7457f43b58ddcb6fbc425321989236cd42f5a 23-Aug-2010 James Dong <jdong@google.com> am 3540760d: am 0ea4ed3b: Don\'t drop a late frame which may lead to missing I frames in the MP4 file

Merge commit '3540760d1d68cc883122d44ab1d38f542fb646e6'

* commit '3540760d1d68cc883122d44ab1d38f542fb646e6':
Don't drop a late frame which may lead to missing I frames in the MP4 file
a178be53c93ff3da273ebfcc456503e7e7612bf0 23-Aug-2010 James Dong <jdong@google.com> am 177a7ad8: am 439fe407: Merge "Return error from MPEG4Writer stop() if the check on codec specific data failed" into gingerbread

Merge commit '177a7ad825445acaeea38c48c74ad87db935d054'

* commit '177a7ad825445acaeea38c48c74ad87db935d054':
Return error from MPEG4Writer stop() if the check on codec specific data failed
1b543242102ef3c28145c6ad50ee8e8ce2fb26d3 23-Aug-2010 Andreas Huber <andih@google.com> Better handling of rtsp connection and disconnection.

Change-Id: Ib126af6c14c5a212a51a5ee3c4a0a7d1860ad167
ibstagefright/include/ARTSPController.h
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/MyHandler.h
8d9dda1ba28bbcd7730a9bec10ce70db4912688e 23-Aug-2010 Dima Zavin <dima@android.com> libstagefright: enable tegra hw audio decoders

Change-Id: Ic94c18a6a6df8e0370dc28634f95561056ed2d02
Signed-off-by: Dima Zavin <dima@android.com>
ibstagefright/OMXCodec.cpp
ea659e51af658d77bef7b88a2fb542ec2d69e032 27-Jul-2010 pgudadhe <pgudadhe@nvidia.com> libstagefright: Enable tegra hw video decoders

Change-Id: Iff770de1369e57e7833a8cfa9a30955030d9974c
ibstagefright/OMXCodec.cpp
2dbffa8c6545255553239a5d65a3b21564078c4a 23-Aug-2010 James Dong <jdong@google.com> am 3f51fa78: Runtime dump support for MediaWriter

Merge commit '3f51fa78ada0e064d23db5961337280c267cc2c0' into gingerbread-plus-aosp

* commit '3f51fa78ada0e064d23db5961337280c267cc2c0':
Runtime dump support for MediaWriter
dedf414d3fe2e79ee0aad0f1c82ca16ebd886ff6 18-Aug-2010 James Dong <jdong@google.com> Runtime dump support for MediaWriter

Change-Id: I10b2c474de612ee4cef4b7c9eae2ee1dd8c2e895
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/MPEG4Writer.cpp
7be0434ce8d4139e9ca4b1f374153de0c75ac049 23-Aug-2010 Chia-chi Yeh <chiachi@android.com> am b80e610b: Merge "Visualizer: replace the FFT implementation with a faster one." into gingerbread

Merge commit 'b80e610b070c2cec98a228a8aec450dc24a5f90a' into gingerbread-plus-aosp

* commit 'b80e610b070c2cec98a228a8aec450dc24a5f90a':
Visualizer: replace the FFT implementation with a faster one.
482482401095d5fc98f89b4a3ce43d41c00fffd7 23-Aug-2010 Chia-chi Yeh <chiachi@android.com> Merge "Visualizer: replace the FFT implementation with a faster one." into gingerbread
263ebfd8a17266eedc84eb879edb6a6a3395f760 21-Aug-2010 James Dong <jdong@google.com> am c8d2fa70: am cbd038fe: Merge "Make MediaWriter stop and pause return errors if necessary" into gingerbread

Merge commit 'c8d2fa704abebdbf0bd8aac185216dc068950217'

* commit 'c8d2fa704abebdbf0bd8aac185216dc068950217':
Make MediaWriter stop and pause return errors if necessary
9934d0cf66861d331adcad28dc4713874e607a76 21-Aug-2010 Andreas Huber <andih@google.com> am 873ebfb8: am 223e4f73: Merge "Support for MP4V-ES packetization format according to RFC3016." into gingerbread

Merge commit '873ebfb825cb498d9ff3012d1d31b02e31a79980'

* commit '873ebfb825cb498d9ff3012d1d31b02e31a79980':
Support for MP4V-ES packetization format according to RFC3016.
9b92412737095ab6a06f01a0c6daaebb79dffb55 21-Aug-2010 Andreas Huber <andih@google.com> am b29ebd39: am f0ad5484: Merge "In the absence of width/height information in the sdp, extract the dimensions from the avc codec specific data." into gingerbread

Merge commit 'b29ebd397e25a7176bcc1c81980f17b0190ebe7f'

* commit 'b29ebd397e25a7176bcc1c81980f17b0190ebe7f':
In the absence of width/height information in the sdp, extract the dimensions from the avc codec specific data.
1b1c377e97558076ee1d427fdd8800ebce1ff300 21-Aug-2010 Eric Laurent <elaurent@google.com> am 5aff90a6: am 1aaba885: Merge "Audio Effects: fixed "strength supported" parameter size." into gingerbread

Merge commit '5aff90a638da53e66fba90c92d412812760fe8e5'

* commit '5aff90a638da53e66fba90c92d412812760fe8e5':
Audio Effects: fixed "strength supported" parameter size.
91d113e8daa9d71c4ea8afd595a3921e03787cbf 21-Aug-2010 Andreas Huber <andih@google.com> am 6bcffcd2: am 8c192fe9: Merge "Better support for rtsp streamed through VLC. Temporarily make the socket blocking to read all of the session description." into gingerbread

Merge commit '6bcffcd2dc410db780c152c70a01b22da6ca58be'

* commit '6bcffcd2dc410db780c152c70a01b22da6ca58be':
Better support for rtsp streamed through VLC. Temporarily make the socket blocking to read all of the session description.
36d8ab8fdf183a2a025e93ba78aaed92c55d6586 20-Aug-2010 Nipun Kwatra <nkwatra@google.com> am 300b0b7e: Merge "setParamMaxFileDurationUs should allow zero time input as per API of setMaxDuration." into gingerbread

Merge commit '300b0b7e2b8f0ab922e4a83755ae999da191894e' into gingerbread-plus-aosp

* commit '300b0b7e2b8f0ab922e4a83755ae999da191894e':
setParamMaxFileDurationUs should allow zero time input as per API of setMaxDuration.
c59c6fd7f859b4010d788db89b8d4d76bbb70e57 04-Aug-2010 Eric Laurent <elaurent@google.com> LVM release 1.05 delivery

- Click have been removed from the HP filter activation in the BassBosst Effect.
- SessionId is now stored as a SessionNo
- Effects now stop being called after a delay
- Unix EOL fixed for .java and .xml
- Updated lines limited to 100 characters.
- Removed the remaining warnings from the wrapper code
- Added reverb

Change-Id: I03a2b3b5ee2286958f4901acc8d9b0daf9e2d7c6
ibeffects/lvm/lib/Android.mk
ibeffects/lvm/lib/Bass/src/LVDBE_Control.c
ibeffects/lvm/lib/Bass/src/LVDBE_Init.c
ibeffects/lvm/lib/Bass/src/LVDBE_Private.h
ibeffects/lvm/lib/Bass/src/LVDBE_Process.c
ibeffects/lvm/lib/Bundle/src/LVM_Control.c
ibeffects/lvm/lib/Reverb/lib/LVREV.h
ibeffects/lvm/lib/Reverb/src/LVREV_ApplyNewSettings.c
ibeffects/lvm/lib/Reverb/src/LVREV_ClearAudioBuffers.c
ibeffects/lvm/lib/Reverb/src/LVREV_GetControlParameters.c
ibeffects/lvm/lib/Reverb/src/LVREV_GetInstanceHandle.c
ibeffects/lvm/lib/Reverb/src/LVREV_GetMemoryTable.c
ibeffects/lvm/lib/Reverb/src/LVREV_Private.h
ibeffects/lvm/lib/Reverb/src/LVREV_Process.c
ibeffects/lvm/lib/Reverb/src/LVREV_SetControlParameters.c
ibeffects/lvm/lib/Reverb/src/LVREV_Tables.c
ibeffects/lvm/lib/Reverb/src/LVREV_Tables.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Control.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Equaliser.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Init.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_StereoEnhancer.c
ibeffects/lvm/wrapper/Android.mk
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
ibeffects/lvm/wrapper/Reverb/EffectReverb.cpp
ibeffects/lvm/wrapper/Reverb/EffectReverb.h
be6fd201b9a04fe0f8fd409f10595ddb41832591 19-Aug-2010 Nipun Kwatra <nkwatra@google.com> setParamMaxFileDurationUs should allow zero time input as per API of setMaxDuration.

according to MediaRecorder::setMaxDuration documentation we should disable duration limit
when zero or negative time is passed. Currently setParamMaxFileDurationUs was treating
zero/negative as an error case. Fixed that.

Change-Id: I468c3bcc74cb5a34ee3e172cef5147550d6be096
ibmediaplayerservice/StagefrightRecorder.cpp
abf76b966e71302ea4e9126c396ce16bd6696f95 20-Aug-2010 James Dong <jdong@google.com> am b755e325: Merge "Only add 4 bytes offset for the output media buffer when SPS is not received for SW AVC encoder" into gingerbread

Merge commit 'b755e3256510ecd325565d6b461d668d224445b1' into gingerbread-plus-aosp

* commit 'b755e3256510ecd325565d6b461d668d224445b1':
Only add 4 bytes offset for the output media buffer when SPS is not received for SW AVC encoder
a0ced19fa96f26a25de708588a34ebfd452f250e 20-Aug-2010 Nipun Kwatra <nkwatra@google.com> Merge "Added downsample()"
c0d936ddacc4f7d883f3bd1dd8099586836c820f 20-Aug-2010 Nipun Kwatra <nkwatra@google.com> Added downsample()

Added a downsample function which downsamples the source image
starting at an offset and skipping every few pixels. Currently
no low pass filtering is done, but it should be added later.

Change-Id: Iec34092c536bfc661a15521e6a1ef2ef3f815c61
ibstagefright/yuv/YUVCanvas.cpp
47c0e2355fb18f567471c1a76f1bbe2ebcb5a419 20-Aug-2010 Nipun Kwatra <nkwatra@google.com> Merge "const correctness, validPixel test."
4937be23b485ce8edf180ff5e71ebf0884178f17 26-Jul-2010 pgudadhe <pgudadhe@nvidia.com> libstagefright: Enable tegra hw encoder

Change-Id: Ifed6b4dc4877e3fcab86ee81c9117a92b1d1ce8f
ibstagefright/OMXCodec.cpp
76c6e8f97cd6030454ebf60db06818e05d449f06 20-Aug-2010 James Dong <jdong@google.com> Only add 4 bytes offset for the output media buffer when SPS is not received for SW AVC encoder

Change-Id: Ia64c2751b6304e5d5891416bf23ff9b8ec54d5ef
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
4a6b74563ac0fe752fbdfd15f91772473f8a4711 20-Aug-2010 Nipun Kwatra <nkwatra@google.com> const correctness, validPixel test.

- made width(), height() const member functions.
- added validPixel() which returns true if pixel is in the allowed range.
- now testing validPixel in get/setPixelValue

Change-Id: I1dee5060bd4f8dcbdcd542ec4647ea328f0185c3
ibstagefright/yuv/YUVImage.cpp
4c171dcd6ea852fa44e6dc5b1823cce51d31af7b 20-Aug-2010 James Dong <jdong@google.com> am 0ea4ed3b: Don\'t drop a late frame which may lead to missing I frames in the MP4 file

Merge commit '0ea4ed3bbb28fb6913392d2bee55621a1290dca8' into gingerbread-plus-aosp

* commit '0ea4ed3bbb28fb6913392d2bee55621a1290dca8':
Don't drop a late frame which may lead to missing I frames in the MP4 file
7384baaa82d3ae4375e3d76fc1cc4b7ca1653e18 20-Aug-2010 James Dong <jdong@google.com> am 439fe407: Merge "Return error from MPEG4Writer stop() if the check on codec specific data failed" into gingerbread

Merge commit '439fe407ff75b2c0fc21c66b430cd76e9f29ac90' into gingerbread-plus-aosp

* commit '439fe407ff75b2c0fc21c66b430cd76e9f29ac90':
Return error from MPEG4Writer stop() if the check on codec specific data failed
4f86a980fee1880dca61b828599fa6d76755a485 19-Aug-2010 James Dong <jdong@google.com> Don't drop a late frame which may lead to missing I frames in the MP4 file

Change-Id: I8fef1454264230c1369561670236eb0a19ae4e76
ibstagefright/MPEG4Writer.cpp
690f546b0ee548dbfe997df36418e5302ec2d786 19-Aug-2010 James Dong <jdong@google.com> Return error from MPEG4Writer stop() if the check on codec specific data failed

Change-Id: Icbd08eec9b4201facbad56ff2040f0830cfb0115
ibstagefright/MPEG4Writer.cpp
aa14af4897f556276b0835407ab867c8898ed2f5 19-Aug-2010 James Dong <jdong@google.com> am cbd038fe: Merge "Make MediaWriter stop and pause return errors if necessary" into gingerbread

Merge commit 'cbd038fe207f183bc7e0a610973473f7c2e9d118' into gingerbread-plus-aosp

* commit 'cbd038fe207f183bc7e0a610973473f7c2e9d118':
Make MediaWriter stop and pause return errors if necessary
e0b77ce97ef84c47ae408e92f2afb7509a5051b6 19-Aug-2010 James Dong <jdong@google.com> Merge "Make MediaWriter stop and pause return errors if necessary" into gingerbread
37187916a486504acaf83bea30147eb5fbf46ae5 19-Aug-2010 James Dong <jdong@google.com> Make MediaWriter stop and pause return errors if necessary

o Make the API consistent with SF framework, which the MediaSource
provides a return status for stop

o Also, helps to convey errors that occurred right when a
premature stop() is called, leading to a potentially
mal-formed output file.

Change-Id: I52a932345f38570fdf8ea04d67d73dd94ccd30ef
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/ARTPWriter.h
897e572a4358f513279ea63ae9eca08077f4f823 19-Aug-2010 Andreas Huber <andih@google.com> am 223e4f73: Merge "Support for MP4V-ES packetization format according to RFC3016." into gingerbread

Merge commit '223e4f732a325e456ca6151f132f1d4c3c625631' into gingerbread-plus-aosp

* commit '223e4f732a325e456ca6151f132f1d4c3c625631':
Support for MP4V-ES packetization format according to RFC3016.
62cb04d23642a2ea7c005f050494c8ef3c370dd3 19-Aug-2010 Andreas Huber <andih@google.com> Support for MP4V-ES packetization format according to RFC3016.

Change-Id: I5e182936c52f9eb80cdcf6132ead03705ee32d61
ibstagefright/rtsp/AMPEG4ElementaryAssembler.cpp
ibstagefright/rtsp/AMPEG4ElementaryAssembler.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/Android.mk
94249cb1f914c96c3d045d7ec7c2500442f5cc5f 19-Aug-2010 Andreas Huber <andih@google.com> am f0ad5484: Merge "In the absence of width/height information in the sdp, extract the dimensions from the avc codec specific data." into gingerbread

Merge commit 'f0ad54846168f07fc1fd7f18cde93deea1559f86' into gingerbread-plus-aosp

* commit 'f0ad54846168f07fc1fd7f18cde93deea1559f86':
In the absence of width/height information in the sdp, extract the dimensions from the avc codec specific data.
c0f7ec8134eca61752d23c10596dd211745642d9 19-Aug-2010 Andreas Huber <andih@google.com> Merge "In the absence of width/height information in the sdp, extract the dimensions from the avc codec specific data." into gingerbread
b91209edc6e9a32dfcecf2eb45ecdf5c524976fa 19-Aug-2010 Eric Laurent <elaurent@google.com> am 1aaba885: Merge "Audio Effects: fixed "strength supported" parameter size." into gingerbread

Merge commit '1aaba885def9a3b59edbfe2a0f8c3899948533ff' into gingerbread-plus-aosp

* commit '1aaba885def9a3b59edbfe2a0f8c3899948533ff':
Audio Effects: fixed "strength supported" parameter size.
4478c01924a107991284a0265472b85f3dcab5b1 19-Aug-2010 Eric Laurent <elaurent@google.com> Merge "Audio Effects: fixed "strength supported" parameter size." into gingerbread
85f12e9b9062402d6110df3f7099707912040edb 19-Aug-2010 Andreas Huber <andih@google.com> In the absence of width/height information in the sdp, extract the dimensions from the avc codec specific data.

Change-Id: I98c4194593c7e6e24f6fc339c862245111800293
ibstagefright/Android.mk
ibstagefright/avc_utils.cpp
ibstagefright/foundation/ABitReader.cpp
ibstagefright/foundation/Android.mk
ibstagefright/include/avc_utils.h
ibstagefright/mpeg2ts/ABitReader.cpp
ibstagefright/mpeg2ts/ABitReader.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/Android.mk
ibstagefright/rtsp/APacketSource.cpp
b9b08ff55456fe845cb4c64500e9cb53682e202f 19-Aug-2010 Andreas Huber <andih@google.com> am 8c192fe9: Merge "Better support for rtsp streamed through VLC. Temporarily make the socket blocking to read all of the session description." into gingerbread

Merge commit '8c192fe990d7bc7149d2ec1a7c9f4ada3f32e52a' into gingerbread-plus-aosp

* commit '8c192fe990d7bc7149d2ec1a7c9f4ada3f32e52a':
Better support for rtsp streamed through VLC. Temporarily make the socket blocking to read all of the session description.
34c9ad88d3d827cca0c7b5f2fb1b0d4a1a20a2d1 19-Aug-2010 Andreas Huber <andih@google.com> Merge "Better support for rtsp streamed through VLC. Temporarily make the socket blocking to read all of the session description." into gingerbread
dbd2b7e4ebfe7a586b1db4459cf6aa032a7f8719 19-Aug-2010 Chia-chi Yeh <chiachi@android.com> Visualizer: replace the FFT implementation with a faster one.

This implementation uses fixed points instead of floating points. It
is slightly inaccurate compared to the old one but still perfect for
visualization purpose. It runs 40% faster on passion, 5 times faster
on sholes, and of course 14 times faster on sapphire.

Change-Id: I1e868417bcffda091becf106a7b941d02813faec
ibmedia/Android.mk
ibmedia/Visualizer.cpp
ibmedia/fixedfft.cpp
7fa8a0ec14781a50695cf8c9dd2a85a5e8a3c3f0 18-Aug-2010 Eric Laurent <elaurent@google.com> Audio Effects: fixed "strength supported" parameter size.

The "strength supported" parameter for bass boost and virtualizer effect was incorrectly using a
short value whereas it should be an int. This is to comply to the definition of boolean type in OpenSL ES
that is uint32.

Change-Id: I74ccb61dcc70fc9d390524a1ca5bbbd8b13ab1af
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
987b95fc9696f2e01a868455d40f0b61e38ba5bf 18-Aug-2010 Andreas Huber <andih@google.com> am 00557baf: am 4dda6ddb: Merge "Make the OggExtractor less verbose." into gingerbread

Merge commit '00557baf36ab62592ae1c424a7298a21e8588f5a'

* commit '00557baf36ab62592ae1c424a7298a21e8588f5a':
Make the OggExtractor less verbose.
ddcfcda09511c6641c4db81bc334788ee472ea28 18-Aug-2010 Andreas Huber <andih@google.com> am 31eb1ac1: am 0324ce9a: Merge "Be more lenient when validating ESDS information in mp4 audio tracks. Allow the absence of any codec specific data and assume that the mpeg4 headers are not lying to us." into gingerbread

Merge commit '31eb1ac1db38d0a5cd0b44dd5251941992f74b58'

* commit '31eb1ac1db38d0a5cd0b44dd5251941992f74b58':
Be more lenient when validating ESDS information in mp4 audio tracks. Allow the absence of any codec specific data and assume that the mpeg4 headers are not lying to us.
f6ac3b1a199efcdadae4c97bf2e7b7ecd753921e 18-Aug-2010 Andreas Huber <andih@google.com> am 4dda6ddb: Merge "Make the OggExtractor less verbose." into gingerbread

Merge commit '4dda6ddb25e904c17dcb3012dd229df6ae4692cd' into gingerbread-plus-aosp

* commit '4dda6ddb25e904c17dcb3012dd229df6ae4692cd':
Make the OggExtractor less verbose.
ab201bc7192ffc4bbf9e35dd0677225103c4e255 18-Aug-2010 Andreas Huber <andih@google.com> am 0324ce9a: Merge "Be more lenient when validating ESDS information in mp4 audio tracks. Allow the absence of any codec specific data and assume that the mpeg4 headers are not lying to us." into gingerbread

Merge commit '0324ce9a1e21ed66e00d6560c27a6faf6d151f68' into gingerbread-plus-aosp

* commit '0324ce9a1e21ed66e00d6560c27a6faf6d151f68':
Be more lenient when validating ESDS information in mp4 audio tracks. Allow the absence of any codec specific data and assume that the mpeg4 headers are not lying to us.
de1e37aad04640ef76f3c017b65adca087c7be0f 18-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Compatibility fixes for transferring strings

Change-Id: Ic06d754ee68b0389439cdc34f73adff0f2b33afa
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpStringBuffer.cpp
ef7af7fec702db2fde72b16dedf9064585e6db77 18-Aug-2010 Andreas Huber <andih@google.com> Better support for rtsp streamed through VLC. Temporarily make the socket blocking to read all of the session description.

Change-Id: Ibe71f5941485660510e24d714da3865b9c6f89a2
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/ASessionDescription.h
ibstagefright/rtsp/MyHandler.h
d6831054e0c6995749ccc09e8241a478ccadb9c8 18-Aug-2010 Andreas Huber <andih@google.com> Merge "Make the OggExtractor less verbose." into gingerbread
a65ccbff6e8eb301c0d325b2ec080aeda8df2024 18-Aug-2010 Andreas Huber <andih@google.com> Be more lenient when validating ESDS information in mp4 audio tracks. Allow the absence of any codec specific data and assume that the mpeg4 headers are not lying to us.

Change-Id: Ia29b967cbee9eabb21c6c26508b27b379ff9ba17
ibstagefright/MPEG4Extractor.cpp
4a3935898893f955403021fe41cf2bfa3a32dde2 18-Aug-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 0b7bd95d to gingerbread-plus-aosp

Change-Id: I55c1689c7d0737c943efec28d8164d6a5360621c
f1a97e53a58f47afa17a9b0d3a5cc9abf7e5ed19 17-Aug-2010 Rene Bolldorf <xsecute@googlemail.com> Fix compilation errors in libmedia, libstagefright.
(invalid conversion from 'const char*' to 'char*')

Change-Id: Idef85606b7cff629b2778ed8134c79c892af54c2
ibmedia/MediaScanner.cpp
ibstagefright/HTTPDataSource.cpp
8206beb4953e42a727417286cdf9d52c35c2889d 17-Aug-2010 James Dong <jdong@google.com> am f54da15b: am eff30e3d: Change the default time scale for audio/video track during recording and reduce rounding errors in calculating the sample duration

Merge commit 'f54da15b7c3fa55268451c485544e831832fdf15'

* commit 'f54da15b7c3fa55268451c485544e831832fdf15':
Change the default time scale for audio/video track during recording
790f640ac3b573efd574d346d1bb338d9724ed48 17-Aug-2010 James Dong <jdong@google.com> am 4fc2c928: am b7208196: Use audio clock as the reference media clock

Merge commit '4fc2c9280c5262c835a4eb78961241de105313c1'

* commit '4fc2c9280c5262c835a4eb78961241de105313c1':
Use audio clock as the reference media clock
3e8843e8db702c8c9c97df2b4a31b66ea12961e6 16-Aug-2010 Andreas Huber <andih@google.com> Make the OggExtractor less verbose.

Change-Id: Ieea5f3fa98d93ca6ad8fa7dcd23054e1cd0b6338
ibstagefright/OggExtractor.cpp
c059860c73678a202bfa33062723e8f82fb779d9 13-Aug-2010 James Dong <jdong@google.com> Change the default time scale for audio/video track during recording
and reduce rounding errors in calculating the sample duration

- Default time scale for tracks other than audio is set to 90000.
- Audio track by default uses the audio sampling rate as the time scale.
- Default movie time scale remains to be 1000.
- The default time scale values will be overwritten by a user-supplied value if exits.

Change-Id: I81b40ed0626ea45e9fd24a89e21a2c5a4a2c3415
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/MPEG4Writer.cpp
e259531ce59ab1f31de5a23124b22536f6a5a767 03-Aug-2010 James Dong <jdong@google.com> Use audio clock as the reference media clock

o Only do this for realtime applications
o Adjust other track clock based on audio clock
o Assume other track uses wall clock as the media clock
o Use some heuristics to reduce the size of stts box by 2/3.

- also
o Remove one unused key from MetaData.h

Change-Id: Ib9432842627b61795b533508158c25258a527332
ibstagefright/MPEG4Writer.cpp
1e66e00113a063ed9af618d376961bcc036157de 13-Aug-2010 James Dong <jdong@google.com> am 38a9f405: am e95d192f: Mainly fix two mistakes that I made:

Merge commit '38a9f4050ac4b299c459e25bfff6b852bc8de54f'

* commit '38a9f4050ac4b299c459e25bfff6b852bc8de54f':
Mainly fix two mistakes that I made:
07bf58d9d62a9807443d27d8e1bde09126db7676 13-Aug-2010 Mike Dodd <mdodd@google.com> am 2f020449: am 5f96138b: Merge "Support getting codec, width, and height in URL for gtalk playback." into gingerbread

Merge commit '2f02044944d5c526020d4e8cceaae7e77382d56d'

* commit '2f02044944d5c526020d4e8cceaae7e77382d56d':
Support getting codec, width, and height in URL for gtalk playback.
abfedebe61a010bcce16a0d920c132dfe4ad5c31 13-Aug-2010 James Dong <jdong@google.com> Mainly fix two mistakes that I made:

1. When the ERROR_END_OF_STREAM is returned from read, the input buffer is not initialized
release it would lead to crash

2. The mPrevTimestampUs is not initialized and thus fail in the CHECK(mPrevTimestampUs, timeUs)

Change-Id: Id1e51575fb8b3ca48e80547efd3a3a82dfac773b
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
b9299d167f48f2562540cab8b0cf5959a7645503 13-Aug-2010 Mike Dodd <mdodd@google.com> Merge "Support getting codec, width, and height in URL for gtalk playback." into gingerbread
8d255f31e84e0f22233401678fe28e962c71892f 13-Aug-2010 Andreas Huber <andih@google.com> am 73af0a92: am 72ac1f26: Fix software avc encoder crash at EOS.

Merge commit '73af0a9211d0c4be663d287cefd9bf35746db1ba'

* commit '73af0a9211d0c4be663d287cefd9bf35746db1ba':
Fix software avc encoder crash at EOS.
60d77eb19ddcb283b947e5dfd34b9a8e9ee6686f 13-Aug-2010 Andreas Huber <andih@google.com> Fix software avc encoder crash at EOS.

Change-Id: I738dc24556e41ce518b67babeff16cd934c2d1b1
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
1aa4fed23595d45b0ad0af86c9e839196172abe5 13-Aug-2010 Mike Dodd <mdodd@google.com> Support getting codec, width, and height in URL for gtalk playback.

Format is rtsp://gtalk/codec/width/height

For example:
rtsp://gtalk/H263-1998/320/200

Change-Id: If7c73fea1e1d0de89b22a8f0d12acba1c862d6fe
ibstagefright/AwesomePlayer.cpp
cc760e477378117ef34fb2833d0b6521925b38ad 12-Aug-2010 Andreas Huber <andih@google.com> am 3bf8c342: am ae3a1f45: Merge "Fix the h.263 assembler to properly subset a buffer\'s range if it already has a range applied." into gingerbread

Merge commit '3bf8c3427f4c728bb88e5e266b85c96e3e727203'

* commit '3bf8c3427f4c728bb88e5e266b85c96e3e727203':
Fix the h.263 assembler to properly subset a buffer's range if it already has a range applied.
db3a7e67a82b48b9b7e2bfa639fc117f75682a76 12-Aug-2010 Andreas Huber <andih@google.com> am 53895c6a: am 66aa0f3d: Merge "APacketSource is too verbose." into gingerbread

Merge commit '53895c6a0e8ecb4e835aab7eca7480779c224356'

* commit '53895c6a0e8ecb4e835aab7eca7480779c224356':
APacketSource is too verbose.
c37ae8636ed61bab5c3a1f4c4b54b41431d8016b 12-Aug-2010 James Dong <jdong@google.com> am 8473db02: am 708ec39c: Don\'t send late frames to software encoders for encoding

Merge commit '8473db025423632d1145d895fe74af0e976efac4'

* commit '8473db025423632d1145d895fe74af0e976efac4':
Don't send late frames to software encoders for encoding
d1753e3dc21df38cb0fbe73b43ceda3ea555d102 12-Aug-2010 Andreas Huber <andih@google.com> Merge "Fix the h.263 assembler to properly subset a buffer's range if it already has a range applied." into gingerbread
9089ba65b7592c1719d8bcec2efbfe6744322767 12-Aug-2010 Andreas Huber <andih@google.com> Merge "APacketSource is too verbose." into gingerbread
a6238a1e5b603ca2ccf3b2297c9bc8a141cf8559 12-Aug-2010 Andreas Huber <andih@google.com> Fix the h.263 assembler to properly subset a buffer's range if it already has a range applied.

Change-Id: I7cc468a3095537347d86803579001458b62fcadb
ibstagefright/rtsp/AH263Assembler.cpp
ibstagefright/rtsp/ARTPWriter.cpp
5328abe1e36a39b1d4617a74ac82c201b8c14c43 12-Aug-2010 James Dong <jdong@google.com> Don't send late frames to software encoders for encoding

o Document on what frames will be rejected and what frames will be accepted

Change-Id: I5a5d489ad3d2b50dbb40a0f6e01529312ce81c54
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/include/AVCEncoder.h
ibstagefright/include/M4vH263Encoder.h
ee6d226931477dc9c2c9e49aae5f2470f7181c61 12-Aug-2010 James Dong <jdong@google.com> am 8aa244ea: am 45cb3cfa: Merge "Handle large audio lost" into gingerbread

Merge commit '8aa244eab7ba834439cc919fd1f83d1e4ef49aff'

* commit '8aa244eab7ba834439cc919fd1f83d1e4ef49aff':
Handle large audio lost
586163779b241d4323e2940a53be8c4190054eba 12-Aug-2010 James Dong <jdong@google.com> am f4e26da1: am b6541f0a: Merge "Fix a crash due to unnecessary check on the codec config data for H263 video track" into gingerbread

Merge commit 'f4e26da1af90145564f6065d62cf8efcef0c6f04'

* commit 'f4e26da1af90145564f6065d62cf8efcef0c6f04':
Fix a crash due to unnecessary check on the codec config data for H263 video track
bef4b56250b7c9bd4cc34c5fad49fec7b57d4526 12-Aug-2010 James Dong <jdong@google.com> Merge "Handle large audio lost" into gingerbread
7704377e3f3daf5a7940ac759ff96e5e166f7cb3 12-Aug-2010 James Dong <jdong@google.com> Merge "Fix a crash due to unnecessary check on the codec config data for H263 video track" into gingerbread
2dac90da3ea5120b52844a6ee38c300301de5756 12-Aug-2010 James Dong <jdong@google.com> am 0386d04b: am 581581fe: Merge "Fix all fd leaks in authoring engine" into gingerbread

Merge commit '0386d04b19619b03b6bce830010e11d31d3f8a5c'

* commit '0386d04b19619b03b6bce830010e11d31d3f8a5c':
Fix all fd leaks in authoring engine
910a17f43ba2eb586ec6cca5ab0e9b5155c5df94 12-Aug-2010 James Dong <jdong@google.com> Merge "Fix all fd leaks in authoring engine" into gingerbread
6dc387a8c3f031f9f17d1138295368946563f7a5 12-Aug-2010 Andreas Huber <andih@google.com> APacketSource is too verbose.

Change-Id: I48ca7b070d89e43405d05e5f41e650db587e12b4
ibstagefright/rtsp/APacketSource.cpp
25d83125cee222993673d3ba261ae1186bcad8c2 12-Aug-2010 James Dong <jdong@google.com> Fix all fd leaks in authoring engine

Change-Id: I17798543f9dd41cc8bef6f6086e66932f9f97be8
ibmedia/IMediaRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.cpp
a37923e9a57d489e7bed2129369219039fa5f12c 12-Aug-2010 James Dong <jdong@google.com> Fix a crash due to unnecessary check on the codec config data for H263 video track

Change-Id: I00e8b65d25731153e4d9be6a443eeed91c8fb605
ibstagefright/MPEG4Writer.cpp
047be32ec88dd04a9aca23fa59773fe2eaccb8f8 11-Aug-2010 Nipun Kwatra <nkwatra@google.com> Merge "Call startPreview after stopping for mUseStillCameraForTimeLapse=true case."
030b888ef6a586a1f0fafe0adc4312f775878d2b 11-Aug-2010 Andreas Huber <andih@google.com> am 136d8336: am 90d1d104: Merge "This code in CameraSource really should hold the lock." into gingerbread

Merge commit '136d8336b6cb18067cd783185dacef34ae785519'

* commit '136d8336b6cb18067cd783185dacef34ae785519':
This code in CameraSource really should hold the lock.
4d074e81e8a8b3b057d31adcb64a088acad6d15c 11-Aug-2010 Andreas Huber <andih@google.com> Merge "This code in CameraSource really should hold the lock." into gingerbread
56223b96c2f6de5998496fac9d6703f06adc1dca 11-Aug-2010 Andreas Huber <andih@google.com> This code in CameraSource really should hold the lock.

Change-Id: I349520a14776bb83b7edb23fc62052b487246d9a
ibstagefright/CameraSource.cpp
47204e1806da9f849464d0cef936851d7e561607 11-Aug-2010 James Dong <jdong@google.com> Handle large audio lost

Change-Id: I2687ad855aac758946954d0b3fe7aff9f7b5ae7c
ibstagefright/AudioSource.cpp
900c1297683ab50ca8a2d73f937bd09d9e9b100a 11-Aug-2010 Nipun Kwatra <nkwatra@google.com> Call startPreview after stopping for mUseStillCameraForTimeLapse=true case.

In the case when stop is pressed after takePicture has been called
but the CAMERA_MSG_COMPRESSED_IMAGE message from camera has not yet
been received, preview was not getting restarted. The reason was that
CameraSource::stop sets the camera listener to NULL and hence the
dataCallback() function which handles the CAMERA_MSG_COMPRESSED_IMAGE
message and restarts preview never got called.

Change-Id: Ib8f3bb77d9eab1ed5a67798569025ea0d63d7fd4
ibstagefright/CameraSourceTimeLapse.cpp
ad2df1d0776066dc7c2e203390c336451238684a 10-Aug-2010 Andreas Huber <andih@google.com> am d35498f6: am 1a140bf6: Merge "Remove some obsolete code." into gingerbread

Merge commit 'd35498f6062410e777d6ad41a720db32336e2089'

* commit 'd35498f6062410e777d6ad41a720db32336e2089':
Remove some obsolete code.
eaf0e0786c4c21d6c63d8f1f4515cb2a5311493b 10-Aug-2010 Andreas Huber <andih@google.com> Remove some obsolete code.

Change-Id: Ic4d21afe3721173d48db44b8ee4f836deee017ad
ibstagefright/AwesomePlayer.cpp
f9080cc30532d19d818caa5feb696c410ac4f771 10-Aug-2010 James Dong <jdong@google.com> am b9ddd779: am 10ed3f74: Merge "Add input buffer size check for software video encoders" into gingerbread

Merge commit 'b9ddd779ae547b020764b89a0cbd96d589717609'

* commit 'b9ddd779ae547b020764b89a0cbd96d589717609':
Add input buffer size check for software video encoders
701019013dfd15745abf245449c3e17d78bd9570 10-Aug-2010 James Dong <jdong@google.com> Merge "Add input buffer size check for software video encoders" into gingerbread
5d8e9cd46d21d8cddebe82831b99927363fa896a 10-Aug-2010 Andreas Huber <andih@google.com> am 4dc41bb4: am 18f0174f: Merge "We\'re now going to ignore timestamps completely in gtalk video conferencing, playing video as soon as it comes in. We also make up fake timestamps in the rtp code, ignoring rtcp SR information to enable early startup." into gingerbrea

Merge commit '4dc41bb445860cfcb8c0dfbecdc8f0f5f15f5e28'

* commit '4dc41bb445860cfcb8c0dfbecdc8f0f5f15f5e28':
We're now going to ignore timestamps completely in gtalk video conferencing, playing video as soon as it comes in. We also make up fake timestamps in the rtp code, ignoring rtcp SR information to enable early startup.
8aacc475f8ad4392740ff5be505d58ea713d4110 10-Aug-2010 Andreas Huber <andih@google.com> Merge "We're now going to ignore timestamps completely in gtalk video conferencing, playing video as soon as it comes in. We also make up fake timestamps in the rtp code, ignoring rtcp SR information to enable early startup." into gingerbread
f30bccd5b5cd78a0c6d5479ba81b7aeea541f802 10-Aug-2010 Nipun Kwatra <nkwatra@google.com> Merge "use usleep instead of sleep."
dd0661387809b31e6630e81be05497e8e239232a 10-Aug-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Fix wrong delete operator from previous change."
bf9b2052d207f8f2a23470f1c4dfe464f430f387 10-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Fix wrong delete operator from previous change.

Change-Id: I64e8fdc610495f21060727b6bed42d1584833405
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
7dbfa5a98c9f396ea63d0f322c3fa11df91d17a2 10-Aug-2010 Nipun Kwatra <nkwatra@google.com> use usleep instead of sleep.

Minor bugfix. sleep doesn't take fractional value for seconds, so use
usleep instead of sleep for sleeping small times.

Change-Id: I40e45c30cc595a54c18601117b9a1a3637652f60
ibstagefright/CameraSourceTimeLapse.cpp
e13cf0973b927a59d7358ccce29371a22039923e 10-Aug-2010 Andreas Huber <andih@google.com> am 193985ff: am 235be391: Merge "Many, many developers misread or don\'t read the http specs and terminate lines with \'\n\' instead of CRLF \'\r\n\' as required. Enable the workaround for this by default. Also increase the socket read timeout to 30 secs." into ginger

Merge commit '193985ffd553c139e8c1094d7798edbe5b0797c5'

* commit '193985ffd553c139e8c1094d7798edbe5b0797c5':
Many, many developers misread or don't read the http specs and terminate lines with '\n' instead of CRLF '\r\n' as required. Enable the workaround for this by default. Also increase the socket read timeout to 30 secs.
ab68c7f0c835a0b6906e65d683c452cf352e30f7 10-Aug-2010 Andreas Huber <andih@google.com> Merge "Many, many developers misread or don't read the http specs and terminate lines with '\n' instead of CRLF '\r\n' as required. Enable the workaround for this by default. Also increase the socket read timeout to 30 secs." into gingerbread
f8ca90452ff3e252f20de38f1c3eee524c808c3e 10-Aug-2010 Andreas Huber <andih@google.com> We're now going to ignore timestamps completely in gtalk video conferencing, playing video as soon as it comes in. We also make up fake timestamps in the rtp code, ignoring rtcp SR information to enable early startup.

Change-Id: Idc3df74b42000f7a6aa3eae090718dc9d9c4186f
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPConnection.h
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTPSource.cpp
6ca767182fc51ce17fc34c4931d710f1a53512ab 10-Aug-2010 James Dong <jdong@google.com> am a0488341: am 532d2ac5: Merge "Only check the codec specific data when the output buffer contains kKeyIsCodecConfig in MP4 writer" into gingerbread

Merge commit 'a04883412ec1a5dac3e83c3fd3c335ab9579a990'

* commit 'a04883412ec1a5dac3e83c3fd3c335ab9579a990':
Only check the codec specific data when the output buffer contains kKeyIsCodecConfig in MP4 writer
db004e1c9ff995381e204135583c06758ba8f2a3 10-Aug-2010 James Dong <jdong@google.com> Add input buffer size check for software video encoders

Change-Id: I03953a1245060ed6656a965e1a8a61386126c441
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
51dfe6d646ddcc5fc252aa4c19c9936d32af8ad7 08-Aug-2010 James Dong <jdong@google.com> Only check the codec specific data when the output buffer contains kKeyIsCodecConfig in MP4 writer

o Assume there is only a single output buffer containing such information.
This simplifies the logic in MP4 file writer

o Output SPS and PPS in the very first buffer for software AVC encoder
This is to make AVC encoder work with the MP4 file writer

o Add timestamp value for codec config data

Change-Id: Iad27a04579e6028332429cd0bebd30976041e997
ibstagefright/MPEG4Writer.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
2097f5347b77861fe2559f8d76d7d455dc857f53 10-Aug-2010 Andreas Huber <andih@google.com> Many, many developers misread or don't read the http specs and terminate lines with '\n' instead of CRLF '\r\n' as required. Enable the workaround for this by default. Also increase the socket read timeout to 30 secs.

Change-Id: I51df3b8139b3009565b2271611050700a23cf1d7
ibstagefright/HTTPStream.cpp
782aef17c9921a3bf401a0432878df5031f2328b 10-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Push queries for supported formats and properties up to Java.

Change-Id: I4f117090340e3916afda3d194521a6092a672ddc
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpTypes.h
d7943b4cd2fa597581d1e29325adccc62dbf2939 10-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: turn off verbose logging

Change-Id: Ifd449c4e8c4aec6e5623869e86f8cbedd303972c
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDebug.h
1080f793fc7c88ea665a9796015832a1339e88fc 10-Aug-2010 James Dong <jdong@google.com> am fa4f57fe: am 959909ef: Merge "Support multiple PPS and SPS in avcC box" into gingerbread

Merge commit 'fa4f57fe0f85d2340524311f1409e0a1b2864a6e'

* commit 'fa4f57fe0f85d2340524311f1409e0a1b2864a6e':
Support multiple PPS and SPS in avcC box
0cde1a77ce02df9f0ab08d836b491bf8e809bf35 10-Aug-2010 Andreas Huber <andih@google.com> am e14923b0: am 4edf85ab: Merge "Support for extracting G.711 a-law and mu-law audio from WAV files and a corresponding software decoder." into gingerbread

Merge commit 'e14923b0c80b2e73e69b7917c1f170b356592d29'

* commit 'e14923b0c80b2e73e69b7917c1f170b356592d29':
Support for extracting G.711 a-law and mu-law audio from WAV files and a corresponding software decoder.
bc417c0531332635df9525df4683274a08fb987f 10-Aug-2010 Eric Laurent <elaurent@google.com> am 1ece7d68: am 2a6b80bc: Fixed several audio effects problems.

Merge commit '1ece7d6873027068a3e7b055597045e9387b217c'

* commit '1ece7d6873027068a3e7b055597045e9387b217c':
Fixed several audio effects problems.
def871da284aa51f129943a86d44ba9ee9d68d28 09-Aug-2010 James Dong <jdong@google.com> Merge "Support multiple PPS and SPS in avcC box" into gingerbread
3266b2c04867f687e1e1b7b86088d6eb83077fd0 06-Aug-2010 James Dong <jdong@google.com> Support multiple PPS and SPS in avcC box

- Also
o do not use the hard-coded profile and levels.
Instead, we are using the profile and level found in the codec config data
o we are not supporting FRExt profile and levels for now, which requires
additional seq parameter set extension for instance.

Change-Id: If695b4c996d073d8e48aa45fdd7001e9f016f375
ibstagefright/MPEG4Writer.cpp
2bb8c0e7c4e4093f4161ff5e98cef51c87193859 09-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Fix reading and writing property descriptors

We were missing support for the group code, resulting in an off by 4 bytes problem.

Change-Id: I4a640c67b8d36e1bd658b6185178a71966d4b0b6
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpProperty.cpp
tp/MtpProperty.h
e758febfb429e610c5a68fde55cd2b3bae589eaa 09-Aug-2010 Andreas Huber <andih@google.com> Merge "Support for extracting G.711 a-law and mu-law audio from WAV files and a corresponding software decoder." into gingerbread
a1825afa98dcb8fe2e44750072eaa04f7638623f 09-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Add debug code for printing names of MTP format and property codes.

Change-Id: Ia95ff014cec8720d01091fa30764011089076fe8
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDebug.cpp
tp/MtpDebug.h
f83caa2ef9574652b5f43c637a7899a3cbf95aa1 09-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Fix some typos

Change-Id: Ib31708c3a925e3c0ab8eea6922ab09e02b740936
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/mtp.h
42d66f25af9cb8089a93c6796876a6bc16e36cea 09-Aug-2010 Andreas Huber <andih@google.com> Support for extracting G.711 a-law and mu-law audio from WAV files and a corresponding software decoder.

Change-Id: I92685d09456c220b8c09842defb721bd55b0b9f6
related-to-bug: 2900021
ibstagefright/Android.mk
ibstagefright/MediaDefs.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/codecs/g711/Android.mk
ibstagefright/codecs/g711/dec/Android.mk
ibstagefright/codecs/g711/dec/G711Decoder.cpp
ibstagefright/include/G711Decoder.h
ibstagefright/include/WAVExtractor.h
8569f0d3bf4c6787707e348a7cf73b9c4199cb32 30-Jul-2010 Eric Laurent <elaurent@google.com> Fixed several audio effects problems.

- Fixed constant inversions in AudioEffect.java
- Do not return error when enabling an already enabled effect
- Update cached effect state in native AudioEffect class when effect is enabled/disabled by command() method
- Remove click when restarting effect during disable sequence
- Fixed problem in master mute management when volume control is delegated to effect.

Change-Id: I6df4ce9fcc54fdc7345df858f639d20d802d6712
ibmedia/AudioEffect.cpp
1c9aed474a170c5177cafeb27bd658ccf7cda7fd 07-Aug-2010 Andreas Huber <andih@google.com> am c143ae7e: am ad98d383: Support for communicating if a buffer read from the _extractor_ is a sync sample or not.

Merge commit 'c143ae7eb74205eb2b71e63479988b9913956687'

* commit 'c143ae7eb74205eb2b71e63479988b9913956687':
Support for communicating if a buffer read from the _extractor_ is a sync sample or not.
fb6dcdf8ebe5b2995f53a750473396a40fd2db8d 07-Aug-2010 Andreas Huber <andih@google.com> am 4f25d033: am 261aaa16: Merge "Properly skip the \'skip\' chunk in mpeg4 files." into gingerbread

Merge commit '4f25d03382ca01a00c6f0e0967c5edf302f62b55'

* commit '4f25d03382ca01a00c6f0e0967c5edf302f62b55':
Properly skip the 'skip' chunk in mpeg4 files.
8bf59e735760af0b6a85747fd90bf8cf1e5388d7 06-Aug-2010 Andreas Huber <andih@google.com> Support for communicating if a buffer read from the _extractor_ is a sync sample or not.

Change-Id: Ie71506224d937cfff1fa1273bfac31c47db8845f
related-to-bug: 2900534
ibstagefright/AMRExtractor.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleTable.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/include/SampleTable.h
ibstagefright/matroska/MatroskaExtractor.cpp
2500c2d6ff55c26452ccba925a9f8b86b926f43e 07-Aug-2010 Andreas Huber <andih@google.com> Properly skip the 'skip' chunk in mpeg4 files.

Change-Id: I6795347f91f24d5379e8dc80a24ae016a9629c9c
related-to-bug: 2901311
ibstagefright/MPEG4Extractor.cpp
ca2fa61ef03cac008ea86e6fe16b2e5f9f1a2be3 04-Aug-2010 Nipun Kwatra <nkwatra@google.com> When using still camera for time lapse capture, don't set preview.

Since HD resolution may not be supported by the video camera,
don't set preivew using the HD size. The app should have set the
preview already, just use that.

Change-Id: I2f8e89bf2c7440f7bc8db7e4a228f4c8250d92b4
ibmediaplayerservice/StagefrightRecorder.cpp
250a4cf8127a9ba572bae90de1e44437e0b78a94 06-Aug-2010 James Dong <jdong@google.com> am 9c09a605: am 1441bdfc: Merge "Use the target color format from the camera source if possible" into gingerbread

Merge commit '9c09a60513faf39901bb8e4681d39812204b3f73'

* commit '9c09a60513faf39901bb8e4681d39812204b3f73':
Use the target color format from the camera source if possible
af799e10a29e2ffbe09f9cead0c583221e8b2d0d 06-Aug-2010 James Dong <jdong@google.com> Merge "Use the target color format from the camera source if possible" into gingerbread
00c6c1a9cc34bd6bd95a113afdda59417a392e1e 05-Aug-2010 James Dong <jdong@google.com> am 41b29cb0: am 3aad8c38: Merge "Fix an issue where the track duration does not include the last sample duration" into gingerbread

Merge commit '41b29cb0a8e04e553357662b81bffea26f1c2d84'

* commit '41b29cb0a8e04e553357662b81bffea26f1c2d84':
Fix an issue where the track duration does not include the last sample duration
299766cdbf93fba14634e364b177b7f4d5811453 04-Aug-2010 James Dong <jdong@google.com> Use the target color format from the camera source if possible

- If the target color format is unavailable, the default
platform-dependent color format will be used.

- Also add some logic to prevent looping forever if the
omx component is buggy supporting color format enumeration.

Change-Id: I119a78f0d6201b4c3621235cca2f523ec14e24e3
ibstagefright/OMXCodec.cpp
c16acb7a9467831caf2c7c268a3fe57ec4bc69aa 05-Aug-2010 Andreas Huber <andih@google.com> am 870678a9: am 2c37f3d3: Merge "Better support for fake timestamps in RTP, H.263 video now also requests FIR." into gingerbread

Merge commit '870678a954e1e2a96caf76453c20de808253ffd1'

* commit '870678a954e1e2a96caf76453c20de808253ffd1':
Better support for fake timestamps in RTP, H.263 video now also requests FIR.
f084e5fbd35d5142a428c3de998d6001016fec56 05-Aug-2010 Andreas Huber <andih@google.com> am 2405988f: am 407ec58c: Merge "A better fix for the OggExtractor referring to the sample rate while it hasn\'t been initialized yet." into gingerbread

Merge commit '2405988fa07dfc7f6607cafe75322326628a9f52'

* commit '2405988fa07dfc7f6607cafe75322326628a9f52':
A better fix for the OggExtractor referring to the sample rate while it hasn't been initialized yet.
b6b546e72818988865d508e380d4445da71c4503 05-Aug-2010 Andreas Huber <andih@google.com> am c6d1519e: am fb861523: Merge "Specification of codec specific data as part of the session description is now optional." into gingerbread

Merge commit 'c6d1519e549740abd56df7a98b5348bd9095ae46'

* commit 'c6d1519e549740abd56df7a98b5348bd9095ae46':
Specification of codec specific data as part of the session description is now optional.
72cb2ee37595928ba8be034e555709de6a4105fb 05-Aug-2010 Marco Nelissen <marcone@google.com> am 533dc786: am 7d146197: Merge "Fix divide by zero." into gingerbread

Merge commit '533dc7866c19327e31ec6a13e36b997bcc74a650'

* commit '533dc7866c19327e31ec6a13e36b997bcc74a650':
Fix divide by zero.
214c163fbf6845b25743374702db852b2c55a884 05-Aug-2010 Andreas Huber <andih@google.com> am ac8e7060: am 86d2c088: Merge "Don\'t return a decoder error if the encoded stream does not start with SPS/PPS." into gingerbread

Merge commit 'ac8e7060e09cc8eecc3f959691185bf156939404'

* commit 'ac8e7060e09cc8eecc3f959691185bf156939404':
Don't return a decoder error if the encoded stream does not start with SPS/PPS.
982a93173bc84f005172152d823cbb59dfcbeb12 05-Aug-2010 Andreas Huber <andih@google.com> am 1f513d88: am c17f35dd: Merge "Support for Gtalk video, includes AMR/H.263 assembler and packetization support, extensions to MediaRecorder to stream via RTP over a pair of UDP sockets as well as various fixes to the RTP implementation." into gingerbread

Merge commit '1f513d8821670a33d6361ea521b6756163a3f9bf'

* commit '1f513d8821670a33d6361ea521b6756163a3f9bf':
Support for Gtalk video, includes AMR/H.263 assembler and packetization support, extensions to MediaRecorder to stream via RTP over a pair of UDP sockets as well as various fixes to the RTP implementation.
aa68b49a53a874a1813e65752663f19d18149e2c 05-Aug-2010 Eric Laurent <elaurent@google.com> am eec3fca6: am 7629e8dd: Merge "Fix issue 2876124." into gingerbread

Merge commit 'eec3fca6277296f354ee2b1af0f4b3dceddb3067'

* commit 'eec3fca6277296f354ee2b1af0f4b3dceddb3067':
Fix issue 2876124.
c5f0c714dc4225cd2ec305d5ddd297964a3dd3dc 05-Aug-2010 James Dong <jdong@google.com> Fix an issue where the track duration does not include the last sample duration

Change-Id: Ib6e01c1c84ad9b7404536f9c40bf90a13340ae53
ibstagefright/MPEG4Writer.cpp
cf168132b4e4ac8d9c29d02d8dfed89c33d06e9a 05-Aug-2010 Andreas Huber <andih@google.com> Merge "Better support for fake timestamps in RTP, H.263 video now also requests FIR." into gingerbread
ecaccb9f82dd07b29aa32ce36e8d15862dfdf547 05-Aug-2010 Andreas Huber <andih@google.com> A better fix for the OggExtractor referring to the sample rate while it hasn't been initialized yet.

Change-Id: I001fa36d3f5bf385b9f9d086c802673071c65db9
related-to-bug: 2896814
ibstagefright/OggExtractor.cpp
ff53123821a3ec2e71fdb1a971ea2cbae3119826 05-Aug-2010 Andreas Huber <andih@google.com> Better support for fake timestamps in RTP, H.263 video now also requests FIR.

Change-Id: I2385461887197fe4062d329086e0204f6d6620fc
ibstagefright/AwesomePlayer.cpp
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTPSource.h
9cf3ce33d626543bd749241d0280f3900d5b8ed3 05-Aug-2010 Andreas Huber <andih@google.com> Merge "Specification of codec specific data as part of the session description is now optional." into gingerbread
f196d3ed76f38b131a89390bec12ff0152fb3727 05-Aug-2010 Marco Nelissen <marcone@google.com> Merge "Fix divide by zero." into gingerbread
e8c07d18201ac6d3a5458a2e15e5129159a1429e 05-Aug-2010 Marco Nelissen <marcone@google.com> Fix divide by zero.

Change-Id: I3113234aa5936965424dde5b24e448df1be0b603
ibstagefright/OggExtractor.cpp
979c6c9720d8861375570b81222e55c43bb2838d 04-Aug-2010 Andreas Huber <andih@google.com> Merge "Don't return a decoder error if the encoded stream does not start with SPS/PPS." into gingerbread
2b3b9b2237468db96d9bb49dccd2b2a1eb8ae2db 04-Aug-2010 Andreas Huber <andih@google.com> Don't return a decoder error if the encoded stream does not start with SPS/PPS.

Change-Id: I960ada0c53f8ffe413ecd07c2c754a996841f592
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/include/AVCDecoder.h
33a8457868eb00b94b37b53321a80d9307202a9d 04-Aug-2010 Andreas Huber <andih@google.com> Specification of codec specific data as part of the session description is now optional.

Change-Id: Ie1953909e1d241381add3cc82a7a1f7d7d1540f2
ibstagefright/AwesomePlayer.cpp
ibstagefright/rtsp/APacketSource.cpp
e91a2dfd00b1a707cb4c5eac7ee2c8de4edeb36c 04-Aug-2010 Mike Lockwood <lockwood@android.com> Merge changes I085cb3cf,Ied1cddc6

* changes:
MTP: Add support for syncing MTP playlists
MTP: Fix some thread safety issues in MTP server start/stop sequence.
39ddf8e0f18766f7ba1e3246b774aa6ebd93eea8 04-Aug-2010 Andreas Huber <andih@google.com> Support for Gtalk video, includes AMR/H.263 assembler and packetization support, extensions to MediaRecorder to stream via RTP over a pair of UDP sockets as well as various fixes to the RTP implementation.

Change-Id: I95b8dd487061add9bade15749e563b01cd99d9a6
ibmedia/mediarecorder.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/AAMRAssembler.cpp
ibstagefright/rtsp/AAMRAssembler.h
ibstagefright/rtsp/AAVCAssembler.cpp
ibstagefright/rtsp/AAVCAssembler.h
ibstagefright/rtsp/AH263Assembler.cpp
ibstagefright/rtsp/AH263Assembler.h
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/APacketSource.h
ibstagefright/rtsp/ARTPAssembler.h
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPConnection.h
ibstagefright/rtsp/ARTPSession.cpp
ibstagefright/rtsp/ARTPSession.h
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTPSource.h
ibstagefright/rtsp/ARTPWriter.cpp
ibstagefright/rtsp/ARTPWriter.h
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/Android.mk
ibstagefright/rtsp/MyHandler.h
ibstagefright/rtsp/UDPPusher.cpp
ibstagefright/rtsp/UDPPusher.h
ibstagefright/rtsp/rtp_test.cpp
e41f9ba4869a96f004c731d8d17939ae607143b9 04-Aug-2010 James Dong <jdong@google.com> am d152c1c7: am d194f3d6: Merge "Replace CHECK with a failure return value when mCamera->setParameters() fails if the camera is locked by someone else." into gingerbread

Merge commit 'd152c1c7534a80b84f6b389efa8a410ea359b3eb'

* commit 'd152c1c7534a80b84f6b389efa8a410ea359b3eb':
Replace CHECK with a failure return value when mCamera->setParameters() fails
216e5df78e958a3349ba4785fb79c688e1ad39a5 04-Aug-2010 James Dong <jdong@google.com> am 246aad12: am 3d84280c: Merge "File writer has a designated writer thread now" into gingerbread

Merge commit '246aad12cf2becda5111d03fd1dd8f39712686f2'

* commit '246aad12cf2becda5111d03fd1dd8f39712686f2':
File writer has a designated writer thread now
610959a52fe22a88e50d158f5f5f492fee4f1921 04-Aug-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2876124." into gingerbread
3b26844e60f8487388e7e62709faf0dada86e7e1 03-Aug-2010 Eric Laurent <elaurent@google.com> Fix issue 2876124.

Allow calls to MediaPlayer::notify() in idle state to signal errors from JNI.

Change-Id: I1515fe69766f0a926b76e15c4971317da2acd6a0
ibmedia/mediaplayer.cpp
a7c61b8be205ce8db81ebbd15cd42abd649cbf4d 04-Aug-2010 James Dong <jdong@google.com> am 51a260d8: am 23796e3b: Merge "Add lost frame handling in AudioSource" into gingerbread

Merge commit '51a260d8c6e9a5c6b6c2cf808554ae013c1a7bef'

* commit '51a260d8c6e9a5c6b6c2cf808554ae013c1a7bef':
Add lost frame handling in AudioSource
48f6ce0e17297c575dcbb25671a7bee80ba13061 04-Aug-2010 James Dong <jdong@google.com> Replace CHECK with a failure return value when mCamera->setParameters() fails
if the camera is locked by someone else.

bug - 2827892

Change-Id: I217d4a00f04ebd57b557d3faef28787c14f23ea0
ibmediaplayerservice/StagefrightRecorder.cpp
438344fba74ddd6b931ac733fa48643f27b63de3 03-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for syncing MTP playlists

MTP playlists now correspond to playlists in the media provider
(like those created by the Music app).

Change-Id: I085cb3cff003037ad62f0e297fb0cfd3047cb3a2
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
26ab7ab7f543a03b65735a41de8496c54d3e490e 03-Aug-2010 James Dong <jdong@google.com> Merge "File writer has a designated writer thread now" into gingerbread
a5740924c0a71871f2697139effd43b137750597 03-Aug-2010 James Dong <jdong@google.com> Merge "Add lost frame handling in AudioSource" into gingerbread
1c9747a4653aec1395c2bd6896c9b87cb5447837 31-Jul-2010 James Dong <jdong@google.com> File writer has a designated writer thread now

+ This reduces the file I/O block time for audio/video track processing
- Since the file writer is buffering some output samples, the memory
usage would go up, depending on how many output samples are buffered.

Change-Id: I780cc5b26f4b53a5efbd643fcf9505dfc19cd4cd
ibstagefright/MPEG4Writer.cpp
f95ce6452d87316b8f5df6692537bd039377f349 02-Aug-2010 Nipun Kwatra <nkwatra@google.com> Allowing useStillCameraForTimeLapse to be set through MediaRecorder.java

This will allow apps to make the decision of whether to use still image mode or
video mode for time lapse capture.

- setTimeLapseParameters now takes in a useStillCameraForTimeLapse parameter.
- Added support in StagefrightRecorder for passing through this parameter.

Change-Id: Iafbcb76f9a7903118ea5eb822c81008619630f03
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
fd150a8e03cdd8462eafd68f4a4231aa52f0e5a1 02-Aug-2010 Nipun Kwatra <nkwatra@google.com> including limits.h to fix simulator build.

Change-Id: I473a62ab8282e4e89e48ee6d7e99aec6ed37076a
ibstagefright/CameraSourceTimeLapse.cpp
a7d4b0be8ad61e61cfa55fbfca93b73fab0b9ca1 02-Aug-2010 Nipun Kwatra <nkwatra@google.com> Merge "Implementing getSupportedPictureSizes"
40e2f3f9b41f44bdb59f7708a421b87f169a6ede 31-Jul-2010 Nipun Kwatra <nkwatra@google.com> Implementing getSupportedPictureSizes

Go through all the supported picture sizes and choose the smallest one with
both dimensions higher than the passed in video width and height.

Change-Id: I4e9fe7a6384a0feeb9e069239ec68c70fb5f3033
ibstagefright/CameraSourceTimeLapse.cpp
343af4ef512869695456a91519e73ed3c3d82101 02-Aug-2010 Mike Lockwood <lockwood@android.com> MTP: Implement GetNumObjects

Change-Id: Iccc3a445f9a1eab7bb76eddd567c6a3a8f155b2b
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
9c04c4cc038f924d9cb98798e1c07fe6017e85d0 02-Aug-2010 Mike Lockwood <lockwood@android.com> Clean up MtpDatabase API.

Return MTP response codes instead of booleans for success or failure.
Remove some unused code.

Change-Id: I82ce80a4d7779233264e3caf139ebd0cece12f5c
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpServer.cpp
484c146281e39a04e32f4f13775210ab2a248c57 30-Jul-2010 James Dong <jdong@google.com> am 7600f934: am f0aa24d9: Merge "Added damr box for AMR (NB and WB) sample entry" into gingerbread

Merge commit '7600f934015cff4d678b0f4e8df0eb93749be7bb'

* commit '7600f934015cff4d678b0f4e8df0eb93749be7bb':
Added damr box for AMR (NB and WB) sample entry
901335c2f0ce73a78277d90eb77807dcd1d65c95 30-Jul-2010 James Dong <jdong@google.com> Merge "Added damr box for AMR (NB and WB) sample entry" into gingerbread
46292fb347d72a314d985e34e5e3743d846cb9b6 30-Jul-2010 James Dong <jdong@google.com> Add lost frame handling in AudioSource

- Also collect stats on lost audio frames instead of time spent on reading

Change-Id: I6380b143e4fbdcd894491aaae523331e90d0f04f
ibstagefright/AudioSource.cpp
30e3eb619f02cf36e6d1d31be528d6be552bb3e2 30-Jul-2010 James Dong <jdong@google.com> am e915b0ef: am d973a533: Merge "Lower the lower bound for max file duration check" into gingerbread

Merge commit 'e915b0ef5d574022dfeffc9b2b61e21c1433c89c'

* commit 'e915b0ef5d574022dfeffc9b2b61e21c1433c89c':
Lower the lower bound for max file duration check
489d78dcde35ef7ecaed5fac5b777fabfcd0525b 30-Jul-2010 James Dong <jdong@google.com> Merge "Lower the lower bound for max file duration check" into gingerbread
5aff464f67322cd13dc8ed165806971cfff2e4d5 30-Jul-2010 James Dong <jdong@google.com> Added damr box for AMR (NB and WB) sample entry

- Some players, like QT, sometimes are picky about the missing sample entry

Change-Id: Ia32d78e48ac9fd8af8285dbc67f0d69142ba98b4
ibstagefright/MPEG4Writer.cpp
e4fc55de48241c5fb4c4b9d652fd2d4cd0b71138 30-Jul-2010 James Dong <jdong@google.com> Lower the lower bound for max file duration check

- This fixed a CTS test where 200 ms is being used

Change-Id: Ib598b7b94be54e98a96703c58c5f244bc379cf7d
ibmediaplayerservice/StagefrightRecorder.cpp
9da2070b6d6d20550de7da61478c325f0928d020 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 27eecb70 to gingerbread

Change-Id: If064f2f4950fc1a4ff38e6927fe2120af76b26f1
d904b49e5ac83cb3000a01eb97771731aa1fbe43 30-Jul-2010 Eric Laurent <elaurent@google.com> am e67332f8: am 92e847ed: Audio effects: aligned Equalizer API argument types on OpenSL ES SLEqualizerItf.

Merge commit 'e67332f879b3f97baaac2252b53ac64686aebdbb'

* commit 'e67332f879b3f97baaac2252b53ac64686aebdbb':
Audio effects: aligned Equalizer API argument types on OpenSL ES SLEqualizerItf.
db0e4136c3d09c9df4ddf8258ee5c98c053ffba4 30-Jul-2010 Eric Laurent <elaurent@google.com> am 92e847ed: Audio effects: aligned Equalizer API argument types on OpenSL ES SLEqualizerItf.

Merge commit '92e847ed8e455dca3b2d33d92999e3960404d9af' into gingerbread-plus-aosp

* commit '92e847ed8e455dca3b2d33d92999e3960404d9af':
Audio effects: aligned Equalizer API argument types on OpenSL ES SLEqualizerItf.
3be9523784cc4038f601e510faee595117cdacb3 30-Jul-2010 Eric Laurent <elaurent@google.com> Audio effects: aligned Equalizer API argument types on OpenSL ES SLEqualizerItf.

Modified types of some arguments and returned values of the Equalizer class from int to short
to match those defined by OpenSL ES SLEqualizerItf interface.

Also fixed a problem with set properties in equalizer engine implementation.

Change-Id: I75894bad0cb67b01c18ca5e22f9687e75ee491b8
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/testlibs/EffectEqualizer.cpp
bc286dce1af6670824fba4167e0750b631168d72 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> am 0c51c98f: am 4506c62a: fix inaccurate copyrights

Merge commit '0c51c98fd9edf0bdc8f2c567470fc332b5ae3adf'

* commit '0c51c98fd9edf0bdc8f2c567470fc332b5ae3adf':
fix inaccurate copyrights
0319aaecb03aa83924ab4e3d9c9bc657c2e8bc06 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> am 4506c62a: fix inaccurate copyrights

Merge commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625' into gingerbread-plus-aosp

* commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625':
fix inaccurate copyrights
efe6039f71e9bac2138003b3287e94a7ab7e5c55 30-Jul-2010 The Android Open Source Project <initial-contribution@android.com> Merge branch 'froyo' of git://android.git.kernel.org/platform/frameworks/base into HEAD
68335fdd6e9c1d622384612605d6952503cb7fd0 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> fix inaccurate copyrights

Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
ibmedia/IMediaRecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
01cff464978aa0f749f42650180b45ea56cb17de 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> fix inaccurate copyrights

Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
ibmedia/IMediaRecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
c4e47d1e81c4e4403663cb911e98dbf3ada9942c 28-Jul-2010 Nipun Kwatra <nkwatra@google.com> Support for video size to be different from captured picture size.

Adding support to allow video size to be different than the supported
picture sizes. A picture size larger than the demanded video size is
chosen. Captured pictures are then cropped to the size of the desired
video size. Cropping is done from the the center portion of the picture.

Change-Id: I6bcbe16f94b6ecbcf28b7f46826a81b4b6b8cbc3
ibstagefright/Android.mk
ibstagefright/CameraSourceTimeLapse.cpp
db205a1d75c1e9a7d0dbd8fa011335249ad6f4ac 28-Jul-2010 Nipun Kwatra <nkwatra@google.com> Adding YUVImage and YUVCanvas.

YUVImage is a container class to hold YUV data and provide
various utilities, e.g. to set/get pixel values for different
YUV formats, fast copying routines, etc.
Currently supported YUV420 Planar and YUV420 Semi Planar.

YUVCanvas holds a reference to a YUVImage on which it can do various
drawing operations.

Change-Id: I052a57b7fbc834efe1626914f76c04c091996cac
ibstagefright/yuv/Android.mk
ibstagefright/yuv/YUVCanvas.cpp
ibstagefright/yuv/YUVImage.cpp
ac36fde15b7bc14ba27cdb21a0aeb5d7356c47f4 29-Jul-2010 Andreas Huber <andih@google.com> am 42556025: am 6dea6f4e: am 16263d9f: Squashed commit of the following:

Merge commit '425560259c6d41e7f413fdd0f517dc47f350c533'

* commit '425560259c6d41e7f413fdd0f517dc47f350c533':
Squashed commit of the following:
5caff27f4683d5e444f327a5beec15d9b8c7f252 29-Jul-2010 Andreas Huber <andih@google.com> am 16263d9f: Squashed commit of the following:

Merge commit '16263d9f8cc01392c2f3678b381ce897647c8c81' into gingerbread

* commit '16263d9f8cc01392c2f3678b381ce897647c8c81':
Squashed commit of the following:
3cc219dfc67b866e10828f0c17641668d47c1cd8 20-Jul-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 4abf16bb04dc9695fedf4007a84f903074312ccd
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 20 09:21:17 2010 -0700

Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly.

Change-Id: Icc790122744745e9a88099788d4818ca1e265a82
related-to-bug: 2826841

commit 09c74da63e6ad5cb5dafb70f62696d75d2978967
Author: James Dong <jdong@google.com>
Date: Sun Jul 18 17:57:01 2010 -0700

Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.

Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8

commit f672bf2a782dc7d5fb6325d611a7fe17045dfe9a
Author: James Dong <jdong@google.com>
Date: Thu Jul 8 20:56:13 2010 -0700

Enable the support for decoding audio with AAC+ and eAAC+ features

bug - 282684

Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b

Change-Id: I012f1179e933b6d1345d2368f357576c722485f7
ibstagefright/AudioPlayer.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/include/AACDecoder.h
2c59bd383b4665fce878940c472af48f2597866d 29-Jul-2010 James Dong <jdong@google.com> am 8ddb8f81: am bc1daf01: Merge "Eliminate the linear cost associated with mSampleSizes.size()" into gingerbread

Merge commit '8ddb8f81902045ec8a53ec14b8fb936fd42517e0'

* commit '8ddb8f81902045ec8a53ec14b8fb936fd42517e0':
Eliminate the linear cost associated with mSampleSizes.size()
ff4a7fa411401910e6e5ac88aeb6e0080a8cc8b1 28-Jul-2010 James Dong <jdong@google.com> Eliminate the linear cost associated with mSampleSizes.size()

- The linear cost associated with mSampleSizes.size() call causes the
CPU load to increase overtime as more and more audio/video samples
are recorded.

- Other Lists used in the MP4 file writer may have similar issues, but
the size() call is not made for each output audio/video output sample,
or the size of the list is bounded (not linear to the total number
of audio/video output samples). As for now, we can live with the small
cost (tested with 30 minutes long recording).

Change-Id: I23bd93ea4256cb0be0c1649760e39e6809eb4946
ibstagefright/MPEG4Writer.cpp
6a372681547650d21e3b6264799cdbb4af881d09 28-Jul-2010 James Dong <jdong@google.com> am 84665f6d: am 7e397842: Reduce memory usage by the MP4 file writer - Don\'t store timestamp for each output sample - Don\'t store timestamp for statistical data collection if the collection of statistical data is not requested

Merge commit '84665f6dc2d0b5dfa6a46463677c51f2b670e511'

* commit '84665f6dc2d0b5dfa6a46463677c51f2b670e511':
Reduce memory usage by the MP4 file writer
3722abe1a6ae53034b9dee6b12e8513804622fd5 28-Jul-2010 James Dong <jdong@google.com> am cb51115c: am 5587bb7e: Merge "Interleave the audio and video by default - default interleave duration is set to 1 second" into gingerbread

Merge commit 'cb51115cca81ba47d00aa344f6ed16d1056b056b'

* commit 'cb51115cca81ba47d00aa344f6ed16d1056b056b':
Interleave the audio and video by default
8644c14618d30d9e57a69df40ed939986ebf02c4 28-Jul-2010 James Dong <jdong@google.com> Reduce memory usage by the MP4 file writer
- Don't store timestamp for each output sample
- Don't store timestamp for statistical data collection if the collection of statistical data is not requested

TODO:
1. Reduce CPU load by elimnating the list cost associated with List.size() call.

Change-Id: I590bc17176596a65952c982574b82ee3b15b7d1c
ibstagefright/MPEG4Writer.cpp
995cef30f64d4b579a76e15c0b622cd79c461dd8 28-Jul-2010 James Dong <jdong@google.com> Merge "Interleave the audio and video by default - default interleave duration is set to 1 second" into gingerbread
f01528f435e6b1f02d118fcd8305a148c27a89f1 28-Jul-2010 James Dong <jdong@google.com> Interleave the audio and video by default
- default interleave duration is set to 1 second

This can dramatically reduce the memory usage
by the MP4 file writer.

Change-Id: Ia3ff202cabfcd2d3f183065d31e4596617c2dded
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/MPEG4Writer.cpp
ed0de3c123aaa86147993721d4794648a65aab75 28-Jul-2010 Eric Laurent <elaurent@google.com> am 6fa88882: am 62d83a0c: Merge "Audio effects: modified command() parameter types." into gingerbread

Merge commit '6fa8888254deb4961dc64c6ac03dc103c9cd8bcf'

* commit '6fa8888254deb4961dc64c6ac03dc103c9cd8bcf':
Audio effects: modified command() parameter types.
25f4395b932fa9859a6e91ba77c5d20d009da64a 28-Jul-2010 Eric Laurent <elaurent@google.com> Audio effects: modified command() parameter types.

The type of the cmd, cmdSize and *pReplySize parameters of the effect control interface command()
function have been modified from int to uint32_t. This is more consistent with their role.

Change-Id: I84d289fc262d6753747910f06f485597dfee6591
ibeffects/factory/EffectsFactory.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/testlibs/EffectReverb.h
ibeffects/visualizer/EffectVisualizer.cpp
ibmedia/AudioEffect.cpp
ibmedia/IEffect.cpp
ibmedia/IEffectClient.cpp
ibmedia/Visualizer.cpp
da90dff17b6ce79d0a7d8ab2dbe2aa69cd1c11aa 27-Jul-2010 Mike Lockwood <lockwood@android.com> MTP host: Reduce buffer size for readObject so we don't clog our pipe.

Change-Id: I24d2b1551af5843e48c0a63b84925b3a6451e36a
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
f43c641bf3f8bcb5748f4ae504d434896edc94f5 27-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Turn off excessive logging

Change-Id: Ib0dd8cb99efa324d0b4e742bffeb913d6122ace2
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpCursor.cpp
tp/MtpDebug.h
tp/MtpDevice.cpp
tp/MtpDeviceInfo.cpp
tp/MtpProperty.cpp
9e77e155b05e419a34e0fd116ee50f0fc092e67a 27-Jul-2010 Eric Laurent <elaurent@google.com> resolved conflicts for merge of d306cc81 to master

Change-Id: Ib593b7719a837de12605e8c75904634843298ba1
23e1de74359f4bb1763aef0adfebe073122b032c 23-Jul-2010 Eric Laurent <elaurent@google.com> Audio Effects: added methods to effects java classes to store and load current effect settings in
a single call.

Addional changes:
- Fixed simulator build
- Use effect interface UUIDs from OpenSL ES includes when available
- Added cleanspec rules to remove now obsolete test effect libraries
- Fixed bug in AudioEffect JNI setParameter function.

Change-Id: Ic25ddb135e2cec5a68c181d727321f5ac7a1ab6b
ibeffects/lvm/wrapper/Android.mk
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
ibeffects/testlibs/EffectReverb.c
ibeffects/visualizer/Android.mk
a9d01c6de17ca72d67a88673d5c9ee22047c862a 27-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP host: Add support for reading files from an MTP device via ParcelFileDescriptor"
421736c058acde628f5692bf30f58d81fb4ed40c 27-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Don't request thumbnails for folder objects in MtpCursor"
be19df10b6f3df507a8d8598cda1d13a84cd0b09 27-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Add hard coded support to recognize a couple MTP music players for testing purposes."
0cf89f2e622aa53f31fa5762ca4bc805bb509ed3 27-Jul-2010 Mike Lockwood <lockwood@android.com> MTP host: Add support for reading files from an MTP device via ParcelFileDescriptor

Also added some support for sending files to the device that hasn't been debugged yet.
Add locking to MtpDevice to prevent it from attempting multiple transactions simultaneously.

Change-Id: I2b995ba0af086cc6920bd6b8c869f540ad78560a
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDevice.cpp
tp/MtpDevice.h
2b6c4a26499693ae3638e3df6d4255b13e34ee29 27-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Don't request thumbnails for folder objects in MtpCursor

Change-Id: I75a0a834ab746bed0a35883539c8dbc104789157
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpCursor.cpp
tp/MtpCursor.h
80a82ea7eb05c0b807a3b0a76e1b7137ea059189 27-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Add hard coded support to recognize a couple MTP music players for testing purposes.

Change-Id: I2d09d78e83d13cfb3edff02372a6fc34b1e4d8b1
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpClient.cpp
49c16aaec0d314bcf320e088e4bc68d0585c040a 26-Jul-2010 Eric Laurent <elaurent@google.com> am e80c30c6: am 00de7218: Merge "Fixed bug in vlm effect bunde wrapper effect init function." into gingerbread

Merge commit 'e80c30c6b557fab2f5fc7a87c51018f5a8074338'

* commit 'e80c30c6b557fab2f5fc7a87c51018f5a8074338':
Fixed bug in vlm effect bunde wrapper effect init function.
dc619be998a8e727008677ea222bc1e032453785 26-Jul-2010 Eric Laurent <elaurent@google.com> am df5c3b50: am 739bf285: Merge "LVM release 1.04." into gingerbread

Merge commit 'df5c3b5024276af8b44d00bb28ce620ab31e2365'

* commit 'df5c3b5024276af8b44d00bb28ce620ab31e2365':
LVM release 1.04.
8b4179f44917ec4845ade406a49a713cd568fe8a 26-Jul-2010 Eric Laurent <elaurent@google.com> Merge "Fixed bug in vlm effect bunde wrapper effect init function." into gingerbread
09d5ca3766d4bab91cdaad7206716a5747ebad77 23-Jul-2010 Eric Laurent <elaurent@google.com> LVM release 1.04.

Remaining warnings in the code have been removed
Core components support seamless insertion in the audio stream at playtime (Enabling / Disabling the effect).

Change-Id: Icae7085305fad663faeb5a94cb673b41cec5a9f1
ibeffects/lvm/lib/Bass/src/LVDBE_Control.c
ibeffects/lvm/lib/Bundle/src/LVM_Buffers.c
ibeffects/lvm/lib/Bundle/src/LVM_Control.c
ibeffects/lvm/lib/Bundle/src/LVM_Init.c
ibeffects/lvm/lib/Common/src/MixSoft_2St_D32C31_SAT.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Control.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_BypassMix.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Control.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Equaliser.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Init.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Private.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_ReverbGenerator.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_StereoEnhancer.c
010ae0dd9eab40a49a840388230d8bb2f97c530e 26-Jul-2010 Eric Laurent <elaurent@google.com> Fixed bug in vlm effect bunde wrapper effect init function.

The status in the command reply field was not initialized by Effect_command() for
EFFECT_CMD_INIT causing unpredictable failures when initializing an effect.

Change-Id: I7dccb094c9244fad4ed9aea3062a395db295e082
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
6a970b49033688f0422fc613568d30148b6b301a 23-Jul-2010 Eric Laurent <elaurent@google.com> am 08f2b10c: am 021697ad: Audio effects: lvm bundle wrapper update after first integration tests.

Merge commit '08f2b10c4b2e7fc1c666cc1d896e227289206b24'

* commit '08f2b10c4b2e7fc1c666cc1d896e227289206b24':
Audio effects: lvm bundle wrapper update after first integration tests.
163fbcf84010b98e0374110454d85b804bc8d13b 23-Jul-2010 Eric Laurent <elaurent@google.com> Audio effects: lvm bundle wrapper update after first integration tests.

Change-Id: I20cb55282833bd6e3a160e0dae1cc1fcb6b1ca30
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
e4e0a6994d39c4a7cba09c5fff442b2dca1df8f8 21-Jul-2010 Nipun Kwatra <nkwatra@google.com> Allowing setting of time lapse parameters through MediaRecorder.java

added setTimeLapseParameters() to MediaRecorder.java and SetParameter support
in StagefrightRecorder to allow enabling time lapse and setting the corresponding
parameters.

Change-Id: I509040aa71f8d3fc37337b0894a81d9c0fd7a40a
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSourceTimeLapse.cpp
55cb2b8319e6b36e88658de121c534e95cd240b4 23-Jul-2010 James Dong <jdong@google.com> am 9bc4dc11: am 53d4e0d5: Allows the authoring engine to skip frame.

Merge commit '9bc4dc114fce58606a81d65d4cb31348cc7c1bae'

* commit '9bc4dc114fce58606a81d65d4cb31348cc7c1bae':
Allows the authoring engine to skip frame.
ccaa41429d2afc47f0fb828a0146a1b1936188fe 23-Jul-2010 Mathias Agopian <mathias@google.com> move native services under services/

moved surfaceflinger, audioflinger, cameraservice

all native services should now reside in this location.

Change-Id: Icd7336f7289db35df9c8c1857a5122bb8a6f1c86
ediaserver/Android.mk
542db5d438988360d491a5add1040a2df9aa90c9 21-Jul-2010 James Dong <jdong@google.com> Allows the authoring engine to skip frame.

This is 1st part of the work to allow audio and video resync if
we found out that audio and video are out of sync during authoring

- also fixed a problem in AACEncoder::read() where the buffer acquired
from the buffer group does not release when error out at
reading from source.

Change-Id: I8a2740097fcfdf85e6178869afeb9f3687a99118
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/MediaSource.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
f661058d77d1484e5911d1962f8e1e8466240687 22-Jul-2010 Andreas Huber <andih@google.com> am b72d3180: am 81046c8c: Merge "Various changes to improve rtsp networking, reduce packet loss and adapt to ALooper API changes." into gingerbread

Merge commit 'b72d3180dc8d41d6269664bea808b04410bbe40f'

* commit 'b72d3180dc8d41d6269664bea808b04410bbe40f':
Various changes to improve rtsp networking, reduce packet loss and adapt to ALooper API changes.
348a8eab84f4bba76c04ca83b2f5418467aa1a48 22-Jul-2010 Andreas Huber <andih@google.com> Various changes to improve rtsp networking, reduce packet loss and adapt to ALooper API changes.

Change-Id: I110e19d5ce33e597add3ffbd3e3ff3815862396d
ibstagefright/foundation/ALooper.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/MyHandler.h
d3bc2528fca033f3d34969a095beec0bc3f79ffd 21-Jul-2010 Andreas Huber <andih@google.com> am 8a9a931f: am 8138e841: Merge "Support finer seek control on MediaSources." into gingerbread

Merge commit '8a9a931fff2d184f7cf77fdd8a425f682f006cfd'

* commit '8a9a931fff2d184f7cf77fdd8a425f682f006cfd':
Support finer seek control on MediaSources.
ef3f986ebeee48af0e8cbfa651260974bbd1ed4d 21-Jul-2010 Andreas Huber <andih@google.com> Merge "Support finer seek control on MediaSources." into gingerbread
71ff94cb52874e42dede3c6bc4b86757b72cf0b1 21-Jul-2010 Eric Laurent <elaurent@google.com> am 34161132: am 7070b365: Added support for auxiliary audio effects to AudioTrack and MediaPlayer.

Merge commit '34161132030254bac7dd64c9713832e2f961a061'

* commit '34161132030254bac7dd64c9713832e2f961a061':
Added support for auxiliary audio effects to AudioTrack and MediaPlayer.
abd1f4f870925d6776dbe4b930b759a1ab6595ca 21-Jul-2010 Andreas Huber <andih@google.com> Support finer seek control on MediaSources.

related-to-bug: 2858448

Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
ibstagefright/AMRExtractor.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/JPEGSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaSource.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/SampleTable.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/dec/AMRNBDecoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwb/AMRWBDecoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
ibstagefright/codecs/on2/dec/VPXDecoder.cpp
ibstagefright/codecs/vorbis/dec/VorbisDecoder.cpp
ibstagefright/include/AVCDecoder.h
ibstagefright/include/M4vH263Decoder.h
ibstagefright/include/SampleTable.h
ibstagefright/include/VPXDecoder.h
ibstagefright/matroska/MatroskaExtractor.cpp
2beeb50b1bba9e92f6cacfeca37fe9fa9d36ead1 16-Jul-2010 Eric Laurent <elaurent@google.com> Added support for auxiliary audio effects to AudioTrack and MediaPlayer.

Added methods to AudioTrack and MediaPlayer java classes to enable use of
auxiliary audio effects. The effect can be attached and detached by specifying its
ID and the send level controlled.

Change-Id: Ie74ff54a453096a742688476f612ce355543b6f3
ibmedia/AudioTrack.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
932e0a11d74d5e236ccef9ee314442385c3d4e9d 21-Jul-2010 James Dong <jdong@google.com> am 9049fe60: am d7514ec6: Merge "Progress status notification" into gingerbread

Merge commit '9049fe60c20640bd606741c8f45f3f781a1684f5'

* commit '9049fe60c20640bd606741c8f45f3f781a1684f5':
Progress status notification
3108231d90e8aa324923fd8864ca2477948c5d25 20-Jul-2010 James Dong <jdong@google.com> Merge "Progress status notification" into gingerbread
d403f73c6db493a067d529e932d699ce461ae1d8 20-Jul-2010 Nipun Kwatra <nkwatra@google.com> Merge "Restart preview after each takePicture is done."
8184a5734690b30f4de0f6b6c16daf1e089f67df 20-Jul-2010 Eric Laurent <elaurent@google.com> resolved conflicts for merge of dd206093 to master

Change-Id: I21dd2321a4839d034d49092baccbf40986f17dae
0aacf105eea098a0b47761a4a9a5c4d820611f2d 19-Jul-2010 Nipun Kwatra <nkwatra@google.com> Restart preview after each takePicture is done.

Preview is called when CAMERA_MSG_COMPRESSED_IMAGE is recieved by
dataCallback(). It needs to be started as a new thread so that the
callback can return, and the camera can know that takePicture() is
done.

Change-Id: I4d0febbc993aac43b37f9f4a824e9c7b8785f19e
ibstagefright/CameraSourceTimeLapse.cpp
7a42770f47225483a885b168d05e81b6a81189c0 20-Jul-2010 Nipun Kwatra <nkwatra@google.com> Use software encoder for time lapse capture.

Change-Id: I7f60eb1af95590c84b0cd98134f5a5a8963338dd
ibmediaplayerservice/StagefrightRecorder.cpp
24ecd378305a3bf6fde74c8773bca09d0fd06c58 20-Jul-2010 Eric Laurent <elaurent@google.com> Merge "Audio policy manager changes for audio effects" into gingerbread
385695764189477e963a749a5f107f6eaeb9c5f2 20-Jul-2010 Nipun Kwatra <nkwatra@google.com> Merge "Adding support for timelapse capture using still camera's takepicture. Also moving entire implementation into a new class CameraSourceTimeLapse which inherits from CameraSource."
fbfe57ba4403ad759a0ebd895914ff506a01b699 20-Jul-2010 Andreas Huber <andih@google.com> am ff45709f: am cc14a839: Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we\'ll still play it back correctly.

Merge commit 'ff45709fbd1f24de1cf75ce9ce9ac8694ff1abbe'

* commit 'ff45709fbd1f24de1cf75ce9ce9ac8694ff1abbe':
Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly.
de070137f11d346fba77605bd76a44c040a618fc 13-Jul-2010 Eric Laurent <elaurent@google.com> Audio policy manager changes for audio effects

Added methods for audio effects management by audio policy manager.
- control of total CPU load and memory used by effect engines
- selection of output stream for global effects
- added audio session id in parameter list for startOutput() and stopOutput().
this is not used in default audio policy manager implementation.

Modifications of audio effect framework in AudioFlinger to allow moving and reconfiguring
effect engines from one output mixer thread to another when audio tracks in the same session
are moved or when requested by audio policy manager.
Also fixed mutex deadlock problem with effect chains locks.

Change-Id: Ida43484b06e9b890d6b9e53c13958d042720ebdb
ibeffects/factory/EffectsFactory.c
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioPolicyService.cpp
ee3d00420b64909b219d95a613d8e735ec337839 20-Jul-2010 Andreas Huber <andih@google.com> am 4df3ab54: am faf1d46a: Merge "Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled." into gingerbread

Merge commit '4df3ab54ebf8dfc0ce3160992d4d5b47e103b71f'

* commit '4df3ab54ebf8dfc0ce3160992d4d5b47e103b71f':
Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.
3c3ddfa39635a2d39f4ee7c966fb9403fe1ec9d8 20-Jul-2010 Andreas Huber <andih@google.com> Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly.

Change-Id: Icc790122744745e9a88099788d4818ca1e265a82
related-to-bug: 2826841
ibstagefright/AudioPlayer.cpp
ibstagefright/MPEG4Extractor.cpp
95c2580db188dee19cab05d29351c7ca5973cf3b 20-Jul-2010 Andreas Huber <andih@google.com> Merge "Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled." into gingerbread
5d98aaf0027d803fcfd4a1f2c374dfd34fb2cbad 20-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP host fixes:"
437e945013318de54746422c8b44306e6d5319ca 20-Jul-2010 Mike Lockwood <lockwood@android.com> MTP host fixes:

Add support for detecting android MTP devices
Fix problem reading data packet with header sent separately from payload.

Change-Id: I07b34af6783ebe2e63a317796ba0c8223df86edf
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpClient.cpp
tp/MtpDataPacket.cpp
faed5cd124a54b8db3429f4c26b3220bbec4c8bb 16-Jul-2010 James Dong <jdong@google.com> Progress status notification

- Keep track of per-track progress

Change-Id: Ibd36f0e8c78581928c8aa2f5e23c5e7e0615c2cc
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/MPEG4Writer.cpp
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
59208db843985cb0626a71029ea2a08050702a61 20-Jul-2010 Andy McFadden <fadden@android.com> Fix sim-eng build.

The LOCAL_PATH assignment was not available to the new host library
on simulator builds.

Change-Id: I7727f17ecc8f457f92bd6fa9ec13025dd8a56390
tp/Android.mk
941f1132dd76a959f17aaefd1ac2c0c6cc27a444 20-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Remove race condition in initial device enumeration for host mode.

Change-Id: Iee01aaae3f8cca4234daa289bef6631da4d6c2b6
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpClient.cpp
tp/MtpClient.h
5cdceca217319bf6a22caf1acadc38c8dc259316 20-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Fix problems reading and writing arrays in property values.

Change-Id: Idd53b63fd32698a3ffc90f174d16ae597b4feb36
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.h
tp/MtpPacket.h
tp/MtpProperty.cpp
be9a95ce176e94c54f08454dc19e500546578154 19-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: add Linux host library for MTP/PTP host support.

Change-Id: Ie2ce60b957ee428a8e8db46a70c5a0ade8445007
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpEventPacket.cpp
65e7e6facda89927cb26594b3b65ae81b3235ebc 12-Jul-2010 Nipun Kwatra <nkwatra@google.com> Adding support for timelapse capture using still camera's takepicture.
Also moving entire implementation into a new class CameraSourceTimeLapse
which inherits from CameraSource.

For timelapse capture using still camera, we start a thread which runs a
loop in which it calls Camera::takePicture() and then sleeps until the next
frame should be captured.
The function dataCallback() handles the callback from the camera with the
raw image data. This function copies the data and creates an artificial
timestamp corresponding to one frame time ahead of the last encoded frame's
time stamp. It then calls dataCallbackTimestamp() of the base class which
will think that it recieved the frame from a video camera and proceed as usual.

For moving the implementation to the subclass CameraSourceTimeLapse, added a
few virtual functions to CameraSource, which do the current thing for the base
class, but specialized things for CameraSourceTimeLapse.
E.g. startCameraRecording() in the base class just calls mCamera->startRecording(),
while in CameraSourceTimeLapse it may start a thread for the still camera case.

Change-Id: Ib787f24bd2e1f41681513f0257e1c4ca10a2b4de
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/Android.mk
ibstagefright/CameraSource.cpp
ibstagefright/CameraSourceTimeLapse.cpp
6cad99fefc7275f30886962e4193a336a2144b7b 19-Jul-2010 James Dong <jdong@google.com> Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.

Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8
ibstagefright/MPEG4Extractor.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
6113efbd1e5f7495b80bf64f7ee90a571e3cf6a6 19-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Only send events to host if we have an open session."
73ecd23cc2ebadb8e1fae1cc21ac559524c6b2bb 19-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Only send events to host if we have an open session.

Change-Id: I7b2d0c88c2d2ae0490247703d0fb1b862154db92
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
618678e74cc7a013b84d8f5b53d19dd2c5463a85 19-Jul-2010 Andy McFadden <fadden@android.com> Merge "Fix sim-eng build."
2c994dbcae12a7515d01c70aa058b0a9ac1e4c20 19-Jul-2010 Andy McFadden <fadden@android.com> Fix sim-eng build.

Different handling of libdl. Added sim handling in one place, corrected
typo in sim handling in another.

Change-Id: I24153ad5b8873083225390ba6a751941d231d092
ibeffects/lvm/wrapper/Android.mk
ibeffects/visualizer/Android.mk
bbf6dcd2aa8eb877e6412aaade25a077f62a6284 19-Jul-2010 Eric Laurent <elaurent@google.com> am 3c6ea955: am 7203272f: Merge "Fixed problems in audio effect volume control." into gingerbread

Merge commit '3c6ea95553d3a0e416874c583a41efff3f6fbc57'

* commit '3c6ea95553d3a0e416874c583a41efff3f6fbc57':
Fixed problems in audio effect volume control.
f997cabca292d70d078ae828e21c28e6df62995f 19-Jul-2010 Eric Laurent <elaurent@google.com> Fixed problems in audio effect volume control.

Fixed the following problems in audio effect volume control in AudioFlinger:
- Make sure that the volumes returned by EffectChain::setVolume_l() are correct even is
no change is detected since last call
- Do not use isEnabled() to validate volume control but mState >= ACTIVE instead as the volume control
must be also active in STOPPING and STOPPED states.

Change-Id: Id62da3164fad500ee8a5efd6cd78c77e8fdcb541
ibeffects/visualizer/EffectVisualizer.cpp
f913c25c713cbe0fe16dd1cc17bdfaba6b77070f 19-Jul-2010 James Dong <jdong@google.com> am 5e782937: am faf775e7: Fix simulator build (1st attempt)

Merge commit '5e782937ead3042255d83f9c1192f2cc7b688d74'

* commit '5e782937ead3042255d83f9c1192f2cc7b688d74':
Fix simulator build (1st attempt)
46bf665ea3687f06069ebd1a0acd01ed7b5ac9cb 18-Jul-2010 James Dong <jdong@google.com> Fix simulator build (1st attempt)

Change-Id: I65a824c17929170b7b2bc75a13e756e92d8fe50a
ibstagefright/codecs/m4v_h263/enc/src/mp4def.h
8a4cd2790739694c04b6a821fe767d45e178bcd0 17-Jul-2010 Eric Laurent <elaurent@google.com> am 2b381aff: am 2c87e9c9: First submission of audio effect library from NXP software.

Merge commit '2b381affda94c5b17e023768f9f2271c69152838'

* commit '2b381affda94c5b17e023768f9f2271c69152838':
First submission of audio effect library from NXP software.
2c8e5cab3faa6d360e222b7a6c40a80083d021ac 09-Jul-2010 Eric Laurent <elaurent@google.com> First submission of audio effect library from NXP software.

This CL contains the first open sourceable version of the audio effect library from NXP software.
The effects implemented are:
- Bass boost
- Virtualizer (stereo widening)
- Equalizer
- Spectrum analyzer

Source file for the effect engines are located under libeffects/lvm/lib
The wrapper implementing the interface with the audio effect framework in under libeffects/lvm/wrapper

The code of other effect libraries has also been reorganized fo clarity:
- the effect factory is now under libeffects/factory
- the test equalizer and reverb effects are under libeffect/testlibs
- the visualizer is under libeffects/virtualizer

Change-Id: I8d91e2181f81b89f8fc0c1e1e6bf552c5809b2eb
ibeffects/Android.mk
ibeffects/AudioBiquadFilter.cpp
ibeffects/AudioBiquadFilter.h
ibeffects/AudioCoefInterpolator.cpp
ibeffects/AudioCoefInterpolator.h
ibeffects/AudioCommon.h
ibeffects/AudioEqualizer.cpp
ibeffects/AudioEqualizer.h
ibeffects/AudioFormatAdapter.h
ibeffects/AudioHighShelfFilterCoef.inl
ibeffects/AudioLowShelfFilterCoef.inl
ibeffects/AudioPeakingFilter.cpp
ibeffects/AudioPeakingFilter.h
ibeffects/AudioPeakingFilterCoef.inl
ibeffects/AudioShelvingFilter.cpp
ibeffects/AudioShelvingFilter.h
ibeffects/EffectEqualizer.cpp
ibeffects/EffectReverb.c
ibeffects/EffectReverb.h
ibeffects/EffectVisualizer.cpp
ibeffects/EffectsFactory.c
ibeffects/EffectsFactory.h
ibeffects/EffectsMath.c
ibeffects/EffectsMath.h
ibeffects/factory/Android.mk
ibeffects/factory/EffectsFactory.c
ibeffects/factory/EffectsFactory.h
ibeffects/lvm/lib/Android.mk
ibeffects/lvm/lib/Bass/lib/LVDBE.h
ibeffects/lvm/lib/Bass/src/LVDBE_Coeffs.h
ibeffects/lvm/lib/Bass/src/LVDBE_Control.c
ibeffects/lvm/lib/Bass/src/LVDBE_Init.c
ibeffects/lvm/lib/Bass/src/LVDBE_Private.h
ibeffects/lvm/lib/Bass/src/LVDBE_Process.c
ibeffects/lvm/lib/Bass/src/LVDBE_Tables.c
ibeffects/lvm/lib/Bass/src/LVDBE_Tables.h
ibeffects/lvm/lib/Bundle/lib/LVM.h
ibeffects/lvm/lib/Bundle/src/LVM_API_Specials.c
ibeffects/lvm/lib/Bundle/src/LVM_Buffers.c
ibeffects/lvm/lib/Bundle/src/LVM_Coeffs.h
ibeffects/lvm/lib/Bundle/src/LVM_Control.c
ibeffects/lvm/lib/Bundle/src/LVM_Init.c
ibeffects/lvm/lib/Bundle/src/LVM_Private.h
ibeffects/lvm/lib/Bundle/src/LVM_Process.c
ibeffects/lvm/lib/Bundle/src/LVM_Tables.c
ibeffects/lvm/lib/Bundle/src/LVM_Tables.h
ibeffects/lvm/lib/Common/lib/AGC.h
ibeffects/lvm/lib/Common/lib/BIQUAD.h
ibeffects/lvm/lib/Common/lib/CompLim.h
ibeffects/lvm/lib/Common/lib/Filter.h
ibeffects/lvm/lib/Common/lib/InstAlloc.h
ibeffects/lvm/lib/Common/lib/LVM_Common.h
ibeffects/lvm/lib/Common/lib/LVM_Macros.h
ibeffects/lvm/lib/Common/lib/LVM_Timer.h
ibeffects/lvm/lib/Common/lib/LVM_Types.h
ibeffects/lvm/lib/Common/lib/Mixer.h
ibeffects/lvm/lib/Common/lib/ScalarArithmetic.h
ibeffects/lvm/lib/Common/lib/VectorArithmetic.h
ibeffects/lvm/lib/Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.c
ibeffects/lvm/lib/Common/src/Abs_32.c
ibeffects/lvm/lib/Common/src/Add2_Sat_16x16.c
ibeffects/lvm/lib/Common/src/Add2_Sat_32x32.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F16C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BP_1I_D16F32C30_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F32Cll_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BP_1I_D16F32Cll_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BP_1I_D32F32C30_TRC_WRA_02.c
ibeffects/lvm/lib/Common/src/BP_1I_D32F32Cll_TRC_WRA_02_Init.c
ibeffects/lvm/lib/Common/src/BP_1I_D32F32Cll_TRC_WRA_02_Private.h
ibeffects/lvm/lib/Common/src/BQ_1I_D16F16C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_1I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BQ_1I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_1I_D16F32C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_1I_D16F32Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_1I_D16F32Css_TRC_WRA_01_init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32C13_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32C14_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/BQ_2I_D16F32Css_TRC_WRA_01_init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D32F32C30_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/BQ_2I_D32F32Cll_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/BQ_2I_D32F32Cll_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/CompLim_private.h
ibeffects/lvm/lib/Common/src/Copy_16.c
ibeffects/lvm/lib/Common/src/Core_MixHard_2St_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/Core_MixInSoft_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/Core_MixSoft_1St_D32C31_WRA.c
ibeffects/lvm/lib/Common/src/DC_2I_D16_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/DC_2I_D16_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/DC_2I_D16_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/DelayAllPass_Sat_32x16To32.c
ibeffects/lvm/lib/Common/src/DelayMix_16x16.c
ibeffects/lvm/lib/Common/src/DelayWrite_32.c
ibeffects/lvm/lib/Common/src/FO_1I_D16F16C15_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/FO_1I_D16F16Css_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/FO_1I_D16F16Css_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/FO_1I_D32F32C31_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/FO_1I_D32F32Cll_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/FO_1I_D32F32Cll_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/FO_2I_D16F32C15_LShx_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/FO_2I_D16F32Css_LShx_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/Filters.h
ibeffects/lvm/lib/Common/src/From2iToMS_16x16.c
ibeffects/lvm/lib/Common/src/From2iToMono_16.c
ibeffects/lvm/lib/Common/src/From2iToMono_32.c
ibeffects/lvm/lib/Common/src/InstAlloc.c
ibeffects/lvm/lib/Common/src/Int16LShiftToInt32_16x32.c
ibeffects/lvm/lib/Common/src/Int32RShiftToInt16_Sat_32x16.c
ibeffects/lvm/lib/Common/src/JoinTo2i_32x32.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixHard_2St_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixInSoft_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.c
ibeffects/lvm/lib/Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.c
ibeffects/lvm/lib/Common/src/LVC_MixInSoft_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_MixSoft_1St_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_MixSoft_2St_D16C31_SAT.c
ibeffects/lvm/lib/Common/src/LVC_Mixer.h
ibeffects/lvm/lib/Common/src/LVC_Mixer_GetCurrent.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_GetTarget.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_Init.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_Private.h
ibeffects/lvm/lib/Common/src/LVC_Mixer_SetTarget.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_SetTimeConstant.c
ibeffects/lvm/lib/Common/src/LVC_Mixer_VarSlope_SetTimeConstant.c
ibeffects/lvm/lib/Common/src/LVM_FO_HPF.c
ibeffects/lvm/lib/Common/src/LVM_FO_LPF.c
ibeffects/lvm/lib/Common/src/LVM_GetOmega.c
ibeffects/lvm/lib/Common/src/LVM_Mixer_FilterCoeffs.h
ibeffects/lvm/lib/Common/src/LVM_Mixer_TimeConstant.c
ibeffects/lvm/lib/Common/src/LVM_Polynomial.c
ibeffects/lvm/lib/Common/src/LVM_Power10.c
ibeffects/lvm/lib/Common/src/LVM_Timer.c
ibeffects/lvm/lib/Common/src/LVM_Timer_Init.c
ibeffects/lvm/lib/Common/src/LVM_Timer_Private.h
ibeffects/lvm/lib/Common/src/LoadConst_16.c
ibeffects/lvm/lib/Common/src/LoadConst_32.c
ibeffects/lvm/lib/Common/src/MSTo2i_Sat_16x16.c
ibeffects/lvm/lib/Common/src/Mac3s_Sat_16x16.c
ibeffects/lvm/lib/Common/src/Mac3s_Sat_32x16.c
ibeffects/lvm/lib/Common/src/MixInSoft_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/MixSoft_1St_D32C31_WRA.c
ibeffects/lvm/lib/Common/src/MixSoft_2St_D32C31_SAT.c
ibeffects/lvm/lib/Common/src/Mixer_private.h
ibeffects/lvm/lib/Common/src/MonoTo2I_16.c
ibeffects/lvm/lib/Common/src/MonoTo2I_32.c
ibeffects/lvm/lib/Common/src/Mult3s_32x16.c
ibeffects/lvm/lib/Common/src/NonLinComp_D16.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32C14G11_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32C30G11_TRC_WRA_01.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CllGss_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CllGss_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CssGss_TRC_WRA_01_Init.c
ibeffects/lvm/lib/Common/src/PK_2I_D32F32CssGss_TRC_WRA_01_Private.h
ibeffects/lvm/lib/Common/src/Shift_Sat_v16xv16.c
ibeffects/lvm/lib/Common/src/Shift_Sat_v32xv32.c
ibeffects/lvm/lib/Common/src/dB_to_Lin32.c
ibeffects/lvm/lib/Common/src/mult3s_16x16.c
ibeffects/lvm/lib/Eq/lib/LVEQNB.h
ibeffects/lvm/lib/Eq/src/LVEQNB_CalcCoef.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Coeffs.h
ibeffects/lvm/lib/Eq/src/LVEQNB_Control.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Init.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Private.h
ibeffects/lvm/lib/Eq/src/LVEQNB_Process.c
ibeffects/lvm/lib/Eq/src/LVEQNB_Tables.c
ibeffects/lvm/lib/SpectrumAnalyzer/lib/LVPSA.h
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Control.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Init.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Memory.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Private.h
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Process.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_QPD.h
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_QPD_Init.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_QPD_Process.c
ibeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Tables.c
ibeffects/lvm/lib/StereoWidening/lib/LVCS.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_BypassMix.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_BypassMix.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Control.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Equaliser.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Equaliser.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Headphone_Coeffs.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Init.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Private.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Process.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_ReverbGenerator.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_ReverbGenerator.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_StereoEnhancer.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_StereoEnhancer.h
ibeffects/lvm/lib/StereoWidening/src/LVCS_Tables.c
ibeffects/lvm/lib/StereoWidening/src/LVCS_Tables.h
ibeffects/lvm/wrapper/Android.mk
ibeffects/lvm/wrapper/Bundle/EffectBundle.cpp
ibeffects/lvm/wrapper/Bundle/EffectBundle.h
ibeffects/testlibs/Android.mk_
ibeffects/testlibs/AudioBiquadFilter.cpp
ibeffects/testlibs/AudioBiquadFilter.h
ibeffects/testlibs/AudioCoefInterpolator.cpp
ibeffects/testlibs/AudioCoefInterpolator.h
ibeffects/testlibs/AudioCommon.h
ibeffects/testlibs/AudioEqualizer.cpp
ibeffects/testlibs/AudioEqualizer.h
ibeffects/testlibs/AudioFormatAdapter.h
ibeffects/testlibs/AudioHighShelfFilterCoef.inl
ibeffects/testlibs/AudioLowShelfFilterCoef.inl
ibeffects/testlibs/AudioPeakingFilter.cpp
ibeffects/testlibs/AudioPeakingFilter.h
ibeffects/testlibs/AudioPeakingFilterCoef.inl
ibeffects/testlibs/AudioShelvingFilter.cpp
ibeffects/testlibs/AudioShelvingFilter.h
ibeffects/testlibs/EffectEqualizer.cpp
ibeffects/testlibs/EffectReverb.c
ibeffects/testlibs/EffectReverb.h
ibeffects/testlibs/EffectsMath.c
ibeffects/testlibs/EffectsMath.h
ibeffects/visualizer/Android.mk
ibeffects/visualizer/EffectVisualizer.cpp
a6163d6948d9a89670720eea8d30b59c5b70fe37 16-Jul-2010 James Dong <jdong@google.com> am 10f8baa4: am 42ef0c71: Initial check-in for software m4v_h263 encoder

Merge commit '10f8baa46cc32f0024b3c65b1e6d0c01bf4ceefd'

* commit '10f8baa46cc32f0024b3c65b1e6d0c01bf4ceefd':
Initial check-in for software m4v_h263 encoder
59f566c4ec3dfc097ad8163523e522280b27e5c3 13-Jul-2010 James Dong <jdong@google.com> Initial check-in for software m4v_h263 encoder

Change-Id: I4b49fa5c3a5e6e21cfd2419441d98dd784046367
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/m4v_h263/enc/Android.mk
ibstagefright/codecs/m4v_h263/enc/M4vH263Encoder.cpp
ibstagefright/codecs/m4v_h263/enc/include/cvei.h
ibstagefright/codecs/m4v_h263/enc/include/mp4enc_api.h
ibstagefright/codecs/m4v_h263/enc/src/bitstream_io.cpp
ibstagefright/codecs/m4v_h263/enc/src/bitstream_io.h
ibstagefright/codecs/m4v_h263/enc/src/combined_encode.cpp
ibstagefright/codecs/m4v_h263/enc/src/datapart_encode.cpp
ibstagefright/codecs/m4v_h263/enc/src/dct.cpp
ibstagefright/codecs/m4v_h263/enc/src/dct.h
ibstagefright/codecs/m4v_h263/enc/src/dct_inline.h
ibstagefright/codecs/m4v_h263/enc/src/fastcodemb.cpp
ibstagefright/codecs/m4v_h263/enc/src/fastcodemb.h
ibstagefright/codecs/m4v_h263/enc/src/fastidct.cpp
ibstagefright/codecs/m4v_h263/enc/src/fastquant.cpp
ibstagefright/codecs/m4v_h263/enc/src/fastquant_inline.h
ibstagefright/codecs/m4v_h263/enc/src/findhalfpel.cpp
ibstagefright/codecs/m4v_h263/enc/src/m4venc_oscl.h
ibstagefright/codecs/m4v_h263/enc/src/me_utils.cpp
ibstagefright/codecs/m4v_h263/enc/src/motion_comp.cpp
ibstagefright/codecs/m4v_h263/enc/src/motion_est.cpp
ibstagefright/codecs/m4v_h263/enc/src/mp4def.h
ibstagefright/codecs/m4v_h263/enc/src/mp4enc_api.cpp
ibstagefright/codecs/m4v_h263/enc/src/mp4enc_lib.h
ibstagefright/codecs/m4v_h263/enc/src/mp4lib_int.h
ibstagefright/codecs/m4v_h263/enc/src/rate_control.cpp
ibstagefright/codecs/m4v_h263/enc/src/rate_control.h
ibstagefright/codecs/m4v_h263/enc/src/sad.cpp
ibstagefright/codecs/m4v_h263/enc/src/sad_halfpel.cpp
ibstagefright/codecs/m4v_h263/enc/src/sad_halfpel_inline.h
ibstagefright/codecs/m4v_h263/enc/src/sad_inline.h
ibstagefright/codecs/m4v_h263/enc/src/sad_mb_offset.h
ibstagefright/codecs/m4v_h263/enc/src/vlc_enc_tab.h
ibstagefright/codecs/m4v_h263/enc/src/vlc_encode.cpp
ibstagefright/codecs/m4v_h263/enc/src/vlc_encode.h
ibstagefright/codecs/m4v_h263/enc/src/vlc_encode_inline.h
ibstagefright/codecs/m4v_h263/enc/src/vop.cpp
ibstagefright/include/M4vH263Encoder.h
852cdfcc694782f419022661855f078ffa8f576e 15-Jul-2010 Mike Lockwood <lockwood@android.com> Merge changes I93364c74,I5ca831b8

* changes:
Exclude MTP implementation from simulator build
Fixes for simulator build on lucid
53fbfed0c81ac82606f27e25bbc61b44dde927a1 15-Jul-2010 Mike Lockwood <lockwood@android.com> Exclude MTP implementation from simulator build

Change-Id: I93364c74c26ba6e2bf6b08f1bd82802b966c8dfb
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
4e2ffa400b82559cab2c5717c8dcdff393d334a9 15-Jul-2010 Mike Lockwood <lockwood@android.com> Fixes for simulator build on lucid

strchr and strrchr now return const char* instead of char*

Change-Id: I5ca831b8951af7e6306eb9d9d6f78ed2ec13d649
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/MyHandler.h
cbcc684555a8774b21ba04c09b2f5cee8c88453a 15-Jul-2010 James Dong <jdong@google.com> am b068b47c: am d6a85a21: Merge "Support user-supplied timescales for authoring" into gingerbread

Merge commit 'b068b47c6d0214256116a0c661740bddf7acc18c'

* commit 'b068b47c6d0214256116a0c661740bddf7acc18c':
Support user-supplied timescales for authoring
e957045dcfdc7e08a5d76463b125d2a9e92bc0e8 15-Jul-2010 James Dong <jdong@google.com> Merge "Support user-supplied timescales for authoring" into gingerbread
8065e2056073808716db32136d7acfd50eeab924 15-Jul-2010 Mike Lockwood <lockwood@android.com> Remove our copy of the f_mtp.h kernel header, now that it is in bionic.

Change-Id: I2b5e72bf25b3525ace4b919c6e8b6bd6750f6dfa
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpEventPacket.cpp
tp/MtpServer.cpp
tp/f_mtp.h
094c96da874d84eae46f76cc036fa7b7993eb999 15-Jul-2010 Mathias Agopian <mathias@google.com> am 78983a91: am 4055b780: Merge "move native services under services/" into gingerbread

Merge commit '78983a9133d3dd3f08b1ec462a7e2f9e7bfa9e2f'

* commit '78983a9133d3dd3f08b1ec462a7e2f9e7bfa9e2f':
move native services under services/
65ab47156e1c7dfcd8cc4266253a5ff30219e7f0 15-Jul-2010 Mathias Agopian <mathias@google.com> move native services under services/

moved surfaceflinger, audioflinger, cameraservice

all native services should now reside in this location.

Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
ediaserver/Android.mk
8f5f2fcee5c12d08df71d17017410c50951fc2e3 02-Jul-2010 James Dong <jdong@google.com> Support user-supplied timescales for authoring

- also, change all the real time unit to microseconds in MPEG4Writer

Change-Id: I260f512f2eb670ade7b8858a56335a5d639de756
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
8972e1a30cd9b57a238a2ef617ed340d8043eb44 14-Jul-2010 Jean-Michel Trivi <jmtrivi@google.com> am 5473434f: am 97eb728a: Use the OpenSL ES definition of SL_IID_EQUALIZER for the EQ effect UUID instead of defining it locally.

Merge commit '5473434f060d8c036a30a1992b036a2f70da265d'

* commit '5473434f060d8c036a30a1992b036a2f70da265d':
Use the OpenSL ES definition of SL_IID_EQUALIZER for the EQ
98fe12aba55e8b8bb14b23c4c3cdba9a99a9753c 09-Jul-2010 Jean-Michel Trivi <jmtrivi@google.com> Use the OpenSL ES definition of SL_IID_EQUALIZER for the EQ
effect UUID instead of defining it locally.

Change-Id: Id6018fef20d286899cf7503fec3521dcd56db7e0
ibeffects/Android.mk
1ba17bb023afda0d49d9bbc29e2777b91776d287 14-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Add support for sending events to the host when objects are added and removed"
873871f3e75831bcda6c3f75bb4d53355ca5c53a 13-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for sending events to the host when objects are added and removed

Change-Id: Ia1d5232b919c644c670ff9ca651eca92b3f9ad42
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpEventPacket.cpp
tp/MtpEventPacket.h
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpTypes.h
tp/f_mtp.h
ac460be1e02f324656d5850ca6d8cf1165edbaaf 13-Jul-2010 James Dong <jdong@google.com> am 7a72f848: am 70c6c9a1: Fix simulator build - missing header file <string.h> - need to define -D__arm__

Merge commit '7a72f84801c3ad74f00f5d3d0da7e2212d07a911'

* commit '7a72f84801c3ad74f00f5d3d0da7e2212d07a911':
Fix simulator build
d54329e48d2ee6bc6b24d148770eec562e10e739 13-Jul-2010 James Dong <jdong@google.com> Fix simulator build
- missing header file <string.h>
- need to define -D__arm__

Change-Id: I18d2f1908684150784cf728234b5aedbc02447d1
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/avc/enc/src/avcenc_api.h
f84b289306fc5b2399c62c62507dc80b159ae952 13-Jul-2010 Eric Laurent <elaurent@google.com> am 66fa2b44: am 8e886be4: Merge "Modifications in audio effect engine state management." into gingerbread

Merge commit '66fa2b44cadf8694cc1b7e2aae1f8abaff4fc547'

* commit '66fa2b44cadf8694cc1b7e2aae1f8abaff4fc547':
Modifications in audio effect engine state management.
4d6ab0ccb63a4a283a2207358564bb6549c3ddb7 13-Jul-2010 Eric Laurent <elaurent@google.com> Merge "Modifications in audio effect engine state management." into gingerbread
e44b1efb293f878d4af8e824a6b3d070167bf2d6 09-Jul-2010 Eric Laurent <elaurent@google.com> Modifications in audio effect engine state management.

- Separate the updating of effect engine state from the process call in EffectModule so that the state
of all effects in the same effect chain is updated simultaneusly before all process functions are called.
- Added a mechanism for the effect engine to continue being called for processing after receiving the disable
commands untils it considers that the framework can stop calling the process function without causing
a glitch or loosing some effect tail.
- Updated test reverb and equalizer to support this new feature

Change-Id: Icb56ae2c84c076d4dbad6cf733b1a62f823febe7
ibeffects/EffectEqualizer.cpp
ibeffects/EffectReverb.c
ibeffects/EffectReverb.h
ibeffects/EffectVisualizer.cpp
f6266bb1912255e92e590fcb6aedb719898545da 13-Jul-2010 James Dong <jdong@google.com> am f6bdc764: am 9d8bea11: Merge "Initial checkin for software AVC encoder" into gingerbread

Merge commit 'f6bdc764b7a21f8037504e1dc4f81227ea2bedea'

* commit 'f6bdc764b7a21f8037504e1dc4f81227ea2bedea':
Initial checkin for software AVC encoder
29a84457aed4c45bc900998b5e11c03023264208 03-Jul-2010 James Dong <jdong@google.com> Initial checkin for software AVC encoder

- Since the software encoder assumes the input is YUV420 planar,
color conversion needs to be added when the input color format
does not meet the requirement. With this patch, I only added
a single color conversion from YUV420 semi planar to YUV420
planar. We can add more as we go.

Change-Id: If8640c9e5a4f73d385ae9bb2022e57f7f62b91b9
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/avc/enc/AVCEncoder.cpp
ibstagefright/codecs/avc/enc/Android.mk
ibstagefright/codecs/avc/enc/src/avcenc_api.cpp
ibstagefright/codecs/avc/enc/src/avcenc_api.h
ibstagefright/codecs/avc/enc/src/avcenc_int.h
ibstagefright/codecs/avc/enc/src/avcenc_lib.h
ibstagefright/codecs/avc/enc/src/bitstream_io.cpp
ibstagefright/codecs/avc/enc/src/block.cpp
ibstagefright/codecs/avc/enc/src/findhalfpel.cpp
ibstagefright/codecs/avc/enc/src/header.cpp
ibstagefright/codecs/avc/enc/src/init.cpp
ibstagefright/codecs/avc/enc/src/intra_est.cpp
ibstagefright/codecs/avc/enc/src/motion_comp.cpp
ibstagefright/codecs/avc/enc/src/motion_est.cpp
ibstagefright/codecs/avc/enc/src/rate_control.cpp
ibstagefright/codecs/avc/enc/src/residual.cpp
ibstagefright/codecs/avc/enc/src/sad.cpp
ibstagefright/codecs/avc/enc/src/sad_halfpel.cpp
ibstagefright/codecs/avc/enc/src/sad_halfpel_inline.h
ibstagefright/codecs/avc/enc/src/sad_inline.h
ibstagefright/codecs/avc/enc/src/sad_mb_offset.h
ibstagefright/codecs/avc/enc/src/slice.cpp
ibstagefright/codecs/avc/enc/src/vlc_encode.cpp
ibstagefright/include/AVCEncoder.h
4714b0766ecf48f09f39b4781a5c4deafc092d49 12-Jul-2010 Mike Lockwood <lockwood@android.com> Integrate host to device file transfer with the media provider.

MTP file transfers happen in two stages. The SendObjectInfo command sends
some information about the file and reserves an ObjectHandle for the new file.
The file transfer is then performed using the SendObject command.

To support this in the media provider, MtpDatabase.beginSendObject receives
the information from SendObjectInfo and creates an row for it in the MTP objects
table for the new file. After the file transfer has completed, then
MtpDatabase.endSendObject is called. In endSendObject, we run the media scanner
on the new file, which will add a row to the images, audio, video
or audio playlist table.

To avoid the media scanner creating a second row for the file in the MTP objects
table, we pass the ObjectHandle created in beginSendObject to the media scanner,
which then passes it to the media provider via the content values when it
performs its insert.

Change-Id: I1ebcc63d6bd4404b0d3a93c703a9d3c097381d3a
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
66e6c1c85c33194b1a6fc5077bd78b53a5fe9d03 09-Jul-2010 Jean-Michel Trivi <jmtrivi@google.com> am bd3f8b71: am e7b790f1: Merge "Fix swap of sessionId and output in audio effect API." into gingerbread

Merge commit 'bd3f8b711643a172703537e34a0fa7c21c5b953f'

* commit 'bd3f8b711643a172703537e34a0fa7c21c5b953f':
Fix swap of sessionId and output in audio effect API.
a480a6f7f204fa1712e1484a6ba9e6c8772fa110 09-Jul-2010 Jean-Michel Trivi <jmtrivi@google.com> Merge "Fix swap of sessionId and output in audio effect API." into gingerbread
42a050ff9636b79e4b91297cc41028ffd62240d5 09-Jul-2010 Jean-Michel Trivi <jmtrivi@google.com> Fix swap of sessionId and output in audio effect API.

Change-Id: Idc93415efef92087507401e50cfb235a6f1f7ed7
ibmedia/AudioEffect.cpp
31e179a6f1c154f5b8c80c0fb9451703c6839c9c 09-Jul-2010 James Dong <jdong@google.com> am a60337ce: am 6bb14e08: Merge "Enable the support for decoding audio with AAC+ and eAAC+ features" into gingerbread

Merge commit 'a60337ce578f91926a5e8ea30cb47740b994fc96'

* commit 'a60337ce578f91926a5e8ea30cb47740b994fc96':
Enable the support for decoding audio with AAC+ and eAAC+ features
004a77836d1963847acd20ea684e2ffe48aa3f19 09-Jul-2010 James Dong <jdong@google.com> am 4f440632: am 929642ee: Add runtime dumpsys support for media recorder client

Merge commit '4f4406322dafd6e128b437edbc541327f0b38d04'

* commit '4f4406322dafd6e128b437edbc541327f0b38d04':
Add runtime dumpsys support for media recorder client
7f53a190463274096155704276f3002c1620a364 09-Jul-2010 Mike Lockwood <lockwood@android.com> Remove some scafolding and test code that is no longer worth maintaining.

Change-Id: I9ee62d2463d8df1246a84774e8ac7e674778279a
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpDatabase.h
tp/MtpMediaScanner.cpp
tp/MtpMediaScanner.h
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpSqliteDatabase.cpp
tp/MtpSqliteDatabase.h
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/MtpTypes.h
tp/SqliteDatabase.cpp
tp/SqliteDatabase.h
tp/SqliteStatement.cpp
tp/SqliteStatement.h
tp/mtptest.cpp
tp/scantest.cpp
fe02beaa83dab8d9bbf6aa0f2aefa530d4228824 09-Jul-2010 James Dong <jdong@google.com> Enable the support for decoding audio with AAC+ and eAAC+ features

bug - 282684

Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/include/AACDecoder.h
b914122eb9cb54bbeae4ec03bfebb194aecdccbd 08-Jul-2010 James Dong <jdong@google.com> Add runtime dumpsys support for media recorder client

Change-Id: I4c8a81720f3be2db54678a7e84fe12849255046b
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/OMXCodec.cpp
723a540125f48aaf8a00b0cc5ed98fbbc01e5f14 09-Jul-2010 Eric Laurent <elaurent@google.com> am b4b0f67a: am fd84f97a: Added JAVA classes to control bass boost, equalizer, reverberation and virtualizer Effects.

Merge commit 'b4b0f67a4743503a024b1dce758acf53d9fb86f7'

* commit 'b4b0f67a4743503a024b1dce758acf53d9fb86f7':
Added JAVA classes to control bass boost, equalizer, reverberation and virtualizer Effects.
cb28102ad3976339ec445afbcb4130f2991b38d7 09-Jul-2010 Eric Laurent <elaurent@google.com> Added JAVA classes to control bass boost, equalizer, reverberation and virtualizer Effects.

Defined the following JAVA classes on top of AudioEffect class to facilitate control
off built-in audio effects with APIs aligned with interfaces defined in OpenSL ES
specification:
- BastBoot.java
- Equalizer.java
- PresetReverb.java
- EnvironmentalReverb.java
- Virtualizer.java

Split reverb API header file in two, one for preset reverb and one for environmental reverb.
Some changes in test reverb to support preset reverb.

Change-Id: Ie0a5ba06002e63dfd6da22cace5568c1e0b76ea1
ibeffects/EffectReverb.c
ibeffects/EffectReverb.h
1865a5ddcfe7b0e8dc211419aea1094b1491a5fd 03-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Use media provider database to implement MTP device support.

Uses a new "MTP objects" table in the media provider to support basic
enumeration of the external storage file system.
Support for accessing audio, video and image metadata in the existing
media provider tables will be added in a later commit.

The C++ MtpDatabase class is now abstract, to support a proxy subclass that
calls through JNI to the Java MtpDatabase class in the media provider.

Change-Id: I90f0db5f3acc5d35ae78c27a8507edff16d14305
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpSqliteDatabase.cpp
tp/mtptest.cpp
dda7e2b7378755637f188cca7c5ae854427a28f7 03-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: remove separate audio table from prototype MTP database

Change-Id: I5e4b49b741a0a3c6ddf5afcbb20a0d7c9515c8ce
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpDatabase.cpp
tp/MtpDatabase.h
tp/MtpMediaScanner.cpp
tp/MtpMediaScanner.h
tp/MtpServer.cpp
tp/MtpSqliteDatabase.cpp
tp/MtpSqliteDatabase.h
tp/MtpTypes.h
6506bd2be256cdebc69324714c5b26c767981046 08-Jul-2010 Eric Laurent <elaurent@google.com> am b91881fd: am dacabf97: Merge "Added Visualizer effect." into gingerbread

Merge commit 'b91881fdd1608cc922f105ec552b5505da1fecb9'

* commit 'b91881fdd1608cc922f105ec552b5505da1fecb9':
Added Visualizer effect.
6c5c25fae5aa68a52c6fa75649dd559a9ca98932 08-Jul-2010 Eric Laurent <elaurent@google.com> Merge "Added Visualizer effect." into gingerbread
bf21177ccede8f01c0da0bd53392a289a5a84462 08-Jul-2010 James Dong <jdong@google.com> am b3598832: am c4243342: Merge "Allow application to set two more encoding paramters: video profile and level" into gingerbread

Merge commit 'b35988329ac1a574898db9226039e37e352c57a8'

* commit 'b35988329ac1a574898db9226039e37e352c57a8':
Allow application to set two more encoding paramters: video profile and level
8cafde196d36ab207f35fed89b9c1b9d468abb58 07-Jul-2010 James Dong <jdong@google.com> Merge "Allow application to set two more encoding paramters: video profile and level" into gingerbread
5bb4809a27ae962be32c67b705671cdada03be00 07-Jul-2010 Andreas Huber <andih@google.com> am dcf872dc: am c34c8c3f: Merge "Only send the playback complete notification if a) an error occurred on any track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing." into gingerbrea

Merge commit 'dcf872dcfa6439514c886f8b9bf997beeeb3be85'

* commit 'dcf872dcfa6439514c886f8b9bf997beeeb3be85':
Only send the playback complete notification if a) an error occurred on any track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing.
5d2de4da54504836e4b772b3010ac28c19f667f0 07-Jul-2010 Andreas Huber <andih@google.com> Only send the playback complete notification if a) an error occurred on any track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing.

Change-Id: Icac8104d14f18b719aa0b8f1ab3215f24003b152
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
145bfe5eb3e08c9689c28f6bf3287a979438b04b 02-Jul-2010 James Dong <jdong@google.com> Allow application to set two more encoding paramters: video profile and level

Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/OMXCodec.cpp
da7581b7b61b84f15e8d671c86fd117c322b009e 02-Jul-2010 Eric Laurent <elaurent@google.com> Added Visualizer effect.

The visualizer enables application to retrieve part of the currently playing audio for visualization purpose.
It is not an audio recording interface and only returns partial and low quality audio content as a waveform or
a frequency representation (FFT).

Removed temporary hack made in MediaPlayer for animated wall papers based on audio visualization (snoop() method.

This commit also includes a change in AudioEffect class:
- the enable()/disable() methods have been replaced bya more standard setEnabled() method.
- some fixes in javadoc

Change-Id: Id092a1340e9e38dae68646ade7be054e3a36980e
ibeffects/Android.mk
ibeffects/EffectVisualizer.cpp
ibmedia/Android.mk
ibmedia/AudioEffect.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/Visualizer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
f1ca5833464c0f6859f2a38b6af02cbe527c3335 07-Jul-2010 Andreas Huber <andih@google.com> am f5b4e342: am 2e6aff8e: Merge "ALooperRoster no longer holds strong references to handlers and loopers." into gingerbread

Merge commit 'f5b4e342b581a6e219b49141861b353fb139d00b'

* commit 'f5b4e342b581a6e219b49141861b353fb139d00b':
ALooperRoster no longer holds strong references to handlers and loopers.
0696f6824b16388f88930f58d1431133725af2f4 07-Jul-2010 Andreas Huber <andih@google.com> am ff119e74: am 6615defd: Make sure the OMX callback thread is properly shutdown after the node goes away.

Merge commit 'ff119e746afe834040afb1631caee355d94237e8'

* commit 'ff119e746afe834040afb1631caee355d94237e8':
Make sure the OMX callback thread is properly shutdown after the node goes away.
91952e5221d2151e10738d7228575c4afe444f5e 07-Jul-2010 Andreas Huber <andih@google.com> Merge "ALooperRoster no longer holds strong references to handlers and loopers." into gingerbread
11cc270ac5fd522c9e6491a7933516a96da4f62e 07-Jul-2010 Andreas Huber <andih@google.com> ALooperRoster no longer holds strong references to handlers and loopers.

Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
ibstagefright/foundation/ALooperRoster.cpp
2bd69f0df09cc67abdeeea2786e826914ee5ead0 07-Jul-2010 Andreas Huber <andih@google.com> am 877045aa: am 9406f626: Merge "An AHandler can now find its associated ALooper." into gingerbread

Merge commit '877045aa853aaf6e58ca3ac7bfa2bde9165b55ae'

* commit '877045aa853aaf6e58ca3ac7bfa2bde9165b55ae':
An AHandler can now find its associated ALooper.
f0128187491b4d65b9c2620d46f5af807f63d728 07-Jul-2010 Andreas Huber <andih@google.com> Make sure the OMX callback thread is properly shutdown after the node goes away.

Change-Id: Ib0b25855b0dfc191e5529193b4cb519f644a8412
ibstagefright/omx/OMX.cpp
3ecb233c9c121af3e68ece11705043b1dbef505b 07-Jul-2010 Andreas Huber <andih@google.com> Merge "An AHandler can now find its associated ALooper." into gingerbread
e2b20987c2652a984d10520ef3542d50d91119c5 03-Jul-2010 Andreas Huber <andih@google.com> An AHandler can now find its associated ALooper.

Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad
ibstagefright/foundation/AHandler.cpp
ibstagefright/foundation/ALooperRoster.cpp
ibstagefright/foundation/Android.mk
de71986fd162a1c19b7baded5f849aed2f1c1ef7 02-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Fix ownership and file permissions for transferred files and folders"
8e2a280ab7f98bf00ff2651f1f93c8f8bd46c08d 02-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Fix ownership and file permissions for transferred files and folders

All new files and folders are created with group sdcard_rw
Permissions for new files are 0664 and directories 0775

Change-Id: I6d508231150f687e2e529112fd47f10e30fa594f
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpServer.h
tp/mtptest.cpp
139b1fe546725ae400bed3ed6bcecdbb7210a36a 02-Jul-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Make MtpDatabase class abstract so we can have multiple implementations"
0250361b110267a139cc0865ff7d2f13b4d63bdf 02-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Make MtpDatabase class abstract so we can have multiple implementations

Rename existing test database to MtpSqliteDatabase
This is the first step in transitioning to using the media provider database

Change-Id: I5f36c854c6e76a79137c267b000a52ced803776c
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpDatabase.cpp
tp/MtpDatabase.h
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpSqliteDatabase.cpp
tp/MtpSqliteDatabase.h
tp/SqliteDatabase.h
tp/scantest.cpp
a041596d1c4c85a2face27ead436721f8435e53a 02-Jul-2010 Andreas Huber <andih@google.com> am c4be155a: am 2cfd8198: Merge "Add an option to ALooper::start that allows it to call back into java or not." into gingerbread

Merge commit 'c4be155a540695c42bcd6589604f86d300f4548f'

* commit 'c4be155a540695c42bcd6589604f86d300f4548f':
Add an option to ALooper::start that allows it to call back into java or not.
34bbea84b8374f5d0ebe72b0be4418ace984fac0 02-Jul-2010 Andreas Huber <andih@google.com> Merge "Add an option to ALooper::start that allows it to call back into java or not." into gingerbread
1ef2a2b04c1e2488694c511bc954604da21b12d0 02-Jul-2010 Andreas Huber <andih@google.com> am 9f8c490e: am 5460d126: Merge "Added AMessage::debugString() for debugging purposes." into gingerbread

Merge commit '9f8c490e05f86cca1d60d6b6f383a1a98d7985fb'

* commit '9f8c490e05f86cca1d60d6b6f383a1a98d7985fb':
Added AMessage::debugString() for debugging purposes.
42d7f83904b8a91ce33e87a44de109572679ac1f 02-Jul-2010 Andreas Huber <andih@google.com> Add an option to ALooper::start that allows it to call back into java or not.

Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
ibstagefright/foundation/ALooper.cpp
cbb56d14dad2785baf7a723b43aa6f1da32dc51f 02-Jul-2010 Andreas Huber <andih@google.com> Merge "Added AMessage::debugString() for debugging purposes." into gingerbread
bbc2b8289458cfde931b133bad0c9d1026674ee7 01-Jul-2010 Andreas Huber <andih@google.com> Added AMessage::debugString() for debugging purposes.

Change-Id: Id43ffd2c56d659dc29f37e277f8c7b38f11c1591
ibstagefright/foundation/AMessage.cpp
fc20aab463f527ab3b0664986f0381a86b375884 01-Jul-2010 Nipun Kwatra <nkwatra@google.com> Adding timelapse capture from videocamera.

Current implementation looks at the timestamps of all incoming frames in
CameraSource::dataCallbackTimestamp().
It drops all frames until enough time has elapsed to get the next time lapse frame.
When enough time has passed to capture the next time lapse frame, the frame is no longer dropped
and the timestamp of this frame is modified to be one frame time (1/framerate) ahead of the
last encoded frame's time stamp.

Change-Id: I82b9d5e96113dffa6901aac3b8a8ef999ffc1d0b
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
633d8eadef0cd975c88e99ba7323f6414db09e3b 01-Jul-2010 James Dong <jdong@google.com> am d6ec2175: am 65c83b90: Merge "Refactor Stagefright::StartMPEG4Recording()" into gingerbread

Merge commit 'd6ec21751b26a35fc8c912940a2c4720bdbf1083'

* commit 'd6ec21751b26a35fc8c912940a2c4720bdbf1083':
Refactor Stagefright::StartMPEG4Recording()
65e7dee628b79e205460a933f3b87ea6cda09002 01-Jul-2010 James Dong <jdong@google.com> Merge "Refactor Stagefright::StartMPEG4Recording()" into gingerbread
26fa578b0aca9978b7a3acbf543fba553a3e8a04 01-Jul-2010 Andreas Huber <andih@google.com> am d51c2cac: am 45bac57a: Support for writing the extracted data to an .mp4 file in the stagefright commandline tool.

Merge commit 'd51c2cacce4ad945bea4c00cea4326cf76b49cd2'

* commit 'd51c2cacce4ad945bea4c00cea4326cf76b49cd2':
Support for writing the extracted data to an .mp4 file in the stagefright commandline tool.
c143929b9f40112bb75eefbeafd6a56515868c9d 01-Jul-2010 Chih-Chung Chang <chihchung@google.com> am bda93c4c: am 09b90057: Add multiple camera support for in MediaProfiles.

Merge commit 'bda93c4cb94b47c86251d22df16e46a514c191ef'

* commit 'bda93c4cb94b47c86251d22df16e46a514c191ef':
Add multiple camera support for in MediaProfiles.
934da11c4cc598d3dd3b53726c362bcdcc0fd37f 30-Jun-2010 James Dong <jdong@google.com> Refactor Stagefright::StartMPEG4Recording()

- Also, better error handling

Change-Id: Ic18d08dc6489adf92c6a588efa4baca66429b175
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
19c9a1e2bb6ead5e1e895aea8be573fe0f8cc7bb 01-Jul-2010 Andreas Huber <andih@google.com> Support for writing the extracted data to an .mp4 file in the stagefright commandline tool.

Change-Id: I972324a8fc9757e6e8116b0270ec0882106f8733
ibstagefright/MPEG4Writer.cpp
cff0ef94eccba9ce2f72380a238793f1702474b7 01-Jul-2010 Mike Lockwood <lockwood@android.com> MTP: Remove an unnecessary thread from the MtpClient class.

Now a single thread is used for passing USB host events up to MtpClient.

Change-Id: I0e3a277956cb3d1036da122ea10acb03a27844d6
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpClient.cpp
tp/MtpClient.h
3eaa4e92dbebb5b27cb89f329f31fac6fb6fe1f0 22-Jun-2010 Chih-Chung Chang <chihchung@google.com> Add multiple camera support for in MediaProfiles.

Change-Id: Ie89568a0f5f5fd08ede77e33f9a559215d6bed9a
ibmedia/MediaProfiles.cpp
30cb2dd954f60047987b11020703c3bef1f8749f 01-Jul-2010 Mike Lockwood <lockwood@android.com> Try to fix the simulator build.

Change-Id: I3640e9eba433e711e23af1c6182e38c86c5b60bb
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
5b13ef945a016dc6113ccab3592ccc17eb60c3a7 01-Jul-2010 Andreas Huber <andih@google.com> am 86405cbd: am caad0a5c: Merge "Support for vanilla YUV420sp => RGB565 color conversion." into gingerbread

Merge commit '86405cbd53f43529898000112bc9346c21569d26'

* commit '86405cbd53f43529898000112bc9346c21569d26':
Support for vanilla YUV420sp => RGB565 color conversion.
21ef7d0e70c5ad599bc2602cb484f8cd647055ca 30-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Implement GetObjectPropDesc

Change-Id: I283651257254fc9cd9d93eab4605c5e33d3db93e
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpProperty.cpp
tp/MtpProperty.h
tp/MtpServer.cpp
tp/MtpServer.h
05a53a389852a9e52b816c087465f4e0c5009613 29-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Add MtpServer Java class to wrap MTP device support.

Change-Id: I818c2d3b3f52ad5bb515acc4d3288b2b43e11908
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpTypes.h
b14e588bec4d5e39e61b020b5b575f2ce555d316 30-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: replace printfs with logcat

Change-Id: I2c30921098e2dc049dc5fc1e0a548ead33c363e0
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpClient.cpp
tp/MtpCursor.cpp
tp/MtpDataPacket.cpp
tp/MtpDatabase.cpp
tp/MtpDebug.h
tp/MtpDevice.cpp
tp/MtpDevice.h
tp/MtpDeviceInfo.cpp
tp/MtpMediaScanner.cpp
tp/MtpObjectInfo.cpp
tp/MtpPacket.cpp
tp/MtpProperty.cpp
tp/MtpRequestPacket.cpp
tp/MtpResponsePacket.cpp
tp/MtpServer.cpp
tp/MtpStorage.cpp
tp/MtpStorageInfo.cpp
tp/MtpStringBuffer.cpp
tp/MtpUtils.cpp
tp/SqliteDatabase.cpp
tp/SqliteStatement.cpp
tp/mtptest.cpp
1c8ed2e906576fd8d7fa03f577bdec518cbe13d7 30-Jun-2010 Andreas Huber <andih@google.com> Support for vanilla YUV420sp => RGB565 color conversion.

Change-Id: I22e5b554909e169eaf153d1f25b636f6f04a1871
ibstagefright/colorconversion/ColorConverter.cpp
703f87c890591e3a20ba0da237233c36a7c47bc7 30-Jun-2010 James Dong <jdong@google.com> am 42dd9908: am f7679a04: Merge "Added encoding parameters set up for H263 video encoder" into gingerbread

Merge commit '42dd99084d0069ccd90f0305ce374fd943a09de7'

* commit '42dd99084d0069ccd90f0305ce374fd943a09de7':
Added encoding parameters set up for H263 video encoder
d329e21495eda9dbc531fdd0c26c77f1593ac3f4 30-Jun-2010 James Dong <jdong@google.com> Added encoding parameters set up for H263 video encoder

Also:
- Allowed start() call when encoder already starts and stop() call when encoder has not started yet
- Handled default value for audio/video sources/encoders and file output format

Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ae723818b80e22b44a90c5e093d4556a38966d57 29-Jun-2010 Andreas Huber <andih@google.com> am d6dcec4f: am fd751426: Merge "Add qcom\'s new OMX components to the list." into gingerbread

Merge commit 'd6dcec4f79737623051378cb99858a4032fa8005'

* commit 'd6dcec4f79737623051378cb99858a4032fa8005':
Add qcom's new OMX components to the list.
ae1f0036bd9cc52353fb3a8ad4556792e1e8047a 29-Jun-2010 Andreas Huber <andih@google.com> Add qcom's new OMX components to the list.

Change-Id: Ic8d261aaa5b15c1be7e6d57aee6be51cecb10bb1
ibstagefright/OMXCodec.cpp
eb4bbb5e464487337778d782e41ab1cc13994f51 29-Jun-2010 James Dong <jdong@google.com> am b1e165eb: am d4760c24: Collect statistical data from authoring engine (second part)

Merge commit 'b1e165ebae798431e3569c28dc5d7c2e584834a6'

* commit 'b1e165ebae798431e3569c28dc5d7c2e584834a6':
Collect statistical data from authoring engine (second part)
215381ea729086b8359b7f59bdc2bd7cf55a0c45 26-Jun-2010 James Dong <jdong@google.com> Collect statistical data from authoring engine (second part)

- added sample duration to the statistcal log messages.
- fixed the bug on miscalcuting the average frame rate.

- also fixed an issue where both frame and time progress status notifications
are sent out even though only one of them is explicitly requsted.

Change-Id: Ib86f15a85fad3dbeabde120c3c782b79c16da46c
ibstagefright/MPEG4Writer.cpp
1c645f22ab7e56a04659c09ffa2ca2de20650ddc 29-Jun-2010 James Dong <jdong@google.com> am c2c59f69: am 2a76b316: Merge "Separate MediaRecorderClient with MediaPlayerClient" into gingerbread

Merge commit 'c2c59f690deafe34c7701b01b612fd777cee8d4b'

* commit 'c2c59f690deafe34c7701b01b612fd777cee8d4b':
Separate MediaRecorderClient with MediaPlayerClient
37047fceba836f341d0108beed0991b0f8dfc543 26-Jun-2010 James Dong <jdong@google.com> Separate MediaRecorderClient with MediaPlayerClient

- An alternative would be to define a common base class that
both MediaRecorderClient and MediaPlayerClient can derive.
But since the common code, onTransact() and notify() uses
some Binder code, having a common base class may not gain
us too much in terms of code reuse.

Change-Id: Ibc06720278ad173fceacff3d267b7060856c6316
ibmedia/Android.mk
ibmedia/IMediaRecorder.cpp
ibmedia/IMediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
1eff1b9a7fcf7044cd076c7d66f05bd1154999b7 26-Jun-2010 James Dong <jdong@google.com> am fd45c1e6: am 41debbc6: Merge "Provide progress status report during authoring" into gingerbread

Merge commit 'fd45c1e68dbc0c821c2b6d7e0b7e2a3493400798'

* commit 'fd45c1e68dbc0c821c2b6d7e0b7e2a3493400798':
Provide progress status report during authoring
93d6b102a13afa23bfa80d74c399d93d542e6ad6 25-Jun-2010 James Dong <jdong@google.com> Provide progress status report during authoring

- Track either the number of A/V frames authored, or the time elapsed
- Track the completion of the authoring
- Add multiple camera support for authoring by accepting a camera id parameter
- Set file type based on the OUTPUT_FORMAT requested

Change-Id: I0f9d31b3b7a8fa43eb53f572410fb0ebd4fa0bb7
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
a93b488457b8d7dd17a1d80c82a9accafcdd8bad 25-Jun-2010 Eric Laurent <elaurent@google.com> am cdf1357b: am 8e103da1: Merge "Various fixes and improvements in audio effects implementation" into gingerbread

Merge commit 'cdf1357b6e0152280dcd611b5f096db4887d8126'

* commit 'cdf1357b6e0152280dcd611b5f096db4887d8126':
Various fixes and improvements in audio effects implementation
ae170d33ec0bd23498f11efa33b9abd974dfe123 25-Jun-2010 Andreas Huber <andih@google.com> am 75fb44b2: am 357f8209: Merge "Finetune some of the prefetcher parameters to a) buffer as much as froyo did b) ensure that keepalives actually trigger a network read instead of just draining internal buffers" into gingerbread

Merge commit '75fb44b2344b900485aaf4506531010a8335b5a7'

* commit '75fb44b2344b900485aaf4506531010a8335b5a7':
Finetune some of the prefetcher parameters to a) buffer as much as froyo did b) ensure that keepalives actually trigger a network read instead of just draining internal buffers
31c000831ea8c116c00de1ecb40e6b336b937f68 25-Jun-2010 James Dong <jdong@google.com> am bc704ddd: am 6feaa464: Enable passing parameters to the MediaWriter at runtime (at start() call).

Merge commit 'bc704dddb6d1239c55f6cd0f93d349f7cc3d1219'

* commit 'bc704dddb6d1239c55f6cd0f93d349f7cc3d1219':
Enable passing parameters to the MediaWriter at runtime (at start() call).
3e8ec1e8ec638a1bbee354f2df88bba60b1014ba 25-Jun-2010 James Dong <jdong@google.com> am d115304c: am 5a905ceb: Merge "Track maximum amplitude and fix getMaxAmplitude()" into gingerbread

Merge commit 'd115304c0900713d6f8d4033722d9c647f40ceae'

* commit 'd115304c0900713d6f8d4033722d9c647f40ceae':
Track maximum amplitude and fix getMaxAmplitude()
658bd258af206ebc662301979482ba4bfd88481a 25-Jun-2010 Eric Laurent <elaurent@google.com> Merge "Various fixes and improvements in audio effects implementation" into gingerbread
ffe9c25ce85e1af55d58ec025adc6367d70db7e8 24-Jun-2010 Eric Laurent <elaurent@google.com> Various fixes and improvements in audio effects implementation

Effect API:
- Use different definitions for audio device, channels, formats... in AudioSystem and EffectApi:
Removed media/AudioCommon.h file created for initial version of EffectApi
- Indicate audio session and output ID to effect library when calling EffectCreate(). Session ID can be useful to optimize
the implementation of effect chains in the same audio session. Output ID can be used for effects implemented in audio hardware.
- Renamed EffectQueryNext() function to EffectQueryEffect() and changed operating mode:
now an index is passed for the queried effect instead of implicitly querying the next one.
- Added CPU load and memory usage indication in effects descriptor
- Added flags and commands to indicate changes in audio mode (ring tone, in call...) to effect engine
- Added flag to indicate hardware accelerated effect implementation.
- Renamed EffectFactoryApi.h to EffectsFactoryApi.h for consistency with EffectsFactory.c/h

Effect libraries:
- Reflected changes in Effect API
- Several fixes in reverb implementation
- Added build option TEST_EFFECT_LIBRARIES in makefile to prepare integration of actual effect library.
- Replaced pointer by integer identifier for library handle returned by effects factory

Audio effect framework:
- Added support for audio session -1 in preparation of output stage effects configuration.
- Reflected changes in Effect API
- Removed volume ramp up/down when effect is inserted/removed: this has to be taken care of by effect engines.
- Added some overflow verification on indexes used for deferred parameter updates via shared memory
- Added hardcoded CPU and memory limit check when creating a new effect instance

Change-Id: I43fee5182ee201384ea3479af6d0acb95092901d
ibeffects/Android.mk
ibeffects/AudioCoefInterpolator.cpp
ibeffects/AudioCommon.h
ibeffects/AudioFormatAdapter.h
ibeffects/AudioShelvingFilter.cpp
ibeffects/EffectEqualizer.cpp
ibeffects/EffectReverb.c
ibeffects/EffectReverb.h
ibeffects/EffectsFactory.c
ibeffects/EffectsFactory.h
ibmedia/AudioEffect.cpp
ibmedia/IAudioFlinger.cpp
1f80fe4a1fb18dbf797720b5c3b4c1b437406faf 25-Jun-2010 Andreas Huber <andih@google.com> Merge "Finetune some of the prefetcher parameters to a) buffer as much as froyo did b) ensure that keepalives actually trigger a network read instead of just draining internal buffers" into gingerbread
9235bc896538e906e162aa5f9e11f8af04c29664 25-Jun-2010 Andreas Huber <andih@google.com> Finetune some of the prefetcher parameters to a) buffer as much as froyo did b) ensure that keepalives actually trigger a network read instead of just draining internal buffers

Change-Id: Iaedfb5645e3052a63789244c90900573f8449bac
ibstagefright/include/NuCachedSource2.h
2dec2b5be2056c6d9428897dc672185872d30d17 20-Jun-2010 James Dong <jdong@google.com> Enable passing parameters to the MediaWriter at runtime (at start() call).

- estimate the moov box size for mp4 file writer based on the file
size/duration limit and target bit rate.
- can switch to use 64 bit file offset at runtime

rebased

Change-Id: Ibbe1f57e91ab2605820d5d96e8048d11e5559c53
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
d4b91aac78e565a135f8ef1bfda7e6317debaf35 25-Jun-2010 James Dong <jdong@google.com> Merge "Track maximum amplitude and fix getMaxAmplitude()" into gingerbread
d3d4e5069e1af0437c4f5a7b4ba344bda5b937af 25-Jun-2010 James Dong <jdong@google.com> Track maximum amplitude and fix getMaxAmplitude()

- only start to track the max amplitude after the first call to getMaxAmplitude()

Change-Id: I64d3d9ca0542202a8535a211425e8bccceca50fc
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AudioSource.cpp
5fdc39eb380e84d5de7071f195b3fbe96d475b44 24-Jun-2010 Andreas Huber <andih@google.com> am 95d26de9: am 7b5b27ad: Merge "Properly identify malformed (too short) chunks in mpeg4 files." into gingerbread

Merge commit '95d26de9e048ef0342e3aed15a4d5d5c8a6e8493'

* commit '95d26de9e048ef0342e3aed15a4d5d5c8a6e8493':
Properly identify malformed (too short) chunks in mpeg4 files.
a5522c94a437d9449fba9d8167409f5e357075b6 24-Jun-2010 Andreas Huber <andih@google.com> Merge "Properly identify malformed (too short) chunks in mpeg4 files." into gingerbread
71b1a4e975dfb65660a0119b9d6bf6db77eca09e 24-Jun-2010 Andreas Huber <andih@google.com> Properly identify malformed (too short) chunks in mpeg4 files.

Change-Id: Id2efb1bba195c4ad6f132cd706cc813135ead8a4
ibstagefright/MPEG4Extractor.cpp
20398afa58f825db32fa250a3fd27f0d1f719c97 24-Jun-2010 James Dong <jdong@google.com> am 40d9f010: am 7fd22aab: Merge "Fixed the software AAC encoder" into gingerbread

Merge commit '40d9f0105f0a8f484724619154b18c5d85589eff'

* commit '40d9f0105f0a8f484724619154b18c5d85589eff':
Fixed the software AAC encoder
47c778f4a5fa639b2082fcc74080d33ac847b232 24-Jun-2010 James Dong <jdong@google.com> Merge "Fixed the software AAC encoder" into gingerbread
67089ba8dd8074361f50b4353a63ead97d86e92f 24-Jun-2010 Andreas Huber <andih@google.com> am 0d964c94: am a2549bb6: Merge "Remove most stagefright property overrides, remove VorbisPlayer and VorbisMetadataRetriever as this functionality is now provided by stagefright." into gingerbread

Merge commit '0d964c94459e25b9b2221a7c7c789b29f77f15dd'

* commit '0d964c94459e25b9b2221a7c7c789b29f77f15dd':
Remove most stagefright property overrides, remove VorbisPlayer and VorbisMetadataRetriever as this functionality is now provided by stagefright.
7bf4fab9e5590d345b93b559f35b2fb0f6b17ca8 24-Jun-2010 Andreas Huber <andih@google.com> Merge "Remove most stagefright property overrides, remove VorbisPlayer and VorbisMetadataRetriever as this functionality is now provided by stagefright." into gingerbread
065d1aff96818df54456053f1574aec8a234d0de 24-Jun-2010 James Dong <jdong@google.com> Fixed the software AAC encoder

Make sure that each input frame contains at least 1024 samples, as
required by the AAC encoder, and fix the incorrect timestamp.

Change-Id: I344cafe8c89be51d6e64552fab70539990ff6049
ibstagefright/MPEG4Writer.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/include/AACEncoder.h
608d77b1cf4fb9f63dc861e4e1fa3e80a732f626 24-Jun-2010 Andreas Huber <andih@google.com> Remove most stagefright property overrides, remove VorbisPlayer and VorbisMetadataRetriever as this functionality is now provided by stagefright.

Change-Id: Ieafe75a4550c273ad59b4518d7cd4c0fce0f7cce
related-to-bug: 2370115
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/VorbisMetadataRetriever.cpp
ibmediaplayerservice/VorbisMetadataRetriever.h
ibmediaplayerservice/VorbisPlayer.cpp
ibmediaplayerservice/VorbisPlayer.h
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/id3/Android.mk
ibstagefright/omx/tests/Android.mk
94c57e91b1a5495fe66f64891fd77ce42ab68f58 24-Jun-2010 James Dong <jdong@google.com> am 90ade3f2: am 9afc1b3e: Merge "Fixed some meta data issues in the recorded mp4 file" into gingerbread

Merge commit '90ade3f25d16afe8fd64ec1fcc5fede466256719'

* commit '90ade3f25d16afe8fd64ec1fcc5fede466256719':
Fixed some meta data issues in the recorded mp4 file
2439a8d6d99864ba0c2d94f428e6c9ee258cdd45 24-Jun-2010 James Dong <jdong@google.com> Merge "Fixed some meta data issues in the recorded mp4 file" into gingerbread
1acfe8649f8169caf2ff098c2dc2de880d9a3760 23-Jun-2010 James Dong <jdong@google.com> Fixed some meta data issues in the recorded mp4 file

- Mainly correcting the location of stbl box which should be a child of minf box.
This resolved the issue where the mis-muxed encoded file could not be played by QT/VLC.

- Enabled the the recorded tracks by setting the flags to 0x07 by default

- Allows for encoding either 32-bit or 64-bit offsets. By default encoding
32-bit offsets to reduce the metadata overhead

- Fixed a edts box issue where an empty elst box was used at the end

Change-Id: I570621a26714a81dc9400271aa5d3a07b483172f
ibstagefright/MPEG4Writer.cpp
ed914577e770697e23884886787e333588eb4c61 23-Jun-2010 Andreas Huber <andih@google.com> am 03e90f7e: am 58e9402b: Merge "Properly assign LOG_TAGs in OMXMaster.cpp and MediaScanner.cpp" into gingerbread

Merge commit '03e90f7eeb032c981fc2952aa33f6ba1fae20d97'

* commit '03e90f7eeb032c981fc2952aa33f6ba1fae20d97':
Properly assign LOG_TAGs in OMXMaster.cpp and MediaScanner.cpp
d255a4e04d06796441ae234e8f3a8277578b3446 23-Jun-2010 Andreas Huber <andih@google.com> Merge "Properly assign LOG_TAGs in OMXMaster.cpp and MediaScanner.cpp" into gingerbread
c08d805c8d7ba0da56988382f7e9b70b98468636 23-Jun-2010 Andreas Huber <andih@google.com> am 800af390: am b64af9a2: Fix a number of timestamp mismatches in the mp3 extractor and decoder that would lead to invalid reporting of the current playback time for mono and/or non-44100 kHz mp3s.

Merge commit '800af39038dcded12b66eccb8932a761e20b1976'

* commit '800af39038dcded12b66eccb8932a761e20b1976':
Fix a number of timestamp mismatches in the mp3 extractor and decoder that would lead to invalid reporting of the current playback time for mono and/or non-44100 kHz mp3s.
1a97e853e8f9fa3f4f47304d0e2e9118887e6051 23-Jun-2010 Eric Laurent <elaurent@google.com> am 845f5414: am 2c2ce8e5: Merge "Added support for audio sessions in MediaPlayer and AudioTrack." into gingerbread

Merge commit '845f541454d1fa9f328c0b0bf79acf2fba363177'

* commit '845f541454d1fa9f328c0b0bf79acf2fba363177':
Added support for audio sessions in MediaPlayer and AudioTrack.
4ae22516962e6d6727fc3e9ce646441708ed60a9 23-Jun-2010 Chia-chi Yeh <chiachi@android.com> am da9269af: am 3238302b: Merge "media: add AudioRecord::getMinFrameCount()." into gingerbread

Merge commit 'da9269af5e94e25c142c519429aa77eb40f68e58'

* commit 'da9269af5e94e25c142c519429aa77eb40f68e58':
media: add AudioRecord::getMinFrameCount().
1629399bb578fc176613ccaf134d1be6e3047638 23-Jun-2010 Andreas Huber <andih@google.com> Properly assign LOG_TAGs in OMXMaster.cpp and MediaScanner.cpp

Change-Id: I863651619f84b2b66e9a926ce1fef8ce6a53a42d
related-to-bug: 2639116
ibmedia/MediaScanner.cpp
ibstagefright/omx/OMXMaster.cpp
3e0339f9ec42c2c31deb632254e9cc8a06d3db91 23-Jun-2010 Andreas Huber <andih@google.com> Fix a number of timestamp mismatches in the mp3 extractor and decoder that would lead to invalid reporting of the current playback time for mono and/or non-44100 kHz mp3s.

Change-Id: I11abc05b62a958ffbc99ca997cd184a2f2199352
related-to-bug: 2667479
ibstagefright/MP3Extractor.cpp
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
ibstagefright/include/MP3Decoder.h
735e25176efebe9cb54e5d426ae3ba02bf9ccd45 23-Jun-2010 James Dong <jdong@google.com> am 9666d3c0: am 750600a1: Merge "Single track optimization" into gingerbread

Merge commit '9666d3c0e7fc8ca98b4f5744d8427d008a79e698'

* commit '9666d3c0e7fc8ca98b4f5744d8427d008a79e698':
Single track optimization
d96e3d9a1e6b30f2bafdd9a3dc079008243c6079 23-Jun-2010 Andreas Huber <andih@google.com> am 6adf0c4d: am ef1c48d6: Merge "Make the prefetcher read packets from the network after a keep-alive timeout expires regardless of whether its currently actively fetching data or not." into gingerbread

Merge commit '6adf0c4de62f0b13b84f18c6cda254a8dfeb2296'

* commit '6adf0c4de62f0b13b84f18c6cda254a8dfeb2296':
Make the prefetcher read packets from the network after a keep-alive timeout expires regardless of whether its currently actively fetching data or not.
aa941f086e7df62a60350879412efc69b52bcd12 23-Jun-2010 James Dong <jdong@google.com> am 06967683: am e5671bfe: Merge "Audio/video sync during recording (second part)" into gingerbread

Merge commit '0696768374567afa4fe58c2ef0af948b72e83e5d'

* commit '0696768374567afa4fe58c2ef0af948b72e83e5d':
Audio/video sync during recording (second part)
dadd0d1e7d5fbb88fd3420438c590a0bb4c18af5 23-Jun-2010 Eric Laurent <elaurent@google.com> Merge "Added support for audio sessions in MediaPlayer and AudioTrack." into gingerbread
41b2d090b23889c56bf0a889a8c9c2fb934015e8 23-Jun-2010 Chia-chi Yeh <chiachi@android.com> Merge "media: add AudioRecord::getMinFrameCount()." into gingerbread
a514bdb58b5de4986679f72b7204b4764f7a2778 21-Jun-2010 Eric Laurent <elaurent@google.com> Added support for audio sessions in MediaPlayer and AudioTrack.

Audio sessions are used to associate audio effects to particular instances (or groups) of MediaPlayers or AudioTracks.

Change-Id: Ib94eec43241cfcb416590f435ddce7ab39a07640
ibmedia/AudioTrack.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
15304d601cbf83be6519ca53e1a26b97d50d0192 22-Jun-2010 Chia-chi Yeh <chiachi@android.com> media: add AudioRecord::getMinFrameCount().

Change-Id: I952071ab10aa49aa96b727d157b68470d69fff3d
ibmedia/AudioRecord.cpp
c6588763ddc20541688e426a24b1b070527c051f 22-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Use a fd instead of a file path in file transfer ioctls.

This restricts the driver to the client's permissions when copying files
to avoid potential security problems.

Change-Id: I9b3151168d334fe4374875804d4ba82bef44db3b
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/f_mtp.h
78c1e5ecb7a1c6474485c94276fb6c2bffebd2dc 15-Jun-2010 Mike Lockwood <lockwood@android.com> mtptest: Add option to specify storage path at the command line.

Change-Id: Iac8a34ffb8177018a9164b3f2f97b2e84c3d8f1c
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpStorage.cpp
tp/mtptest.cpp
58ae9c530247668f8af36e30d228c716c226b3d4 22-Jun-2010 James Dong <jdong@google.com> Single track optimization

We don't need to do interleave when the total number of tracks to be recorded is one.
Metadata-wise, we only need to have one chunk in chunk offset table, and a
single entry in the stsc table.

Change-Id: I46f0e4b3860620311e7a91b68a9067acaa137bb2
ibstagefright/MPEG4Writer.cpp
40f388ef8bad7a9ab16db8f90904656cd39c793d 22-Jun-2010 Andreas Huber <andih@google.com> Merge "Make the prefetcher read packets from the network after a keep-alive timeout expires regardless of whether its currently actively fetching data or not." into gingerbread
0cd1e0bf7a0db4dcc111ee0732cbe2ec6e02b5af 22-Jun-2010 James Dong <jdong@google.com> Merge "Audio/video sync during recording (second part)" into gingerbread
a5273ebd1746368662a597643d6701a5046d5c7b 22-Jun-2010 Andreas Huber <andih@google.com> Make the prefetcher read packets from the network after a keep-alive timeout expires regardless of whether its currently actively fetching data or not.

Change-Id: I7d022ac494e1cecdd7f656806b7ed45979c02840
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/NuCachedSource2.h
f60cafe0e6aad8f9ce54660fa88b651ae4e749e6 19-Jun-2010 James Dong <jdong@google.com> Audio/video sync during recording (second part)

Change-Id: Iba0b35f57fdeac7ee1da16899406bf4b957a2c8c
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
9e6f25df13d5242d83fda224f8cc0b2bf22a727c 21-Jun-2010 Chia-chi Yeh <chiachi@android.com> am d9e9132e: am 2ce999fc: am bd240c27: media: add AudioTrack::getMinFrameCount().

Merge commit 'd9e9132eeb2c02feb812f21a5cecb844b5b39d9d'

* commit 'd9e9132eeb2c02feb812f21a5cecb844b5b39d9d':
media: add AudioTrack::getMinFrameCount().
c7fa90a661dd9f6107af6a1d9e6dcaa1cb9a34e3 21-Jun-2010 Chia-chi Yeh <chiachi@android.com> am bd240c27: media: add AudioTrack::getMinFrameCount().

Merge commit 'bd240c2737913d6ed1982788699f93bbc52330c0' into gingerbread

* commit 'bd240c2737913d6ed1982788699f93bbc52330c0':
media: add AudioTrack::getMinFrameCount().
33005a932c60a0780fe9b7307d5988df3d9f6c26 16-Jun-2010 Chia-chi Yeh <chiachi@android.com> media: add AudioTrack::getMinFrameCount().

Change-Id: If15162583d1d16d89f59be0793106afe77417f35
ibmedia/AudioTrack.cpp
206ebe295b0b900b58c760e4df6b5d2c8ad4d4f8 17-Jun-2010 Dave Sparks <davidsparks@android.com> am c05c83e2: am f3c6c982: am 3242cc27: Merge "TimedEventQueue is apparently important for glitch-free media playback, and so having it inherit its priority from the thread that created it is a bad idea. Instead, set the priority explicitly, and bump it to slightly hig

Merge commit 'c05c83e272f8806d46a4e2470d000f2112e6efb2'

* commit 'c05c83e272f8806d46a4e2470d000f2112e6efb2':
TimedEventQueue is apparently important for glitch-free media playback, and so
d26b133beec4df8608db3958045650e661ae8666 17-Jun-2010 Dave Sparks <davidsparks@android.com> am 3242cc27: Merge "TimedEventQueue is apparently important for glitch-free media playback, and so having it inherit its priority from the thread that created it is a bad idea. Instead, set the priority explicitly, and bump it to slightly higher than normal." into fro

Merge commit '3242cc2719a4aeb64ac5ed273cf222d8d326d44b' into gingerbread

* commit '3242cc2719a4aeb64ac5ed273cf222d8d326d44b':
TimedEventQueue is apparently important for glitch-free media playback, and so
51da506d87b071ea01bc8f4707a2045869394e83 17-Jun-2010 James Dong <jdong@google.com> am 39e876ad: Merge "When filling the cache, we always time out waiting for a condition that won\'t occur. We are actually improving the power consumption for streaming applications like Pandora." into froyo

Merge commit '39e876ad743f203fe005333947c61383772b0d14' into froyo-plus-aosp

* commit '39e876ad743f203fe005333947c61383772b0d14':
When filling the cache, we always time out waiting for a condition that won't occur.
bb045607843cc02e9567877e226a5fd803f654bf 17-Jun-2010 Dave Sparks <davidsparks@android.com> am 3242cc27: Merge "TimedEventQueue is apparently important for glitch-free media playback, and so having it inherit its priority from the thread that created it is a bad idea. Instead, set the priority explicitly, and bump it to slightly higher than normal." into fro

Merge commit '3242cc2719a4aeb64ac5ed273cf222d8d326d44b' into froyo-plus-aosp

* commit '3242cc2719a4aeb64ac5ed273cf222d8d326d44b':
TimedEventQueue is apparently important for glitch-free media playback, and so
51a540afbfac32464503247ad7595b08f01e7cd0 17-Jun-2010 James Dong <jdong@google.com> am 48a7c1d2: am 42a18c09: Check and clip some video encoding parameters against media profiles before passing them to video encoder

Merge commit '48a7c1d25f6afe020eb95ce60da95ad70f71f84c'

* commit '48a7c1d25f6afe020eb95ce60da95ad70f71f84c':
Check and clip some video encoding parameters against media profiles before passing them to video encoder
99c2a076b4a46762a22bbb4dfbd51d107e0532d9 17-Jun-2010 James Dong <jdong@google.com> Check and clip some video encoding parameters against media profiles before passing them to video encoder

Change-Id: I69e0e7411806a4ece6c0bf0e02c74eaaf48a17ac
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
92ad66e53a061d5c3e7a29c66b46e63454aa0d19 17-Jun-2010 James Dong <jdong@google.com> am d8402d78: am cd677a30: Merge "Remove hard-coded number of audio channels in AudioSource" into gingerbread

Merge commit 'd8402d7861ed81e90dd0a03b9a630e66551cc783'

* commit 'd8402d7861ed81e90dd0a03b9a630e66551cc783':
Remove hard-coded number of audio channels in AudioSource
8fb4e091bc62b15bec2c05adcb50429bb76f1b28 17-Jun-2010 James Dong <jdong@google.com> Merge "Remove hard-coded number of audio channels in AudioSource" into gingerbread
e32283b15bbd60179424bdc740a4e4932da4c61e 17-Jun-2010 James Dong <jdong@google.com> Merge "When filling the cache, we always time out waiting for a condition that won't occur. We are actually improving the power consumption for streaming applications like Pandora." into froyo
d82ac9c464a83f36e87cc95b26f6030402dda256 16-Jun-2010 James Dong <jdong@google.com> When filling the cache, we always time out waiting for a condition that won't occur.
We are actually improving the power consumption for streaming applications like Pandora.

Change-Id: Id32bacbc962e8c69c056599479b308d6a07b7a20
ibstagefright/Prefetcher.cpp
17e8ad9c4b8fbdebec4559702b82114fb6543b67 15-Jun-2010 Marco Nelissen <marcone@google.com> TimedEventQueue is apparently important for glitch-free media playback, and so
having it inherit its priority from the thread that created it is a bad idea.
Instead, set the priority explicitly, and bump it to slightly higher than normal.

Change-Id: I01843f24905790ce2e2cde5d11a99346cfbf968d
ibstagefright/TimedEventQueue.cpp
3621daac5cd14fafa44c153179e2025e31e1a793 15-Jun-2010 James Dong <jdong@google.com> am 56b64c75: am ac8b0d47: Merge "This patch enables each omx instance to have a separate message dispatcher, and thus eliminates the sharing of the message dispatches between omx instances." into gingerbread

Merge commit '56b64c75c3809c55c2053f77802344a9e035343f'

* commit '56b64c75c3809c55c2053f77802344a9e035343f':
This patch enables each omx instance to have a separate message dispatcher, and
bc801f9b6450a110470071ff3db05edb8ec501d7 15-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Use stat.st_mode instead of dirent.d_type to determine file type."
6212cd2e12e31e046ac4483254fe029c4e070e99 15-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "MediaScanner: Fix handling of files with dirent.d_type == DT_UNKNOWN"
6084a2964e346a036b58b1f4565ccbdefd518234 15-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Use stat.st_mode instead of dirent.d_type to determine file type.

dirent.d_type is not implemented on all file systems.

Change-Id: I50a01fd77a9f976f215e7ff98dd04f0f2611bbce
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpMediaScanner.cpp
ef04e8f230e7ef5dece1cc4e73cd109c69905418 15-Jun-2010 Mike Lockwood <lockwood@android.com> MediaScanner: Fix handling of files with dirent.d_type == DT_UNKNOWN

The previous code was calling stat() on the parent directory rather than the actual file.

Change-Id: If64552cb37552c77618a81ae4333307a018efe13
Signed-off-by: Mike Lockwood <lockwood@android.com>
ibmedia/MediaScanner.cpp
7c8bbd2c10d42924dea8853530c3b6d0281c5d03 15-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "MTP device: Read manufacturer name and serial number from system properties."
c42aa12f73edf79bc9cb0dbf6b74a7f1af11c683 15-Jun-2010 Mike Lockwood <lockwood@android.com> MTP device: Read manufacturer name and serial number from system properties.

Change-Id: I8d1ad79f38aaaa50fa8899e6b614096af95fdf39
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpStorage.cpp
be6ec71af2d12e2a55f2f0b1b77d3fa5d593a1c7 15-Jun-2010 James Dong <jdong@google.com> Remove hard-coded number of audio channels in AudioSource

Change-Id: I5f362252c25e2251bbfa9818b711ee23b4975248
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AudioSource.cpp
78d26445a7dfe8f49d7005185f28b01cffe80adf 15-Jun-2010 James Dong <jdong@google.com> This patch enables each omx instance to have a separate message dispatcher, and
thus eliminates the sharing of the message dispatches between omx instances.

If the omx audio and video encoders share the same dispatcher, when the audio read
blocks in the AudioSource, the message dispatcher thread gets blocked. As a result,
the message for the omx video encoder can not be dispatched, hence gets blocked too.
If the blocking time is long enough, the video frame rate decreases significantly.
This is the case when we read 2048 bytes by default each time. Reading smaller blocks
of audio data helps mitigate the above-mentioned problem, but it is not an ideal
solution for two reasons: a) it is not efficient, and thus can cause a lot of overhead
passing buffers between the frame work and the omx encoders; b) also, the audio record
thread can overflow as a result, which lead to the loss of recorded audio frames.

This patch affects both authoring engine and the playback engine.

Change-Id: I26dfde7ac46c8752cf1793ce1bfcc7be7724580e
ibstagefright/include/OMX.h
ibstagefright/omx/OMX.cpp
57b1dfad103cb0361a2a32cae1fad56a66080fa0 14-Jun-2010 James Dong <jdong@google.com> am 814f430c: am dca66e1c: Fixed a typo - maybe we should do comparison ignoring the case?

Merge commit '814f430cb5e313316600fd6694ed338edd5fff7d'

* commit '814f430cb5e313316600fd6694ed338edd5fff7d':
Fixed a typo - maybe we should do comparison ignoring the case?
8aa8fe5ea704b05d8f0ab3d7bf18de18151f1b50 14-Jun-2010 James Dong <jdong@google.com> Fixed a typo - maybe we should do comparison ignoring the case?

Change-Id: I498f8242e6ba3e3e8b8c7b714ed49bff51a3010b
ibstagefright/OMXCodec.cpp
a177ae14b8cd9c1172cd166094cbffb2485325c2 14-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Fix uninitialized pointer bug.

Change-Id: Ia07ebd48aeb483e66957f5a174992d200494a744
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDatabase.cpp
366c84d307e128a00a5ba0234cad7759a0b3d57c 14-Jun-2010 Eric Laurent <elaurent@google.com> am 184a3ff6: am e0219539: am 01f7ac64: Merge "Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI." into kraken

Merge commit '184a3ff64ba71e7e860b70b9a836c0132b447138'

* commit '184a3ff64ba71e7e860b70b9a836c0132b447138':
Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI.
582c2c3ddabbb3950d19c7ba1124c69856f7eac3 14-Jun-2010 Eric Laurent <elaurent@google.com> am 01f7ac64: Merge "Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI." into kraken

Merge commit '01f7ac64488027492b2909b99d70491e7a391015' into gingerbread

* commit '01f7ac64488027492b2909b99d70491e7a391015':
Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI.
1616fa4a567bae928dfd28ebf1ec45cd701f27f1 14-Jun-2010 Eric Laurent <elaurent@google.com> Merge "Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI." into kraken
f49a97b33b325426cd319f0dc960024ff68cce82 12-Jun-2010 Andreas Huber <andih@google.com> am df60830a: am 126ca6f9: Merge "Must hold lock here..." into gingerbread

Merge commit 'df60830a42580af976b0fc88784d1d32191bd1d7'

* commit 'df60830a42580af976b0fc88784d1d32191bd1d7':
Must hold lock here...
a1ad27130107b4377cc94b310a1e6c51d4b17cde 12-Jun-2010 Andreas Huber <andih@google.com> Merge "Must hold lock here..." into gingerbread
2f8aeb406368995ba760937b3c3465ea7b562fa2 12-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Add host support for deleting objects."
6afc41d095ccb159f6c4705bed903b6c048b922a 11-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Add host support for deleting objects.

For example, deleting pictures on a digital camera.

Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpDevice.cpp
tp/MtpDevice.h
88d18f41b100ef540d5e5090c04d56afa2a06cc1 11-Jun-2010 James Dong <jdong@google.com> am ae2c4774: am f62c57d6: Merge "Initial checkin for pause and resume control" into kraken

Merge commit 'ae2c47746b5fda636a157c4fdb0365a67d4604c3'

* commit 'ae2c47746b5fda636a157c4fdb0365a67d4604c3':
Initial checkin for pause and resume control
623a0de03d72c17b4cf0701280c6cb1df365ea6c 11-Jun-2010 James Dong <jdong@google.com> Merge "Initial checkin for pause and resume control" into kraken
d17875a226491e3de60fa32d764a4cc92de7f949 11-Jun-2010 Andreas Huber <andih@google.com> Must hold lock here...

Change-Id: I179a5582c9246f78c988f85e2f969f32d547ac89
ibstagefright/NuCachedSource2.cpp
a7d1a2dd776bf356c228785a94ba8e0ff6a2ec7f 10-Jun-2010 James Dong <jdong@google.com> Initial checkin for pause and resume control

Change-Id: Ibdcf7bea5fb66baa81878704ba4091dfcfe382ee
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AMRWriter.cpp
ibstagefright/AudioSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
0c9e60c772ae007a68cbfa46e0d2fb429376cfd2 11-Jun-2010 Andreas Huber <andih@google.com> am 0905ba7b: am f5eafe40: Merge "Restore feature parity with the old HTTPDataSource as far as support for extra headers (cookies?) and socket-timeout are concerned." into kraken

Merge commit '0905ba7ba62567c1d1b5b0567827c35d40390b52'

* commit '0905ba7ba62567c1d1b5b0567827c35d40390b52':
Restore feature parity with the old HTTPDataSource as far as support for extra headers (cookies?) and socket-timeout are concerned.
b55cf746536962d262c3b627e32a37464927b67b 11-Jun-2010 Andreas Huber <andih@google.com> Merge "Restore feature parity with the old HTTPDataSource as far as support for extra headers (cookies?) and socket-timeout are concerned." into kraken
7b752795080568c422ea581a645ad1333c075042 11-Jun-2010 Andreas Huber <andih@google.com> am b165719e: am e577e87a: Fix a typo in NuCachedSource2 that would trigger an assert near the end of a stream.

Merge commit 'b165719e93dd390b4f71f5d5e993880529cc841f'

* commit 'b165719e93dd390b4f71f5d5e993880529cc841f':
Fix a typo in NuCachedSource2 that would trigger an assert near the end of a stream.
79f77ef3b0a37660ba8c5bcb2dfbfda3860f2135 11-Jun-2010 Andreas Huber <andih@google.com> Restore feature parity with the old HTTPDataSource as far as support for extra headers (cookies?) and socket-timeout are concerned.

Change-Id: I506dc501faec60e974bf4968d8ba661df7a49aa8
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuHTTPDataSource.h
6f5aae1bcba130d5b8092a19fca3627aa565df56 11-Jun-2010 Andreas Huber <andih@google.com> Fix a typo in NuCachedSource2 that would trigger an assert near the end of a stream.

Change-Id: I963ad7074b830d553b67c8925efd5369d0b7a5b9
ibstagefright/NuCachedSource2.cpp
801a1186eb1d2ce195b15222701865932e08f3dc 09-Jun-2010 Eric Laurent <elaurent@google.com> Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI.

Added AudioEffect C++ class. AudioEffect is the base class for effect specific implementations,
OpenSL ES effect interfaces and audio effect JNI.

Added the AudioEffect JNI and AudioEffect JAVA class. AudioEffect is the base class
to implement more specific JAVA classes to control audio effects from JAVA applications.

Change-Id: If300a1b708f2e6605891261e67bfb4f8330a4624
ibmedia/Android.mk
ibmedia/AudioEffect.cpp
b394a76e5d8d3ec417078cfda26f78dcd5ba595d 11-Jun-2010 Andreas Huber <andih@google.com> am 627a0019: am 4d61f602: Switch stagefright\'s approach to prefetching to the new model. The java MediaPlayer is now notified about rebuffering start/end via info messages.
4ac2e697b6ce55ed74fedf28de93f183f202c060 11-Jun-2010 Andreas Huber <andih@google.com> am 566e64af: am fbdb5f1b: Merge "Switch LiveSource to use the new http data source instead of the old one." into kraken
3e6304b18a1df30ebdb6ef8582336ad7a982e1af 11-Jun-2010 Andreas Huber <andih@google.com> am 960a0ff1: am c81d2c12: Merge "Initial check-in of new caching/prefetching data source implementation." into kraken
0a5baa9b411fe086013d2a5e9126ed63fbad046c 10-Jun-2010 Andreas Huber <andih@google.com> Switch stagefright's approach to prefetching to the new model. The java MediaPlayer is now notified about rebuffering start/end via info messages.

Change-Id: If8185ba329ce8b6663b1ad39a4efb0ad3be81df2
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/CachingDataSource.cpp
ibstagefright/DataSource.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/Prefetcher.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/Prefetcher.h
baef63d1ac0ec6f489f5e50d2a599ff96c1f44ba 11-Jun-2010 Andreas Huber <andih@google.com> Merge "Switch LiveSource to use the new http data source instead of the old one." into kraken
61ea6c1bc242841663cb6f3601f89fd929882d0b 11-Jun-2010 Andreas Huber <andih@google.com> Merge "Initial check-in of new caching/prefetching data source implementation." into kraken
3e072b354d1e1e3ee62d58492f0739139df8aff1 10-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for retrieving thumbnails to MTP content provider.

Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpCursor.cpp
tp/MtpCursor.h
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDevice.cpp
tp/MtpDevice.h
fee87d7b4e60d7541aa2cb0d31f5bdf4ca9e6475 10-Jun-2010 Andreas Huber <andih@google.com> am c90e35c1: am 8d300280: Merge "Support "pausing" of MediaSources with the effect that they no longer pull on their upstream source until a subsequent read-with-seek." into kraken
bca5a95ed7019605228d16c7cf583880c74a516d 10-Jun-2010 Andreas Huber <andih@google.com> am 3ee447e4: am 75c1c8e3: Merge "Initial check in of a new http data source implementation." into kraken
80737bac407a36e99267f65fe162b8e282822af4 10-Jun-2010 Andreas Huber <andih@google.com> Merge "Support "pausing" of MediaSources with the effect that they no longer pull on their upstream source until a subsequent read-with-seek." into kraken
6a350a967766a197c161e69185c48f642cbaa460 10-Jun-2010 Andreas Huber <andih@google.com> Merge "Initial check in of a new http data source implementation." into kraken
1370cbe385c4295471910aacbef51a8a65ce533d 10-Jun-2010 Andreas Huber <andih@google.com> Switch LiveSource to use the new http data source instead of the old one.

Change-Id: I9623c480628c495dbfbe02bdc6372724a107e2e8
ibstagefright/httplive/LiveSource.cpp
ibstagefright/include/LiveSource.h
d35bd5fb4e09c2cd8608497c279cbb2ef9c3a029 10-Jun-2010 Andreas Huber <andih@google.com> Support "pausing" of MediaSources with the effect that they no longer pull on their upstream source until a subsequent read-with-seek.

Change-Id: Ie4153a10ab36c1135f5fcfb572958129d886bcc3
ibstagefright/OMXCodec.cpp
5994b4798b01f3dd340577c9ea9657f09093a770 10-Jun-2010 Andreas Huber <andih@google.com> Initial check-in of new caching/prefetching data source implementation.

Change-Id: I97a6e3f03c69c9b1219f1f06bd109c0102f2c504
ibstagefright/NuCachedSource2.cpp
ibstagefright/include/NuCachedSource2.h
f0821faac01c41cb3eb0ec057443f1507e7afcb5 10-Jun-2010 Andreas Huber <andih@google.com> Initial check in of a new http data source implementation.

Change-Id: I17c358288ffe9ef690d702c58723c766d0a0cf21
ibstagefright/NuHTTPDataSource.cpp
ibstagefright/include/NuHTTPDataSource.h
0ef2bf5df731114fce7307dc881b69d198b6d933 08-Jun-2010 Mike Lockwood <lockwood@android.com> MTP provider: Add columns for MTP ObjectInfo dataset to the MTP objects table

Signed-off-by: Mike Lockwood <lockwood@android.com>

Change-Id: Ife0563ad1c3b3dbc2461e1a9e784cbb4653b3435
tp/MtpCursor.cpp
tp/MtpObjectInfo.cpp
9f58d24b9ab509733368bdf7f0a446855706092e 10-Jun-2010 James Dong <jdong@google.com> am 3aede37f: am 3a0b37a0: Merge "Remove the lock/unlock workaround from CameraService" into kraken
52ac6ea00252a153cb3aad9db1e3eaa559c3555a 10-Jun-2010 Andreas Huber <andih@google.com> am 7b909c05: am 66b89a62: Merge "Apparently the TI video decoder only supports H.264 up to baseline profile/level 3, not level 3.x as previously assumed." into kraken
decc91d5bc6e02acd52ca5bb6f87627285bb97c4 10-Jun-2010 James Dong <jdong@google.com> Merge "Remove the lock/unlock workaround from CameraService" into kraken
98c7c319907f4ed3915461ca62b1027590d351e5 10-Jun-2010 Andreas Huber <andih@google.com> Apparently the TI video decoder only supports H.264 up to baseline profile/level 3, not level 3.x as previously assumed.

Change-Id: I4a9aa80f392dbef72f81e25c67e5bd0654848b2c
ibstagefright/OMXCodec.cpp
9d7f58a7da8502a4174a17ac49fcba6efa35a457 10-Jun-2010 James Dong <jdong@google.com> Remove the lock/unlock workaround from CameraService

bug - 2677772

Change-Id: I7c996daad8b3bfc89e9fa2d655dc18c9a5c68f2f
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
7bd3e384115fdcff79c9a7fd868a12f73ab6ad71 08-Jun-2010 James Dong <jdong@google.com> am d49c9818: am c44c4742: Merge "Remove some hard-coded encoding parameters" into kraken
ddcc4a66d848deef6fb4689e64e30cd9bd2684fe 08-Jun-2010 James Dong <jdong@google.com> Remove some hard-coded encoding parameters

Change-Id: I7a8ccd5d57891a6a585c8da2ee53acb094955913
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
ibstagefright/OMXCodec.cpp
88a1303d406f8d87f4d0c54e319f66474c382062 08-Jun-2010 James Dong <jdong@google.com> am 15c0c098: am dae9fd31: Initial check-in for collecting stats from authoring engine at runtime
365a963142093a1cd8efdcea76b5f65096a5b115 04-Jun-2010 James Dong <jdong@google.com> Initial check-in for collecting stats from authoring engine at runtime

Change-Id: I93a9d8bd260efc5e7fc135b726e3f1307c6df794
ibstagefright/AudioSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
5334b838b178b5d6c82c41e190001a704e40d0e7 08-Jun-2010 James Dong <jdong@google.com> am ef2ad683: am 31b19758: Merge "Second part of speeding up video recording frame rate" into kraken
d81f03285f91fa11fe83a11b8f783fa506347038 08-Jun-2010 Andreas Huber <andih@google.com> am ae9348bc: am 097da964: Merge "Initial checkin of preliminary rtsp support for stagefright." into kraken
cc2fc006594cccbf1a58a2933c1d18cf0f2e021f 08-Jun-2010 James Dong <jdong@google.com> Merge "Second part of speeding up video recording frame rate" into kraken
d07139e2e817a9b3ae9c87ba4e1e8d65d3e549da 07-Jun-2010 James Dong <jdong@google.com> Second part of speeding up video recording frame rate

1. Avoid copying the input recording frames to the encoder via OMX interface
for TI video encoder
This is a missing change for part one which help reduces the CPU load.

2. Release output buffers as early as possible. This is a little bit helpful, but not critical.

TODO:
We should save the underlying pointers allocated by the OMX component before we replace them
and restore them before we call OMX_FreeBuffer()!

Change-Id: Ib3a88978f4c3b1153808872eaa7ac4c265a811ff
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
6a2736ba7bc19947a6c0bff4dca50595baa78b37 08-Jun-2010 Kenny Root <kroot@google.com> Include stdlib to fix sim build

Change-Id: I7732461a9351f53f9ddadcfb26485f2e553e056b
tp/mtp.h
cf7b9c7aae758ac0b99833915053c63c2ac46e09 08-Jun-2010 Andreas Huber <andih@google.com> Initial checkin of preliminary rtsp support for stagefright.

Change-Id: I0722aa888098c0c1361c97a4c1b123d910afc207
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/ARTSPController.h
ibstagefright/include/AwesomePlayer.h
ibstagefright/rtsp/AAVCAssembler.cpp
ibstagefright/rtsp/AAVCAssembler.h
ibstagefright/rtsp/AMPEG4AudioAssembler.cpp
ibstagefright/rtsp/AMPEG4AudioAssembler.h
ibstagefright/rtsp/APacketSource.cpp
ibstagefright/rtsp/APacketSource.h
ibstagefright/rtsp/ARTPAssembler.cpp
ibstagefright/rtsp/ARTPAssembler.h
ibstagefright/rtsp/ARTPConnection.cpp
ibstagefright/rtsp/ARTPConnection.h
ibstagefright/rtsp/ARTPSource.cpp
ibstagefright/rtsp/ARTPSource.h
ibstagefright/rtsp/ARTSPConnection.cpp
ibstagefright/rtsp/ARTSPConnection.h
ibstagefright/rtsp/ARTSPController.cpp
ibstagefright/rtsp/ASessionDescription.cpp
ibstagefright/rtsp/ASessionDescription.h
ibstagefright/rtsp/Android.mk
ibstagefright/rtsp/MyHandler.h
ibstagefright/rtsp/MyTransmitter.h
ibstagefright/rtsp/VideoSource.h
3c982296642ebc76095aa5843419c00e1835c883 08-Jun-2010 Andreas Huber <andih@google.com> am 6fa5360e: am 2cbff0ed: Merge "Initial checkin of preliminary support for "http live" streaming in stagefright." into kraken
e71d10e7ad55ccbcb0756c007caef1c959090384 07-Jun-2010 Andreas Huber <andih@google.com> Initial checkin of preliminary support for "http live" streaming in stagefright.

Change-Id: I20399f63d63af86a3ba22641c0e43385a108fb3f
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/httplive/Android.mk
ibstagefright/httplive/LiveSource.cpp
ibstagefright/httplive/M3UParser.cpp
ibstagefright/include/LiveSource.h
ibstagefright/include/M3UParser.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
800ff059909565e8ad249e2b8e39e3cf0299fab0 07-Jun-2010 Andreas Huber <andih@google.com> am f7d1c542: am a557b24a: Initial checkin of mpeg2 transport stream parser for stagefright.
cda17c606b0fe3ccda4dc68a6d43882410ea2462 07-Jun-2010 Andreas Huber <andih@google.com> Initial checkin of mpeg2 transport stream parser for stagefright.

Change-Id: I328ce77404daf7127933b48c9d58ed504fb8fc6f
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/include/MPEG2TSExtractor.h
ibstagefright/mpeg2ts/ABitReader.cpp
ibstagefright/mpeg2ts/ABitReader.h
ibstagefright/mpeg2ts/ATSParser.cpp
ibstagefright/mpeg2ts/ATSParser.h
ibstagefright/mpeg2ts/Android.mk
ibstagefright/mpeg2ts/AnotherPacketSource.cpp
ibstagefright/mpeg2ts/AnotherPacketSource.h
ibstagefright/mpeg2ts/MPEG2TSExtractor.cpp
2ac79b6af2477f71c75e2e623906de323a4c18ca 07-Jun-2010 Andreas Huber <andih@google.com> am cd4961d9: am 455d4100: Merge "Initial checkin of "foundation" library for future stagefright development." into kraken
c46e8b9fdce32bafb0b84cdb16affbdd35c2e3ba 07-Jun-2010 Andreas Huber <andih@google.com> Merge "Initial checkin of "foundation" library for future stagefright development." into kraken
952a80cf85a0e3cba02ab46dbb7007ed666a9a06 07-Jun-2010 James Dong <jdong@google.com> am f520c763: am 7a68d368: Merge "Remove hard-coded pixel format for recording frames in CameraSource. Retrieve the pixel format from Camera HAL at runtime." into kraken
72961230a5890071bcca436eb5630172ce84ec41 07-Jun-2010 Andreas Huber <andih@google.com> Initial checkin of "foundation" library for future stagefright development.

Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3
ibstagefright/foundation/AAtomizer.cpp
ibstagefright/foundation/ABuffer.cpp
ibstagefright/foundation/ADebug.cpp
ibstagefright/foundation/ALooper.cpp
ibstagefright/foundation/ALooperRoster.cpp
ibstagefright/foundation/AMessage.cpp
ibstagefright/foundation/AString.cpp
ibstagefright/foundation/Android.mk
ibstagefright/foundation/base64.cpp
ibstagefright/foundation/hexdump.cpp
c00d6f3ffc0eace26954e1863568820bd21794c0 07-Jun-2010 James Dong <jdong@google.com> Merge "Remove hard-coded pixel format for recording frames in CameraSource. Retrieve the pixel format from Camera HAL at runtime." into kraken
a6c490b8b2d96ebaab632286029463f932ae3b6b 06-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: host support for retrieving device property descriptors

Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDevice.cpp
tp/MtpDevice.h
tp/MtpDeviceInfo.cpp
tp/MtpObjectInfo.cpp
tp/MtpProperty.cpp
tp/MtpProperty.h
tp/MtpStorageInfo.cpp
tp/MtpTypes.h
ab372f6738b7de287f9a9fa7e3ecb70a46ada359 04-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: Add support for host cancellation of file transfers."
916076c6d84dac9b104fbdf94af5dcd7bce669fd 04-Jun-2010 Mike Lockwood <lockwood@android.com> MTP: Add support for host cancellation of file transfers.

Change-Id: I72df423f8017286e41adae525e6fbcb6b8440687
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpServer.cpp
tp/MtpServer.h
fc499ca2babff1315d0188ddfbe0268fe5d5e8ae 04-Jun-2010 Eric Laurent <elaurent@google.com> am 030a1553: am 2ea200c5: Merge "Issue 2667801: [Audio Effect Framework] AudioFlinger, AudioMixer AudioTrack modifications." into kraken
dea96b8d54daf9ef76beb7e72e69c9f1c923c1d8 04-Jun-2010 Eric Laurent <elaurent@google.com> Merge "Issue 2667801: [Audio Effect Framework] AudioFlinger, AudioMixer AudioTrack modifications." into kraken
c8ca7dafbeef10218371bdfa13a76525c593343a 04-Jun-2010 Doug Kwan <dougkwan@google.com> Add missing library to linker command line.

Change-Id: Ia9ddf6e6bb5e72c32372a2f460806b6cbb7ec660
tp/Android.mk
503f034df11972458cb980d2f4b70894b211b02f 04-Jun-2010 Jing Yu <jingyu@google.com> Add missing libraries, in order for gold to work.

gold is more strict than ld. If building A depends on libB directly,
we must specify -lB at link time.

Change-Id: Iac7cec58cbae5e0cbcfc9adab924db6733192d20
tp/Android.mk
e937a6c22bec098ecc0b108fb8cb0fc77b4aa8e0 04-Jun-2010 Andreas Huber <andih@google.com> am 17dabbdf: am b8c7548d: am e896d416: am 2e3761ba: Merge "Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle." into froyo
c1640f49abb1efc31a5fb985cfde73913cebbe8b 04-Jun-2010 Andreas Huber <andih@google.com> am e896d416: am 2e3761ba: Merge "Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle." into froyo

Merge commit 'e896d41699ffe7be932102d7ccc9566f41ddb447' into kraken

* commit 'e896d41699ffe7be932102d7ccc9566f41ddb447':
Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle.
ebe43b342205674c559edf68dfa2b51bbf71189b 04-Jun-2010 Andreas Huber <andih@google.com> am 2e3761ba: Merge "Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle." into froyo

Merge commit '2e3761ba43f634e97ac493f4b79e5e53954a1491' into froyo-plus-aosp

* commit '2e3761ba43f634e97ac493f4b79e5e53954a1491':
Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle.
ddc43521f9e15b15edc6f7dce0965483f6a0f820 03-Jun-2010 Andreas Huber <andih@google.com> Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle.

Change-Id: I03dbdac3cd250340059ea43b341129b30acce4e2
related-to-bug: 2736779
ibstagefright/Prefetcher.cpp
653252be963c07c99109d20f942d1f30c52a9360 03-Jun-2010 James Dong <jdong@google.com> Remove hard-coded pixel format for recording frames in CameraSource.
Retrieve the pixel format from Camera HAL at runtime.

Change-Id: I63f820f54c59c2019dfd195320b9928da3362536
ibstagefright/CameraSource.cpp
42c7a3ef66ba4972e3068501bf292d541b03a871 03-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "Prototype Content Provider support for MTP/PTP devices."
be916aa1267e2e6b1c148f51d11bcbbc79cb864c 02-Jun-2010 Eric Laurent <elaurent@google.com> Issue 2667801: [Audio Effect Framework] AudioFlinger, AudioMixer AudioTrack modifications.

First drop of audio framework modifications for audio effects support.

- AudioTrack/AudioRecord:
Added support for auxiliary effects in AudioTrack
Added support for audio sessions
Fixed left right channel inversion in setVolume()

- IAudioFlinger:
Added interface methods for effect enumeraiton and instantiation
Added support for audio sessions.

- IAudioTrack:
Added method to attach auxiliary effect.

- AudioFlinger
Created new classes to control effect engines in effect library and manage effect connections to tracks or
output mix:
EffectModule: wrapper object controlling the effect engine implementation in the effect library. There
is one EffectModule per instance of an effect in a given audio session
EffectChain: group of effects associated to one audio session. There is one EffectChain per audio session.
EffectChain for session 0 is for output mix effects, other chains are attached to audio tracks
with same session ID. Each chain contains a variable number of EffectModules
EffectHandle: implements the IEffect interface. There is one EffectHandle object for each application
controlling (or using) an effect module. THe EffectModule maintians a list of EffectHandles.

Added support for effect modules and effect chains creation in PlaybackThread.
modified mixer thread loop to allow track volume control by effect modules and call effect processing.

-AudioMixer
Each track now specifies its output buffer used by mixer for accumulation
Modified mixer process functions to process tracks by groups of tracks with same buffer
Modified track process functions to support accumulation to auxiliary channel

Change-Id: I26d5f7c9e070a89bdd383e1a659f8b7ca150379c
ibeffects/EffectEqualizer.cpp
ibeffects/EffectReverb.c
ibeffects/EffectReverb.h
ibeffects/EffectsFactory.c
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioTrack.cpp
5ed68d29a140e14c8d46980fa844548eb33b1e87 26-May-2010 Mike Lockwood <lockwood@android.com> Prototype Content Provider support for MTP/PTP devices.

At this point much of the plumbing is in place, but only a few simple queries
are supported.
This is enough to support a proof of concept sample program that navigates
the file hierarchy of a digital camera connected via USB.

Also removed obsolete ptptest host test program.

Change-Id: I17644344b9f0ce1ecc302bc0478c1f3d44a1647f
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpClient.cpp
tp/MtpClient.h
tp/MtpCursor.cpp
tp/MtpCursor.h
tp/MtpDevice.cpp
tp/MtpDevice.h
tp/MtpTypes.h
tp/ptptest.cpp
62affddfac747b61a71c8e16164eaa7dbffa648e 02-Jun-2010 Andreas Huber <andih@google.com> am 7bd9a6a5: am eaeae4ab: A debugging DataSource artifically limiting the available bandwidth.
c282e3eee921453fc9188705b4879d6289b71f9c 01-Jun-2010 Andreas Huber <andih@google.com> A debugging DataSource artifically limiting the available bandwidth.

Change-Id: I4ca75337a52599d211ea066fd94e649748df052d
ibstagefright/Android.mk
ibstagefright/ThrottledSource.cpp
ibstagefright/include/ThrottledSource.h
77995c32095cc192823de3eedf0d5a404fbca72e 28-May-2010 James Dong <jdong@google.com> am 46e70361: am 46441198: Merge "Avoid copying for input recording frames in CameraSource" into kraken
aed27b016043c9f2cb33cf851f20698130be110c 28-May-2010 James Dong <jdong@google.com> Merge "Avoid copying for input recording frames in CameraSource" into kraken
7278cf32f1aa6a322f6dff1f8b7dacf7b6dddba6 28-May-2010 James Dong <jdong@google.com> Avoid copying for input recording frames in CameraSource

This is the part one.

- Let CameraSource be a MediaBufferObserver. It releases the recording frame when the ref count of a MediaBuffer containing
the recording frame drops to 0.

This reduces the CPU load from 90+% down to 50-60%.

Part two is related to the avoidance of copying the input video frames to the video encoder.
However, we are not able to use OMX_UseBuffer directly. Still work on the second part.

Change-Id: I906f1d054ae8bdcf82e1617f1fc120152f2eb2eb
ibstagefright/CameraSource.cpp
22e4368f432e9addfeae2ff299200b02106abe4b 28-May-2010 Andreas Huber <andih@google.com> am 2b4bc19e: am 1a35e612: Merge "Better sniffing of MPEG4 content by checking for a compatible sub-brand." into kraken
1b52bd2874aef6c9cbc141f1cff5205830515f7d 27-May-2010 Andreas Huber <andih@google.com> Better sniffing of MPEG4 content by checking for a compatible sub-brand.

Change-Id: I076908822ad0e663b9932e61fb33edc12c2e1948
related-to-bug: 2673192
ibstagefright/MPEG4Extractor.cpp
b1cc947fcb88364ff02a08b1451aa44df560c815 27-May-2010 Andreas Huber <andih@google.com> am 215aeda9: am 2cb138db: Merge "After failing to create an AudioTrack, only stop the source if we were the ones starting it." into kraken
8a74f1bc3f64943cafdc7c6c7e1900b4a3e9e4b1 27-May-2010 Andreas Huber <andih@google.com> Merge "After failing to create an AudioTrack, only stop the source if we were the ones starting it." into kraken
af4583e1478511b47b8464696cd9217b92343e23 27-May-2010 James Dong <jdong@google.com> am cd9cdf8d: am 407f98bf: Remove the logic in CameraSource using CameraParameters class to find out the buffer size.
a7414ea2c7dfea7d2428ce543bd6331d6c56aead 27-May-2010 James Dong <jdong@google.com> Remove the logic in CameraSource using CameraParameters class to find out the buffer size.

Change-Id: I76eea76bda49529d08b46241d3dded1a804f891c
ibstagefright/CameraSource.cpp
a47e14e20e2c97955ac116b4f229316fe9c88e53 27-May-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO."
3415c34b3a3224d042761d646ef0bdd7e8af0a1b 27-May-2010 James Dong <jdong@google.com> am 9407fb80: am 1090a29d: Merge "Avoid repeatedly allocating and freeing memory in CameraSource" into kraken
5b39604a55f1624ced347da7b790c4206d2d999f 27-May-2010 James Dong <jdong@google.com> Merge "Avoid repeatedly allocating and freeing memory in CameraSource" into kraken
cbe48a0678729eb863b259b4744e6ad12faf0475 20-May-2010 James Dong <jdong@google.com> Avoid repeatedly allocating and freeing memory in CameraSource

Change-Id: Ia3760820da0559e4e908dedae1f1df05f9a6a242
ibstagefright/CameraSource.cpp
bd703cbcb006e4da7a4536e47faaf17d49de578a 26-May-2010 Andreas Huber <andih@google.com> am 1c12511f: am a08d8523: Merge "Convert a number of assertions into runtime errors (OggExtractor)" into kraken
69ec58ee5216ad4eabc7775762c2468c42b632fb 26-May-2010 Andreas Huber <andih@google.com> After failing to create an AudioTrack, only stop the source if we were the ones starting it.

Change-Id: I1820c2634cfeb01af9eaf11b6473c5d7b87d1fa3
related-to-bug: 2716035
ibstagefright/AudioPlayer.cpp
5a4001ddb2536d65d966970fc0579bf6bd11b5a0 26-May-2010 Andreas Huber <andih@google.com> Convert a number of assertions into runtime errors (OggExtractor)

Change-Id: I8fcaec927d7b72e9d61cb7283e54523711980268
ibstagefright/OggExtractor.cpp
c8ed34f573a1a0391e3a235fa009a2bc7dc8b526 26-May-2010 Andreas Huber <andih@google.com> am e08d5ccf: am a581a776: Merge "Squashed commit of the following:" into kraken
d3d7fd46a5ba6364a9f65738edfa7aa6b11d9658 26-May-2010 Eric Laurent <elaurent@google.com> am 83904eb5: am 27a308d3: Merge "Fix issue 2667797: [Audio Effect Framework] new base class and binder interfaces for effect control." into kraken
1a9b892400dae0f63b4fd502770154a06e23b01b 26-May-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:" into kraken
2dadcda205d995f7094b7569b076921872505143 26-May-2010 Eric Laurent <elaurent@google.com> Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO.

The problem is that when an input stream is opened for record over bluetooth SCO, the kernel
mono audio device should be opened in RW mode to allow further use of this same device by an output stream
also routed to bluetooth SCO.
This does not happen because of a bug in AudioSystem::isBluetoothScoDevice() that does not return true
when the device is DEVICE_IN_BLUETOOTH_SCO_HEADSET (input device for blurtooth SCO).

Change-Id: I9100e972931d8142295c7d64ec06e31304407586
ibmedia/AudioSystem.cpp
2941c27e381ebda1cecff9fca2a67bba999e46e4 26-May-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2667797: [Audio Effect Framework] new base class and binder interfaces for effect control." into kraken
66429841d61504ba173a0b4296ee567a89b64411 25-May-2010 Andreas Huber <andih@google.com> am 779b9b82: am f7617d36: Merge "Support for thumbnail extraction in the Matroska extractor." into kraken
6c3a699ef1c885e39d9b697fae7304455e8d9f83 25-May-2010 Andreas Huber <andih@google.com> Merge "Support for thumbnail extraction in the Matroska extractor." into kraken
5279d1d8c19e5fdbb177805db0da8e8aadac3079 25-May-2010 Andreas Huber <andih@google.com> Support for thumbnail extraction in the Matroska extractor.

Change-Id: I56f13fc4868baffe0bb8c2484d2753c766a73960
related-to-bug: 2483739
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/MatroskaExtractor.h
4691e130b768981f41e01b78241cc0a592716cc9 25-May-2010 Eric Laurent <elaurent@google.com> am e205dd34: am 06169761: Merge "Fix the simulator build broken by commit 5fe37c6838de9fbd959ad19ba44aa3d00d1b4e6f" into kraken
8b5a7566b0ad7be6b165eae8d6af3a0bbded77e0 25-May-2010 Eric Laurent <elaurent@google.com> Merge "Fix the simulator build broken by commit 5fe37c6838de9fbd959ad19ba44aa3d00d1b4e6f" into kraken
17217ab46e12fbdaad9e1d7460c48937f76fa0e2 25-May-2010 Eric Laurent <elaurent@google.com> Fix the simulator build broken by commit 5fe37c6838de9fbd959ad19ba44aa3d00d1b4e6f

Change-Id: Ibf6aebfec60cd7f807c3e49f0dbb5ab8e86bcdc1
ibeffects/EffectEqualizer.cpp
ibeffects/EffectsFactory.c
1d78a86dc5e13f8e705ac0cc9842a4ce82c0d333 25-May-2010 Andreas Huber <andih@google.com> am 1a777cd4: am c6c62e12: Support for ogg(vorbis) metadata in stagefright including album art.
4595be952e3b1d6776a023e3f447c057797f1505 25-May-2010 Andreas Huber <andih@google.com> Support for ogg(vorbis) metadata in stagefright including album art.

Change-Id: I0c8c0136cebe2d2d97caabb7bc0c65be86329dbb
related-to-bug: 2713414
ibstagefright/OggExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
6fea5650d157dd3ee65219926b131a97335c9731 25-May-2010 Mike Lockwood <lockwood@android.com> Merge "MTP: adjust ptptest app for changes in libusbhost API."
fb570477389cf6157358df21945f22bc16d169f4 25-May-2010 Mike Lockwood <lockwood@android.com> MTP: adjust ptptest app for changes in libusbhost API.

Change-Id: I775e08c851a55d775b532129be11fb19515fbf6e
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/ptptest.cpp
d71a1be83ff31cdb6599c351f9832cefc8d447ba 21-May-2010 Eric Laurent <elaurent@google.com> Fix issue 2667797: [Audio Effect Framework] new base class and binder interfaces for effect control.

Added IEffect and IEffectClient binder interfaces to exchange effect module control
and status information between application and media server processes.

Change-Id: I10e8e894898e52ed9956a765d0ef7075eb2593af
ibmedia/Android.mk
ibmedia/IEffect.cpp
ibmedia/IEffectClient.cpp
66da161d93d56ffe474cd472c5113aaa4dd09490 25-May-2010 Eric Laurent <elaurent@google.com> am 1b88fb16: am cf3fa85c: Merge "Fix issue 2667796: [Audio Effect Framework] Effect factory and libraries." into kraken
9bca89d50d0c51d8e3f3e74d610b7d9a2dc98ed3 25-May-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2667796: [Audio Effect Framework] Effect factory and libraries." into kraken
4d1265cd007b9754d0645bc4fb95701140a45648 24-May-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit a2194ecc341fa0c530d0007d8561286c8b8f2d15
Author: Andreas Huber <andih@google.com>
Date: Fri May 21 12:50:09 2010 -0700

Instead of including the libvpx libraries prebuilt in our tree, build them from sources.

Change-Id: I5ec57decf1200cf9137fe13ff77d06f47950c3d7

commit 711098ca3f16800a22ccdb26a07e57e471cca438
Author: Andreas Huber <andih@google.com>
Date: Thu May 20 15:00:27 2010 -0700

Support for VPX/VP8 decoding in stagefright

Change-Id: I16d93faf3f56a5f8ec39c14367704469f914db9e
related-to-bug: 2483739

Change-Id: Ibc124f6af540c2715cb2325151eecdd6edf085ec
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/on2/Android.mk
ibstagefright/codecs/on2/dec/Android.mk
ibstagefright/codecs/on2/dec/VPXDecoder.cpp
ibstagefright/include/VPXDecoder.h
469e90988b37e13033414f68e2bae740f7c8ba1f 24-May-2010 James Dong <jdong@google.com> am f09cab8c: am 6c537e53: Merge "Properly handle start code in H264/AVC encoder output" into kraken
1cb8fa1e670786bf83ccde7571c5ac1fc087d4f1 24-May-2010 James Dong <jdong@google.com> Merge "Properly handle start code in H264/AVC encoder output" into kraken
8c32d377ad033fcb3b087d36e3b27a78d62233f9 24-May-2010 Andreas Huber <andih@google.com> am ec5f8241: am cbcf8f63: Interestingly, a call to fseek with a NULL file handle now blocks forever...
3d8055ac96170de7a8c49b9ffbe83ed447ccddce 24-May-2010 Andreas Huber <andih@google.com> Interestingly, a call to fseek with a NULL file handle now blocks forever...

Change-Id: Ic80c579abcf2bdb73f7fd1da713649b7c7f25f56
ibstagefright/FileSource.cpp
f50948ce4ecb579ad1bf3d9c618884ec4c7b60ed 21-May-2010 Andreas Huber <andih@google.com> am 132f46ff: am df17b084: Merge "Support for media extraction from .mkv/.mka Matroska files in stagefright." into kraken
26fe83eb91aada45a75054753d4782e6bfc2fd04 21-May-2010 Andreas Huber <andih@google.com> Merge "Support for media extraction from .mkv/.mka Matroska files in stagefright." into kraken
135ad07e33d30e5202deb21061a0e3ecf0ffad35 21-May-2010 Eric Laurent <elaurent@google.com> Fix issue 2667796: [Audio Effect Framework] Effect factory and libraries.

First effect factory and effect library API implementation.
Also added default effect libraries for reverb and equalizer effects.
These libraries are for functional test only and are not fine tuned with
regard to audio quality. They will probably be replaced by other implementations
before the release.

Change-Id: I6868f8612146ae282c64052765c61a52ec789ec8
ibeffects/Android.mk
ibeffects/AudioBiquadFilter.cpp
ibeffects/AudioBiquadFilter.h
ibeffects/AudioCoefInterpolator.cpp
ibeffects/AudioCoefInterpolator.h
ibeffects/AudioCommon.h
ibeffects/AudioEqualizer.cpp
ibeffects/AudioEqualizer.h
ibeffects/AudioFormatAdapter.h
ibeffects/AudioHighShelfFilterCoef.inl
ibeffects/AudioLowShelfFilterCoef.inl
ibeffects/AudioPeakingFilter.cpp
ibeffects/AudioPeakingFilter.h
ibeffects/AudioPeakingFilterCoef.inl
ibeffects/AudioShelvingFilter.cpp
ibeffects/AudioShelvingFilter.h
ibeffects/EffectEqualizer.cpp
ibeffects/EffectReverb.c
ibeffects/EffectReverb.h
ibeffects/EffectsFactory.c
ibeffects/EffectsFactory.h
ibeffects/EffectsMath.c
ibeffects/EffectsMath.h
e136c3bb38e88315bf8797a464ebf2c788296b22 21-May-2010 James Dong <jdong@google.com> Properly handle start code in H264/AVC encoder output

- Some H264/AVC encoder output start code in each output buffer, and others don't.
This patch always strips the start code first so that the sample contains the correct size.
- Also properly initialize the interleave duration.

Change-Id: I692043ce7e38f0215e1097aad9e847a57907b6e4
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/MPEG4Writer.cpp
6eb38be7bd51b1a480d1169f9b056cd78ebb0f39 21-May-2010 Andreas Huber <andih@google.com> am e932ea5d: am c05ab485: Merge "Update software AVC decoder to no longer require the kWantsNALFragments hack." into kraken
c02138636202d606ca4cfec2297e057e9158db7d 21-May-2010 Andreas Huber <andih@google.com> Merge "Update software AVC decoder to no longer require the kWantsNALFragments hack." into kraken
093437c388e5dff6903a3d43f2ca9f8a1ba4744a 20-May-2010 Andreas Huber <andih@google.com> Support for media extraction from .mkv/.mka Matroska files in stagefright.

Change-Id: I4c26579828ad575523ccf58b0b5cb144046c04ca
related-to-bug: 2483739
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/matroska/Android.mk
ibstagefright/matroska/MatroskaExtractor.cpp
ibstagefright/matroska/MatroskaExtractor.h
ibstagefright/matroska/mkvparser.cpp
ibstagefright/matroska/mkvparser.hpp
528b31476c16aefc4f886bf17b6d8bb4bd21292e 13-May-2010 Andreas Huber <andih@google.com> Update software AVC decoder to no longer require the kWantsNALFragments hack.

Change-Id: I7f1882530a891a57d0cd76cbbd7084ee31c59bd1
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
471686a7fb8fe890ebff4069360a994630587876 20-May-2010 James Dong <jdong@google.com> am 91b9e5fb: am 85bc1192: Merge "Workaround for preview frame rate setting and encoder profile and level settings on passion 1. QCOM camera HAL does not honor the preview frame rate set request. see bug - 2701282 2. QCOM video encoder has lots of 0-length output buffe
af991a9b24865af8b17c6282047638cf00466ea2 20-May-2010 James Dong <jdong@google.com> Merge "Workaround for preview frame rate setting and encoder profile and level settings on passion 1. QCOM camera HAL does not honor the preview frame rate set request. see bug - 2701282 2. QCOM video encoder has lots of 0-length output buffers if the default level setting is changed. see bug - 2660974" into kraken
7405500bb3b5f8e8e739e344bc9d036c2736fcdf 20-May-2010 James Dong <jdong@google.com> Workaround for preview frame rate setting and encoder profile and level settings on passion
1. QCOM camera HAL does not honor the preview frame rate set request. see bug - 2701282
2. QCOM video encoder has lots of 0-length output buffers if the default level setting is changed. see bug - 2660974

Change-Id: Id01d94bb77dc242c4712d56a91b0d69a96ba6c2f
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/OMXCodec.cpp
d997b26ad192788b4817b8b8eefb78ad7f57e17b 20-May-2010 Andreas Huber <andih@google.com> am 2130fc82: am c6a16327: am 3c16154a: am 2723e092: Merge "Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize." into froyo
cf14f10b7bf39a84205333b87d5c5b7db9598de3 20-May-2010 Andreas Huber <andih@google.com> am 3c16154a: am 2723e092: Merge "Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize." into froyo

Merge commit '3c16154a3309fe250177d69f3fcd5b6e9a82d1b3' into kraken

* commit '3c16154a3309fe250177d69f3fcd5b6e9a82d1b3':
Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize.
8fe7fa8f90e52cab210ec1de861f2d8ac9435968 20-May-2010 Andreas Huber <andih@google.com> am 2723e092: Merge "Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize." into froyo

Merge commit '2723e09229ce916724861ab90b6b8fc7c9ea9f2e' into froyo-plus-aosp

* commit '2723e09229ce916724861ab90b6b8fc7c9ea9f2e':
Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize.
139a5d5bd33c9fc7708d0a79f11ee928f7796e6b 20-May-2010 Andreas Huber <andih@google.com> Better handling of codec initialization failure in the player and thumbnail extractor. Return a runtime error instead of asserting if the software MPEG4/H.263 decoder fails to initialize.

Change-Id: I5cba02ee85a41e43c2623053de40f26e2cf2efe4
related-to-bug: 2699505
ibstagefright/AwesomePlayer.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
53c2d333d3fac046992407c6135f2714a9aa569c 19-May-2010 James Dong <jdong@google.com> am 84b6cd92: am 4414b9ad: Merge "Initial software encoder checkins" into kraken
e13401bf532c7e4bf9ab82c7e9b13642838a927d 19-May-2010 Mike Lockwood <lockwood@android.com> PTP host: Implement getObjectHandles and getObjectInfo commands

Change-Id: I3ff6e52237f400b4e50c534a1f964c80789bfe98
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpClient.cpp
tp/MtpClient.h
tp/MtpObjectInfo.cpp
tp/MtpObjectInfo.h
tp/MtpPacket.cpp
tp/MtpServer.cpp
tp/MtpTypes.h
tp/mtp.h
tp/ptptest.cpp
335dd2be955607f2632eabc25045857f2cc8b674 19-May-2010 Mike Lockwood <mike@spruce.(none)> More work on PTP host support.

Change-Id: Ifbd5bd5efa3cdb750ae1a2aae38181457554d34d
Signed-off-by: Mike Lockwood <mike@spruce.(none)>
tp/Android.mk
tp/MtpClient.cpp
tp/MtpClient.h
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.cpp
tp/MtpDatabase.h
tp/MtpDebug.h
tp/MtpDeviceInfo.cpp
tp/MtpDeviceInfo.h
tp/MtpMediaScanner.cpp
tp/MtpPacket.cpp
tp/MtpPacket.h
tp/MtpStorageInfo.cpp
tp/MtpStorageInfo.h
tp/MtpTypes.h
tp/MtpUtils.cpp
tp/MtpUtils.h
tp/mtp.h
tp/ptptest.cpp
956c553ab0ce72f8074ad0fda2ffd66a0305700c 15-May-2010 James Dong <jdong@google.com> Initial software encoder checkins

Change-Id: I27f387db23594e46384c4eb3a0093ce220bb6b60
ibstagefright/Android.mk
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacenc/AACEncoder.cpp
ibstagefright/codecs/aacenc/Android.mk
ibstagefright/codecs/aacenc/SampleCode/AAC_E_SAMPLES.c
ibstagefright/codecs/aacenc/SampleCode/Android.mk
ibstagefright/codecs/aacenc/SampleCode/eclair/Makefile
ibstagefright/codecs/aacenc/SampleCode/ms.mk
ibstagefright/codecs/aacenc/Tools/doit.mk
ibstagefright/codecs/aacenc/Tools/eclair.mk
ibstagefright/codecs/aacenc/basic_op/basic_op.h
ibstagefright/codecs/aacenc/basic_op/basicop2.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.c
ibstagefright/codecs/aacenc/basic_op/oper_32b.h
ibstagefright/codecs/aacenc/basic_op/typedef.h
ibstagefright/codecs/aacenc/basic_op/typedefs.h
ibstagefright/codecs/aacenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/aacenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/aacenc/build/eclair/makefile
ibstagefright/codecs/aacenc/build/ms.mk
ibstagefright/codecs/aacenc/doc/voAACEncoderSDK.pdf
ibstagefright/codecs/aacenc/inc/aac_rom.h
ibstagefright/codecs/aacenc/inc/aacenc_core.h
ibstagefright/codecs/aacenc/inc/adj_thr.h
ibstagefright/codecs/aacenc/inc/adj_thr_data.h
ibstagefright/codecs/aacenc/inc/band_nrg.h
ibstagefright/codecs/aacenc/inc/bit_cnt.h
ibstagefright/codecs/aacenc/inc/bitbuffer.h
ibstagefright/codecs/aacenc/inc/bitenc.h
ibstagefright/codecs/aacenc/inc/block_switch.h
ibstagefright/codecs/aacenc/inc/channel_map.h
ibstagefright/codecs/aacenc/inc/config.h
ibstagefright/codecs/aacenc/inc/dyn_bits.h
ibstagefright/codecs/aacenc/inc/grp_data.h
ibstagefright/codecs/aacenc/inc/interface.h
ibstagefright/codecs/aacenc/inc/line_pe.h
ibstagefright/codecs/aacenc/inc/memalign.h
ibstagefright/codecs/aacenc/inc/ms_stereo.h
ibstagefright/codecs/aacenc/inc/pre_echo_control.h
ibstagefright/codecs/aacenc/inc/psy_configuration.h
ibstagefright/codecs/aacenc/inc/psy_const.h
ibstagefright/codecs/aacenc/inc/psy_data.h
ibstagefright/codecs/aacenc/inc/psy_main.h
ibstagefright/codecs/aacenc/inc/qc_data.h
ibstagefright/codecs/aacenc/inc/qc_main.h
ibstagefright/codecs/aacenc/inc/quantize.h
ibstagefright/codecs/aacenc/inc/sf_estim.h
ibstagefright/codecs/aacenc/inc/spreading.h
ibstagefright/codecs/aacenc/inc/stat_bits.h
ibstagefright/codecs/aacenc/inc/tns.h
ibstagefright/codecs/aacenc/inc/tns_func.h
ibstagefright/codecs/aacenc/inc/tns_param.h
ibstagefright/codecs/aacenc/inc/transform.h
ibstagefright/codecs/aacenc/patent_disclaimer.txt
ibstagefright/codecs/aacenc/src/aac_rom.c
ibstagefright/codecs/aacenc/src/aacenc.c
ibstagefright/codecs/aacenc/src/aacenc_core.c
ibstagefright/codecs/aacenc/src/adj_thr.c
ibstagefright/codecs/aacenc/src/asm/ARMV5E/AutoCorrelation_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/CalcWindowEnergy_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/PrePostMDCT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/R4R8First_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/Radix4FFT_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV5E/band_nrg_v5.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/PrePostMDCT_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/R4R8First_v7.s
ibstagefright/codecs/aacenc/src/asm/ARMV7/Radix4FFT_v7.s
ibstagefright/codecs/aacenc/src/band_nrg.c
ibstagefright/codecs/aacenc/src/bit_cnt.c
ibstagefright/codecs/aacenc/src/bitbuffer.c
ibstagefright/codecs/aacenc/src/bitenc.c
ibstagefright/codecs/aacenc/src/block_switch.c
ibstagefright/codecs/aacenc/src/channel_map.c
ibstagefright/codecs/aacenc/src/dyn_bits.c
ibstagefright/codecs/aacenc/src/grp_data.c
ibstagefright/codecs/aacenc/src/interface.c
ibstagefright/codecs/aacenc/src/line_pe.c
ibstagefright/codecs/aacenc/src/memalign.c
ibstagefright/codecs/aacenc/src/ms_stereo.c
ibstagefright/codecs/aacenc/src/pre_echo_control.c
ibstagefright/codecs/aacenc/src/psy_configuration.c
ibstagefright/codecs/aacenc/src/psy_main.c
ibstagefright/codecs/aacenc/src/qc_main.c
ibstagefright/codecs/aacenc/src/quantize.c
ibstagefright/codecs/aacenc/src/sf_estim.c
ibstagefright/codecs/aacenc/src/spreading.c
ibstagefright/codecs/aacenc/src/stat_bits.c
ibstagefright/codecs/aacenc/src/tns.c
ibstagefright/codecs/aacenc/src/transform.c
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwbenc/AMRWBEncoder.cpp
ibstagefright/codecs/amrwbenc/Android.mk
ibstagefright/codecs/amrwbenc/SampleCode/AMRWB_E_SAMPLE.c
ibstagefright/codecs/amrwbenc/SampleCode/Android.mk
ibstagefright/codecs/amrwbenc/SampleCode/eclair/Makefile
ibstagefright/codecs/amrwbenc/SampleCode/ms.mk
ibstagefright/codecs/amrwbenc/build/eclair/ARMV5E/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/ARMV7/Makefile
ibstagefright/codecs/amrwbenc/build/eclair/makefile
ibstagefright/codecs/amrwbenc/build/eclair/ms.mk
ibstagefright/codecs/amrwbenc/doc/voAMRWBEncoderSDK.pdf
ibstagefright/codecs/amrwbenc/inc/acelp.h
ibstagefright/codecs/amrwbenc/inc/basic_op.h
ibstagefright/codecs/amrwbenc/inc/bits.h
ibstagefright/codecs/amrwbenc/inc/cnst.h
ibstagefright/codecs/amrwbenc/inc/cod_main.h
ibstagefright/codecs/amrwbenc/inc/dtx.h
ibstagefright/codecs/amrwbenc/inc/grid100.tab
ibstagefright/codecs/amrwbenc/inc/ham_wind.tab
ibstagefright/codecs/amrwbenc/inc/homing.tab
ibstagefright/codecs/amrwbenc/inc/isp_isf.tab
ibstagefright/codecs/amrwbenc/inc/lag_wind.tab
ibstagefright/codecs/amrwbenc/inc/log2.h
ibstagefright/codecs/amrwbenc/inc/log2_tab.h
ibstagefright/codecs/amrwbenc/inc/main.h
ibstagefright/codecs/amrwbenc/inc/math_op.h
ibstagefright/codecs/amrwbenc/inc/mem_align.h
ibstagefright/codecs/amrwbenc/inc/mime_io.tab
ibstagefright/codecs/amrwbenc/inc/oper_32b.h
ibstagefright/codecs/amrwbenc/inc/p_med_o.h
ibstagefright/codecs/amrwbenc/inc/p_med_ol.tab
ibstagefright/codecs/amrwbenc/inc/q_gain2.tab
ibstagefright/codecs/amrwbenc/inc/q_pulse.h
ibstagefright/codecs/amrwbenc/inc/qisf_ns.tab
ibstagefright/codecs/amrwbenc/inc/qpisf_2s.tab
ibstagefright/codecs/amrwbenc/inc/stream.h
ibstagefright/codecs/amrwbenc/inc/typedef.h
ibstagefright/codecs/amrwbenc/inc/typedefs.h
ibstagefright/codecs/amrwbenc/inc/wb_vad.h
ibstagefright/codecs/amrwbenc/inc/wb_vad_c.h
ibstagefright/codecs/amrwbenc/patent_disclaimer.txt
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Deemph_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Dot_p_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Filt_6k_7k_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Norm_Corr_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/Syn_filt_32_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/convolve_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/cor_h_vec_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/pred_lt4_1_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/residu_asm_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/scale_sig_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV5E/syn_filt_opt.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Deemph_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Dot_p_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Filt_6k_7k_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Norm_Corr_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/Syn_filt_32_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/convolve_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/cor_h_vec_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/pred_lt4_1_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/residu_asm_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/scale_sig_neon.s
ibstagefright/codecs/amrwbenc/src/asm/ARMV7/syn_filt_neon.s
ibstagefright/codecs/amrwbenc/src/autocorr.c
ibstagefright/codecs/amrwbenc/src/az_isp.c
ibstagefright/codecs/amrwbenc/src/bits.c
ibstagefright/codecs/amrwbenc/src/c2t64fx.c
ibstagefright/codecs/amrwbenc/src/c4t64fx.c
ibstagefright/codecs/amrwbenc/src/cmnMemory.c
ibstagefright/codecs/amrwbenc/src/convolve.c
ibstagefright/codecs/amrwbenc/src/cor_h_x.c
ibstagefright/codecs/amrwbenc/src/decim54.c
ibstagefright/codecs/amrwbenc/src/deemph.c
ibstagefright/codecs/amrwbenc/src/dtx.c
ibstagefright/codecs/amrwbenc/src/g_pitch.c
ibstagefright/codecs/amrwbenc/src/gpclip.c
ibstagefright/codecs/amrwbenc/src/homing.c
ibstagefright/codecs/amrwbenc/src/hp400.c
ibstagefright/codecs/amrwbenc/src/hp50.c
ibstagefright/codecs/amrwbenc/src/hp6k.c
ibstagefright/codecs/amrwbenc/src/hp_wsp.c
ibstagefright/codecs/amrwbenc/src/int_lpc.c
ibstagefright/codecs/amrwbenc/src/isp_az.c
ibstagefright/codecs/amrwbenc/src/isp_isf.c
ibstagefright/codecs/amrwbenc/src/lag_wind.c
ibstagefright/codecs/amrwbenc/src/levinson.c
ibstagefright/codecs/amrwbenc/src/log2.c
ibstagefright/codecs/amrwbenc/src/lp_dec2.c
ibstagefright/codecs/amrwbenc/src/math_op.c
ibstagefright/codecs/amrwbenc/src/mem_align.c
ibstagefright/codecs/amrwbenc/src/oper_32b.c
ibstagefright/codecs/amrwbenc/src/p_med_ol.c
ibstagefright/codecs/amrwbenc/src/pit_shrp.c
ibstagefright/codecs/amrwbenc/src/pitch_f4.c
ibstagefright/codecs/amrwbenc/src/pred_lt4.c
ibstagefright/codecs/amrwbenc/src/preemph.c
ibstagefright/codecs/amrwbenc/src/q_gain2.c
ibstagefright/codecs/amrwbenc/src/q_pulse.c
ibstagefright/codecs/amrwbenc/src/qisf_ns.c
ibstagefright/codecs/amrwbenc/src/qpisf_2s.c
ibstagefright/codecs/amrwbenc/src/random.c
ibstagefright/codecs/amrwbenc/src/residu.c
ibstagefright/codecs/amrwbenc/src/scale.c
ibstagefright/codecs/amrwbenc/src/stream.c
ibstagefright/codecs/amrwbenc/src/syn_filt.c
ibstagefright/codecs/amrwbenc/src/updt_tar.c
ibstagefright/codecs/amrwbenc/src/util.c
ibstagefright/codecs/amrwbenc/src/voAMRWBEnc.c
ibstagefright/codecs/amrwbenc/src/voicefac.c
ibstagefright/codecs/amrwbenc/src/wb_vad.c
ibstagefright/codecs/amrwbenc/src/weight_a.c
ibstagefright/codecs/common/Android.mk
ibstagefright/codecs/common/Config.mk
ibstagefright/codecs/common/cmnMemory.c
ibstagefright/codecs/common/include/cmnMemory.h
ibstagefright/codecs/common/include/voAAC.h
ibstagefright/codecs/common/include/voAMRWB.h
ibstagefright/codecs/common/include/voAudio.h
ibstagefright/codecs/common/include/voIndex.h
ibstagefright/codecs/common/include/voMem.h
ibstagefright/codecs/common/include/voType.h
ibstagefright/include/AACEncoder.h
ibstagefright/include/AMRNBEncoder.h
ibstagefright/include/AMRWBEncoder.h
fceef46513db3507b413f604cea89e3c7f352663 14-May-2010 Mike Lockwood <lockwood@android.com> MTP: More prototyping work:

New media scanner test program
Media scanner now cleans up after files that no longer exist
Separate database table for audio files
Extract metadata from audio files with libstagefright

Change-Id: I2bd0fe877836c741658e72fcfeb89c11be0d9b41
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpDatabase.cpp
tp/MtpDatabase.h
tp/MtpMediaScanner.cpp
tp/MtpMediaScanner.h
tp/MtpServer.cpp
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/mtp.h
tp/scantest.cpp
595f9db22d8161b1dd5cd178d8ae829f51308303 17-May-2010 Eric Laurent <elaurent@google.com> am f62b6ff9: am eb8f850d: Fix issue 2553359: Pandora does not work well with Passion deskdock / Cardock.
64a44220725dd05367beb15fd530b6c900f24e1a 16-May-2010 Mike Lockwood <lockwood@android.com> Add -p option to mtptest program to run in PTP mode instead of MTP

Change-Id: Idbd1437756daab8d6141db49b07d4eb0814c9e7e
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/f_mtp.h
tp/mtptest.cpp
d1b449aad6c087a69f5ec66b7facb2845b73f1cb 14-May-2010 Eric Laurent <elaurent@google.com> Fix issue 2553359: Pandora does not work well with Passion deskdock / Cardock.

The problem is due to a too big difference between the buffer size used at the hardware interface and at the A2DP interface.
When no resampling occurs we don't notice problems but the timing is very tight. As soon as resampling is activated, the AudioTrack underruns.
This is because the AudioTrack buffers are not resized when moving the AudioTrack from hardware to A2DP output.
The AudioTrack buffers are calculated based on a hardware output buffer size of 3072 bytes. Which is much less than the A2DP output buffer size (10240).

The solution consists in creating new tracks with new buffers in AudioFlinger when the A2DP output is opened
instead of just transfering active tracks from hardware output mixer thread to the new A2DP output mixer thread.
To avoid synchronization issues between mixer threads and client processes, this is done by invalidating tracks
by setting a flag in their control block and having AudioTrack release the handle on this track (IAudioTrack)
and create a new IAudioTrack when this flag is detected next time obtainBuffer() or start() is executed.

AudioFlinger modifications:
- invalidate the tracks when setStreamOutput() is called
- make sure that notifications of output opening/closing and change of stream type to output mapping are sent synchronously to client process.
This is necessary so that AudioSystem has the new stream to output mapping when the AudioTrack detects the invalidate flag in the client process.
Previously their were sent when the corresponding thread loop was executed.

AudioTrack modifications:
- move frame count calculation and verification from set() to createTrack() so that is is updated every time a new IAudioTrack is created.
- detect track invalidate flag in obtainBuffer() and start() and create a new IAudioTrack.

AudioTrackShared modifications
- group all flags (out, flowControlFlag, forceReady...) into a single bit filed to save space.

Change-Id: I9ac26b6192230627d35084e1449640caaf7d56ee
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
c151787b4fc0f0e362d7730e1919fe04e400687d 15-May-2010 Andreas Huber <andih@google.com> am bc30d1d8: am 5d75a181: am a5cd816c: am eb9128f9: Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.
ea10bc6158caa9f595c85a3dc3517d88ee989001 15-May-2010 Andreas Huber <andih@google.com> am a5cd816c: am eb9128f9: Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.

Merge commit 'a5cd816c720ed87b91a33aa5d000a0d308c74453' into kraken

* commit 'a5cd816c720ed87b91a33aa5d000a0d308c74453':
Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.
c0b42f27a36c96b0ce16ade57c26ff1decb4bb72 15-May-2010 Andreas Huber <andih@google.com> am eb9128f9: Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.

Merge commit 'eb9128f9b0ee660504621381fd96f82d5bf8a3fd' into froyo-plus-aosp

* commit 'eb9128f9b0ee660504621381fd96f82d5bf8a3fd':
Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.
1edbcb2bb9988cc7cb54a865aaea4613bdd53a9d 15-May-2010 Andreas Huber <andih@google.com> Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.

Change-Id: I576178144ffd753b809e1c4ae269ffc3aa34b511
related-to-bug: 2686604
QA-Impact: well, ..., everything related to streaming mpeg4/aac content over http
ibstagefright/MPEG4Extractor.cpp
e0ddfe33b9480acf3d8c3941f96bdc262d0abc47 14-May-2010 James Dong <jdong@google.com> am ce3d8b31: am d95266c6: Merge "Detect and handle premature termination of a recording session" into kraken
f0ce2fb0c7bf3a414279e5aba61105f3d9025c0e 14-May-2010 James Dong <jdong@google.com> Detect and handle premature termination of a recording session

Change-Id: Ifb83b19f3e68580345b23efed5d5956fb81baeb8
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
09943dd3797bb981a74ce0c233843868144b257a 14-May-2010 James Dong <jdong@google.com> am 612058d1: am 9db798d0: Audio/video initial recording time synchronization
eae0edc9003849843889531283d9e4e086ec66ed 14-May-2010 James Dong <jdong@google.com> am 8b3611ee: am 1824486e: Handle recording file size and/or duration limit
3c0131f02b6f008321608044c53bccce2ac5f6dd 13-May-2010 James Dong <jdong@google.com> Audio/video initial recording time synchronization

Change-Id: Iac58b63d474fe09c1d36ba6ecde91dafbb7fef9a
ibstagefright/MPEG4Writer.cpp
d599cd4573b5a2d5914c5040e0565ef866749b77 11-May-2010 James Dong <jdong@google.com> Handle recording file size and/or duration limit

Change-Id: Ib9ed1f3ebd8fef550cc130a7ef11f2905fa9aedc
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
f00668f97ad5098c38d46637b9c24f3baea38ac3 14-May-2010 The Android Open Source Project <initial-contribution@android.com> am 63c93077: am 21a534d9: am 1d628c5d: merge from open-source master
2e90514be4c98b5fa6e1df5f2049a5e005a4263d 14-May-2010 The Android Open Source Project <initial-contribution@android.com> am 1d628c5d: merge from open-source master

Merge commit '1d628c5d3dd7998b29c339292a2dc391015d0782' into kraken

* commit '1d628c5d3dd7998b29c339292a2dc391015d0782':
Accept media files by file extension in case insensitive manner.
4ac3585263ad59def5cf14756347cecab43e6e67 14-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I934cf85c4673f9ca3a9549c2074907ad572310f4
49475772e0d3c38ab1246deac3d5e5bc6c2bb4e6 14-May-2010 Jean-Baptiste Queru <jbq@google.com> Merge "Accept media files by file extension in case insensitive manner."
7850ef999740f214a1990a9c090d3f3865d435aa 14-May-2010 Mike Lockwood <lockwood@android.com> Move MTP code to the android namespace

Change-Id: I5da48038fd5e4cdeefaeba42cdc74eb588b3448d
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/MtpClient.cpp
tp/MtpClient.h
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.cpp
tp/MtpDatabase.h
tp/MtpDebug.cpp
tp/MtpDebug.h
tp/MtpPacket.cpp
tp/MtpPacket.h
tp/MtpRequestPacket.cpp
tp/MtpRequestPacket.h
tp/MtpResponsePacket.cpp
tp/MtpResponsePacket.h
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/MtpStringBuffer.cpp
tp/MtpStringBuffer.h
tp/MtpUtils.cpp
tp/MtpUtils.h
tp/SqliteDatabase.cpp
tp/SqliteDatabase.h
tp/SqliteStatement.cpp
tp/SqliteStatement.h
tp/mtptest.cpp
tp/ptptest.cpp
3c6d0f4c956494241c0c243b079f42049d832d7d 14-May-2010 James Dong <jdong@google.com> am 79dfb675: am ffd104a9: Merge "Remove dummy surface in CameraSource" into kraken
67589f441aca391c27244cd231c2d770a9fe203d 13-May-2010 Mike Lockwood <lockwood@android.com> Exclude mtptest program from simulator builds.

Change-Id: Ia9751a06d7607363e8c16b71f6f3c524833395a0
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
16864bae0f51c32c456da2c43adf7a057c0c4882 11-May-2010 Mike Lockwood <lockwood@android.com> Checkpoint work on MTP and PTP investigation.

This change includes work in progress on a C++ library for both host and device
MTP and PTP support.
Currently the makefile builds two test programs:

mtptest - a command line test program that implements a small subset of device side MTP.
Requires a kernel driver that has not been checked in yet.

ptptest - a host tool to test USB host support for detecting and communicating with
digital cameras over PTP. Runs on Linux host.

Later this will be reformulated as a native library that will be used in the media process.

Change-Id: I81aab279975b600b59d99013ab97f9adf0b58da7
Signed-off-by: Mike Lockwood <lockwood@android.com>
tp/Android.mk
tp/MtpClient.cpp
tp/MtpClient.h
tp/MtpDataPacket.cpp
tp/MtpDataPacket.h
tp/MtpDatabase.cpp
tp/MtpDatabase.h
tp/MtpDebug.cpp
tp/MtpDebug.h
tp/MtpPacket.cpp
tp/MtpPacket.h
tp/MtpRequestPacket.cpp
tp/MtpRequestPacket.h
tp/MtpResponsePacket.cpp
tp/MtpResponsePacket.h
tp/MtpServer.cpp
tp/MtpServer.h
tp/MtpStorage.cpp
tp/MtpStorage.h
tp/MtpStringBuffer.cpp
tp/MtpStringBuffer.h
tp/MtpUtils.cpp
tp/MtpUtils.h
tp/SqliteDatabase.cpp
tp/SqliteDatabase.h
tp/SqliteStatement.cpp
tp/SqliteStatement.h
tp/f_mtp.h
tp/mtp.h
tp/mtptest.cpp
tp/ptptest.cpp
65ae665befd929efd1a7d1c9addac41c699f04b2 13-May-2010 James Dong <jdong@google.com> Remove dummy surface in CameraSource

bug - 2680919

Change-Id: Ia0308cf57fd67058b4dd0e042b3ce97f13df475f
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/CameraSource.cpp
7838252956e00518afce33f9591252c5c8f9dbac 13-May-2010 Andreas Huber <andih@google.com> am 28fadef2: am 3c78a1b5: Return a runtime error instead of asserting if the AACDecoder is passed an unsupported config.

Merge commit '28fadef2ede2d74e9526266e779553bbd1dc66f4' into kraken

* commit '28fadef2ede2d74e9526266e779553bbd1dc66f4':
Return a runtime error instead of asserting if the AACDecoder is passed an unsupported config.
a945bfd91aa291fba4d9201ffcb38fce40eab7fe 13-May-2010 Andreas Huber <andih@google.com> Return a runtime error instead of asserting if the AACDecoder is passed an unsupported config.

Change-Id: Ie084ed4df5a5d286abd36d9149c2138f8e7ed08a
related-to-bug: 2682221
QA-impact: none
ibstagefright/AwesomePlayer.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
f8fb8b856427e9b1c406d516a114a9f37cfea4f2 13-May-2010 Mathias Agopian <mathias@google.com> should fix the build

Change-Id: I9957fc43d5fce317479f6c55fb0b9612bff9a495
ibstagefright/CameraSource.cpp
8229dabcc36a015a6cf11a9b0b2e948ac0476552 12-May-2010 Andreas Huber <andih@google.com> am b003ad17: am e0dc80f8: Merge "Support for customizable socket-read timeouts through the HTTP response." into froyo

Merge commit 'b003ad17bffeba7875b9708ffeef2300ef28c916' into kraken

* commit 'b003ad17bffeba7875b9708ffeef2300ef28c916':
Support for customizable socket-read timeouts through the HTTP response.
f5ef7f22bbf73ba5c3910096f8f7f84cc6e21039 12-May-2010 Andreas Huber <andih@google.com> am 227e443a: am d6ad7c85: Merge "Better seek handling and proper reset of the vorbis decoder after a discontinuity (seek)" into froyo

Merge commit '227e443a43d70b9463b2e685688f73cfb1b72096' into kraken

* commit '227e443a43d70b9463b2e685688f73cfb1b72096':
Better seek handling and proper reset of the vorbis decoder after a discontinuity (seek)
ef9d0cd72e476a4b7556833fb09505a51b626797 11-May-2010 James Dong <jdong@google.com> Added initial validation on video/audio encoding parameters before/at start()

Change-Id: I1a40dd247202f70e3e5429d74533d349b88f1d54
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
d2333bda49f9d76f1b30b81dfc093d407bc6dbf0 11-May-2010 Andreas Huber <andih@google.com> Merge "Support for customizable socket-read timeouts through the HTTP response." into froyo
ba7c35717116e4dcb8242644f6ccf07c25c7b251 11-May-2010 Andreas Huber <andih@google.com> Support for customizable socket-read timeouts through the HTTP response.

Specify a response header of "X-SocketTimeout: 15" to override the default timeout
of 5 secs with a timeout of 15 seconds. Specify a negative value to disable the
timeout altogether.

Change-Id: I545adf3d8b3f7efe5f8d081a641c6404440a77db
related-to-bug: 2675721
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/include/HTTPStream.h
7837c17063a4c50bc856ba59418516fdab731de7 07-May-2010 James Dong <jdong@google.com> Output streamable MP4 file during MP4 file recording

When the reserved moov box space is not big enough,
fall back to non-streamable MP4 file.

Change-Id: I93382d037d657a3f3fe2af31e4ea26e1898b4d95
ibstagefright/MPEG4Writer.cpp
96f52cde23982f668592418a9548045237d5e327 11-May-2010 Andreas Huber <andih@google.com> Better seek handling and proper reset of the vorbis decoder after a discontinuity (seek)

Change-Id: I3c76d35da48e0964f7a0fa2816f8573b5e1a9436
related-to-bug: 2674036
QA-impact: low, only affects ogg-vorbis playback through http
ibstagefright/OggExtractor.cpp
ibstagefright/codecs/vorbis/dec/VorbisDecoder.cpp
10a49e9d73f16f5f924c4013cba49a6ca4a28bac 10-May-2010 James Dong <jdong@google.com> Merge "Metadata construction optimization" into kraken
b1ccb623d9db42c451aa9dd4e8cf0e76b164aa50 10-May-2010 Andreas Huber <andih@google.com> am 17078510: am d13efb20: Merge "A new OggExtractor/VorbisDecoder combo to support approximate seeking." into froyo

Merge commit '1707851090e6512a77247b0c260dd673ef687589' into kraken

* commit '1707851090e6512a77247b0c260dd673ef687589':
A new OggExtractor/VorbisDecoder combo to support approximate seeking.
35a055b8bfc6f3cbea409b2897caf936654519cb 06-May-2010 Chih-Chung Chang <chihchung@google.com> Support multiple cameras in framework.

Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a
ibstagefright/CameraSource.cpp
ee7ff20e69498ebd53dd9717a0f984188341a75e 07-May-2010 Andreas Huber <andih@google.com> A new OggExtractor/VorbisDecoder combo to support approximate seeking.

Change-Id: Id5d0c1c8b1adc62896bb5ed951f7b5cfda811e95
related-to-bug: 2654400
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OggExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/Utils.cpp
ibstagefright/VorbisExtractor.cpp
ibstagefright/codecs/vorbis/Android.mk
ibstagefright/codecs/vorbis/dec/Android.mk
ibstagefright/codecs/vorbis/dec/VorbisDecoder.cpp
ibstagefright/include/OggExtractor.h
ibstagefright/include/VorbisDecoder.h
ibstagefright/include/VorbisExtractor.h
be83c9e8c71ce16c0d0e9ed9df525510a49a541b 20-Apr-2010 James Dong <jdong@google.com> Metadata construction optimization

- Potentially much shorter stts box if samples have roughly the same duration
- Potentially much shorter stsz box if all samples have the same size

Change-Id: I4f7663dd64285070995585a02bb3ba1e1049a0cf
ibstagefright/MPEG4Writer.cpp
d8a30349da270715156d3f658b165481ce10cf71 06-May-2010 Andreas Huber <andih@google.com> am 71bd9fc8: am 100ef9be: Merge "Disable vorbis seek when streaming from localhost." into froyo

Merge commit '71bd9fc81e3154b9cad22ca7ff2d9c6ed6fdbe6c' into kraken

* commit '71bd9fc81e3154b9cad22ca7ff2d9c6ed6fdbe6c':
Disable vorbis seek when streaming from localhost.
f9325834de1ae004212aec2fd03445b4eebfa766 06-May-2010 Andreas Huber <andih@google.com> Merge "Disable vorbis seek when streaming from localhost." into froyo
acdd9d0f59c3d8bdc3de80664a609527ec3d21e2 06-May-2010 Andreas Huber <andih@google.com> Disable vorbis seek when streaming from localhost.

Change-Id: Icda523ae1c89e26482f1c1767fe3a8b9222bb30f
related-to-bug: 2654400
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibstagefright/AwesomePlayer.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/VorbisExtractor.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/VorbisExtractor.h
71ec1d320e61c490bd3fac172f1d1a206a7198e8 06-May-2010 Dan Bornstein <danfuzz@android.com> am 2a1674b1: am 2d315667: For issue #2651381, allow library prelinking.

Merge commit '2a1674b1d00fda68980ec834d6ce61aacd379bc8' into kraken

* commit '2a1674b1d00fda68980ec834d6ce61aacd379bc8':
For issue #2651381, allow library prelinking.
77356c37030215a4b8696b7d0af44a724341a0f9 05-May-2010 Dan Bornstein <danfuzz@android.com> For issue #2651381, allow library prelinking.

Change-Id: I119348b55ad0015a286e9c94709977cd1973a7e1
ibstagefright/Android.mk
ibstagefright/codecs/amrnb/common/Android.mk
ibstagefright/codecs/avc/common/Android.mk
ibstagefright/colorconversion/Android.mk
ibstagefright/omx/Android.mk
13aec890216948b0c364f8f92792129d0335f506 22-Apr-2010 James Dong <jdong@google.com> Support audio and video track interleaving in the recorded mp4 file

Change-Id: Ifa27eb23ee265f84fe06773b29b0eb2b0b075b60
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
aa9ca29395eebfcfa64e070dc71009b99131769f 04-May-2010 James Dong <jdong@google.com> Merge "Support AAC recording" into kraken
3830a4f133893e6a77a967c84220d7baf9687f23 04-May-2010 Andreas Huber <andih@google.com> am 8ea45aad: am e083d0a2: Merge "Support for Ogg Vorbis decoding in stagefright." into froyo

Merge commit '8ea45aad100ee25067b2e83703454c71a968ba4f' into kraken

* commit '8ea45aad100ee25067b2e83703454c71a968ba4f':
Support for Ogg Vorbis decoding in stagefright.
3cf4e43cdd391502690c07e08e805aa8ff5db0c0 04-May-2010 Andreas Huber <andih@google.com> Support for Ogg Vorbis decoding in stagefright.

Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright.

Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8
related-to-bug: 2654400
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/VorbisExtractor.cpp
ibstagefright/include/VorbisExtractor.h
050b28a593350047845a45a14cc5026221ac1620 23-Apr-2010 James Dong <jdong@google.com> Support AAC recording

- Extend the audio recording to AAC format
- Add support for setting some recording parameters
- Add stss box to the meta data in the recorded file

Change-Id: I41167bfd9d70ef9cd33906f8437b39c232b6d3b7
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AudioSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
c32cd79d9ad4aba7d959b5b3be7361b4715e6f18 27-Apr-2010 James Dong <jdong@google.com> Use timestamp from camera driver for CameraSource

Change-Id: I09ddec69997c43b8f17fdd21304c76cb4c5ab8cf
ibmediaplayerservice/Android.mk
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
ibstagefright/OMXCodec.cpp
261741e728f2137f12b28df25c25e96acd942de9 26-Apr-2010 James Dong <jdong@google.com> am 31431b34: am 374aee68: Switch to use software MP3 decoder Hardware MP3 decoder could lead to hang in the Music application, although the chance is very low.

Merge commit '31431b34f895862ae13efba30bb5771085572687' into kraken

* commit '31431b34f895862ae13efba30bb5771085572687':
Switch to use software MP3 decoder
0b5ba9eeed56a80fed3735f5cd4951477fda79f0 26-Apr-2010 James Dong <jdong@google.com> Switch to use software MP3 decoder
Hardware MP3 decoder could lead to hang in the Music application, although the chance is very low.

bug - 2608400

Change-Id: Ia0b5b6521015fc8d3e086117fa914dcc20ace5bd
ibstagefright/OMXCodec.cpp
add08eb454bbe8b3a0a40d23621c102b72cd005d 21-Apr-2010 Andreas Huber <andih@google.com> am 89e28cbe: am 9e609b0d: Merge "Apparently select() does not immediately return if one of the masked socket descriptors is closed... Stop relying on select for read-with-timeout functionality and use SO_RCVTIMEO socket option instead." into froyo

Merge commit '89e28cbefaff6ae9499032bb446ae7e72e019466' into kraken

* commit '89e28cbefaff6ae9499032bb446ae7e72e019466':
Apparently select() does not immediately return if one of the masked socket descriptors is closed... Stop relying on select for read-with-timeout functionality and use SO_RCVTIMEO socket option instead.
4bf29cabaa7c94d0c74d5f945df6b51da51ed180 21-Apr-2010 Andreas Huber <andih@google.com> Apparently select() does not immediately return if one of the masked socket descriptors is closed... Stop relying on select for read-with-timeout functionality and use SO_RCVTIMEO socket option instead.

Change-Id: Ic2d4a8f5b6bbf16772fba39377809ec68d249c1f
related-to-bug: 2611257
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
fdce1ccd7e468f3229de8f4f1616d017465470cb 20-Apr-2010 Andreas Huber <andih@google.com> am 1e1edb2c: am 25dc5f30: Merge "Don\'t coalesce more than 250ms worth of encoded data into a single codec input buffer. This currently only applies to the component OMX.TI.AAC.decode, it is the only one to support coalescing in the first place." into froyo

Merge commit '1e1edb2c7376dbd9ca24bbeefbddbe4221f397a0' into kraken

* commit '1e1edb2c7376dbd9ca24bbeefbddbe4221f397a0':
Don't coalesce more than 250ms worth of encoded data into a single codec input buffer.
d2c6894b56a538aa807e20d3ef421807cd55c009 20-Apr-2010 Andreas Huber <andih@google.com> Don't coalesce more than 250ms worth of encoded data into a single codec input buffer.
This currently only applies to the component OMX.TI.AAC.decode, it is the only one to support coalescing in the first place.

In certain edge cases (encoded audio track contains silence), each buffer would turn out to be an amazing 6(!!!) bytes, we'd spend lots and lots of time streaming network data to fill the codec's buffers of size 6144 bytes with .. silence.

Change-Id: I9f449f310fc64ca384bd02e4a783e33cf5b46fcc
related-to-bug: 2609049
QA-Impact: streamed (http) playback of aac audio content on Droid.
ibstagefright/OMXCodec.cpp
4acdadbd8195f4fb21ff4cb72f09f088097ddf3b 14-Apr-2010 James Dong <jdong@google.com> am 6852b198: am d3d445b1: Merge "Use PV_PLAYER to handle RTSP streaming" into froyo

Merge commit '6852b198fbedd9378ed79ca6528a4d6f33b0b677' into kraken

* commit '6852b198fbedd9378ed79ca6528a4d6f33b0b677':
Use PV_PLAYER to handle RTSP streaming
cbe4b2cb591b5e7a6a25ee4ef85aaa61c537fef0 14-Apr-2010 Jean-Baptiste Queru <jbq@google.com> fix unintentional drift

Change-Id: I0bbf3d3f95296a41d71558d8de1ed2ed021f21cf
ibstagefright/AwesomePlayer.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
27fde958c8e8e6a998ec7a28d32b0aad97662dee 14-Apr-2010 James Dong <jdong@google.com> Use PV_PLAYER to handle RTSP streaming

bug - 2594865

Change-Id: Ice5b89b1d53bbc4da033892fe545bdf51ac7267f
ibmediaplayerservice/MediaPlayerService.cpp
53fbf1d2eebd09e14a8995f51c47788670dbab1e 14-Apr-2010 James Dong <jdong@google.com> am c33f583b: am 4f3257cf: am dd684af8: Merge "Snif more 3GPP file types according to http://www.ftyps.com/3gpp.html" into froyo
73c30c5236858b72b74727bc627628672553add9 14-Apr-2010 Andreas Huber <andih@google.com> am d760afc3: am 30e9c2d4: am db281311: Merge "Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition
2f6ec4c07a830d9c22d4883e77592cf61d37baca 14-Apr-2010 James Dong <jdong@google.com> am ebaa935e: am 9bb8e65a: am c15f48d7: Merge "Don\'t set encoder component role while we query decoders" into froyo
d84201fcae22b71cfa9f4bca5ef4a4344d04fad5 14-Apr-2010 Gloria Wang <gwang@google.com> am 465934d1: am d4c072d3: am b19da8e1: Fix for 2581725. Keep the last frame after resume(), and delete it in the next suspend() or reuse it if no new frame is available.
b1c9bd26a3b916d2f6ca7cda1edab92f48da16c8 14-Apr-2010 James Dong <jdong@google.com> am 4f3257cf: am dd684af8: Merge "Snif more 3GPP file types according to http://www.ftyps.com/3gpp.html" into froyo

Merge commit '4f3257cf4667aa28908c401634db849fd2e516af' into kraken

* commit '4f3257cf4667aa28908c401634db849fd2e516af':
Snif more 3GPP file types according to http://www.ftyps.com/3gpp.html
b9dbba9285fb406bc6eb87779c8bfc405269b6f2 14-Apr-2010 James Dong <jdong@google.com> Snif more 3GPP file types according to http://www.ftyps.com/3gpp.html

bug - 2575956

Change-Id: Iaa79e74d3b0585397a7e833ec45472710fc52fa6
ibstagefright/MPEG4Extractor.cpp
07dd5a5a9cf8ea7c48473874b34d0dc6c5a6c231 13-Apr-2010 Andreas Huber <andih@google.com> am 30e9c2d4: am db281311: Merge "Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a"." in

Merge commit '30e9c2d4db145e02b5312ce29606b03dd78349d3' into kraken

* commit '30e9c2d4db145e02b5312ce29606b03dd78349d3':
Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a".
ea623087e93c6e27ce6284946f94c1d4aff7f91b 13-Apr-2010 James Dong <jdong@google.com> am 9bb8e65a: am c15f48d7: Merge "Don\'t set encoder component role while we query decoders" into froyo

Merge commit '9bb8e65a7d7dc57fdd7383d64d53414b1aa5cbbc' into kraken

* commit '9bb8e65a7d7dc57fdd7383d64d53414b1aa5cbbc':
Don't set encoder component role while we query decoders
25801bfe64dff414991fca2f62f16a61ba554357 13-Apr-2010 Andreas Huber <andih@google.com> Merge "Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a"." into froyo
a13da584aa7da751a7e6ebf00fc1c4e2382af611 13-Apr-2010 James Dong <jdong@google.com> Merge "Don't set encoder component role while we query decoders" into froyo
a98420e863c374d1f15309467f2a1fc58d979d3b 13-Apr-2010 Andreas Huber <andih@google.com> Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a".

related-to-bug: 2553359
Change-Id: Ic49eb89feb62474d9513bc21571e0e8fe3a15e0b
ibstagefright/AudioPlayer.cpp
3fed817bd114f7824d458ca62621417aa71cec84 13-Apr-2010 Gloria Wang <gwang@google.com> am d4c072d3: am b19da8e1: Fix for 2581725. Keep the last frame after resume(), and delete it in the next suspend() or reuse it if no new frame is available.

Merge commit 'd4c072d3f584db2cf9214c9d813c15d9e646c527' into kraken

* commit 'd4c072d3f584db2cf9214c9d813c15d9e646c527':
Fix for 2581725. Keep the last frame after resume(), and delete it
5e3cf6cf36feb3b73b8f8c0a8134c46f5bc85094 13-Apr-2010 James Dong <jdong@google.com> Don't set encoder component role while we query decoders

bug - 2558515

Change-Id: I29683507d234d963994c782c07508034ea807739
ibstagefright/OMXCodec.cpp
351ab17847a4697d99d7db2e55d01822d1c0bf25 13-Apr-2010 Mathias Agopian <mathias@google.com> am 445a9785: Merge "don\'t hardcode "mSurface" throughout our source code" into kraken
5c117390591da780e1f53c1c9c91c1efdacbc674 13-Apr-2010 Gloria Wang <gwang@google.com> Fix for 2581725. Keep the last frame after resume(), and delete it
in the next suspend() or reuse it if no new frame is available.

Change-Id: I84286030eaae9061077d6ccb485b7dd53ef05341
ibstagefright/AwesomePlayer.cpp
c16ea2dbe0cb5ed4189e5ba5451f92bed62a4f4b 13-Apr-2010 Mathias Agopian <mathias@google.com> Merge "don't hardcode "mSurface" throughout our source code" into kraken
b851fc7071d87d7ac24599826d672e22d88f8fa2 13-Apr-2010 Andreas Huber <andih@google.com> am 7853c898: am 248ea4a9: am 5baa5e19: Merge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don\'t have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks." into froyo
88b1b1c7331023828108daa57fcea858c7706566 13-Apr-2010 Andreas Huber <andih@google.com> am 248ea4a9: am 5baa5e19: Merge "Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don\'t have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks." into froyo

Merge commit '248ea4a9f773210a7b7dbd7892e6b865a0f7add3' into kraken

* commit '248ea4a9f773210a7b7dbd7892e6b865a0f7add3':
Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks.
2e5299988b5f5f9165a76938a66d37e46dd48d6b 13-Apr-2010 Mathias Agopian <mathias@google.com> don't hardcode "mSurface" throughout our source code

this is used in a few places to get access to the android.view.Surface
native surface. use a macro instead. Also rename the field to mNativeSurface.

Change-Id: I1c6dea14abd6b8b1392c7f97b304115999355094
ibmedia/IOMX.cpp
81f82c32459029bf0744e28c73f95a7f18cab5ac 13-Apr-2010 Andreas Huber <andih@google.com> Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks.

Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af
related-to-bug: 2587341
ibstagefright/AwesomePlayer.cpp
ibstagefright/ESDS.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/include/ESDS.h
8e5d52bb00dc34608f2cd123a8387e6b15eb8126 13-Apr-2010 Jean-Baptiste Queru <jbq@google.com> manual merge

Change-Id: I9cdacbf1e445e7f6cf06ad03df541a744c242774
47acf12ffef0a5db470406b7db788adcc6240786 12-Apr-2010 Andreas Huber <andih@google.com> am 98c5bd55: am 6dbf80d0: Merge "Fix a race condition in TimedEventQueue, an event may be cancelled while we\'re waiting for its scheduled time to come in which case we\'d be removing it from the queue twice." into froyo

Merge commit '98c5bd5556f32a237d3483fb7298284869e32a40' into kraken

* commit '98c5bd5556f32a237d3483fb7298284869e32a40':
Fix a race condition in TimedEventQueue, an event may be cancelled while we're waiting for its scheduled time to come in which case we'd be removing it from the queue twice.
874b55f51c4c062c65aee043ec0f26044b504556 12-Apr-2010 Andreas Huber <andih@google.com> Fix a race condition in TimedEventQueue, an event may be cancelled while we're waiting for its scheduled time to come in which case we'd be removing it from the queue twice.

Change-Id: I4e42e318fd5373d1f352f54027d4bf823126266d
related-to-bug: 2585276
ibstagefright/TimedEventQueue.cpp
ibstagefright/include/TimedEventQueue.h
a3387afbc6dc5db0fd534ab5e3200f46b5a36acd 12-Apr-2010 Andreas Huber <andih@google.com> am f0a49f68: am 1d7a8b44: Merge "Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request." into froyo

Merge commit 'f0a49f68f0edc98fefbe14e3ddcf0d6853519293' into kraken

* commit 'f0a49f68f0edc98fefbe14e3ddcf0d6853519293':
Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request.
23748a675245149d652b5ede781b4df90fca5d21 12-Apr-2010 Andreas Huber <andih@google.com> Merge "I accidentally broken passion encoding while working around problems with the sholes encoder." into kraken
a418a932aa9c800c527451ea93ec9a3a06fb7515 12-Apr-2010 Andreas Huber <andih@google.com> Merge "Remove unnecessary lock from AMRWriter." into kraken
88951e54c25b0cc58f78b48ffefa451cf87a8942 12-Apr-2010 Andreas Huber <andih@google.com> Merge "Various fixes to enable recording on passion and nexus1." into kraken
d5d0dbeadc2b5d172a9e6007c063b8d1366696e0 12-Apr-2010 Andreas Huber <andih@google.com> Merge "Remove legacy NO_OPENCORE code bypass from MediaPlayerService." into kraken
b547d09ecc3da8ee300099da8ca7e2826bb6849a 12-Apr-2010 Andreas Huber <andih@google.com> Merge "Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request." into froyo
7110385b31c7bc65c8a923a09689ebb0c4a1e07a 12-Apr-2010 Andreas Huber <andih@google.com> Fix a case where the aac hardware decoder is in a transition state and refused a fillbuffer request.

Change-Id: I4cabd18709c29db0a2763a01cc86525ba0b0aeb7
related-to-bug: 2575976
ibstagefright/OMXCodec.cpp
f018aa38b808f2e5c6e6b2dc0b29406caa793c65 12-Apr-2010 Andreas Huber <andih@google.com> Merge "Ignore corrupt aac audio frames and substitute silence." into froyo
9dcda21086608a52a579ac8254991fdde686823a 12-Apr-2010 Andreas Huber <andih@google.com> Ignore corrupt aac audio frames and substitute silence.

Change-Id: I544f98a5c00d912061db7921fc4518435209b168
related-to-bug: 2575976
ibstagefright/codecs/aacdec/AACDecoder.cpp
0a0583f9a6dd7fb0b72b7e072da4d55f8597c7ed 12-Apr-2010 Andreas Huber <andih@google.com> Start sending out buffering updates earlier (after preparation has completed) instead of only after playback has started.

Change-Id: Ieaa90cc9b54bd56963aa5f4daced2ba243801acf
related-to-bug: 2585913
ibstagefright/AwesomePlayer.cpp
548e31844937b37518fbb62ff69e9ff1f794183b 09-Apr-2010 Andreas Huber <andih@google.com> I accidentally broken passion encoding while working around problems with the sholes encoder.

Change-Id: Id91b837ed17083cb21efb08e1c1ab9cc3ff3fa8f
ibstagefright/MPEG4Writer.cpp
ebe87f32e442c9a8fb2931632311d6c5a126eddb 23-Mar-2010 Andreas Huber <andih@google.com> Remove unnecessary lock from AMRWriter.

Change-Id: Ia02966d936dd8cbb31e92051578a3fa816885710
ibstagefright/AMRWriter.cpp
03b268eac37ca2589bfff0bf58daf79d29cc14f4 19-Mar-2010 Andreas Huber <andih@google.com> Various fixes to enable recording on passion and nexus1.

Change-Id: I75a461c9882e2449082ad754ee7b231c1ceec039
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMXNodeInstance.cpp
fe774a9c3ffe12979e182563b0e922ffc0ad20ef 05-Apr-2010 Andreas Huber <andih@google.com> Remove legacy NO_OPENCORE code bypass from MediaPlayerService.

Change-Id: I72db73c91673e0d7f1090e3b033ae915337dc16e
ibmediaplayerservice/MediaPlayerService.cpp
32f8c1cf4ab2abdd902535fc44a6549ba6f0ff33 09-Apr-2010 Andreas Huber <andih@google.com> Merge "Support for ID3 V2.4 tags." into froyo
bebd11b5a406bc4243cb7bd55f6849841bf911a7 08-Apr-2010 Andreas Huber <andih@google.com> Support for ID3 V2.4 tags.

Change-Id: I74ee02451bdfd7e50f0d5ff6fa5da5147b683e4c
related-to-bug: 2581869
ibstagefright/id3/ID3.cpp
ibstagefright/include/ID3.h
1ab1e4ec459ab549f79a98693a67f241861450be 08-Apr-2010 Andreas Huber <andih@google.com> Refactor connection/redirection code, support redirects on reconnection.

Change-Id: Id2517568000e028b01553c06a4893813a6883168
related-to-bug: 2580785
ibstagefright/HTTPDataSource.cpp
d8c76856c6d52dcd11a90124dafef0af99956e15 08-Apr-2010 Andreas Huber <andih@google.com> Increase the size of the pages used in CachingDataSource (total amount of memory used remains the same) to compensate for reduced locality of audio/video data requests. Also fixes a mistaken trailing "\r\n" in the range header and better error handling on http connection.

Change-Id: Ic9a6ef204362bc9afdc61e081c76bc62e5ef92ad
related-to-bug: 2580785
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/HTTPDataSource.cpp
dac4ee72bac87388a1495e098f39d73168c8078f 07-Apr-2010 Andreas Huber <andih@google.com> Report the requested seek time while seek is in progress.

Change-Id: I862bfb801701f9ce54dede51c492e4eb37591894
related-to-bug: 2576102
ibstagefright/AwesomePlayer.cpp
80eb61776f136c316f45ce4187a8bafedf9b3e88 06-Apr-2010 Andreas Huber <andih@google.com> Partial revert of previous change to improve hardware AAC decoder performance, increasing the input buffer size so dramatically accidentally broke streaming performance.

Change-Id: I14e9fbc1fdff61bcf89218d83cb1d2e3d6eb8438
related-to-bug: 2574491
ibstagefright/OMXCodec.cpp
b514a24eac5d9f5a3a9cdb3b7319918c39198769 02-Apr-2010 Andreas Huber <andih@google.com> Merge "Coalesce multiple encoded AAC frames into a single input buffer on this particular OMX codec to increase throughput significantly." into froyo
7f498b90a4300ef9badf14d202b0a67c26e20931 02-Apr-2010 Andreas Huber <andih@google.com> Coalesce multiple encoded AAC frames into a single input buffer on this particular OMX codec to increase throughput significantly.

Change-Id: I90c7db6656a53339c5d454336548c4f00d0d9064
related-to-bug: 2548426
ibstagefright/OMXCodec.cpp
fcdfad530df30d0e7fe21a7a463a3fe369ed325a 02-Apr-2010 Andreas Huber <andih@google.com> Merge "Support another kind of iso mpeg4 file." into froyo
a17a1347ffe281fc70633ba8dc98f6cf49ac06ff 02-Apr-2010 Dave Sparks <davidsparks@android.com> Use local lock for most MediaMetadataRetriever methods. Bug 2560834.

MediaMetadataRetriever uses a single static lock for all operations.
This effectively serializes all metadata retrieval operations in a
single process. This patch uses the object level lock for all normal
operations and only uses the static lock to serialize calls to
release.

Change-Id: I81c9f234c2f0007a26d18e1398c709b41a4dbbd7
ibmedia/mediametadataretriever.cpp
983b449a27b5fa91eca82ede5204b4341899be62 01-Apr-2010 Andreas Huber <andih@google.com> Support another kind of iso mpeg4 file.

Change-Id: I052aa1c971c577e50679b6a9263acd32895906c7
related-to-bug: 2558114
ibstagefright/MPEG4Extractor.cpp
ab4412a1992ce7ec0965cdbf616d64d821b67183 01-Apr-2010 Dave Sparks <davidsparks@android.com> Update AMR codec.

Change-Id: I8ecd2712863f6962b762f26898002912d1c77afb
ibstagefright/codecs/amrnb/dec/src/dec_amr.cpp
13ecb8d4e47fc5a8af8487a133d7c91b9ce55326 31-Mar-2010 Andreas Huber <andih@google.com> Merge "Skip any number of leading ID3v2 tags (instead of just the first), also simplify/fix the find-consecutive-mp3-frames functionality." into froyo
ba0707dc52b3ad2bec2244e1e6c39f31e06d467a 31-Mar-2010 Andreas Huber <andih@google.com> Skip any number of leading ID3v2 tags (instead of just the first), also simplify/fix the find-consecutive-mp3-frames functionality.

Change-Id: I30b93b21de9bd5509b617cca21f46331562c30ac
related-to-bug: 2553445
ibstagefright/MP3Extractor.cpp
a7313de4a402043fa5039558f05731189f354be6 31-Mar-2010 Andreas Huber <andih@google.com> Merge "Properly send a MEDIA_SEEK_COMPLETE notification for a seek request while paused (legacy behaviour)." into froyo
1321fdd94d354431b930735e9f38f32ecd189a2d 31-Mar-2010 Andreas Huber <andih@google.com> Properly send a MEDIA_SEEK_COMPLETE notification for a seek request while paused (legacy behaviour).

Change-Id: I64da5eb97c75b269b4668b3628ed0f05f2e36e51
related-to-bug: 2557482
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
2d832a1292d57a1904190b6b95cb1d03e746e00a 31-Mar-2010 Andreas Huber <andih@google.com> Merge "Properly fill in the component name for the software decoders." into froyo
47f729a0543376773070aaeafc12e13eed03f7be 30-Mar-2010 Andreas Huber <andih@google.com> Properly fill in the component name for the software decoders.

Change-Id: I92071481f7ed94922b10856c981e507a9eec4c0c
related-to-bug: 2557787
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/amrnb/dec/AMRNBDecoder.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrwb/AMRWBDecoder.cpp
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
08f00853886c0d26e087c23da3e24df5d36d3674 30-Mar-2010 Andreas Huber <andih@google.com> Timeout on socket recv calls after 5secs, retry connection also if server unexpectedly closed the connection on its end and we know that there should've been more data available.

Change-Id: I749859dae28356080fe72ba035719754e7339c7f
related-to-bug: 2492187
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
65997f022fa3f557ba864ecc99a1aa33df54c2db 30-Mar-2010 Andreas Huber <andih@google.com> Limit the total amount of ID3 metadata to something (un-)reasonable: 3MB.

Change-Id: I3f9bbcdd4f563bac27c4ccae58e4179656c264b6
related-to-bug: 1903971
ibstagefright/id3/ID3.cpp
fb8391bfe3f21d08add3b65ba08d4d097c2bfdb6 29-Mar-2010 Andreas Huber <andih@google.com> Merge "Fix a bug where the TimedEventQueue mistakenly accesses a bogus event if the only event in the queue has been cancelled while we're waiting for its scheduled time. Avoids potential int64_t overflow when converting from us to ns." into froyo
03f4e14ec612d53b5e2b987555b24afcbbe319d1 29-Mar-2010 Andreas Huber <andih@google.com> Fix a bug where the TimedEventQueue mistakenly accesses a bogus event if the only event in the queue has been cancelled while we're waiting for its scheduled time. Avoids potential int64_t overflow when converting from us to ns.

Change-Id: I50e8976ce8d0ecc47ee0eb497296930877ce306a
related-to-bug: 2549465
ibstagefright/TimedEventQueue.cpp
2415ecb5bb4e1459024f6d6c8ae2d6e3dc4fbdc7 26-Mar-2010 Andreas Huber <andih@google.com> Finer-grained locking in AwesomePlayer, position and duration are now protected by a separate mutex that's only held for brief moments of time.

Change-Id: I989baf5a0ea8923985c560c2ec274abda0780242
related-to-bug: 2546577
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
246c817c7e4514a34f996a2f38d501b52f617b7e 24-Mar-2010 Andreas Huber <andih@google.com> Merge "QueryCodecs now returns the names of the software codecs (non-OpenMax) as well."
08a88e195d2b3697f2f967e9216491e8c5bd3c9e 24-Mar-2010 Andreas Huber <andih@google.com> QueryCodecs now returns the names of the software codecs (non-OpenMax) as well.

Change-Id: Ic4cd61f4dd722fb0dda544ffaa5615e87e3a4d40
related-to-bug: 2541647
ibstagefright/OMXCodec.cpp
e966fb05c7e67a7f5dce65024de60aac83eb6f81 24-Mar-2010 Andreas Huber <andih@google.com> Enable early termination of the prefetcher's preparation phase.

Change-Id: I929ac9b0fd0b6ebd98c1bc56be18ac8f8378d48c
related-to-bug: 2537407
ibstagefright/AwesomePlayer.cpp
ibstagefright/Prefetcher.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/Prefetcher.h
9584a0726582b6b7603032870c62b4fccd5ce076 23-Mar-2010 Andreas Huber <andih@google.com> Clear the local prefetcher strong reference before signalling that prepare() was cancelled early in order to avoid a race condition that occasionally triggered an assertion from the main thread.

Change-Id: I0db198fe5fd0fbe9a6c90a8e5924a2df05432c4c
related-to-bug: 2538486
ibstagefright/AwesomePlayer.cpp
54b1a0550411c2fd2084d82d28934d505c37349a 20-Mar-2010 Mathias Agopian <mathias@google.com> libutils Condition are now PRIVATE by default

Condition must be initialized with SHARED for the old behavior, where
they can be used accross processes.

Updated the two places android that require SHARED conditions.

PRIVATE conditions (and mutexes) use more efficient syscalls.

Change-Id: I9a281a4b88206e92ac559c66554e886b9c62db3a
ibmedia/AudioTrack.cpp
fc1c7b940c84793ad262a345af117c482a86acec 19-Mar-2010 Atsushi Eno <atsushieno+android@gmail.com> Accept media files by file extension in case insensitive manner.

Change-Id: I8e246010c96802ae87960797607fc8f8f2ab6031
ibmediaplayerservice/MediaPlayerService.cpp
589843b5969aa64a8f9a57fc8176c80b0ddce3c6 18-Mar-2010 Andreas Huber <andih@google.com> Merge "Report a runtime error rather than asserting if the amr software decoder reads more data than it was given(!)"
5d4f85d1e902a477ec7c8e3327693feee97e1c31 18-Mar-2010 Andreas Huber <andih@google.com> Report a runtime error rather than asserting if the amr software decoder reads more data than it was given(!)

Change-Id: I0a7ad65051a6663a583ea82da5fc75227dcdbbfa
ibstagefright/codecs/amrnb/dec/AMRNBDecoder.cpp
1c6cebadf4579d997fdce946a1d00317c3e4c567 18-Mar-2010 Andreas Huber <andih@google.com> Tweak the omx tests to always do a seek-beyond-EOS on the first iteration, followed by a linear read on the second iteration.

Change-Id: I16fc9e42ee9f8e4cb120ab41364cae6dd4544634
related-to-bug: 2338792
ibstagefright/omx/tests/OMXHarness.cpp
a89e12dfa46fe42b6309e945585310a89a5a1600 18-Mar-2010 Andreas Huber <andih@google.com> Either the software mp3 decoder's CRC computation is wrong (and PV never enabled it before) or there are files in the wild with wrong CRCs that nonetheless decode correctly, either way, opt out of CRC verification.

Change-Id: I1d9bd78f4efb53faa82c67110cf61f78122e40f8
related-to-bug: 2511393
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
2fd5624994d3dda4a4b1c2c485ec3e8f8b53cd6e 18-Mar-2010 Andreas Huber <andih@google.com> Merge "While streaming media data, upon a socket-read error, try reconnecting to the server and attempt to re-read for at most 3 times."
0887d170c7dc57411855382e326dd471824c9c02 18-Mar-2010 Andreas Huber <andih@google.com> While streaming media data, upon a socket-read error, try reconnecting to the server and attempt to re-read for at most 3 times.

Change-Id: I7534905e07a6456d18b26d5d60fa8915f25ae99e
related-to-bug: 2492187
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
601b38d3c53653270c16292489e8c28945582dae 17-Mar-2010 Andreas Huber <andih@google.com> Merge "Instead of asserting that nothing bad happened during (software-)AAC decoding, return a runtime error if appropriate."
c9915aed58b3846251406b337ba2e1813d71f07e 17-Mar-2010 Andreas Huber <andih@google.com> Instead of asserting that nothing bad happened during (software-)AAC decoding, return a runtime error if appropriate.

Change-Id: I175492aba8fd6cc1320d047bd2608750d7b193f9
related-to-bug: 2492187
ibstagefright/codecs/aacdec/AACDecoder.cpp
d3f93c572e55dc902d01f8eeda1d107a8b9128e2 17-Mar-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2416481: Support Voice Dialer over BT SCO."
be55a2d66f03e80524a346500ffa9fd046410b28 11-Mar-2010 Eric Laurent <elaurent@google.com> Fix issue 2416481: Support Voice Dialer over BT SCO.

- AudioPolicyManager: allow platform specific choice for opening a direct output.
Also fixed problems in direct output management.
- AudioFliinger: use shorter standby delay and track inactivity grace period for direct output
thread to free hardware resources as soon as possible.
- AudioSystem: do not use cached output selection in getOutput() when a direct output
can be selected.

Change-Id: If44b50d29237b8402ffd7a5ba1dc43c56f903e9b
ibmedia/AudioSystem.cpp
15ff9300a667f7347e546eb1516e7cb0b775ba7a 16-Mar-2010 Andreas Huber <andih@google.com> "isPlaying" should never block, acquiring the mutex here is unnecessary, rather than investing in a separate mutex guarding just "mFlags" we accept returning "true" from isPlaying one too many times.

Change-Id: I597577cbb3ad1afd3cb3ca91979ef24cc1a44658
related-to-bug: 2518319
ibstagefright/AwesomePlayer.cpp
b4cfc6381503236f8fc959e77a64ab5ab5e639f1 16-Mar-2010 Andreas Huber <andih@google.com> Merge "Properly handle errors during the codec configuration phase, attempt to revert to next available (likely software-) codec if configuration fails."
2a3847ee1cbdaa8a65eee397a0173bb02211c459 16-Mar-2010 Andreas Huber <andih@google.com> Properly handle errors during the codec configuration phase, attempt to revert to next available (likely software-) codec if configuration fails.

Change-Id: Id1c699711e30139c9cc29df972254b5ba026e6fb
related-to-bug: 2517098
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMXNodeInstance.cpp
35bb8f908b3f2970bd42d7bc4bf2402f9dd2c271 16-Mar-2010 Glenn Kasten <gkasten@google.com> Merge "Fixes bug 2502132, and masks bug 2518313."
073247521258cf304253193040200b7e0aa8102d 16-Mar-2010 Kenny Root <kroot@google.com> Merge "Fix regression in directory scanning"
aaaa12caef17f34cdcdf118fa7c2b4b8d0d7fe0e 16-Mar-2010 Glenn Kasten <gkasten@google.com> Fixes bug 2502132, and masks bug 2518313.

Change-Id: I5c5ecf1c10763f7b3f3d1e5c57dc5ce77cc344fd
ibstagefright/AMRExtractor.cpp
632a7dfdab89ffa79846ad37718d0582fd36affe 16-Mar-2010 Kenny Root <kroot@google.com> Adjust expected text frame length in ID3

When encountering a null character in an ID3 text frame, adjust the
expected size accordingly so it isn't misidentified as ASCII.

This fixes http://b/2517444

Change-Id: I19a3284d378e882c33b28ecee528a434716c7707
ibstagefright/id3/ID3.cpp
3e42b4491529975f771f8d71f931e24e120a7856 16-Mar-2010 Kenny Root <kroot@google.com> Fix regression in directory scanning

Previous range-checking fix removed an inequality check. This change
restores it.

Offending change was I5eb310ced58c3c64a7af2d11b80326efe5adbcab

Change-Id: Ic952c3ba5a4f7e5ab2148ec623b6f083cb7495fb
ibmedia/MediaScanner.cpp
746973186764292a84d11856ac315fa4b62957ad 15-Mar-2010 Andreas Huber <andih@google.com> We no longer do sanity checks based on "hdlr" tags in .mp4 files. Pretty soon we'll play any bytestream that even vaguely resembles the spec...

Change-Id: I43e05404860d8856b8aa566cc9b256bb3fa57e6f
related-to-bug: 2483328
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/MPEG4Extractor.h
739d629c59758ca1832b8823daf98161a9e87615 15-Mar-2010 Andreas Huber <andih@google.com> Merge "Hack to "support" "enhanced" podcasts... slang for malformed .mp4 files."
a13cc2332acea28fb17dcb4de6fcb78441152828 15-Mar-2010 Andreas Huber <andih@google.com> Merge "Fix the media metadata retriever (tests). The native constants must match those published at the java layer."
c3df626e7d36c4d5d72c1cc3d7af9be7f44e81ae 15-Mar-2010 Andreas Huber <andih@google.com> Merge "Tag the "testid3" commandline tool as "debug-only". It doesn't need to be included in release builds."
643a00adc0cc73bf6ab426f9cc650973006dd859 15-Mar-2010 Andreas Huber <andih@google.com> Tag the "testid3" commandline tool as "debug-only". It doesn't need to be included in release builds.

Change-Id: I7e489af3d569015e2a93d340088e059e984f8153
related-to-bug: 2513148
ibstagefright/id3/Android.mk
6f3a0c2dcb8d37d34e29e6a02acf1e3f8596088c 13-Mar-2010 Andreas Huber <andih@google.com> Hack to "support" "enhanced" podcasts... slang for malformed .mp4 files.

Change-Id: I690b9f336062a0ff1a667d6461d66b1386db866d
related-to-bug: 2511744
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/MPEG4Extractor.h
fa71449d6c3b3da082d8fbedf9470ee8750a1646 15-Mar-2010 Andreas Huber <andih@google.com> Fixing the sim build.

Change-Id: I307f6d59f473471adcf855e66b4e8275ab1b3b74
ibstagefright/omx/OMX.cpp
93e1fb99a0c66784b49b105ce84a23baf054ee9c 13-Mar-2010 Andreas Huber <andih@google.com> Fix the media metadata retriever (tests). The native constants must match those published at the java layer.

Change-Id: Ic1efed709e4d93c61913b231a8cd3ef1074f8ca0
ibstagefright/StagefrightMetadataRetriever.cpp
52e71f87f1dac8d2f6bcaf77bb25b78cba664c43 12-Mar-2010 Andreas Huber <andih@google.com> Boost OMX callback dispatcher thread priority to prevent audio playback stuttering under increased system load

Change-Id: I1b5339b4d39bd964f286cdf1369d0e0492a465d7
related-to-bug: 2492002
ibstagefright/omx/OMX.cpp
c116510dd22091369ab15b63fbbc176e1fb39a04 12-Mar-2010 Andreas Huber <andih@google.com> Merge "HTTPStream and HTTPDataSource now support cancellation of the connection process, AwesomePlayer takes advantage of this in cases where ::reset() or ::suspend() is called while in the preparation phase to bail out early. Also fixes in issue where the audio codec was not properly stopped if no audio player object ever took ownership."
e94bd14078d327ef2f800e69907efce641a13272 12-Mar-2010 Andreas Huber <andih@google.com> HTTPStream and HTTPDataSource now support cancellation of the connection process, AwesomePlayer takes advantage of this in cases where ::reset() or ::suspend() is called while in the preparation phase to bail out early. Also fixes in issue where the audio codec was not properly stopped if no audio player object ever took ownership.

Change-Id: I6d73defe6d276693853a469db267bb2668d07af5
related-to-bugs: 2475845,2414536
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/HTTPStream.h
8a6e24135608d1ec6629f381acd20d88369cd940 11-Mar-2010 Marco Nelissen <marcone@google.com> Merge "Revert "Do autodetection even if no locale was specified, and use the""
b5c3107262fdf82aef4bd5ee8b8c60dd3e4725fe 11-Mar-2010 Marco Nelissen <marcone@google.com> Revert "Do autodetection even if no locale was specified, and use the"

This reverts commit b45b0845a6db32848ad08ac1037ef67a68ec2d39.
ibmedia/MediaScannerClient.cpp
4023493a827bc9751d8e40795516d0d536a53348 10-Mar-2010 Nicolas Catania <niko@google.com> Allow invoke in all the player states except idle and error.

Previously invoke would work only after prepare but not
when the player is in play or pause state (for instance).
This new change just check that the player has been initialized
and is not in the error state.

Bug:2488931
Change-Id: I9b9f3679593a3b7697c1a84d993fdcd7e1693a90
ibmedia/mediaplayer.cpp
64fb06f698b39759a7a2ebacd0a175949b7506a5 11-Mar-2010 Nicolas Catania <niko@google.com> Revert "Allow invoke in all the player states except idle and error."

This reverts commit 88f3b81d065d4bec6f69a25eda99158e254f55b1.
ibmedia/mediaplayer.cpp
79b19b39acce9b1303f8cf1a11c6b7ef852dc5a8 11-Mar-2010 Andreas Huber <andih@google.com> Reduce buffer sizes related to HTTP media data transfer in order to reduce the probability of a connection timeout/reset due to long periods of time between socket activity.

Change-Id: I799ce1d58d56a31088a89603d8a18d24780f5b57
related-to-bug: 2492187
ibstagefright/DataSource.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
63bacaf543d4faee6dadda08e51556c878b078f5 10-Mar-2010 Nicolas Catania <niko@google.com> Allow invoke in all the player states except idle and error.

Previously invoke would work only after prepare but not
when the player is in play or pause state (for instance).
This new change just check that the player has been initialized
and is not in the error state.

Bug:2488931

Change-Id: I7a69d1b6e3eec1e5dbdf7378ff2085329062595a
ibmedia/mediaplayer.cpp
5983dd43811e433d9a6680439ad4df62eef80d6f 10-Mar-2010 Andreas Huber <andih@google.com> Merge "Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files."
2e39c1ca101e01ff13b03129a87939e7982b25bf 10-Mar-2010 Andreas Huber <andih@google.com> Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files.

Change-Id: Ibda4b5268514934f14a3d49a564902bc670f4384
related-to-bug: 2074137
ibstagefright/StagefrightMediaScanner.cpp
83ff1438d2d1d5dbf39ca5e6f2e4fa1799e7ba80 10-Mar-2010 Marco Nelissen <marcone@google.com> MEDIA_PLAYER_STATE_ERROR is not a bitmask
(b/2502881)

Change-Id: I08e427eb2c36f5d70e40f9aeb8638fa8262de989
ibmedia/mediaplayer.cpp
69f722fb203371f9879f2b0c9670791ed6deb555 09-Mar-2010 Andreas Huber <andih@google.com> Use a more descriptive user-agent string (similar to PV's before) in stagefright http requests.

Change-Id: I4e8ea856327bdb65989f75dab3673baeaf9637c8
ibstagefright/HTTPDataSource.cpp
ebca2dccc0fbd41acf02d8a9c056e206eb29b089 09-Mar-2010 Andreas Huber <andih@google.com> Merge "The audio track was accidentally not participating in the prefetch since it wasn't started at the time prepare() was called. Also, properly report the cached duration even near the end when the source has no more data to fetch."
e7e3b785a0e7819db4c895a4f60e9a4dd755880c 09-Mar-2010 Andreas Huber <andih@google.com> The audio track was accidentally not participating in the prefetch since it wasn't started at the time prepare() was called. Also, properly report the cached duration even near the end when the source has no more data to fetch.

Change-Id: I66a92fec24c9bfb25f1c186f1c877127bae2b4f9
related-to-bug: 2444425
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/Prefetcher.cpp
1ebb261c0c22955116d121e5d38dfa68df027c6c 08-Mar-2010 Andreas Huber <andih@google.com> Merge "Apparently a MemoryHeapPMem must be slap()ed for SurfaceFlinger to use the contained buffers."
0caaa95e11b700440f64e110b11f77a93acfa569 08-Mar-2010 Andreas Huber <andih@google.com> Apparently a MemoryHeapPMem must be slap()ed for SurfaceFlinger to use the contained buffers.

Change-Id: I86916a14c6cf9e65145711c6ded433b864f84456
related-to-bug: 2474091
ibstagefright/colorconversion/SoftwareRenderer.cpp
1322e7ebc33e8e161fb73cd47e43dd93357608e4 08-Mar-2010 Andreas Huber <andih@google.com> Increase the amount of data buffered at preparation time. Make sure to start preparing after the codecs have been started, otherwise no buffering will happen.

Change-Id: I2c54db085cc76f4069ab381177e94e1b81005b02
related-to-bug: 2474091
ibstagefright/AwesomePlayer.cpp
ibstagefright/Prefetcher.cpp
8eea8c3b2c48ce693a20eda4828ff188700b72e0 08-Mar-2010 Andreas Huber <andih@google.com> The prefetched source was unnecessarily holding a lock while receiving data from the network, sometimes blocking for seconds over 2G networks with corresponding drops in audio playback. Also, if the cache was full we'd report a cache duration of 0 instead of maximum size.

Change-Id: I46c8083f12f2dd728302095369197ca7e6b78bf8
related-to-bugs: 2492187, 2444425
ibstagefright/Prefetcher.cpp
3a2bee0e7f867ab6a7d36503731dec1432066470 06-Mar-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2428563: Camera rendered inoperable by voice call interruption."
88335b1a749fe0157547907a2ce6c9632f4d2592 03-Mar-2010 Eric Laurent <elaurent@google.com> Fix issue 2428563: Camera rendered inoperable by voice call interruption.

The problem is that AudioRecord never exits read() when a timeout occurs while trying
to get new PCM data from audio hardware input buffer: it just keeps waiting and retrying until stop() is called.
In the same time, opencore AndroidAudioInput::audin_thread_func() loop cannot be exited when stuck
in AudioRecord::read() because the iExitAudioThread flag can only be sampled when AudioRecord::read()
returns. We remain stuck with the audio input thread running.

The fix consists in modifying AudioRecord behavior in case of timeout when getting new PCM samples.
We now wait only one timeout period and try to restart audio record, in case the problem is due to a media_server
process crash. If this fails, we exit read() with a number of bytes read equals to 0 so that
AndroidAudioInput::audin_thread_func() loop can exit.

Also modified Audioflinger::RecordThread() loop so that we attempt to recover from HAL read errors.
In case of read error, the input stream is forced to standby so that next read attempt does a
reconfiguration and restart of the audio input device.
ibmedia/AudioRecord.cpp
4a68c51b96ff93b7cb41dc682e5c031bee828df0 05-Mar-2010 Andreas Huber <andih@google.com> Merge "Instead of allocating the decoder instances in response to a call to setDataSource, postpone allocation to the preparation phase where it belongs."
88d8a83de12592635248aa1a3bd6b9ea46108501 05-Mar-2010 Andreas Huber <andih@google.com> Instead of allocating the decoder instances in response to a call to setDataSource, postpone allocation to the preparation phase where it belongs.

related-to-bug: 2492205
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ba1f481614b4a4dd290e3b75e0f3f1879a383a44 05-Mar-2010 Andreas Huber <andih@google.com> NPR's audio streams start with a 30sec segment whose mp3 headers are subtly different from those following. Allow certain bits to vary that were thought to be fixed before.

related-to-bug: 2490385
ibstagefright/MP3Extractor.cpp
fe4c6f01646de47d41bbe3aa6d17c6a0daa2b730 02-Mar-2010 Dave Sparks <davidsparks@android.com> Fix build. I screwed up a merge.
ibmediaplayerservice/MediaPlayerService.cpp
4bbc0ba371c52951191eff1cba7c1ea5d27ee976 02-Mar-2010 Dave Sparks <davidsparks@android.com> Add locking to signal in AudioCache::notify(). Bug 2317844.
ibmediaplayerservice/MediaPlayerService.cpp
05bca2fde53bfe3063d2a0a877f2b6bfdd6052cf 26-Feb-2010 Eric Laurent <elaurent@google.com> Issue 2071329: audio track is shorter than video track for video capture on sholes

Add API to retrieve number of frames dropped by audio input kernel driver.

Submitted on behalf of Masaki Sato <masaki.sato@motorola.com>
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
25155ff8ccf7898d08ab62fae46297e046a571f0 01-Mar-2010 Andreas Huber <andih@google.com> Ensure that the audio codec instance is actually going away before we attempt to instantiate another one, otherwise we might end up with the software codec even though the hardware codec would have been available shortly.
ibstagefright/AudioPlayer.cpp
e3d91046072908f5613a21652b6da9b44043f1d5 27-Feb-2010 James Dong <jdong@google.com> Merge "Don't allow MediaRecorder.setParameter() to be invoked in the following states: error, prepared or recording"
698f476590bc9e38d4d1d4155da9efdbedd357c4 26-Feb-2010 Marco Nelissen <marcone@google.com> When we're in the 'playback complete' state, don't consider pausing
an error. This makes 'playback complete' essentially equivalent to
being paused at the end, and treats it the same as being paused at
any other position.
ibmedia/mediaplayer.cpp
789c27a161f8ab7dba0835e015317ff4843c5cd2 26-Feb-2010 Andreas Huber <andih@google.com> Merge "The PV aac software decoder screws up if playing a mono-AACplus stream unless we output stereo data. Now we always output stereo data as the legacy OMX nodes did."
42569ac261af2cf8cefd0922a890c31b759c37b8 26-Feb-2010 Andreas Huber <andih@google.com> The PV aac software decoder screws up if playing a mono-AACplus stream unless we output stereo data. Now we always output stereo data as the legacy OMX nodes did.

related-to-bug: 2472545
ibstagefright/codecs/aacdec/AACDecoder.cpp
e284bac7757ad732d0812eb6133125434ba66d5b 26-Feb-2010 James Dong <jdong@google.com> Don't allow MediaRecorder.setParameter() to be invoked in the following states:
error, prepared or recording

bug - 2362412
ibmedia/mediarecorder.cpp
af5611861df599656edafb751d5140fdccc34135 26-Feb-2010 Andreas Huber <andih@google.com> Merge "Support vendor MPEG4 test content with apparently malformed chunks in them."
ea5ea10a036f79c86bf5f204cb81804bf2bacdc7 26-Feb-2010 Andreas Huber <andih@google.com> Support vendor MPEG4 test content with apparently malformed chunks in them.

related-to-bug: 2472211
ibstagefright/MPEG4Extractor.cpp
b8b283bd53594ce4bb6da47b3abff12a0a070f04 26-Feb-2010 James Dong <jdong@google.com> Merge "Add some space and total memory amount to the memory dump from the media server process."
dedec7365f6c4dfbfc69994a8756b4abb5031afa 26-Feb-2010 James Dong <jdong@google.com> Merge "Image encoding settings java API through xml configuration file"
1edee16200cb377b7862b30aa5c387d9686023db 25-Feb-2010 James Dong <jdong@google.com> Add some space and total memory amount to the memory dump from the media server process.
ibmediaplayerservice/MediaPlayerService.cpp
f5a8385649204213dc19e1a64f4693931e048d85 24-Feb-2010 James Dong <jdong@google.com> Image encoding settings java API through xml configuration file

- I decided to completely remove jpeg decoding related stuff from this change
I think that setting is better off if it is specified by the system properties.
We don't have to include MediaProfiles.h header in skia files
ibmedia/MediaProfiles.cpp
d2d947bc8717697e983062147b51b5a0e307b84f 24-Feb-2010 Andreas Huber <andih@google.com> Recover from a certain mp3 decoder error instead of signalling an error and thereby stopping decoding.
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
5295c0c55d41a2906ea7f65a3f22e6278cb17d4b 23-Feb-2010 Andreas Huber <andih@google.com> Propagate errors all the way through the MediaSources and send either MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR depending on the final reason for running out of buffers to play back.

related-to-bug: 2463749
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/Prefetcher.cpp
ibstagefright/include/AwesomePlayer.h
bd5d93f21e6f79c6d9ebe9d77542c3090d4a7ff4 23-Feb-2010 Andreas Huber <andih@google.com> Return runtime errors instead of asserting in MPEG4 file format validation, also add more validation to ensure presence of codec specific data for avc, aac and mpeg4.

related-to-bug: 2431967
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/MPEG4Extractor.h
36efe505b61cf9d5d019f2021450401bde5d9858 22-Feb-2010 Andreas Huber <andih@google.com> Properly unload the renderer shared library after the renderer goes away.
ibstagefright/omx/OMX.cpp
86559de0275b46a9bdba06b749fbd549ad2022d1 22-Feb-2010 Andreas Huber <andih@google.com> This hardware video decoder lies about its required input buffer sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk.

related-to-bug: 2281327
ibstagefright/OMXCodec.cpp
df49e8926e85088bc7d1dc7905362437c9806b69 22-Feb-2010 Eric Laurent <elaurent@google.com> am 8978547f: am f5fe3949: Fix issue 2459650.

Merge commit '8978547f254b6b6ba2e322794aa044803f3edc2a'

* commit '8978547f254b6b6ba2e322794aa044803f3edc2a':
Fix issue 2459650.
7c7fa1b51bec497cd7f46c1bdb5bb0adfaa181b2 22-Feb-2010 Eric Laurent <elaurent@google.com> Fix issue 2459650.

This change fixes a problem where an unwanted tone is generated by audio policy manager when a MT call is answered.
This is because of a policy that replaces high visibility system sounds (ringtones, alarms...) by a beep when in call.
There is a transitory phase while the call is being answered where the phone state is changed to IN_CALL but the
ringtone is still playing. The audio policy manager then mutes the end of the ringtone and starts playing a beep
in replacement because the ringtone is categorized as high visibility.

The fix consists in changing the ringtone stream type from high visibility to low visibility. This is not a problem as
the only actual use case where a ringtone would be generated while in call is if another call is received.
But in this case, the phone system does not generate a ringtone but a call waiting tone instead.
It is therefore not required to handle a ringtone as a high visibiltiy tone that must be somehow signaled to the user
while in call.
ibmedia/AudioSystem.cpp
4b2f2c06ea5be0d95da53a3307ab4c1dd940f8dd 20-Feb-2010 Marco Nelissen <marcone@google.com> Merge "Make sure that the event callback thread is Java capable in the simulator."
0df82fcf56668bbde355cac7fb0828368441f6dc 20-Feb-2010 Marco Nelissen <marcone@google.com> Make sure that the event callback thread is Java capable in the simulator.
ibstagefright/Android.mk
ibstagefright/TimedEventQueue.cpp
bd8a5cd484cf6197f89c5a28e091959970e7551d 19-Feb-2010 Andreas Huber <andih@google.com> Merge "Implement legacy behaviour for MediaPlayer's behaviour of starting from the start of the media on a start() call instead of resuming at the current position, if previously reached the end of the stream. Also properly report number of frames played to audio flinger. Finally, delay spawing the queue thread until actually used."
2e8ffaf95bd35358ecd14ddf00cddaf3abefe0a9 19-Feb-2010 Andreas Huber <andih@google.com> Implement legacy behaviour for MediaPlayer's behaviour of starting from the start of the media on a start() call instead of resuming at the current position, if previously reached the end of the stream. Also properly report number of frames played to audio flinger. Finally, delay spawing the queue thread until actually used.

related-to-bug: 2453220
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
9068d69227703817a583d53627b8007063634425 19-Feb-2010 Andreas Huber <andih@google.com> Fix a race condition in the prefetcher, the source may be shutdown while we're reading data from it.

related-to-bug: 2453414
ibstagefright/Prefetcher.cpp
1f71e77facd0a2b39f4a0be7fa52850533cc121f 18-Feb-2010 Kenny Root <kroot@google.com> Merge "Range check in MediaScanner::processDirectory"
eb03f13fd3b5a4b1060cd55881934ff9c918fe8c 18-Feb-2010 Kenny Root <kroot@google.com> Range check in MediaScanner::processDirectory

Make sure we don't have an empty string before checking if it's a
directory since this string is tainted.

Change-Id: I5eb310ced58c3c64a7af2d11b80326efe5adbcab
ibmedia/MediaScanner.cpp
e307dd2d8309a1f49de9a079a3f33cb063c10b24 18-Feb-2010 Kenny Root <kroot@google.com> Merge "Store AudioTrack return value for error condition"
32dcebf970356eb8599ea965d71535ed0c212c2d 18-Feb-2010 Kenny Root <kroot@google.com> Store AudioTrack return value for error condition

Store AudioTrack->initCheck()'s return value so we can return it after
the AudioTrack is deleted.

Change-Id: Ie042a7d6a54d7f9afd8a5767cfd167dbeb2e5c04
ibstagefright/AudioPlayer.cpp
d29345dfa29cdcc650f3705e43950ef2500f6728 18-Feb-2010 Andreas Huber <andih@google.com> We are cancelling this event during reset, but the event may have already been dispatched at the time, blocking on the mutex. While it's blocking, reset() cancels the event, we're then unblocked and bad things(tm) happen.

related-to-bug: 2451174
ibstagefright/AwesomePlayer.cpp
c2158a2f0fb68fe96d24b9bd85c32f15753d8ccb 18-Feb-2010 Andreas Huber <andih@google.com> Disable the TI AMR hardware decoder for audio decoding until its issues are resolved.

related-to-bug: 2450938
ibstagefright/OMXCodec.cpp
f759aa902596e0c8d13b756cecbb8f037769791c 16-Feb-2010 Andreas Huber <andih@google.com> Merge "If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection."
36d06e5a244a85f31854d559b8a8e10b3eb89577 16-Feb-2010 Andreas Huber <andih@google.com> Merge "Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources."
389a8b192cf18495ed0c7201a691f515d3b150dc 16-Feb-2010 Andreas Huber <andih@google.com> Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources.

related-to- bug: 2413024
ibstagefright/Prefetcher.cpp
a5142a9282c972b5b2faf21f1cc3831a6dcf0436 16-Feb-2010 Andreas Huber <andih@google.com> If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection.

related-to-bug: 2442307
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
0e917ec1e86477ca22ed8d5dc87a36f4641a6733 16-Feb-2010 Andreas Huber <andih@google.com> The AMRSource failed to properly release a media buffer in case of error.

related-to-bug: 2441307
ibstagefright/AMRExtractor.cpp
3cf7054398a9c0f2f15ce1cd189ed88de42e5ec3 13-Feb-2010 Gloria Wang <gwang@google.com> Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"
b56e992476d1bbeb4021d256852dbe02fc1064f8 13-Feb-2010 Gloria Wang <gwang@google.com> Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
feef608b2ca6beb8098a5f4823085a14e97267ca 12-Feb-2010 Andreas Huber <andih@google.com> Merge "Preserve a preview frame to be restored after resuming the playback session."
fa090f541bb84a546af2ec834e91a032ff10e66e 12-Feb-2010 Andreas Huber <andih@google.com> Preserve a preview frame to be restored after resuming the playback session.

related-to-bug: 2231576
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ed7c9f7b28c3496568351b9165f686bd20128621 12-Feb-2010 Andreas Huber <andih@google.com> Merge "New API on java's MediaPlayer to suspend/resume a session."
4e92c7efc68b5d7635a32dbd283ab8558ad9bdd6 12-Feb-2010 Andreas Huber <andih@google.com> New API on java's MediaPlayer to suspend/resume a session.

related-to-bug: 2231576
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
7b3396acc702451be9bafb19d7fe26d55d43a316 12-Feb-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 427e927298449826bb5b98327b0c05957aa051e6
Author: Andreas Huber <andih@google.com>
Date: Fri Feb 12 10:39:07 2010 -0800

Fixing a race condition in AwesomePlayer and support for suspend/resume.

commit 96201a04b6657b6bd69ec6100f4de66aebcaa0b4
Author: Andreas Huber <andih@google.com>
Date: Fri Feb 12 10:36:15 2010 -0800

Protect MPEG4Source's sanity by properly locking.

related-to-bug: 2231576
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/Prefetcher.cpp
ibstagefright/include/AwesomePlayer.h
328901bdc7c00ab361c5ef16d0d69c94a0458e95 11-Feb-2010 Marco Nelissen <marcone@google.com> Merge "Add support for "album artist" tag."
66ac4df65516ebfd0e500bfca75dc4b5ef8d674e 11-Feb-2010 Marco Nelissen <marcone@google.com> Add support for "album artist" tag.
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
3cf613507f1e2f7bd932d921a6e222e426fd3be4 10-Feb-2010 Mathias Agopian <mathias@google.com> split libsurfaceflinger_client and libcamera_client out of libui
ibmedia/Android.mk
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/IOMX.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/colorconversion/Android.mk
ibstagefright/colorconversion/SoftwareRenderer.cpp
988e3f0b2c74095deae580157c57935a98573052 11-Feb-2010 Andreas Huber <andih@google.com> Support for rendering through an overlay on the droid even if a software renderer is active.
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
2f5b04733badcb8bd5131aef9d99c9a9e84a3a21 11-Feb-2010 Andreas Huber <andih@google.com> Merge "Fixing AMR recording code."
b45c62c8e9b05c2703bdae18cc298ae55550db8a 11-Feb-2010 Andreas Huber <andih@google.com> Fixing AMR recording code.
ibmediaplayerservice/StagefrightRecorder.cpp
ibstagefright/AMRWriter.cpp
6708918f4f28c1bf6284cfb70724bcef4d67db68 10-Feb-2010 Marco Nelissen <marcone@google.com> Merge "Do autodetection even if no locale was specified, and use the detected encoding if it is unambiguous."
cb5b4896ebc1ee36b254866f6c9a3f376d68d0ac 10-Feb-2010 Andreas Huber <andih@google.com> Merge "Properly detect Adobe's .f4v file format as an mp4 ISO compliant file."
c5b366a4b428e7dd0626e33193e51180ad3ab8ba 10-Feb-2010 Andreas Huber <andih@google.com> Properly detect Adobe's .f4v file format as an mp4 ISO compliant file.
ibstagefright/MPEG4Extractor.cpp
758cc74ff08487ded45f7ff4476c200fe727b366 10-Feb-2010 Andreas Huber <andih@google.com> TI does not want the hardware H.263 decoder to be enabled.
ibstagefright/OMXCodec.cpp
77f8531a739c46cffe7f7fd1e035de542deccf48 10-Feb-2010 Marco Nelissen <marcone@google.com> Do autodetection even if no locale was specified, and use the
detected encoding if it is unambiguous.
ibmedia/MediaScannerClient.cpp
7d5b8a70c28c0d5746a600467b2887822dbff88e 10-Feb-2010 Andreas Huber <andih@google.com> Implementation of stagefright-enabled MediaPlayerService::decode functionality

related-to-bug: 2359268
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/AudioPlayer.cpp
316f8352846a1470b0ffd1b94ac1ec535922a9f6 09-Feb-2010 Andreas Huber <andih@google.com> Merge "Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time..."
bd22c52280179b29eefac91ef7e7bbbc33d25904 09-Feb-2010 Andreas Huber <andih@google.com> Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time...

related-to-bug: 2431117
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
c017cfcc24dd63c7efde5747a6ed2d4053788abc 09-Feb-2010 Andreas Huber <andih@google.com> If the codec's input buffer size is too small to accomodate the buffer read from the source, report and error instead of asserting.
ibstagefright/OMXCodec.cpp
26bae54d7a3d04215eba34c62c349f1be6ab1493 09-Feb-2010 Marco Nelissen <marcone@google.com> Support the disc number and custom genre tags for mp4.
ibstagefright/MPEG4Extractor.cpp
22c85664fead28bf376084de20d2f3a90552e000 09-Feb-2010 Andreas Huber <andih@google.com> Merge "A little less verbosity in stagefright and special treatment for the error state while shutting down."
ec9dd59902c8beea4ba6a842f3a843d46150d949 09-Feb-2010 Andreas Huber <andih@google.com> A little less verbosity in stagefright and special treatment for the error state while shutting down.
ibstagefright/AwesomePlayer.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OMXCodec.cpp
cba8b3a18e92df3b2fc8820d55c85674cd9d0198 09-Feb-2010 Andreas Huber <andih@google.com> Merge "During shutdown, don't loop forever on a state transition to OMX_StateInvalid."
569e7f1b1444194d1aca5a0b23de154565ba12da 09-Feb-2010 Marco Nelissen <marcone@google.com> Use bswap_16 instead of swap16, because swap16 is not available in glibc
ibstagefright/id3/ID3.cpp
4c23b7d543cd95250e766cef7558d0f4c941ddcb 08-Feb-2010 Andreas Huber <andih@google.com> ID3v1 tag's strings are ISO8859, not UTF-8, so do the proper conversion when extracting metadata.

related-to-bug: 2399408
ibstagefright/id3/ID3.cpp
2dd73b65542c9eeb82bb567098f235349d18b06f 09-Feb-2010 Andreas Huber <andih@google.com> Merge "Properly implement asynchronous preparation of media playback."
940ad815a1a30abf0268949e3d3937d7e0d672c0 09-Feb-2010 Marco Nelissen <marcone@google.com> Merge "Skip the endianness marker when converting UCS-2 to UTF-8, since it ends up in the UTF-8 string otherwise."
c23f12af0394aa2f6651968a3c8840f1af317aa1 08-Feb-2010 Andreas Huber <andih@google.com> Properly implement asynchronous preparation of media playback.

related-to-bug: 2413002
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/Prefetcher.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/Prefetcher.h
5a2621a64de196cbdb9a2a50357dee1c32fcf11b 09-Feb-2010 Marco Nelissen <marcone@google.com> Skip the endianness marker when converting UCS-2 to UTF-8, since it
ends up in the UTF-8 string otherwise.
ibstagefright/id3/ID3.cpp
825bfc23eac1bc37f9eb7a14221b6dc5c303bdf0 09-Feb-2010 Gloria Wang <gwang@google.com> Merge "Use Tremor for sim-eng, and Tremolo for other targets."
6c8a9a4132337a3419a72a735f0b40df0b82061f 08-Feb-2010 Marco Nelissen <marcone@google.com> Add support for the TPOS/TPA (disc number) id3 tag.
ibstagefright/MP3Extractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
9636054b52f0de54e42b669805883c71a5196d42 08-Feb-2010 Gloria Wang <gwang@google.com> Use Tremor for sim-eng, and Tremolo for other targets.
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
0d681df3b0ded2c1e335b6b5785439da4ce2c238 08-Feb-2010 Andreas Huber <andih@google.com> During shutdown, don't loop forever on a state transition to OMX_StateInvalid.

related-to-bug: 2420917
ibstagefright/omx/OMXNodeInstance.cpp
c9c4bef6b7f6793263a1f7659fe3641e856f2573 08-Feb-2010 Gloria Wang <gwang@google.com> Merge "Fix for 2224736. Sometimes mSeeking is reset without calling setSeekTo first."
7ebf475799f6ae1ec8c67983fc1028c487af4c2e 06-Feb-2010 Gloria Wang <gwang@google.com> Revert "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"

This reverts commit 2f46c062b05254671aec96a98b431f91ae7b270c.
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
5dd69302ffabd260d035fe309374892c7d681926 06-Feb-2010 Gloria Wang <gwang@google.com> Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"
9d8bd1c6162b55f8f68c00038e6b75be25100c52 05-Feb-2010 James Dong <jdong@google.com> Merge "When the extractor is not able to be created successfully, don't crash"
b93ad64a423975748c7f5e1a5ea94ab8681bc899 05-Feb-2010 James Dong <jdong@google.com> When the extractor is not able to be created successfully, don't crash
ibstagefright/omx/tests/OMXHarness.cpp
cb9859bcf5f00cee57de06e9968b88a69b2d6d9c 05-Feb-2010 Gloria Wang <gwang@google.com> Fix for 2224736. Sometimes mSeeking is reset without calling setSeekTo first.
ibstagefright/AudioPlayer.cpp
9944aaea3a4f0e7a68b448e666b025b458ecc595 04-Feb-2010 Gloria Wang <gwang@google.com> Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
b25e2a948c8b5a96e284069a908c2fddb49efc48 04-Feb-2010 Andreas Huber <andih@google.com> Stop using the PV software decoders and use ours (based on PV code) instead even in non-FULL_STAGEFRIGHT builds.
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/Android.mk
ibstagefright/id3/Android.mk
b399aa37056a3ce7a38b4a20cc0aef8e0e01b23e 04-Feb-2010 Andreas Huber <andih@google.com> Merge "Defer creating the video renderer until we see the first video frame."
a657f8deaf21acbe5faba7be1df9c6681d44d471 04-Feb-2010 Andreas Huber <andih@google.com> Defer creating the video renderer until we see the first video frame.

This avoids having to instantiate the renderer twice in case the video decoder sends a format change before the first frame.

related-to-bug: 2375037
ibstagefright/AwesomePlayer.cpp
80a68deec52c9a1b47215ed68526206ec88197f8 04-Feb-2010 Andreas Huber <andih@google.com> Previous change broke A/V sync, this is a better change to eliminate negative media positions.

related-to-bug: 2414900
ibstagefright/AudioPlayer.cpp
1862a33b246249630b654182afb5914da3480d4c 03-Feb-2010 Andreas Huber <andih@google.com> Fix a deadlock caused by the AudioPlayer notifying the observer that the stream had ended at the same time the observer was shutting down the AudioPlayer.

related-to-bug: 2414536
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
ad6516d9247bd0a76a393810b041c3e4094f0e36 03-Feb-2010 Andreas Huber <andih@google.com> AudioPlayer didn't properly account for the latency when calculating the current media time.

related-to-bug: 2414900
ibstagefright/AudioPlayer.cpp
7f8b69feef7bf9395ba4fda0619240f1237552b1 02-Feb-2010 Andreas Huber <andih@google.com> Workaround for misbehaving HTTP servers that terminate header lines with a single newline instead of the required CRLF sequence.

related-to-bug: 2414022
ibstagefright/HTTPStream.cpp
7574ca60ce85f816d3d7f6ee7a74285ff6b72a98 02-Feb-2010 Andreas Huber <andih@google.com> Merge "Don't use a HEAD request to determine redirects, instead do a regular GET (since that's always supported), also limit the number of redirects to avoid infinite redirects. Finally, properly handle the end of stream."
de6bec4ec04e9b8e9f96bc44fc15e6d072f851a8 02-Feb-2010 Andreas Huber <andih@google.com> Don't use a HEAD request to determine redirects, instead do a regular GET (since that's always supported), also limit the number of redirects to avoid infinite redirects. Finally, properly handle the end of stream.

related-to-bug: 2403674
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
3b240d6bf235f6f6b40ee4c37a2862de286ca1e4 02-Feb-2010 Andreas Huber <andih@google.com> Properly report the duration of a recording into .mp4 files.

related-to-bug: 2295468
ibstagefright/MPEG4Writer.cpp
4cf04b1bf703522b37a60427ef02f2a18b218c19 02-Feb-2010 Andreas Huber <andih@google.com> Properly advertise the content length of the HTTP stream if available.

related-to-bug: 2312941
ibstagefright/CachingDataSource.cpp
ibstagefright/HTTPDataSource.cpp
a62aad3d3313f02a759ab2fcb92e160272badd5b 02-Feb-2010 James Dong <jdong@google.com> Merge "Initial check-in for xml-based encoder capabilities retrieval - Changed the Java API as suggested - Treat /etc/media_profiles.xml as the default xml configurtion file"
1d7491b19516505e0754c66a3c8cd61811c9b6a6 20-Jan-2010 James Dong <jdong@google.com> Initial check-in for xml-based encoder capabilities retrieval
- Changed the Java API as suggested
- Treat /etc/media_profiles.xml as the default xml configurtion file
ibmedia/Android.mk
ibmedia/MediaProfiles.cpp
b8118650036a763b3cd91bc71f358b453ad28993 01-Feb-2010 Andreas Huber <andih@google.com> Merge "Use physical memory for software rendering to take a fast path through surface flinger if possible."
afeb8352e222a218440e4b5a9d17181fc304c179 01-Feb-2010 Andreas Huber <andih@google.com> Merge "The TI MP3 decoder lies about the number of channels it outputs, add a quirk for that."
89e7fff6a5d7410815f42b4a55958a59d4463180 29-Jan-2010 Andreas Huber <andih@google.com> Use physical memory for software rendering to take a fast path through surface flinger if possible.

related-to-bug: 2386023
ibstagefright/colorconversion/SoftwareRenderer.cpp
78d529eb330ab6c04b5c694403f5a7e7de4b702f 01-Feb-2010 Andreas Huber <andih@google.com> The TI MP3 decoder lies about the number of channels it outputs, add a quirk for that.
ibstagefright/OMXCodec.cpp
6b3359d4669f539c173bfc40809deb8ffde3dd0c 30-Jan-2010 Mathias Agopian <mathias@google.com> Don't use MemoryDealer in MetadataRetrieverClient as it's not necessary.

Use a MemoryHeapBase directly instead.
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
036a38099c9d339d77dc4a1a148db2907a618c2e 30-Jan-2010 Mathias Agopian <mathias@google.com> Merge "Simplify the MemoryDealer implementation"
e300a0c436a048e7568837d9cd8f4bb2bf5e6c72 30-Jan-2010 Andreas Huber <andih@google.com> Merge "Apparently the generic mpeg4 file header does not describe the actual samplerate and channel count of the content in the case of mpeg4 audio, instead the 'ESDS' atom must be consulted."
a83adc4131d5c1afa98fb78b9764be0fab6f1ef7 29-Jan-2010 Andreas Huber <andih@google.com> Merge "Support 24-bit LE PCM wave files in stagefright."
867d2f6ce668968e463eb86b856d21525f12fd67 26-Jan-2010 Mathias Agopian <mathias@google.com> Simplify the MemoryDealer implementation

At some point the implementation became complicated because of
SurfaceFlinger's special needs, since we are now relying on gralloc
we can go back to much simpler MemoryDealer.

Removed HeapInterface and AllocatorInterface, since those don't need
to be paramterized anymore. Merged SimpleMemory and Allocation.
Made SimplisticAllocator non virtual.

Removed MemoryDealer flags (READ_ONLY, PAGE_ALIGNED)

Removed a lot of unneeded code.
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/omx/tests/OMXHarness.cpp
ba7c7eeca462614251aec3d27f0f7ff3a83cefa1 29-Jan-2010 Andreas Huber <andih@google.com> Apparently the generic mpeg4 file header does not describe the actual samplerate and channel count of the content in the case of mpeg4 audio, instead the 'ESDS' atom must be consulted.

related-to-bug: 2407094
ibstagefright/MPEG4Extractor.cpp
ibstagefright/include/MPEG4Extractor.h
984d8f40c15e7fd757a9fdc007aad75549aa0fce 29-Jan-2010 Andreas Huber <andih@google.com> Support 24-bit LE PCM wave files in stagefright.

related-to-bug: 2300197
ibstagefright/WAVExtractor.cpp
bbe1ed453aa0407237127fb45a30ba8ffd9e0941 29-Jan-2010 Andreas Huber <andih@google.com> Merge "Properly forward errors returned by AudioTrack up to the player."
1846096f274048a5882402e12be7c47db91b3834 29-Jan-2010 Andreas Huber <andih@google.com> The AVC software decoder always aligns the decoded dimensions to 16 pixel boundaries, report this properly to callers.
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
88c030e0e0152791ff74f90249f55fce01371198 29-Jan-2010 Andreas Huber <andih@google.com> Properly forward errors returned by AudioTrack up to the player.

related-to-bug: 2300197
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
0fc863291096e9818fa83f8edc459f7f9c9cf794 29-Jan-2010 Andreas Huber <andih@google.com> Merge "Make sure the OMX component is synchronously shutdown before we try to instantiate another one. Also properly cleanup the software AVC decoder to avoid leaking memory."
69f5f4c021ee55055df39718244c036faf2d3382 29-Jan-2010 Andreas Huber <andih@google.com> Make sure the OMX component is synchronously shutdown before we try to instantiate another one. Also properly cleanup the software AVC decoder to avoid leaking memory.

related-to-bug: 2404786
ibstagefright/AwesomePlayer.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
50a9976892316c033cd90d522ecbfcc8e3c0eb9b 28-Jan-2010 Andreas Huber <andih@google.com> For mpeg4 files streamed through HTTP, cache the entire sampletable metadata chunk in memory if possible.

related-to-bug: 2295438
ibstagefright/HTTPDataSource.cpp
ibstagefright/MPEG4Extractor.cpp
5561ccf4a8db88a2e44eac1b3ed13b4ff53a7f20 28-Jan-2010 Andreas Huber <andih@google.com> Support the specification of additional HTTP headers in the creation of a DataSource.

related-to-bug: 2393577
ibmediaplayerservice/StagefrightPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/omx/tests/OMXHarness.cpp
2db8455d8f4468a637109d31f319ce02d9d743ec 28-Jan-2010 Andreas Huber <andih@google.com> API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played.

related-to-bug: 2393577

Original change by Andrei Popescu <andreip@google.com>
ibmedia/IMediaPlayerService.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/MidiMetadataRetriever.cpp
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/TestPlayerStub.cpp
ibmediaplayerservice/TestPlayerStub.h
ibmediaplayerservice/VorbisMetadataRetriever.cpp
ibmediaplayerservice/VorbisPlayer.cpp
ibmediaplayerservice/VorbisPlayer.h
8566a635aa4bf6d2e908f0bc64d4fb8917025b58 28-Jan-2010 Andreas Huber <andih@google.com> Fix http streaming for shoutcast servers that do not support http ranges.

related-to-bug: 2295438
ibstagefright/HTTPDataSource.cpp
dd26833953e9e965df0421c854a3b86a1bb56715 27-Jan-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync"
0463f07fe11e6b70d8c46a23abd88273952fabc4 27-Jan-2010 Andreas Huber <andih@google.com> Do not hold onto the master lock while reading data from the datasource. This would prevent consumers from reading cached data immediately if it is available.

related-to-bug: 2295438
ibstagefright/Prefetcher.cpp
e9f8c544dbe0ac7ff88df18bfe9084c72e3ac1d5 27-Jan-2010 Andreas Huber <andih@google.com> Merge "Better support for HTTP streaming media content, fixes to the way HTTPDataSource streams the data, prefetcher implementation."
342e9cf388cceb807def720e40e8b0a217f4bcaa 20-Jan-2010 Eric Laurent <elaurent@google.com> Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync

Added getRenderPosition() API to IAudioFlinger to retreive number of audio frames
written by AudioFlinger to audio HAL and by DSP to DAC.

Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames
written by DSP to DAC.

Exposed AudioTrack::getPosition() to AudioSink() to make it available to media player.

Removed excessive log in AudioHardwareGeneric.
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
66b0a35c9a4136a84c3f73b1b25fcb5220138b95 27-Jan-2010 Andreas Huber <andih@google.com> Better support for HTTP streaming media content, fixes to the way HTTPDataSource streams the data, prefetcher implementation.

related-to-bug: 2295438
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/CachingDataSource.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/Prefetcher.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/include/Prefetcher.h
2dce41ad26cb3e9e15c9e456a84bcf5309548ca0 26-Jan-2010 Andreas Huber <andih@google.com> Support for audio recording into AMR NB/WB files as well as audio tracks in MPEG4 files.

related-to-bug: 2295449
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/AMRWriter.cpp
ibstagefright/MPEG4Writer.cpp
e7dc360f6fcb4d5348e72ba57e936254216ae399 26-Jan-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2378022: AudioService should direct volume control to STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active."
ca2b6fa1f99b900420fe392cc401a35bcac91616 26-Jan-2010 Andreas Huber <andih@google.com> Merge "Initial checkin of AudioSource and AMRWriter, a pair of classes supporting pure-audio recording in stagefright."
e7c9cb48fec02697227bd847cd2e69432659adfd 25-Jan-2010 Andreas Huber <andih@google.com> Initial checkin of AudioSource and AMRWriter, a pair of classes supporting pure-audio recording in stagefright.

related-to-bug: 2295449
ibstagefright/AMRWriter.cpp
ibstagefright/Android.mk
ibstagefright/AudioSource.cpp
b72a396826da8bd934b9531bbd40f86d7509e71c 25-Jan-2010 Eric Laurent <elaurent@google.com> Fix issue 2378022: AudioService should direct volume control to STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active.

Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream
type is playing.

Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
6c009eb5ff5f999b1d9bc6978d3213f9f797903f 25-Jan-2010 Eric Laurent <elaurent@google.com> Merge "Fix issue 2363154: Speech synthesis fails to start over A2DP after media server process crash."
213addfaf4b359c69da4e9b4490c511d116845bb 25-Jan-2010 Andreas Huber <andih@google.com> The qcom OMX video decoders do not allocate output buffer memory at the time OMX_AllocateBuffer is called, wait until we received the first FILL_BUFFER_DONE notification until we rely on the buffer data ptr.
ibstagefright/OMXCodec.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/omx/OMX.cpp
0ef583f785528ef2785e6149d5964004cd1016b0 25-Jan-2010 Eric Laurent <elaurent@google.com> Fix issue 2363154: Speech synthesis fails to start over A2DP after media server process crash.

The problem is that after a media_server crash, the value of the A2DP output handle can change.
As this value is cached in AudioSystem for all client processes there can be a mismatch between the cached
and actual value after a media_server restart.

The fix consists in clearing the cached output handles and output to stream map values cached
in AudioSystem in AudioFlingerClient::binderDied() which is called when the media_server crashes.
ibmedia/AudioSystem.cpp
a826028dc33a83538a2ac6bd13ca46a52de7a9be 22-Jan-2010 Andreas Huber <andih@google.com> Merge "Make sure to release the renderer before shutting down the hardware codec, qcom's hardware decoder will otherwise crash."
b9280d5c2313c41eb490f58198c4e59118e0e3e6 22-Jan-2010 Andreas Huber <andih@google.com> Make sure to release the renderer before shutting down the hardware codec, qcom's hardware decoder will otherwise crash.

related-to-bug: 2387981
ibstagefright/AwesomePlayer.cpp
a2a05bf4d24df4ccd2942bfc3766a2430701e8ba 22-Jan-2010 Chih-Chung Chang <chihchung@google.com> Add an orientation parameter for overlay, so we can do camera preview in portrait mode.
ibstagefright/CameraSource.cpp
1b55817b3c9f69115d1f8422d9252a82944fee27 21-Jan-2010 Andreas Huber <andih@google.com> Merge "Fix circular dependency between StagefrightPlayer and AwesomePlayer that prevented proper cleanup."
b49676a55e7dce9710e1a10749a26997513c5ceb 21-Jan-2010 Andreas Huber <andih@google.com> Special-case .wmv and .wma metadata retrieval and playback to use PV if available.

related-to-bug: 2381874
ibmediaplayerservice/MediaPlayerService.cpp
0726045216f576e97672ebeefc265d39c4ebaaa5 21-Jan-2010 Andreas Huber <andih@google.com> Fix circular dependency between StagefrightPlayer and AwesomePlayer that prevented proper cleanup.

related-to-bug: 2355922
ibstagefright/AwesomePlayer.cpp
ibstagefright/include/AwesomePlayer.h
570a3cb7582daa030cb38eedc5eb6a06f86ecc7f 21-Jan-2010 Andreas Huber <andih@google.com> Fix no-copy-overhead OMXCodec implementation to actually work.
ibmedia/IOMX.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
dfaddcc81f27bb9de47edec469a4a5fb2309bd6a 20-Jan-2010 Andreas Huber <andih@google.com> Merge "Adds support for 8-bit (unsigned) PCM wave files."
f99f049dd228333e3d6f886efe373f8e461ff2da 20-Jan-2010 Andreas Huber <andih@google.com> Adds support for 8-bit (unsigned) PCM wave files.

related-to-bug: 2382428
ibstagefright/WAVExtractor.cpp
ibstagefright/include/WAVExtractor.h
72b8c5ae6a5f97a4fcfc6d23d33159d6ae50179c 20-Jan-2010 Andreas Huber <andih@google.com> Support for 'iTunes-style' metadata in .mp4 and .3gp files.

related-to-bug: 2368967
ibstagefright/MPEG4Extractor.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/include/MPEG4Extractor.h
08e7eb983fcb9860a574e964ff905f75aab88d2f 19-Jan-2010 Andreas Huber <andih@google.com> Fix trailing garbage after UCS-2 encoded strings in ID3 V2.

related-to-bug: 2381919
ibstagefright/id3/ID3.cpp
83e5850bdf9c8b5c36c364b367b039674eb827ad 19-Jan-2010 Andreas Huber <andih@google.com> Support for ID3 version 1 (and 1.1) tags in .mp3 files.

related-to-bug: 2375219
ibstagefright/id3/ID3.cpp
ibstagefright/id3/testid3.cpp
ibstagefright/include/ID3.h
5cb4241cbeb409f2322bd527349c080a2cf454df 19-Jan-2010 Andreas Huber <andih@google.com> Merge "Avoid unnecessary buffer copying if at all possible, detect if running in the mediaserver process."
0dd4f499b391fc2888b0e83d126208c7a3ec8960 19-Jan-2010 James Dong <jdong@google.com> Merge "Media server death nodification"
7eaa9c9385535b651064e02d05a8ffa4b2359281 16-Jan-2010 Andreas Huber <andih@google.com> Avoid unnecessary buffer copying if at all possible, detect if running in the mediaserver process.
ibmedia/IOMX.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/OMX.h
ibstagefright/omx/OMX.cpp
a2ce85733c8e42c30927eefe3ff4e4bd36515041 19-Jan-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
8fd10b7add00c31a3f9317430d9bdcad9fb324a5 19-Jan-2010 Andreas Huber <andih@google.com> Merge "Remove totally unused code from OMX.cpp"
c57b67905c2128ddadfeca96785ee1f593b6605a 19-Jan-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 6689350d7e4dad6d873c1ed95f0a356e3bfd79d1
Author: Andreas Huber <andih@google.com>
Date: Tue Jan 19 09:23:02 2010 -0800

Some tweaks to the SampleIterator.

commit 5638bff6d31442a219806445c3106d47b081fcab
Author: Andreas Huber <andih@google.com>
Date: Fri Jan 15 14:46:29 2010 -0800

A much improved implementation of MPEG4 sample table operations through an iterator.
ibstagefright/Android.mk
ibstagefright/MPEG4Extractor.cpp
ibstagefright/SampleIterator.cpp
ibstagefright/SampleTable.cpp
ibstagefright/include/SampleIterator.h
ibstagefright/include/SampleTable.h
81dbf71f4488ee1a4cb612f2aba341f365fb546a 15-Jan-2010 Andreas Huber <andih@google.com> Remove totally unused code from OMX.cpp
ibstagefright/omx/OMX.cpp
a76e5ddf0bb77c04615db1916c21c1ba315e555b 19-Jan-2010 Andreas Huber <andih@google.com> Merge "Make sure the seek test attempts to seek on the very first iteration, as this appears to be a special case that decoders frequently get wrong."
dd172fce75b2a1c3cb3a5d3b3bbb5020b1ae8675 16-Jan-2010 James Dong <jdong@google.com> Media server death nodification
ibmedia/Android.mk
ibmedia/IMediaDeathNotifier.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
97419ed670a12f48a7609673da8ee5dc0376f075 15-Jan-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
c2b00379dbc6389efbbbfc51e09207933b747c6d 15-Jan-2010 Andreas Huber <andih@google.com> Merge "Fix a few issues with determining the closest sample to a given time in the MPEG4 sampletable implementation."
2e26e7913c98827d5f0a54c9ca9b5e9ccba041d8 15-Jan-2010 Andreas Huber <andih@google.com> Merge "Squashed commit of the following:"
da76c64dee7d95c967e2841302300cfb081e67b2 14-Jan-2010 Andreas Huber <andih@google.com> Fix a few issues with determining the closest sample to a given time in the MPEG4 sampletable implementation.
ibstagefright/SampleTable.cpp
4e202e779a8495091ab189fd88fc295a3e619c61 14-Jan-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit cb11364feefc200f10af6a01f776803acba2792a
Author: Andreas Huber <andih@google.com>
Date: Thu Jan 14 14:05:36 2010 -0800

Even if the decoder didn't extract the thumbnail at the specified time, accept it for now.

commit a54c0244b305caf11e67db49b7d3d8dba5f77751
Author: Andreas Huber <andih@google.com>
Date: Thu Jan 14 11:37:15 2010 -0800

Add some checks to make sure we extract the correct thumbnail frame, also revert to the hardware decoders for thumnbail extraction if the software decoders failed.
ibstagefright/StagefrightMetadataRetriever.cpp
e8a084958c27327b0aca749f69095605d2a21309 14-Jan-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 0014ab17f2e0986044327a5ab22159de50b81e0a
Author: Andreas Huber <andih@google.com>
Date: Thu Jan 14 14:05:09 2010 -0800

Another instance of returning an error instead of asserting makes sense.

commit d2cac8c498a65b449a25ec216601830d23c165e7
Author: Andreas Huber <andih@google.com>
Date: Thu Jan 14 13:34:33 2010 -0800

Instead of asserting on invalid data (incomplete NAL unit), return an error.
ibstagefright/MPEG4Extractor.cpp
b03fd8c97695d381e202f6a64989b51c7024c04a 14-Jan-2010 Andreas Huber <andih@google.com> Workaround for some hardware decoders not properly signaling end-of-output-stream properly.
ibstagefright/OMXCodec.cpp
ab13003c692f25c7c430e6b6c441d88aefdcf9d8 14-Jan-2010 Andreas Huber <andih@google.com> Make sure the seek test attempts to seek on the very first iteration, as this appears to be a special case that decoders frequently get wrong.
ibstagefright/omx/tests/OMXHarness.cpp
7be6407f2ad7f2b0782d195d9f792072c084d6f5 13-Jan-2010 Andreas Huber <andih@google.com> Support for determining the mime type of media via metadata extraction.
ibstagefright/AMRExtractor.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/include/AMRExtractor.h
ibstagefright/include/MPEG4Extractor.h
ibstagefright/include/WAVExtractor.h
bd4bc59262df90dc85752684a1d4a92833a535a3 13-Jan-2010 Andreas Huber <andih@google.com> More metadata support.
ibstagefright/MP3Extractor.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
d244d6a67896b48df8affd26fd9aa1e70d97719d 13-Jan-2010 Andreas Huber <andih@google.com> Merge "Properly respect NALLengthSize in the AVC Configuration header to determine how many bits encode the nal unit size."
6064017c61aa0bcadcff3119e176eab5fc3c001b 13-Jan-2010 Andreas Huber <andih@google.com> Properly respect NALLengthSize in the AVC Configuration header to determine how many bits encode the nal unit size.

related-to-bug: 2363596
ibstagefright/MPEG4Extractor.cpp
a2631c869957b627c51bd82e738998a0f77d1cda 13-Jan-2010 Marco Nelissen <marcone@google.com> Merge "b/2353646 Fix music visualizations to also work with audiotrack callbacks, which stagefright uses. This slightly changes the way the data is stored, since before we were relying on the buffers being written always being at least 4K, whereas the callbacks are generally for smaller amounts of data. Now we append all the data to a big circular buffer, then return chunks of that buffer for visualization. When there are multiple things playing at the same time, this will give the wrong result, but (1) that was the case before as well, and (2) will be fixed once we start visualizing the mixer output instead of the mixer inputs."
54a4b5e76faa0799231e24ea465ba6d6062b00eb 12-Jan-2010 Andreas Huber <andih@google.com> Make sure to release the buffer we're not using in case of an error.

related-to-bug: 2366606
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
7ee8ac94bb1a724a481a7cddf10ce63d35df6296 12-Jan-2010 Marco Nelissen <marcone@google.com> b/2353646
Fix music visualizations to also work with audiotrack callbacks, which
stagefright uses. This slightly changes the way the data is stored,
since before we were relying on the buffers being written always
being at least 4K, whereas the callbacks are generally for smaller
amounts of data. Now we append all the data to a big circular buffer,
then return chunks of that buffer for visualization. When there are
multiple things playing at the same time, this will give the wrong
result, but (1) that was the case before as well, and (2) will be
fixed once we start visualizing the mixer output instead of the
mixer inputs.
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
fc9ba09e3bb368f823d473f5e2bb9aa32dba6289 12-Jan-2010 Andreas Huber <andih@google.com> Squashed commit of the following:

commit f81bb1dac5ef107bb0d7d5d756fb1ffa532ba2cc
Author: Andreas Huber <andih@google.com>
Date: Mon Jan 11 14:55:56 2010 -0800

Support for duration metadata, midi and ogg-vorbis files (in mediascanner)

commit 0b1385a0dc156ce27985a1ff757c4c142fd7ec39
Author: Andreas Huber <andih@google.com>
Date: Mon Jan 11 14:20:45 2010 -0800

Refactor meta data logic. Container specific metadata is now also returned by the MediaExtractor.

commit f9818dfac39c96e5fefe8c8295e60580692d5990
Author: Andreas Huber <andih@google.com>
Date: Fri Jan 8 14:26:09 2010 -0800

A first pass at supporting metadata through ID3 tags.

commit 476e9e253633336ab790f943e2d6c0cd8991d76a
Author: Andreas Huber <andih@google.com>
Date: Thu Jan 7 15:48:44 2010 -0800

Initial checkin of ID3 (V2.2 and V2.3) parser for use in stagefright.

related-to-bug: 2295456
ibstagefright/Android.mk
ibstagefright/AudioPlayer.cpp
ibstagefright/DataSource.cpp
ibstagefright/FileSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/id3/Android.mk
ibstagefright/id3/ID3.cpp
ibstagefright/id3/testid3.cpp
ibstagefright/include/ID3.h
ibstagefright/include/MP3Extractor.h
ibstagefright/include/StagefrightMetadataRetriever.h
58e1f78683d9230932c4d5bee53b79fc685b5995 12-Jan-2010 Andreas Huber <andih@google.com> Merge "The mp3 decoder should not assert that decoding was successful but return an error instead."
cd231c8672056429003b452c6a97fb705ad0765e 11-Jan-2010 Andreas Huber <andih@google.com> The mp3 decoder should not assert that decoding was successful but return an error instead.
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
db74495dbf653a72018396607fae63946bed44ec 11-Jan-2010 Andreas Huber <andih@google.com> Fix an uninitialized read detected by valgrind. The array to be copied is statically sized and not a c-string.

related-to-bug: 2366619
ibstagefright/MP3Extractor.cpp
67e5a4f6f6879d512a859e5dba92e9beec7a2f91 08-Jan-2010 Andreas Huber <andih@google.com> Reorganize some of the stagefright implementation related to metadata.
ibmedia/Android.mk
ibmedia/StagefrightMediaScanner.cpp
ibmedia/StagefrightMediaScanner.h
ibmediaplayerservice/Android.mk
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibmediaplayerservice/StagefrightMetadataRetriever.h
ibstagefright/Android.mk
ibstagefright/StagefrightMediaScanner.cpp
ibstagefright/StagefrightMetadataRetriever.cpp
ibstagefright/include/StagefrightMetadataRetriever.h
23d7a43fb32482e2573b7f203fd9dd5a8349b329 05-Jan-2010 Andreas Huber <andih@google.com> Quick and dirty implementation to follow http redirects in stagefright.
ibstagefright/HTTPDataSource.cpp
ibstagefright/string.cpp
fcac3378879ab151d786f1ce89da2f032ba3ea97 05-Jan-2010 Andreas Huber <andih@google.com> Merge "Protect against possible temporary objects going away before we get at their data."
a66a27e07423c6ed1dde9c0267b555e83c44e58e 05-Jan-2010 Andreas Huber <andih@google.com> Protect against possible temporary objects going away before we get at their data.
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
a400af77a5136495d1e00244e9578aebe6ccd1fd 05-Jan-2010 Andreas Huber <andih@google.com> Merge "I must have broken raw-audio decoding in the recent past, this fixes it."
717826ececd8d39596f62418677721d70776add1 05-Jan-2010 Andreas Huber <andih@google.com> I must have broken raw-audio decoding in the recent past, this fixes it.

related-to-bug: http://b/issue?id=2352199
ibstagefright/AwesomePlayer.cpp
f1350fdb125e1069f867ba13190c5c8e7b64e9b8 05-Jan-2010 Andreas Huber <andih@google.com> Use stagefright for http streaming if the right property is set.
ibmediaplayerservice/MediaPlayerService.cpp
b8f92e8fc059693f0b857a185a183f618c4defb0 05-Jan-2010 Andreas Huber <andih@google.com> Merge "Make metadata support through stagefright property dependent until it's ready."
82c162310a506f74741fb32cddee937a4beec1fa 05-Jan-2010 Andreas Huber <andih@google.com> Merge "Fix mpeg4/h.263 software decoder."
065c05e72091567632f927d9e5411e277480c1bf 05-Jan-2010 Andreas Huber <andih@google.com> Make metadata support through stagefright property dependent until it's ready.
ibmediaplayerservice/MetadataRetrieverClient.cpp
cb110ccbe4c275eba0857d9af341a75113243fa0 04-Jan-2010 Andreas Huber <andih@google.com> Fix mpeg4/h.263 software decoder.
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/include/M4vH263Decoder.h
c60bc4a7e25f6784644b8f6acf07bae2c58863b3 04-Jan-2010 Andreas Huber <andih@google.com> Fix avc software decoder to properly handle SEI nalType and access unit delimiter.
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
a17e2b9a98c836145d6b50c6b1407e2162c526ac 22-Dec-2009 Doug Kwan <dougkwan@google.com> Add missing shared libraries in linker commands. Currently these libraries are
linked implicitly via dependencies of other shared libraries.
ibstagefright/omx/tests/Android.mk
01d48d20f8e69061cd41741c2ed5c7f2dc8f2116 19-Dec-2009 James Dong <jdong@google.com> am 122fe7e1: am 4d0e827d: Attempt to fix simular build break. Missing header file stdlib.h for free, malloc, etc

Merge commit '122fe7e10297ce51d63b6076a33573d217f3f1cc'

* commit '122fe7e10297ce51d63b6076a33573d217f3f1cc':
Attempt to fix simular build break.
2d3b2097320614cb088bd4eba795905c2a4130b5 19-Dec-2009 James Dong <jdong@google.com> Attempt to fix simular build break.
Missing header file stdlib.h for free, malloc, etc
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/codecs/m4v_h263/dec/include/m4vh263_decoder_pv_types.h
f9918ed60e9fb3050e93e68d714f92f647ef00ab 19-Dec-2009 James Dong <jdong@google.com> am 2473eb4a: am 4e4795c8: Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable

Merge commit '2473eb4a33b226758e1f5db322cb8d687ce01602'

* commit '2473eb4a33b226758e1f5db322cb8d687ce01602':
Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable
fd1fe13b4584628d73df31717794e8e886d6bc39 19-Dec-2009 James Dong <jdong@google.com> Fix a memory corruption problem in software M4v/H263 decoder due to out-of-scope local variable
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/include/M4vH263Decoder.h
ba871922175a52f85a4bb79d0ff24f3c2436f351 18-Dec-2009 Gloria Wang <gwang@google.com> am 254e0025: am 791c626a: Merge change Ibac388a3 into eclair-mr2

Merge commit '254e00253ce72ee7252c26aab3a9ec6fb72e0542'

* commit '254e00253ce72ee7252c26aab3a9ec6fb72e0542':
Add support for XING header
9801564dbff3c47e747add686feec622575a9869 18-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ibac388a3 into eclair-mr2

* changes:
Add support for XING header
8b77fa8f7b8515b3436ee31350e5fc73abf30c00 18-Dec-2009 James Dong <jdong@google.com> am 5614c2c6: am 02f5b544: Initial checkins of the mpeg4 and h263 software decoders based on PV

Merge commit '5614c2c677ce08561c93c6385dc3090dbf5760dc'

* commit '5614c2c677ce08561c93c6385dc3090dbf5760dc':
Initial checkins of the mpeg4 and h263 software decoders based on PV
ac6e6569f08911df9d5c96285cf15325cbbf0340 10-Dec-2009 Gloria Wang <gwang@google.com> Add support for XING header
ibstagefright/MP3Extractor.cpp
ibstagefright/include/MP3Extractor.h
3bcbcd09b48deb2b498f7163f89f92e01b9fd43b 18-Dec-2009 Andreas Huber <andih@google.com> Attempt to fix the simulator build by including stdlib.h for NULL.
ibstagefright/codecs/avc/common/include/avclib_common.h
3e78376a6f8aaa269cdb39f21d6abbf9464aee5b 17-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I2278137e

* changes:
Disable HTTP playback and metadata support in stagefright, use PV instead.
47945ea184f62def4c5a1dd15164cfa3fd286882 17-Dec-2009 Andreas Huber <andih@google.com> Disable HTTP playback and metadata support in stagefright, use PV instead.
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
3306cfee3bf38ab207a0504e49c2d492bb73ffbf 16-Dec-2009 James Dong <jdong@google.com> Initial checkins of the mpeg4 and h263 software decoders based on PV
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/m4v_h263/Android.mk
ibstagefright/codecs/m4v_h263/dec/Android.mk
ibstagefright/codecs/m4v_h263/dec/M4vH263Decoder.cpp
ibstagefright/codecs/m4v_h263/dec/include/m4vh263_decoder_pv_types.h
ibstagefright/codecs/m4v_h263/dec/include/mp4dec_api.h
ibstagefright/codecs/m4v_h263/dec/include/visual_header.h
ibstagefright/codecs/m4v_h263/dec/src/adaptive_smooth_no_mmx.cpp
ibstagefright/codecs/m4v_h263/dec/src/bitstream.cpp
ibstagefright/codecs/m4v_h263/dec/src/bitstream.h
ibstagefright/codecs/m4v_h263/dec/src/block_idct.cpp
ibstagefright/codecs/m4v_h263/dec/src/cal_dc_scaler.cpp
ibstagefright/codecs/m4v_h263/dec/src/chv_filter.cpp
ibstagefright/codecs/m4v_h263/dec/src/chvr_filter.cpp
ibstagefright/codecs/m4v_h263/dec/src/combined_decode.cpp
ibstagefright/codecs/m4v_h263/dec/src/conceal.cpp
ibstagefright/codecs/m4v_h263/dec/src/datapart_decode.cpp
ibstagefright/codecs/m4v_h263/dec/src/dcac_prediction.cpp
ibstagefright/codecs/m4v_h263/dec/src/dec_pred_intra_dc.cpp
ibstagefright/codecs/m4v_h263/dec/src/deringing_chroma.cpp
ibstagefright/codecs/m4v_h263/dec/src/deringing_luma.cpp
ibstagefright/codecs/m4v_h263/dec/src/find_min_max.cpp
ibstagefright/codecs/m4v_h263/dec/src/get_pred_adv_b_add.cpp
ibstagefright/codecs/m4v_h263/dec/src/get_pred_outside.cpp
ibstagefright/codecs/m4v_h263/dec/src/idct.cpp
ibstagefright/codecs/m4v_h263/dec/src/idct.h
ibstagefright/codecs/m4v_h263/dec/src/idct_vca.cpp
ibstagefright/codecs/m4v_h263/dec/src/max_level.h
ibstagefright/codecs/m4v_h263/dec/src/mb_motion_comp.cpp
ibstagefright/codecs/m4v_h263/dec/src/mb_utils.cpp
ibstagefright/codecs/m4v_h263/dec/src/mbtype_mode.h
ibstagefright/codecs/m4v_h263/dec/src/motion_comp.h
ibstagefright/codecs/m4v_h263/dec/src/mp4dec_lib.h
ibstagefright/codecs/m4v_h263/dec/src/mp4def.h
ibstagefright/codecs/m4v_h263/dec/src/mp4lib_int.h
ibstagefright/codecs/m4v_h263/dec/src/packet_util.cpp
ibstagefright/codecs/m4v_h263/dec/src/post_filter.cpp
ibstagefright/codecs/m4v_h263/dec/src/post_proc.h
ibstagefright/codecs/m4v_h263/dec/src/post_proc_semaphore.cpp
ibstagefright/codecs/m4v_h263/dec/src/pp_semaphore_chroma_inter.cpp
ibstagefright/codecs/m4v_h263/dec/src/pp_semaphore_luma.cpp
ibstagefright/codecs/m4v_h263/dec/src/pvdec_api.cpp
ibstagefright/codecs/m4v_h263/dec/src/scaling.h
ibstagefright/codecs/m4v_h263/dec/src/scaling_tab.cpp
ibstagefright/codecs/m4v_h263/dec/src/vlc_dec_tab.h
ibstagefright/codecs/m4v_h263/dec/src/vlc_decode.cpp
ibstagefright/codecs/m4v_h263/dec/src/vlc_decode.h
ibstagefright/codecs/m4v_h263/dec/src/vlc_dequant.cpp
ibstagefright/codecs/m4v_h263/dec/src/vlc_tab.cpp
ibstagefright/codecs/m4v_h263/dec/src/vop.cpp
ibstagefright/codecs/m4v_h263/dec/src/zigzag.h
ibstagefright/codecs/m4v_h263/dec/src/zigzag_tab.cpp
ibstagefright/codecs/m4v_h263/patent_disclaimer.txt
ibstagefright/include/M4vH263Decoder.h
134ee6a324c35f39e3576172e4eae4c6de6eb9dc 16-Dec-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 144b1c40e9cf08a584c50e1bef7ba3f287e81a4f
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 16 09:28:23 2009 -0800

This H264 file shows a certain problem even better.

commit 3245f1f3b7471975aeeb824a756c987abd610f55
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 16 09:20:08 2009 -0800

Using only the QA testfiles now.

commit 074817eb3816c5dd70858a3594e3b92d799d873b
Author: Andreas Huber <andih@google.com>
Date: Tue Dec 15 16:17:39 2009 -0800

Yay, roles are back again now that the API is in place.

commit 6d847e4932cc38301ae27cb7283b7f1553a95457
Author: Andreas Huber <andih@google.com>
Date: Tue Dec 15 13:01:20 2009 -0800

Added commandline option for specifying the random seed for reproducable tests.

commit 62ab37b26336eaa67e49791c41c996acb6acee3f
Author: Andreas Huber <andih@google.com>
Date: Mon Dec 14 10:53:27 2009 -0800

When issuing a seek it is important that only the first MediaSource::read call has the seek option.

commit e77c46644b2fb6862bafa3569f7d304252074f1e
Author: Andreas Huber <andih@google.com>
Date: Mon Dec 7 16:39:07 2009 -0800

Make sure the tests are actually built, sp<OMXCodec> becomes sp<MediaSource>

commit 6df56915bd55a9445b3c6f953d3cc251d81579b8
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 3 14:25:36 2009 -0800

Temporarily disable support for querying the roles of OMX components.

commit 31bb26930df9e3658dea684cedb4b0f1a06a4a88
Author: Andreas Huber <andih@google.com>
Date: Tue Dec 1 13:36:52 2009 -0800

Disregard EOS events, slightly change the way the EOS flag on output buffers is handled.

commit 4c382fbc9aebee8197d5988d04378062809e7c48
Author: Andreas Huber <andih@google.com>
Date: Tue Dec 1 09:37:24 2009 -0800

New random seek test for the codec tests. Fixed "sticky" end-of-output-buffers flag behaviour in OMXCodec.

commit c762eac3e44309592b61a168d66e091cf609fa03
Author: Andreas Huber <andih@google.com>
Date: Tue Nov 3 14:13:43 2009 -0800

Fix a typo.

commit 50540a59b65c7d476b0193c7494cd75895e6ca6d
Author: Andreas Huber <andih@google.com>
Date: Tue Nov 3 09:48:35 2009 -0800

Some more fine tuning of the unit tests, make MPEG4Extractor less verbose.

commit 1157a7e52a0636706caa235abe16d2ff8a0b8140
Author: Andreas Huber <andih@google.com>
Date: Wed Oct 28 12:01:01 2009 -0700

Changes to the IOMX::listNodes API, this now returns the component's roles as well, unit tests now test all components in all supported roles by default.

commit 30fbf2d8c6cb927689f7ba75eb550a81e9df488a
Author: Andreas Huber <andih@google.com>
Date: Mon Oct 26 09:45:26 2009 -0700

Initial check-in of unit tests for OMX components.
ibmedia/IOMX.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/tests/Android.mk
ibstagefright/omx/tests/OMXHarness.cpp
ibstagefright/omx/tests/OMXHarness.h
8ae1d0bdcef22f2bdd8d283e0e615f3ba6c3f4cd 16-Dec-2009 Andreas Huber <andih@google.com> Add a new API to support determining the roles of an OMX component specified by name. Remove unneeded OMXSoftwareCodecsPlugin.
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXMaster.cpp
ibstagefright/omx/OMXMaster.h
ibstagefright/omx/OMXPVCodecsPlugin.cpp
ibstagefright/omx/OMXPVCodecsPlugin.h
ibstagefright/omx/OMXSoftwareCodecsPlugin.cpp
ibstagefright/omx/OMXSoftwareCodecsPlugin.h
1af80bc3fefb999756ef4847e72b2dcfd0b88a4a 15-Dec-2009 Andreas Huber <andih@google.com> Properly integrate the software codecs into the OMXCodec::Create hierarchy of available components.
ibstagefright/OMXCodec.cpp
c1689e49ac867de33f2e81289449878ac2e536a0 15-Dec-2009 Andreas Huber <andih@google.com> It's important that seek requests are only specified in the initial call to MediaSource::read and are not repeated in subsequent calls.
ibstagefright/AwesomePlayer.cpp
68ddfc7f245bf31f16c3d65ba754cbb78e37fcbe 14-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I1314e737 into eclair-mr2

* changes:
AwesomePlayer now renders either remote (IOMXRenderer) or locally depending on what kind of decoder was instantiated. Split off color conversion code into its own shared library.
733b7729ea462fae9c6899456444e28fef1c757c 14-Dec-2009 Andreas Huber <andih@google.com> AwesomePlayer now renders either remote (IOMXRenderer) or locally depending on what kind of decoder was instantiated. Split off color conversion code into its own shared library.
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
ibstagefright/AwesomePlayer.cpp
ibstagefright/colorconversion/Android.mk
ibstagefright/colorconversion/ColorConverter.cpp
ibstagefright/colorconversion/SoftwareRenderer.cpp
ibstagefright/include/AwesomePlayer.h
ibstagefright/omx/Android.mk
ibstagefright/omx/ColorConverter.cpp
ibstagefright/omx/SoftwareRenderer.cpp
587423f64501606852f05393ce1edfac0c18d545 14-Dec-2009 Andreas Huber <andih@google.com> The software AVCDecoder now properly seeks as requested.
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/include/AVCDecoder.h
b841f14f8e51f2365945281fbfa54ef6a1b1b5a6 12-Dec-2009 Andreas Huber <andih@google.com> Initial checkin of software AMR NB encoder based on PV source code.
ibstagefright/Android.mk
ibstagefright/MP3Extractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/amrnb/enc/AMRNBEncoder.cpp
ibstagefright/codecs/amrnb/enc/Android.mk
ibstagefright/codecs/amrnb/enc/src/amrencode.cpp
ibstagefright/codecs/amrnb/enc/src/amrencode.h
ibstagefright/codecs/amrnb/enc/src/autocorr.cpp
ibstagefright/codecs/amrnb/enc/src/autocorr.h
ibstagefright/codecs/amrnb/enc/src/c1035pf.cpp
ibstagefright/codecs/amrnb/enc/src/c1035pf.h
ibstagefright/codecs/amrnb/enc/src/c2_11pf.cpp
ibstagefright/codecs/amrnb/enc/src/c2_11pf.h
ibstagefright/codecs/amrnb/enc/src/c2_9pf.cpp
ibstagefright/codecs/amrnb/enc/src/c2_9pf.h
ibstagefright/codecs/amrnb/enc/src/c3_14pf.cpp
ibstagefright/codecs/amrnb/enc/src/c3_14pf.h
ibstagefright/codecs/amrnb/enc/src/c4_17pf.cpp
ibstagefright/codecs/amrnb/enc/src/c4_17pf.h
ibstagefright/codecs/amrnb/enc/src/c8_31pf.cpp
ibstagefright/codecs/amrnb/enc/src/c8_31pf.h
ibstagefright/codecs/amrnb/enc/src/calc_cor.cpp
ibstagefright/codecs/amrnb/enc/src/calc_cor.h
ibstagefright/codecs/amrnb/enc/src/calc_en.cpp
ibstagefright/codecs/amrnb/enc/src/calc_en.h
ibstagefright/codecs/amrnb/enc/src/cbsearch.cpp
ibstagefright/codecs/amrnb/enc/src/cbsearch.h
ibstagefright/codecs/amrnb/enc/src/cl_ltp.cpp
ibstagefright/codecs/amrnb/enc/src/cl_ltp.h
ibstagefright/codecs/amrnb/enc/src/cod_amr.cpp
ibstagefright/codecs/amrnb/enc/src/cod_amr.h
ibstagefright/codecs/amrnb/enc/src/convolve.cpp
ibstagefright/codecs/amrnb/enc/src/convolve.h
ibstagefright/codecs/amrnb/enc/src/cor_h.cpp
ibstagefright/codecs/amrnb/enc/src/cor_h.h
ibstagefright/codecs/amrnb/enc/src/cor_h_x.cpp
ibstagefright/codecs/amrnb/enc/src/cor_h_x.h
ibstagefright/codecs/amrnb/enc/src/cor_h_x2.cpp
ibstagefright/codecs/amrnb/enc/src/cor_h_x2.h
ibstagefright/codecs/amrnb/enc/src/corrwght_tab.cpp
ibstagefright/codecs/amrnb/enc/src/dtx_enc.cpp
ibstagefright/codecs/amrnb/enc/src/dtx_enc.h
ibstagefright/codecs/amrnb/enc/src/enc_lag3.cpp
ibstagefright/codecs/amrnb/enc/src/enc_lag3.h
ibstagefright/codecs/amrnb/enc/src/enc_lag6.cpp
ibstagefright/codecs/amrnb/enc/src/enc_lag6.h
ibstagefright/codecs/amrnb/enc/src/enc_output_format_tab.cpp
ibstagefright/codecs/amrnb/enc/src/ets_to_if2.cpp
ibstagefright/codecs/amrnb/enc/src/ets_to_if2.h
ibstagefright/codecs/amrnb/enc/src/ets_to_wmf.cpp
ibstagefright/codecs/amrnb/enc/src/ets_to_wmf.h
ibstagefright/codecs/amrnb/enc/src/g_adapt.cpp
ibstagefright/codecs/amrnb/enc/src/g_adapt.h
ibstagefright/codecs/amrnb/enc/src/g_code.cpp
ibstagefright/codecs/amrnb/enc/src/g_code.h
ibstagefright/codecs/amrnb/enc/src/g_pitch.cpp
ibstagefright/codecs/amrnb/enc/src/g_pitch.h
ibstagefright/codecs/amrnb/enc/src/gain_q.cpp
ibstagefright/codecs/amrnb/enc/src/gain_q.h
ibstagefright/codecs/amrnb/enc/src/gsmamr_enc.h
ibstagefright/codecs/amrnb/enc/src/hp_max.cpp
ibstagefright/codecs/amrnb/enc/src/hp_max.h
ibstagefright/codecs/amrnb/enc/src/inter_36.cpp
ibstagefright/codecs/amrnb/enc/src/inter_36.h
ibstagefright/codecs/amrnb/enc/src/inter_36_tab.cpp
ibstagefright/codecs/amrnb/enc/src/inter_36_tab.h
ibstagefright/codecs/amrnb/enc/src/l_comp.cpp
ibstagefright/codecs/amrnb/enc/src/l_extract.cpp
ibstagefright/codecs/amrnb/enc/src/l_negate.cpp
ibstagefright/codecs/amrnb/enc/src/lag_wind.cpp
ibstagefright/codecs/amrnb/enc/src/lag_wind.h
ibstagefright/codecs/amrnb/enc/src/lag_wind_tab.cpp
ibstagefright/codecs/amrnb/enc/src/lag_wind_tab.h
ibstagefright/codecs/amrnb/enc/src/levinson.cpp
ibstagefright/codecs/amrnb/enc/src/levinson.h
ibstagefright/codecs/amrnb/enc/src/lpc.cpp
ibstagefright/codecs/amrnb/enc/src/lpc.h
ibstagefright/codecs/amrnb/enc/src/ol_ltp.cpp
ibstagefright/codecs/amrnb/enc/src/ol_ltp.h
ibstagefright/codecs/amrnb/enc/src/p_ol_wgh.cpp
ibstagefright/codecs/amrnb/enc/src/pitch_fr.cpp
ibstagefright/codecs/amrnb/enc/src/pitch_fr.h
ibstagefright/codecs/amrnb/enc/src/pitch_ol.cpp
ibstagefright/codecs/amrnb/enc/src/pitch_ol.h
ibstagefright/codecs/amrnb/enc/src/pre_big.cpp
ibstagefright/codecs/amrnb/enc/src/pre_big.h
ibstagefright/codecs/amrnb/enc/src/pre_proc.cpp
ibstagefright/codecs/amrnb/enc/src/pre_proc.h
ibstagefright/codecs/amrnb/enc/src/prm2bits.cpp
ibstagefright/codecs/amrnb/enc/src/prm2bits.h
ibstagefright/codecs/amrnb/enc/src/q_gain_c.cpp
ibstagefright/codecs/amrnb/enc/src/q_gain_c.h
ibstagefright/codecs/amrnb/enc/src/q_gain_p.cpp
ibstagefright/codecs/amrnb/enc/src/q_gain_p.h
ibstagefright/codecs/amrnb/enc/src/qgain475.cpp
ibstagefright/codecs/amrnb/enc/src/qgain475.h
ibstagefright/codecs/amrnb/enc/src/qgain795.cpp
ibstagefright/codecs/amrnb/enc/src/qgain795.h
ibstagefright/codecs/amrnb/enc/src/qua_gain.cpp
ibstagefright/codecs/amrnb/enc/src/s10_8pf.cpp
ibstagefright/codecs/amrnb/enc/src/s10_8pf.h
ibstagefright/codecs/amrnb/enc/src/set_sign.cpp
ibstagefright/codecs/amrnb/enc/src/set_sign.h
ibstagefright/codecs/amrnb/enc/src/sid_sync.cpp
ibstagefright/codecs/amrnb/enc/src/sid_sync.h
ibstagefright/codecs/amrnb/enc/src/sp_enc.cpp
ibstagefright/codecs/amrnb/enc/src/sp_enc.h
ibstagefright/codecs/amrnb/enc/src/spreproc.cpp
ibstagefright/codecs/amrnb/enc/src/spreproc.h
ibstagefright/codecs/amrnb/enc/src/spstproc.cpp
ibstagefright/codecs/amrnb/enc/src/spstproc.h
ibstagefright/codecs/amrnb/enc/src/ton_stab.cpp
ibstagefright/codecs/amrnb/enc/src/ton_stab.h
ibstagefright/include/AMRNBEncoder.h
6b91407a918d755454ed396068ff7f67b7088f34 11-Dec-2009 Andreas Huber <andih@google.com> Propagate duration from input to output only if available, support multiple full frames of audio per input buffer in AMR/AAC decoders.
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/amrnb/dec/AMRNBDecoder.cpp
ibstagefright/codecs/amrwb/AMRWBDecoder.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
72124cf05cd5b40f2902198aca2797616b813457 11-Dec-2009 Andreas Huber <andih@google.com> Removing an unused header file and a stale forward declaration. Also handling one more nalType as a no-op.
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/codecs/avc/dec/include/pvavcdecoder_factory.h
ibstagefright/include/AVCDecoder.h
08411b75d4c30ce26180639f158e2f33d190eee8 11-Dec-2009 Andreas Huber <andih@google.com> remote destructors are not synchronously executed by the binder...
ibstagefright/AwesomePlayer.cpp
fd4a8e09a54469bbccea6248f84319a1eb78765e 11-Dec-2009 Andreas Huber <andih@google.com> Fix seek-on-startup behaviour in AwesomePlayer.
ibstagefright/AwesomePlayer.cpp
e8647636abd1294ae929a8f20c0afa5e9b6b268b 11-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ia67d5388 into eclair-mr2

* changes:
remote destructors are not synchronously executed by the binder...
4844ac54e8b5997c3b03872dbafe8ebed4787517 11-Dec-2009 Andreas Huber <andih@google.com> remote destructors are not synchronously executed by the binder...
ibstagefright/AwesomePlayer.cpp
3ce139526703a0c070bc3606e0d8a01290baeeb9 11-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I595c2d60 into eclair-mr2

* changes:
Initial checkin of software AVC video decoder based on PV source code.
0a2b8e6424d1b027fb188ba0bd290fedff34b0f5 11-Dec-2009 Dave Sparks <davidsparks@android.com> am 14f89404: Fix media player decode function. Bug 2317821.

Merge commit '14f8940472217e8b0164d8f213679710d623d528' into eclair-mr2

* commit '14f8940472217e8b0164d8f213679710d623d528':
Fix media player decode function. Bug 2317821.
609f1a00c96cf5605f4614e7bb6d0487c98969c5 10-Dec-2009 Andreas Huber <andih@google.com> Initial checkin of software AVC video decoder based on PV source code.
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/amrnb/common/Android.mk
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/amrwb/Android.mk
ibstagefright/codecs/avc/Android.mk
ibstagefright/codecs/avc/common/Android.mk
ibstagefright/codecs/avc/common/include/avc_types.h
ibstagefright/codecs/avc/common/include/avcapi_common.h
ibstagefright/codecs/avc/common/include/avcint_common.h
ibstagefright/codecs/avc/common/include/avclib_common.h
ibstagefright/codecs/avc/common/src/deblock.cpp
ibstagefright/codecs/avc/common/src/dpb.cpp
ibstagefright/codecs/avc/common/src/fmo.cpp
ibstagefright/codecs/avc/common/src/mb_access.cpp
ibstagefright/codecs/avc/common/src/reflist.cpp
ibstagefright/codecs/avc/dec/AVCDecoder.cpp
ibstagefright/codecs/avc/dec/Android.mk
ibstagefright/codecs/avc/dec/include/avcdec_api.h
ibstagefright/codecs/avc/dec/include/pvavcdecoder.h
ibstagefright/codecs/avc/dec/include/pvavcdecoder_factory.h
ibstagefright/codecs/avc/dec/include/pvavcdecoderinterface.h
ibstagefright/codecs/avc/dec/src/avc_bitstream.cpp
ibstagefright/codecs/avc/dec/src/avcdec_api.cpp
ibstagefright/codecs/avc/dec/src/avcdec_bitstream.h
ibstagefright/codecs/avc/dec/src/avcdec_int.h
ibstagefright/codecs/avc/dec/src/avcdec_lib.h
ibstagefright/codecs/avc/dec/src/header.cpp
ibstagefright/codecs/avc/dec/src/itrans.cpp
ibstagefright/codecs/avc/dec/src/pred_inter.cpp
ibstagefright/codecs/avc/dec/src/pred_intra.cpp
ibstagefright/codecs/avc/dec/src/residual.cpp
ibstagefright/codecs/avc/dec/src/slice.cpp
ibstagefright/codecs/avc/dec/src/vlc.cpp
ibstagefright/codecs/avc/patent_disclaimer.txt
ibstagefright/codecs/mp3dec/Android.mk
ibstagefright/include/AVCDecoder.h
20352a300f84516ef615a023b7134733682b3223 10-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I3c01bb62 into eclair-mr2

* changes:
Adding copyright headers to recently introduced decoder source files.
29340b0706b7b65e441c47d6f0c83c344d516435 10-Dec-2009 Andreas Huber <andih@google.com> Adding copyright headers to recently introduced decoder source files.
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
4f1efc098cb5791c3e9f483f2af84aef70d2d0a0 09-Dec-2009 Andreas Huber <andih@google.com> Initial check in of AMR (NB and WB) decoders based on PV source code.
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/amrnb/Android.mk
ibstagefright/codecs/amrnb/common/Android.mk
ibstagefright/codecs/amrnb/common/include/abs_s.h
ibstagefright/codecs/amrnb/common/include/add.h
ibstagefright/codecs/amrnb/common/include/az_lsp.h
ibstagefright/codecs/amrnb/common/include/basic_op.h
ibstagefright/codecs/amrnb/common/include/basic_op_arm_gcc_v5.h
ibstagefright/codecs/amrnb/common/include/basic_op_arm_v5.h
ibstagefright/codecs/amrnb/common/include/basic_op_c_equivalent.h
ibstagefright/codecs/amrnb/common/include/basicop_malloc.h
ibstagefright/codecs/amrnb/common/include/bitno_tab.h
ibstagefright/codecs/amrnb/common/include/bitreorder_tab.h
ibstagefright/codecs/amrnb/common/include/bits2prm.h
ibstagefright/codecs/amrnb/common/include/bytesused.h
ibstagefright/codecs/amrnb/common/include/cnst.h
ibstagefright/codecs/amrnb/common/include/cnst_vad.h
ibstagefright/codecs/amrnb/common/include/copy.h
ibstagefright/codecs/amrnb/common/include/d_gain_c.h
ibstagefright/codecs/amrnb/common/include/d_gain_p.h
ibstagefright/codecs/amrnb/common/include/d_plsf.h
ibstagefright/codecs/amrnb/common/include/div_32.h
ibstagefright/codecs/amrnb/common/include/div_s.h
ibstagefright/codecs/amrnb/common/include/dtx_common_def.h
ibstagefright/codecs/amrnb/common/include/extract_h.h
ibstagefright/codecs/amrnb/common/include/extract_l.h
ibstagefright/codecs/amrnb/common/include/frame.h
ibstagefright/codecs/amrnb/common/include/frame_type_3gpp.h
ibstagefright/codecs/amrnb/common/include/gc_pred.h
ibstagefright/codecs/amrnb/common/include/gmed_n.h
ibstagefright/codecs/amrnb/common/include/gsm_amr_typedefs.h
ibstagefright/codecs/amrnb/common/include/int_lpc.h
ibstagefright/codecs/amrnb/common/include/int_lsf.h
ibstagefright/codecs/amrnb/common/include/inv_sqrt.h
ibstagefright/codecs/amrnb/common/include/l_abs.h
ibstagefright/codecs/amrnb/common/include/l_add.h
ibstagefright/codecs/amrnb/common/include/l_add_c.h
ibstagefright/codecs/amrnb/common/include/l_comp.h
ibstagefright/codecs/amrnb/common/include/l_deposit_h.h
ibstagefright/codecs/amrnb/common/include/l_deposit_l.h
ibstagefright/codecs/amrnb/common/include/l_extract.h
ibstagefright/codecs/amrnb/common/include/l_mac.h
ibstagefright/codecs/amrnb/common/include/l_msu.h
ibstagefright/codecs/amrnb/common/include/l_mult.h
ibstagefright/codecs/amrnb/common/include/l_negate.h
ibstagefright/codecs/amrnb/common/include/l_shl.h
ibstagefright/codecs/amrnb/common/include/l_shr.h
ibstagefright/codecs/amrnb/common/include/l_shr_r.h
ibstagefright/codecs/amrnb/common/include/l_sub.h
ibstagefright/codecs/amrnb/common/include/log2.h
ibstagefright/codecs/amrnb/common/include/log2_norm.h
ibstagefright/codecs/amrnb/common/include/lsfwt.h
ibstagefright/codecs/amrnb/common/include/lsp.h
ibstagefright/codecs/amrnb/common/include/lsp_az.h
ibstagefright/codecs/amrnb/common/include/lsp_lsf.h
ibstagefright/codecs/amrnb/common/include/lsp_tab.h
ibstagefright/codecs/amrnb/common/include/mac_32.h
ibstagefright/codecs/amrnb/common/include/mode.h
ibstagefright/codecs/amrnb/common/include/mpy_32.h
ibstagefright/codecs/amrnb/common/include/mpy_32_16.h
ibstagefright/codecs/amrnb/common/include/mult.h
ibstagefright/codecs/amrnb/common/include/mult_r.h
ibstagefright/codecs/amrnb/common/include/n_proc.h
ibstagefright/codecs/amrnb/common/include/negate.h
ibstagefright/codecs/amrnb/common/include/norm_l.h
ibstagefright/codecs/amrnb/common/include/norm_s.h
ibstagefright/codecs/amrnb/common/include/oper_32b.h
ibstagefright/codecs/amrnb/common/include/p_ol_wgh.h
ibstagefright/codecs/amrnb/common/include/pow2.h
ibstagefright/codecs/amrnb/common/include/pred_lt.h
ibstagefright/codecs/amrnb/common/include/pvgsmamr.h
ibstagefright/codecs/amrnb/common/include/q_plsf.h
ibstagefright/codecs/amrnb/common/include/q_plsf_3_tbl.h
ibstagefright/codecs/amrnb/common/include/q_plsf_5_tbl.h
ibstagefright/codecs/amrnb/common/include/qgain475_tab.h
ibstagefright/codecs/amrnb/common/include/qua_gain.h
ibstagefright/codecs/amrnb/common/include/qua_gain_tbl.h
ibstagefright/codecs/amrnb/common/include/reorder.h
ibstagefright/codecs/amrnb/common/include/residu.h
ibstagefright/codecs/amrnb/common/include/reverse_bits.h
ibstagefright/codecs/amrnb/common/include/round.h
ibstagefright/codecs/amrnb/common/include/set_zero.h
ibstagefright/codecs/amrnb/common/include/shl.h
ibstagefright/codecs/amrnb/common/include/shr.h
ibstagefright/codecs/amrnb/common/include/shr_r.h
ibstagefright/codecs/amrnb/common/include/sqrt_l.h
ibstagefright/codecs/amrnb/common/include/sub.h
ibstagefright/codecs/amrnb/common/include/syn_filt.h
ibstagefright/codecs/amrnb/common/include/typedef.h
ibstagefright/codecs/amrnb/common/include/vad.h
ibstagefright/codecs/amrnb/common/include/vad1.h
ibstagefright/codecs/amrnb/common/include/vad2.h
ibstagefright/codecs/amrnb/common/include/weight_a.h
ibstagefright/codecs/amrnb/common/include/window_tab.h
ibstagefright/codecs/amrnb/common/include/wmf_to_ets.h
ibstagefright/codecs/amrnb/common/pvgsmamrdecoderinterface.h
ibstagefright/codecs/amrnb/common/src/add.cpp
ibstagefright/codecs/amrnb/common/src/az_lsp.cpp
ibstagefright/codecs/amrnb/common/src/bitno_tab.cpp
ibstagefright/codecs/amrnb/common/src/bitreorder_tab.cpp
ibstagefright/codecs/amrnb/common/src/bits2prm.cpp
ibstagefright/codecs/amrnb/common/src/bytesused.cpp
ibstagefright/codecs/amrnb/common/src/c2_9pf_tab.cpp
ibstagefright/codecs/amrnb/common/src/copy.cpp
ibstagefright/codecs/amrnb/common/src/div_32.cpp
ibstagefright/codecs/amrnb/common/src/div_s.cpp
ibstagefright/codecs/amrnb/common/src/extract_h.cpp
ibstagefright/codecs/amrnb/common/src/extract_l.cpp
ibstagefright/codecs/amrnb/common/src/gains_tbl.cpp
ibstagefright/codecs/amrnb/common/src/gc_pred.cpp
ibstagefright/codecs/amrnb/common/src/gmed_n.cpp
ibstagefright/codecs/amrnb/common/src/gray_tbl.cpp
ibstagefright/codecs/amrnb/common/src/grid_tbl.cpp
ibstagefright/codecs/amrnb/common/src/int_lpc.cpp
ibstagefright/codecs/amrnb/common/src/inv_sqrt.cpp
ibstagefright/codecs/amrnb/common/src/inv_sqrt_tbl.cpp
ibstagefright/codecs/amrnb/common/src/l_abs.cpp
ibstagefright/codecs/amrnb/common/src/l_deposit_h.cpp
ibstagefright/codecs/amrnb/common/src/l_deposit_l.cpp
ibstagefright/codecs/amrnb/common/src/l_shr_r.cpp
ibstagefright/codecs/amrnb/common/src/log2.cpp
ibstagefright/codecs/amrnb/common/src/log2_norm.cpp
ibstagefright/codecs/amrnb/common/src/log2_tbl.cpp
ibstagefright/codecs/amrnb/common/src/lsfwt.cpp
ibstagefright/codecs/amrnb/common/src/lsp.cpp
ibstagefright/codecs/amrnb/common/src/lsp_az.cpp
ibstagefright/codecs/amrnb/common/src/lsp_lsf.cpp
ibstagefright/codecs/amrnb/common/src/lsp_lsf_tbl.cpp
ibstagefright/codecs/amrnb/common/src/lsp_tab.cpp
ibstagefright/codecs/amrnb/common/src/mult_r.cpp
ibstagefright/codecs/amrnb/common/src/negate.cpp
ibstagefright/codecs/amrnb/common/src/norm_l.cpp
ibstagefright/codecs/amrnb/common/src/norm_s.cpp
ibstagefright/codecs/amrnb/common/src/overflow_tbl.cpp
ibstagefright/codecs/amrnb/common/src/ph_disp_tab.cpp
ibstagefright/codecs/amrnb/common/src/pow2.cpp
ibstagefright/codecs/amrnb/common/src/pow2_tbl.cpp
ibstagefright/codecs/amrnb/common/src/pred_lt.cpp
ibstagefright/codecs/amrnb/common/src/q_plsf.cpp
ibstagefright/codecs/amrnb/common/src/q_plsf_3.cpp
ibstagefright/codecs/amrnb/common/src/q_plsf_3_tbl.cpp
ibstagefright/codecs/amrnb/common/src/q_plsf_5.cpp
ibstagefright/codecs/amrnb/common/src/q_plsf_5_tbl.cpp
ibstagefright/codecs/amrnb/common/src/qua_gain_tbl.cpp
ibstagefright/codecs/amrnb/common/src/reorder.cpp
ibstagefright/codecs/amrnb/common/src/residu.cpp
ibstagefright/codecs/amrnb/common/src/round.cpp
ibstagefright/codecs/amrnb/common/src/set_zero.cpp
ibstagefright/codecs/amrnb/common/src/shr.cpp
ibstagefright/codecs/amrnb/common/src/shr_r.cpp
ibstagefright/codecs/amrnb/common/src/sqrt_l.cpp
ibstagefright/codecs/amrnb/common/src/sqrt_l_tbl.cpp
ibstagefright/codecs/amrnb/common/src/sub.cpp
ibstagefright/codecs/amrnb/common/src/syn_filt.cpp
ibstagefright/codecs/amrnb/common/src/vad1.cpp
ibstagefright/codecs/amrnb/common/src/weight_a.cpp
ibstagefright/codecs/amrnb/common/src/window_tab.cpp
ibstagefright/codecs/amrnb/dec/AMRNBDecoder.cpp
ibstagefright/codecs/amrnb/dec/Android.mk
ibstagefright/codecs/amrnb/dec/include/pvamrnbdecoder_api.h
ibstagefright/codecs/amrnb/dec/src/a_refl.cpp
ibstagefright/codecs/amrnb/dec/src/a_refl.h
ibstagefright/codecs/amrnb/dec/src/agc.cpp
ibstagefright/codecs/amrnb/dec/src/agc.h
ibstagefright/codecs/amrnb/dec/src/amrdecode.cpp
ibstagefright/codecs/amrnb/dec/src/amrdecode.h
ibstagefright/codecs/amrnb/dec/src/b_cn_cod.cpp
ibstagefright/codecs/amrnb/dec/src/b_cn_cod.h
ibstagefright/codecs/amrnb/dec/src/bgnscd.cpp
ibstagefright/codecs/amrnb/dec/src/bgnscd.h
ibstagefright/codecs/amrnb/dec/src/c_g_aver.cpp
ibstagefright/codecs/amrnb/dec/src/c_g_aver.h
ibstagefright/codecs/amrnb/dec/src/d1035pf.cpp
ibstagefright/codecs/amrnb/dec/src/d1035pf.h
ibstagefright/codecs/amrnb/dec/src/d2_11pf.cpp
ibstagefright/codecs/amrnb/dec/src/d2_11pf.h
ibstagefright/codecs/amrnb/dec/src/d2_9pf.cpp
ibstagefright/codecs/amrnb/dec/src/d2_9pf.h
ibstagefright/codecs/amrnb/dec/src/d3_14pf.cpp
ibstagefright/codecs/amrnb/dec/src/d3_14pf.h
ibstagefright/codecs/amrnb/dec/src/d4_17pf.cpp
ibstagefright/codecs/amrnb/dec/src/d4_17pf.h
ibstagefright/codecs/amrnb/dec/src/d8_31pf.cpp
ibstagefright/codecs/amrnb/dec/src/d8_31pf.h
ibstagefright/codecs/amrnb/dec/src/d_gain_c.cpp
ibstagefright/codecs/amrnb/dec/src/d_gain_p.cpp
ibstagefright/codecs/amrnb/dec/src/d_plsf.cpp
ibstagefright/codecs/amrnb/dec/src/d_plsf_3.cpp
ibstagefright/codecs/amrnb/dec/src/d_plsf_5.cpp
ibstagefright/codecs/amrnb/dec/src/dec_amr.cpp
ibstagefright/codecs/amrnb/dec/src/dec_amr.h
ibstagefright/codecs/amrnb/dec/src/dec_gain.cpp
ibstagefright/codecs/amrnb/dec/src/dec_gain.h
ibstagefright/codecs/amrnb/dec/src/dec_input_format_tab.cpp
ibstagefright/codecs/amrnb/dec/src/dec_lag3.cpp
ibstagefright/codecs/amrnb/dec/src/dec_lag3.h
ibstagefright/codecs/amrnb/dec/src/dec_lag6.cpp
ibstagefright/codecs/amrnb/dec/src/dec_lag6.h
ibstagefright/codecs/amrnb/dec/src/dtx_dec.cpp
ibstagefright/codecs/amrnb/dec/src/dtx_dec.h
ibstagefright/codecs/amrnb/dec/src/ec_gains.cpp
ibstagefright/codecs/amrnb/dec/src/ec_gains.h
ibstagefright/codecs/amrnb/dec/src/ex_ctrl.cpp
ibstagefright/codecs/amrnb/dec/src/ex_ctrl.h
ibstagefright/codecs/amrnb/dec/src/gsmamr_dec.h
ibstagefright/codecs/amrnb/dec/src/if2_to_ets.cpp
ibstagefright/codecs/amrnb/dec/src/if2_to_ets.h
ibstagefright/codecs/amrnb/dec/src/int_lsf.cpp
ibstagefright/codecs/amrnb/dec/src/lsp_avg.cpp
ibstagefright/codecs/amrnb/dec/src/lsp_avg.h
ibstagefright/codecs/amrnb/dec/src/ph_disp.cpp
ibstagefright/codecs/amrnb/dec/src/ph_disp.h
ibstagefright/codecs/amrnb/dec/src/post_pro.cpp
ibstagefright/codecs/amrnb/dec/src/post_pro.h
ibstagefright/codecs/amrnb/dec/src/preemph.cpp
ibstagefright/codecs/amrnb/dec/src/preemph.h
ibstagefright/codecs/amrnb/dec/src/pstfilt.cpp
ibstagefright/codecs/amrnb/dec/src/pstfilt.h
ibstagefright/codecs/amrnb/dec/src/pvgsmamrdecoder.cpp
ibstagefright/codecs/amrnb/dec/src/qgain475_tab.cpp
ibstagefright/codecs/amrnb/dec/src/sp_dec.cpp
ibstagefright/codecs/amrnb/dec/src/sp_dec.h
ibstagefright/codecs/amrnb/dec/src/wmf_to_ets.cpp
ibstagefright/codecs/amrnb/patent_disclaimer.txt
ibstagefright/codecs/amrwb/AMRWBDecoder.cpp
ibstagefright/codecs/amrwb/Android.mk
ibstagefright/codecs/amrwb/include/pvamrwbdecoder_api.h
ibstagefright/codecs/amrwb/patent_disclaimer.txt
ibstagefright/codecs/amrwb/src/agc2_amr_wb.cpp
ibstagefright/codecs/amrwb/src/band_pass_6k_7k.cpp
ibstagefright/codecs/amrwb/src/dec_acelp_2p_in_64.cpp
ibstagefright/codecs/amrwb/src/dec_acelp_4p_in_64.cpp
ibstagefright/codecs/amrwb/src/dec_alg_codebook.cpp
ibstagefright/codecs/amrwb/src/dec_gain2_amr_wb.cpp
ibstagefright/codecs/amrwb/src/deemphasis_32.cpp
ibstagefright/codecs/amrwb/src/dtx.h
ibstagefright/codecs/amrwb/src/dtx_decoder_amr_wb.cpp
ibstagefright/codecs/amrwb/src/e_pv_amrwbdec.h
ibstagefright/codecs/amrwb/src/get_amr_wb_bits.cpp
ibstagefright/codecs/amrwb/src/get_amr_wb_bits.h
ibstagefright/codecs/amrwb/src/highpass_400hz_at_12k8.cpp
ibstagefright/codecs/amrwb/src/highpass_50hz_at_12k8.cpp
ibstagefright/codecs/amrwb/src/homing_amr_wb_dec.cpp
ibstagefright/codecs/amrwb/src/interpolate_isp.cpp
ibstagefright/codecs/amrwb/src/isf_extrapolation.cpp
ibstagefright/codecs/amrwb/src/isp_az.cpp
ibstagefright/codecs/amrwb/src/isp_isf.cpp
ibstagefright/codecs/amrwb/src/lagconceal.cpp
ibstagefright/codecs/amrwb/src/low_pass_filt_7k.cpp
ibstagefright/codecs/amrwb/src/median5.cpp
ibstagefright/codecs/amrwb/src/mime_io.cpp
ibstagefright/codecs/amrwb/src/mime_io.h
ibstagefright/codecs/amrwb/src/noise_gen_amrwb.cpp
ibstagefright/codecs/amrwb/src/normalize_amr_wb.cpp
ibstagefright/codecs/amrwb/src/normalize_amr_wb.h
ibstagefright/codecs/amrwb/src/oversamp_12k8_to_16k.cpp
ibstagefright/codecs/amrwb/src/phase_dispersion.cpp
ibstagefright/codecs/amrwb/src/pit_shrp.cpp
ibstagefright/codecs/amrwb/src/pred_lt4.cpp
ibstagefright/codecs/amrwb/src/preemph_amrwb_dec.cpp
ibstagefright/codecs/amrwb/src/pv_amr_wb_type_defs.h
ibstagefright/codecs/amrwb/src/pvamrwb_math_op.cpp
ibstagefright/codecs/amrwb/src/pvamrwb_math_op.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder.cpp
ibstagefright/codecs/amrwb/src/pvamrwbdecoder.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder_acelp.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder_basic_op.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder_basic_op_armv5.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder_basic_op_cequivalent.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder_basic_op_gcc_armv5.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder_cnst.h
ibstagefright/codecs/amrwb/src/pvamrwbdecoder_mem_funcs.h
ibstagefright/codecs/amrwb/src/q_gain2_tab.cpp
ibstagefright/codecs/amrwb/src/q_pulse.h
ibstagefright/codecs/amrwb/src/qisf_ns.cpp
ibstagefright/codecs/amrwb/src/qisf_ns.h
ibstagefright/codecs/amrwb/src/qisf_ns_tab.cpp
ibstagefright/codecs/amrwb/src/qpisf_2s.cpp
ibstagefright/codecs/amrwb/src/qpisf_2s.h
ibstagefright/codecs/amrwb/src/qpisf_2s_tab.cpp
ibstagefright/codecs/amrwb/src/scale_signal.cpp
ibstagefright/codecs/amrwb/src/synthesis_amr_wb.cpp
ibstagefright/codecs/amrwb/src/synthesis_amr_wb.h
ibstagefright/codecs/amrwb/src/voice_factor.cpp
ibstagefright/codecs/amrwb/src/wb_syn_filt.cpp
ibstagefright/codecs/amrwb/src/weight_amrwb_lpc.cpp
ibstagefright/include/AMRNBDecoder.h
ibstagefright/include/AMRWBDecoder.h
8eb8011120a68a86199b9960cf1ae91a6ddc7e6d 10-Dec-2009 Dave Sparks <davidsparks@android.com> Fix media player decode function. Bug 2317821.

There was a recent change to OpenCORE that broke the MediaPlayer::decode()
function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The
affect is that SoundPool is unreliable for all of these formats. This patch
changes the logic in the AudioCache object that processes messages from the
media player. The old logic was fragile. This change should make it more
robust against changes.
ibmediaplayerservice/MediaPlayerService.cpp
c54176addef15699a518b69cd6bbd40ffc95e72e 08-Dec-2009 Andreas Huber <andih@google.com> Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM.
ibstagefright/codecs/mp3dec/Android.mk
35dd25795bb83d41c1022b1aefe890ffc00e9a35 08-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ib16e5543 into eclair-mr2

* changes:
Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.
edf4e6f02b54481ecd74bbdb51e3f5e3db0f53ff 08-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I8f658214 into eclair-mr2

* changes:
Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.
d912f4646ece79832f9d852b39eb6b0d836ccfc4 08-Dec-2009 Andreas Huber <andih@google.com> Note to self: Don't reverse the arguments to fseek(o)...
ibstagefright/FileSource.cpp
ebd0d94d2619280f9871ef2d0965d95fb880404c 08-Dec-2009 Andreas Huber <andih@google.com> Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
ibstagefright/include/AACDecoder.h
541962997b4076da11546619f082467ffd9bcd1f 08-Dec-2009 Andreas Huber <andih@google.com> Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.
ibstagefright/MP3Extractor.cpp
d9618f23226f46c752e56f712bc4b505117d8b4b 07-Dec-2009 Andreas Huber <andih@google.com> Initial checkin of stagefright MP3 audio decoder based on PV source code.
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/mp3dec/Android.mk
ibstagefright/codecs/mp3dec/MP3Decoder.cpp
ibstagefright/codecs/mp3dec/include/mp3_decoder_selection.h
ibstagefright/codecs/mp3dec/include/pvmp3_audio_type_defs.h
ibstagefright/codecs/mp3dec/include/pvmp3decoder_api.h
ibstagefright/codecs/mp3dec/patent_disclaimer.txt
ibstagefright/codecs/mp3dec/src/asm/pvmp3_dct_16_gcc.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_dct_9_arm.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_dct_9_gcc.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_mdct_18_arm.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_mdct_18_gcc.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_mdct_18_wm.asm
ibstagefright/codecs/mp3dec/src/asm/pvmp3_polyphase_filter_window_arm.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_polyphase_filter_window_gcc.s
ibstagefright/codecs/mp3dec/src/asm/pvmp3_polyphase_filter_window_wm.asm
ibstagefright/codecs/mp3dec/src/mp3_mem_funcs.h
ibstagefright/codecs/mp3dec/src/pv_mp3_huffman.h
ibstagefright/codecs/mp3dec/src/pv_mp3dec_fxd_op.h
ibstagefright/codecs/mp3dec/src/pv_mp3dec_fxd_op_arm.h
ibstagefright/codecs/mp3dec/src/pv_mp3dec_fxd_op_arm_gcc.h
ibstagefright/codecs/mp3dec/src/pv_mp3dec_fxd_op_c_equivalent.h
ibstagefright/codecs/mp3dec/src/pv_mp3dec_fxd_op_msc_evc.h
ibstagefright/codecs/mp3dec/src/pvmp3_alias_reduction.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_alias_reduction.h
ibstagefright/codecs/mp3dec/src/pvmp3_crc.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_crc.h
ibstagefright/codecs/mp3dec/src/pvmp3_dct_16.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_dct_16.h
ibstagefright/codecs/mp3dec/src/pvmp3_dct_6.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_dct_9.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_dec_defs.h
ibstagefright/codecs/mp3dec/src/pvmp3_decode_header.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_decode_header.h
ibstagefright/codecs/mp3dec/src/pvmp3_decode_huff_cw.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_decode_huff_cw.h
ibstagefright/codecs/mp3dec/src/pvmp3_dequantize_sample.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_dequantize_sample.h
ibstagefright/codecs/mp3dec/src/pvmp3_equalizer.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_equalizer.h
ibstagefright/codecs/mp3dec/src/pvmp3_framedecoder.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_framedecoder.h
ibstagefright/codecs/mp3dec/src/pvmp3_get_main_data_size.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_get_main_data_size.h
ibstagefright/codecs/mp3dec/src/pvmp3_get_scale_factors.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_get_scale_factors.h
ibstagefright/codecs/mp3dec/src/pvmp3_get_side_info.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_get_side_info.h
ibstagefright/codecs/mp3dec/src/pvmp3_getbits.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_getbits.h
ibstagefright/codecs/mp3dec/src/pvmp3_huffman_decoding.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_huffman_parsing.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_imdct_synth.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_imdct_synth.h
ibstagefright/codecs/mp3dec/src/pvmp3_mdct_18.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_mdct_18.h
ibstagefright/codecs/mp3dec/src/pvmp3_mdct_6.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_mdct_6.h
ibstagefright/codecs/mp3dec/src/pvmp3_mpeg2_get_scale_data.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_mpeg2_get_scale_data.h
ibstagefright/codecs/mp3dec/src/pvmp3_mpeg2_get_scale_factors.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_mpeg2_get_scale_factors.h
ibstagefright/codecs/mp3dec/src/pvmp3_mpeg2_stereo_proc.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_mpeg2_stereo_proc.h
ibstagefright/codecs/mp3dec/src/pvmp3_normalize.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_normalize.h
ibstagefright/codecs/mp3dec/src/pvmp3_poly_phase_synthesis.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_poly_phase_synthesis.h
ibstagefright/codecs/mp3dec/src/pvmp3_polyphase_filter_window.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_polyphase_filter_window.h
ibstagefright/codecs/mp3dec/src/pvmp3_reorder.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_reorder.h
ibstagefright/codecs/mp3dec/src/pvmp3_seek_synch.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_seek_synch.h
ibstagefright/codecs/mp3dec/src/pvmp3_stereo_proc.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_stereo_proc.h
ibstagefright/codecs/mp3dec/src/pvmp3_tables.cpp
ibstagefright/codecs/mp3dec/src/pvmp3_tables.h
ibstagefright/codecs/mp3dec/src/s_huffcodetab.h
ibstagefright/codecs/mp3dec/src/s_mp3bits.h
ibstagefright/codecs/mp3dec/src/s_tmp3dec_chan.h
ibstagefright/codecs/mp3dec/src/s_tmp3dec_file.h
ibstagefright/include/MP3Decoder.h
ibstagefright/omx/Android.mk
ibstagefright/omx/OMXSoftwareCodecsPlugin.cpp
ibstagefright/omx/mp3dec/Android.mk
ibstagefright/omx/mp3dec/MP3Decoder.cpp
ibstagefright/omx/mp3dec/MP3Decoder.h
92616b5655b7aef260480f60f2aabf98e821c8f3 07-Dec-2009 Andreas Huber <andih@google.com> Fixing the build, only instantiate the software aac decoder in full stagefright builds.
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
c4fbba6ab63b6fc1a60f6d91238291a73332091b 07-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I9c6e1f90 into eclair-mr2

* changes:
Initial check in of stagefright software AAC decoder based on PV source code.
a410d5a7150d6b14f98197e570c78ea7b6a65091 07-Dec-2009 Eric Laurent <elaurent@google.com> am 6d42d806: Merge change I9cc489a2 into eclair

Merge commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7' into eclair-mr2

* commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7':
Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
f44de515d3b6098a0b585865c1a0c7b20d3075a6 07-Dec-2009 Andreas Huber <andih@google.com> Initial check in of stagefright software AAC decoder based on PV source code.
ibstagefright/Android.mk
ibstagefright/OMXCodec.cpp
ibstagefright/codecs/Android.mk
ibstagefright/codecs/aacdec/AACDecoder.cpp
ibstagefright/codecs/aacdec/Android.mk
ibstagefright/codecs/aacdec/aac_mem_funcs.h
ibstagefright/codecs/aacdec/analysis_sub_band.cpp
ibstagefright/codecs/aacdec/analysis_sub_band.h
ibstagefright/codecs/aacdec/apply_ms_synt.cpp
ibstagefright/codecs/aacdec/apply_ms_synt.h
ibstagefright/codecs/aacdec/apply_tns.cpp
ibstagefright/codecs/aacdec/apply_tns.h
ibstagefright/codecs/aacdec/bit_reversal_swap.h
ibstagefright/codecs/aacdec/buf_getbits.cpp
ibstagefright/codecs/aacdec/buf_getbits.h
ibstagefright/codecs/aacdec/buffer_normalization.h
ibstagefright/codecs/aacdec/byte_align.cpp
ibstagefright/codecs/aacdec/calc_auto_corr.cpp
ibstagefright/codecs/aacdec/calc_auto_corr.h
ibstagefright/codecs/aacdec/calc_gsfb_table.cpp
ibstagefright/codecs/aacdec/calc_sbr_anafilterbank.cpp
ibstagefright/codecs/aacdec/calc_sbr_anafilterbank.h
ibstagefright/codecs/aacdec/calc_sbr_envelope.cpp
ibstagefright/codecs/aacdec/calc_sbr_envelope.h
ibstagefright/codecs/aacdec/calc_sbr_synfilterbank.cpp
ibstagefright/codecs/aacdec/calc_sbr_synfilterbank.h
ibstagefright/codecs/aacdec/chans.h
ibstagefright/codecs/aacdec/check_crc.cpp
ibstagefright/codecs/aacdec/check_crc.h
ibstagefright/codecs/aacdec/dct16.cpp
ibstagefright/codecs/aacdec/dct16.h
ibstagefright/codecs/aacdec/dct64.cpp
ibstagefright/codecs/aacdec/dct64.h
ibstagefright/codecs/aacdec/decode_huff_cw_binary.cpp
ibstagefright/codecs/aacdec/decode_noise_floorlevels.cpp
ibstagefright/codecs/aacdec/decode_noise_floorlevels.h
ibstagefright/codecs/aacdec/deinterleave.cpp
ibstagefright/codecs/aacdec/digit_reversal_tables.cpp
ibstagefright/codecs/aacdec/digit_reversal_tables.h
ibstagefright/codecs/aacdec/dst16.cpp
ibstagefright/codecs/aacdec/dst16.h
ibstagefright/codecs/aacdec/dst32.cpp
ibstagefright/codecs/aacdec/dst32.h
ibstagefright/codecs/aacdec/dst8.cpp
ibstagefright/codecs/aacdec/dst8.h
ibstagefright/codecs/aacdec/e_adif_const.h
ibstagefright/codecs/aacdec/e_blockswitching.h
ibstagefright/codecs/aacdec/e_coupling_mode.h
ibstagefright/codecs/aacdec/e_elementid.h
ibstagefright/codecs/aacdec/e_huffmanconst.h
ibstagefright/codecs/aacdec/e_infoinitconst.h
ibstagefright/codecs/aacdec/e_invf_mode.h
ibstagefright/codecs/aacdec/e_maskstatus.h
ibstagefright/codecs/aacdec/e_mp4ff_const.h
ibstagefright/codecs/aacdec/e_progconfigconst.h
ibstagefright/codecs/aacdec/e_rawbitstreamconst.h
ibstagefright/codecs/aacdec/e_sbr_element_id.h
ibstagefright/codecs/aacdec/e_sbr_error.h
ibstagefright/codecs/aacdec/e_sbr_header_status.h
ibstagefright/codecs/aacdec/e_sbr_master_status.h
ibstagefright/codecs/aacdec/e_sbr_sync_state.h
ibstagefright/codecs/aacdec/e_sr_mode.h
ibstagefright/codecs/aacdec/e_tmp4audioobjecttype.h
ibstagefright/codecs/aacdec/e_tns_const.h
ibstagefright/codecs/aacdec/e_window_sequence.h
ibstagefright/codecs/aacdec/e_window_shape.h
ibstagefright/codecs/aacdec/esc_iquant_scaling.cpp
ibstagefright/codecs/aacdec/esc_iquant_scaling.h
ibstagefright/codecs/aacdec/extractframeinfo.cpp
ibstagefright/codecs/aacdec/extractframeinfo.h
ibstagefright/codecs/aacdec/fft_rx4.h
ibstagefright/codecs/aacdec/fft_rx4_long.cpp
ibstagefright/codecs/aacdec/fft_rx4_short.cpp
ibstagefright/codecs/aacdec/fft_rx4_tables_fxp.cpp
ibstagefright/codecs/aacdec/find_adts_syncword.cpp
ibstagefright/codecs/aacdec/find_adts_syncword.h
ibstagefright/codecs/aacdec/fwd_long_complex_rot.cpp
ibstagefright/codecs/aacdec/fwd_long_complex_rot.h
ibstagefright/codecs/aacdec/fwd_short_complex_rot.cpp
ibstagefright/codecs/aacdec/fwd_short_complex_rot.h
ibstagefright/codecs/aacdec/fxp_mul32.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_gcc.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_v4.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_v4_gcc.h
ibstagefright/codecs/aacdec/fxp_mul32_arm_v5.h
ibstagefright/codecs/aacdec/fxp_mul32_c_equivalent.h
ibstagefright/codecs/aacdec/fxp_mul32_c_msc_evc.h
ibstagefright/codecs/aacdec/fxp_mul32_c_msc_evc_armv5.h
ibstagefright/codecs/aacdec/fxp_mul32_pentium.h
ibstagefright/codecs/aacdec/gen_rand_vector.cpp
ibstagefright/codecs/aacdec/gen_rand_vector.h
ibstagefright/codecs/aacdec/get_adif_header.cpp
ibstagefright/codecs/aacdec/get_adif_header.h
ibstagefright/codecs/aacdec/get_adts_header.cpp
ibstagefright/codecs/aacdec/get_adts_header.h
ibstagefright/codecs/aacdec/get_audio_specific_config.cpp
ibstagefright/codecs/aacdec/get_audio_specific_config.h
ibstagefright/codecs/aacdec/get_dse.cpp
ibstagefright/codecs/aacdec/get_dse.h
ibstagefright/codecs/aacdec/get_ele_list.cpp
ibstagefright/codecs/aacdec/get_ele_list.h
ibstagefright/codecs/aacdec/get_ga_specific_config.cpp
ibstagefright/codecs/aacdec/get_ga_specific_config.h
ibstagefright/codecs/aacdec/get_ics_info.cpp
ibstagefright/codecs/aacdec/get_ics_info.h
ibstagefright/codecs/aacdec/get_prog_config.cpp
ibstagefright/codecs/aacdec/get_prog_config.h
ibstagefright/codecs/aacdec/get_pulse_data.cpp
ibstagefright/codecs/aacdec/get_pulse_data.h
ibstagefright/codecs/aacdec/get_sbr_bitstream.cpp
ibstagefright/codecs/aacdec/get_sbr_bitstream.h
ibstagefright/codecs/aacdec/get_sbr_startfreq.cpp
ibstagefright/codecs/aacdec/get_sbr_startfreq.h
ibstagefright/codecs/aacdec/get_sbr_stopfreq.cpp
ibstagefright/codecs/aacdec/get_sbr_stopfreq.h
ibstagefright/codecs/aacdec/get_sign_bits.h
ibstagefright/codecs/aacdec/get_tns.cpp
ibstagefright/codecs/aacdec/get_tns.h
ibstagefright/codecs/aacdec/getbits.h
ibstagefright/codecs/aacdec/getfill.cpp
ibstagefright/codecs/aacdec/getfill.h
ibstagefright/codecs/aacdec/getgroup.cpp
ibstagefright/codecs/aacdec/getics.cpp
ibstagefright/codecs/aacdec/getmask.cpp
ibstagefright/codecs/aacdec/hcbtables.h
ibstagefright/codecs/aacdec/hcbtables_binary.cpp
ibstagefright/codecs/aacdec/huffcb.cpp
ibstagefright/codecs/aacdec/huffdecode.cpp
ibstagefright/codecs/aacdec/hufffac.cpp
ibstagefright/codecs/aacdec/huffman.h
ibstagefright/codecs/aacdec/huffspec_fxp.cpp
ibstagefright/codecs/aacdec/ibstream.h
ibstagefright/codecs/aacdec/idct16.cpp
ibstagefright/codecs/aacdec/idct16.h
ibstagefright/codecs/aacdec/idct32.cpp
ibstagefright/codecs/aacdec/idct32.h
ibstagefright/codecs/aacdec/idct8.cpp
ibstagefright/codecs/aacdec/idct8.h
ibstagefright/codecs/aacdec/imdct_fxp.cpp
ibstagefright/codecs/aacdec/imdct_fxp.h
ibstagefright/codecs/aacdec/infoinit.cpp
ibstagefright/codecs/aacdec/init_sbr_dec.cpp
ibstagefright/codecs/aacdec/init_sbr_dec.h
ibstagefright/codecs/aacdec/intensity_right.cpp
ibstagefright/codecs/aacdec/intensity_right.h
ibstagefright/codecs/aacdec/inv_long_complex_rot.cpp
ibstagefright/codecs/aacdec/inv_long_complex_rot.h
ibstagefright/codecs/aacdec/inv_short_complex_rot.cpp
ibstagefright/codecs/aacdec/inv_short_complex_rot.h
ibstagefright/codecs/aacdec/iquant_table.cpp
ibstagefright/codecs/aacdec/iquant_table.h
ibstagefright/codecs/aacdec/long_term_prediction.cpp
ibstagefright/codecs/aacdec/long_term_prediction.h
ibstagefright/codecs/aacdec/long_term_synthesis.cpp
ibstagefright/codecs/aacdec/long_term_synthesis.h
ibstagefright/codecs/aacdec/lt_decode.cpp
ibstagefright/codecs/aacdec/lt_decode.h
ibstagefright/codecs/aacdec/lt_prediction.h
ibstagefright/codecs/aacdec/ltp_common_internal.h
ibstagefright/codecs/aacdec/mdct_fxp.cpp
ibstagefright/codecs/aacdec/mdct_fxp.h
ibstagefright/codecs/aacdec/mdct_tables_fxp.cpp
ibstagefright/codecs/aacdec/mdst.cpp
ibstagefright/codecs/aacdec/mdst.h
ibstagefright/codecs/aacdec/mix_radix_fft.cpp
ibstagefright/codecs/aacdec/mix_radix_fft.h
ibstagefright/codecs/aacdec/ms_map_mask.h
ibstagefright/codecs/aacdec/ms_synt.cpp
ibstagefright/codecs/aacdec/ms_synt.h
ibstagefright/codecs/aacdec/pns_corr.cpp
ibstagefright/codecs/aacdec/pns_corr.h
ibstagefright/codecs/aacdec/pns_intensity_right.cpp
ibstagefright/codecs/aacdec/pns_intensity_right.h
ibstagefright/codecs/aacdec/pns_left.cpp
ibstagefright/codecs/aacdec/pns_left.h
ibstagefright/codecs/aacdec/ps_all_pass_filter_coeff.cpp
ibstagefright/codecs/aacdec/ps_all_pass_filter_coeff.h
ibstagefright/codecs/aacdec/ps_all_pass_fract_delay_filter.cpp
ibstagefright/codecs/aacdec/ps_all_pass_fract_delay_filter.h
ibstagefright/codecs/aacdec/ps_allocate_decoder.cpp
ibstagefright/codecs/aacdec/ps_allocate_decoder.h
ibstagefright/codecs/aacdec/ps_applied.cpp
ibstagefright/codecs/aacdec/ps_applied.h
ibstagefright/codecs/aacdec/ps_bstr_decoding.cpp
ibstagefright/codecs/aacdec/ps_bstr_decoding.h
ibstagefright/codecs/aacdec/ps_channel_filtering.cpp
ibstagefright/codecs/aacdec/ps_channel_filtering.h
ibstagefright/codecs/aacdec/ps_constants.h
ibstagefright/codecs/aacdec/ps_decode_bs_utils.cpp
ibstagefright/codecs/aacdec/ps_decode_bs_utils.h
ibstagefright/codecs/aacdec/ps_decorrelate.cpp
ibstagefright/codecs/aacdec/ps_decorrelate.h
ibstagefright/codecs/aacdec/ps_fft_rx8.cpp
ibstagefright/codecs/aacdec/ps_fft_rx8.h
ibstagefright/codecs/aacdec/ps_hybrid_analysis.cpp
ibstagefright/codecs/aacdec/ps_hybrid_analysis.h
ibstagefright/codecs/aacdec/ps_hybrid_filter_bank_allocation.cpp
ibstagefright/codecs/aacdec/ps_hybrid_filter_bank_allocation.h
ibstagefright/codecs/aacdec/ps_hybrid_synthesis.cpp
ibstagefright/codecs/aacdec/ps_hybrid_synthesis.h
ibstagefright/codecs/aacdec/ps_init_stereo_mixing.cpp
ibstagefright/codecs/aacdec/ps_init_stereo_mixing.h
ibstagefright/codecs/aacdec/ps_pwr_transient_detection.cpp
ibstagefright/codecs/aacdec/ps_pwr_transient_detection.h
ibstagefright/codecs/aacdec/ps_read_data.cpp
ibstagefright/codecs/aacdec/ps_read_data.h
ibstagefright/codecs/aacdec/ps_stereo_processing.cpp
ibstagefright/codecs/aacdec/ps_stereo_processing.h
ibstagefright/codecs/aacdec/pulse_nc.cpp
ibstagefright/codecs/aacdec/pulse_nc.h
ibstagefright/codecs/aacdec/pv_audio_type_defs.h
ibstagefright/codecs/aacdec/pv_div.cpp
ibstagefright/codecs/aacdec/pv_div.h
ibstagefright/codecs/aacdec/pv_log2.cpp
ibstagefright/codecs/aacdec/pv_log2.h
ibstagefright/codecs/aacdec/pv_normalize.cpp
ibstagefright/codecs/aacdec/pv_normalize.h
ibstagefright/codecs/aacdec/pv_pow2.cpp
ibstagefright/codecs/aacdec/pv_pow2.h
ibstagefright/codecs/aacdec/pv_sine.cpp
ibstagefright/codecs/aacdec/pv_sine.h
ibstagefright/codecs/aacdec/pv_sqrt.cpp
ibstagefright/codecs/aacdec/pv_sqrt.h
ibstagefright/codecs/aacdec/pvmp4audiodecoder_api.h
ibstagefright/codecs/aacdec/pvmp4audiodecoderconfig.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecoderframe.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecodergetmemrequirements.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecoderinitlibrary.cpp
ibstagefright/codecs/aacdec/pvmp4audiodecoderresetbuffer.cpp
ibstagefright/codecs/aacdec/pvmp4setaudioconfig.cpp
ibstagefright/codecs/aacdec/q_normalize.cpp
ibstagefright/codecs/aacdec/q_normalize.h
ibstagefright/codecs/aacdec/qmf_filterbank_coeff.cpp
ibstagefright/codecs/aacdec/qmf_filterbank_coeff.h
ibstagefright/codecs/aacdec/s_adif_header.h
ibstagefright/codecs/aacdec/s_bit_buffer.h
ibstagefright/codecs/aacdec/s_bits.h
ibstagefright/codecs/aacdec/s_ch_info.h
ibstagefright/codecs/aacdec/s_crc_buffer.h
ibstagefright/codecs/aacdec/s_elelist.h
ibstagefright/codecs/aacdec/s_frameinfo.h
ibstagefright/codecs/aacdec/s_hcb.h
ibstagefright/codecs/aacdec/s_huffman.h
ibstagefright/codecs/aacdec/s_hybrid.h
ibstagefright/codecs/aacdec/s_lt_pred_status.h
ibstagefright/codecs/aacdec/s_mc_info.h
ibstagefright/codecs/aacdec/s_mixdown.h
ibstagefright/codecs/aacdec/s_patch.h
ibstagefright/codecs/aacdec/s_progconfig.h
ibstagefright/codecs/aacdec/s_ps_dec.h
ibstagefright/codecs/aacdec/s_pulseinfo.h
ibstagefright/codecs/aacdec/s_sbr_channel.h
ibstagefright/codecs/aacdec/s_sbr_dec.h
ibstagefright/codecs/aacdec/s_sbr_element_stream.h
ibstagefright/codecs/aacdec/s_sbr_frame_data.h
ibstagefright/codecs/aacdec/s_sbr_header_data.h
ibstagefright/codecs/aacdec/s_sbrbitstream.h
ibstagefright/codecs/aacdec/s_sectinfo.h
ibstagefright/codecs/aacdec/s_sr_info.h
ibstagefright/codecs/aacdec/s_tdec_int_chan.h
ibstagefright/codecs/aacdec/s_tdec_int_file.h
ibstagefright/codecs/aacdec/s_tns_frame_info.h
ibstagefright/codecs/aacdec/s_tnsfilt.h
ibstagefright/codecs/aacdec/s_wnd_shape.h
ibstagefright/codecs/aacdec/sbr_aliasing_reduction.cpp
ibstagefright/codecs/aacdec/sbr_aliasing_reduction.h
ibstagefright/codecs/aacdec/sbr_applied.cpp
ibstagefright/codecs/aacdec/sbr_applied.h
ibstagefright/codecs/aacdec/sbr_code_book_envlevel.cpp
ibstagefright/codecs/aacdec/sbr_code_book_envlevel.h
ibstagefright/codecs/aacdec/sbr_constants.h
ibstagefright/codecs/aacdec/sbr_crc_check.cpp
ibstagefright/codecs/aacdec/sbr_crc_check.h
ibstagefright/codecs/aacdec/sbr_create_limiter_bands.cpp
ibstagefright/codecs/aacdec/sbr_create_limiter_bands.h
ibstagefright/codecs/aacdec/sbr_dec.cpp
ibstagefright/codecs/aacdec/sbr_dec.h
ibstagefright/codecs/aacdec/sbr_decode_envelope.cpp
ibstagefright/codecs/aacdec/sbr_decode_envelope.h
ibstagefright/codecs/aacdec/sbr_decode_huff_cw.cpp
ibstagefright/codecs/aacdec/sbr_decode_huff_cw.h
ibstagefright/codecs/aacdec/sbr_downsample_lo_res.cpp
ibstagefright/codecs/aacdec/sbr_downsample_lo_res.h
ibstagefright/codecs/aacdec/sbr_envelope_calc_tbl.cpp
ibstagefright/codecs/aacdec/sbr_envelope_calc_tbl.h
ibstagefright/codecs/aacdec/sbr_envelope_unmapping.cpp
ibstagefright/codecs/aacdec/sbr_envelope_unmapping.h
ibstagefright/codecs/aacdec/sbr_extract_extended_data.cpp
ibstagefright/codecs/aacdec/sbr_extract_extended_data.h
ibstagefright/codecs/aacdec/sbr_find_start_andstop_band.cpp
ibstagefright/codecs/aacdec/sbr_find_start_andstop_band.h
ibstagefright/codecs/aacdec/sbr_generate_high_freq.cpp
ibstagefright/codecs/aacdec/sbr_generate_high_freq.h
ibstagefright/codecs/aacdec/sbr_get_additional_data.cpp
ibstagefright/codecs/aacdec/sbr_get_additional_data.h
ibstagefright/codecs/aacdec/sbr_get_cpe.cpp
ibstagefright/codecs/aacdec/sbr_get_cpe.h
ibstagefright/codecs/aacdec/sbr_get_dir_control_data.cpp
ibstagefright/codecs/aacdec/sbr_get_dir_control_data.h
ibstagefright/codecs/aacdec/sbr_get_envelope.cpp
ibstagefright/codecs/aacdec/sbr_get_envelope.h
ibstagefright/codecs/aacdec/sbr_get_header_data.cpp
ibstagefright/codecs/aacdec/sbr_get_header_data.h
ibstagefright/codecs/aacdec/sbr_get_noise_floor_data.cpp
ibstagefright/codecs/aacdec/sbr_get_noise_floor_data.h
ibstagefright/codecs/aacdec/sbr_get_sce.cpp
ibstagefright/codecs/aacdec/sbr_get_sce.h
ibstagefright/codecs/aacdec/sbr_inv_filt_levelemphasis.cpp
ibstagefright/codecs/aacdec/sbr_inv_filt_levelemphasis.h
ibstagefright/codecs/aacdec/sbr_open.cpp
ibstagefright/codecs/aacdec/sbr_open.h
ibstagefright/codecs/aacdec/sbr_read_data.cpp
ibstagefright/codecs/aacdec/sbr_read_data.h
ibstagefright/codecs/aacdec/sbr_requantize_envelope_data.cpp
ibstagefright/codecs/aacdec/sbr_requantize_envelope_data.h
ibstagefright/codecs/aacdec/sbr_reset_dec.cpp
ibstagefright/codecs/aacdec/sbr_reset_dec.h
ibstagefright/codecs/aacdec/sbr_update_freq_scale.cpp
ibstagefright/codecs/aacdec/sbr_update_freq_scale.h
ibstagefright/codecs/aacdec/set_mc_info.cpp
ibstagefright/codecs/aacdec/set_mc_info.h
ibstagefright/codecs/aacdec/sfb.cpp
ibstagefright/codecs/aacdec/sfb.h
ibstagefright/codecs/aacdec/shellsort.cpp
ibstagefright/codecs/aacdec/shellsort.h
ibstagefright/codecs/aacdec/stereo_2_mono.h
ibstagefright/codecs/aacdec/synthesis_sub_band.cpp
ibstagefright/codecs/aacdec/synthesis_sub_band.h
ibstagefright/codecs/aacdec/tns_ar_filter.cpp
ibstagefright/codecs/aacdec/tns_ar_filter.h
ibstagefright/codecs/aacdec/tns_decode_coef.cpp
ibstagefright/codecs/aacdec/tns_decode_coef.h
ibstagefright/codecs/aacdec/tns_inv_filter.cpp
ibstagefright/codecs/aacdec/tns_inv_filter.h
ibstagefright/codecs/aacdec/trans4m_freq_2_time_fxp.cpp
ibstagefright/codecs/aacdec/trans4m_time_2_freq_fxp.cpp
ibstagefright/codecs/aacdec/unpack_idx.cpp
ibstagefright/codecs/aacdec/unpack_idx.h
ibstagefright/codecs/aacdec/window_block_fxp.h
ibstagefright/codecs/aacdec/window_tables_fxp.cpp
ibstagefright/codecs/aacdec/write_output.h
ibstagefright/include/AACDecoder.h
bf697e37550d9e8376089b0b5e498613bede798c 07-Dec-2009 Andreas Huber <andih@google.com> Change OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.
ibstagefright/OMXCodec.cpp
148b266afe2ac92b5616c24e8d5160e6f9242f69 05-Dec-2009 Eric Laurent <elaurent@google.com> Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.

Fixed AudioFlinger::openInput() broken in change ddb78e7753be03937ad57ce7c3c842c52bdad65e
so that an invalid IO handle (0) is returned in case of failure.
Applied the same correction to openOutput().
Modified RecordThread start procedure so that a failure occuring during the first read from audio input stream is detected and causes
the record start to fail.
Modified RecordThread stop procedure to make sure that audio input stream fd is closed before we exit the stop function.

Fixed AudioRecord JAVA and JNI implementation to take status of native AudioRecord::start() into account
and not change mRecordingState to RECORDSTATE_RECORDING if start fails.
ibmedia/AudioRecord.cpp
f0fb96c352f30b812a4903a1d783a715e1e817bd 04-Dec-2009 Andreas Huber <andih@google.com> Enable proper cleanup of OMX nodes managed through stagefright.
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXMaster.cpp
ibstagefright/omx/OMXMaster.h
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/OMXPVCodecsPlugin.cpp
ibstagefright/omx/OMXPVCodecsPlugin.h
ibstagefright/omx/OMXSoftwareCodecsPlugin.cpp
ibstagefright/omx/OMXSoftwareCodecsPlugin.h
adf7d77752b3dbd47badc8819aa2674860d6ccba 04-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I6c84d731 into eclair-mr2

* changes:
Media/ToneGenerator: Change tone format for TONE_CDMA_ANSWER
15478f3287c62a780d19b9059023331721bd4f4f 04-Dec-2009 Andreas Huber <andih@google.com> Two more uses of strlcpy that break the sim build. Now fixed.
ibstagefright/omx/mp3dec/MP3Decoder.cpp
0ef47568ed93872feab423330b10a62a432decd5 04-Dec-2009 Andreas Huber <andih@google.com> Apparently strlcpy is not part of a standard linux distribution... Unbreaking the sim build.
ibstagefright/omx/OMXSoftwareCodecsPlugin.cpp
97494da9d418b599fa1b9930487b90c978357634 04-Dec-2009 Andreas Huber <andih@google.com> I accidentally broke this code while refactoring MediaScanner. This is the fix.
ibmedia/StagefrightMediaScanner.cpp
572e6a5cea656c1df50f69df9730f2dc351308de 03-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I74bf38a0 into eclair-mr2

* changes:
Squashed commit of the following:
413f523afe96aff02d2b0a7459127b8f67b2b43c 03-Dec-2009 Andreas Huber <andih@google.com> Refactor MediaScanner. Some steps on the way towards being able to build the tree without OpenCore.
ibmedia/Android.mk
ibmedia/MediaScanner.cpp
ibmedia/MediaScannerClient.cpp
ibmedia/StagefrightMediaScanner.cpp
ibmedia/StagefrightMediaScanner.h
ibmedia/autodetect.cpp
ibmedia/autodetect.h
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaRecorderClient.cpp
e3ec3cec3a2e27033249ff82964d2cbd441d9873 03-Dec-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 543e192bf2ae13f573dc4c4e53b239ed4ea00e81
Author: Andreas Huber <andih@google.com>
Date: Thu Dec 3 11:33:57 2009 -0800

stagefright now acts as the OMX Master, vendors supply their own plugins through libstagefrighthw. In OpenCore-enabled builds we now sit on top of PVMaster...

commit 3cbfdbd9cecadbb77b63125c62883bf1065884fe
Author: Andreas Huber <andih@google.com>
Date: Wed Dec 2 12:39:07 2009 -0800

More OMX infrastructure, stagefright is now taking over the OMX Master, multiplexing all contributing OMX implementations under a common interface.
ibstagefright/include/OMX.h
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXComponentBase.cpp
ibstagefright/omx/OMXComponentBase.h
ibstagefright/omx/OMXMaster.cpp
ibstagefright/omx/OMXMaster.h
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/omx/OMXPVCodecsPlugin.cpp
ibstagefright/omx/OMXPVCodecsPlugin.h
ibstagefright/omx/OMXSoftwareCodecsPlugin.cpp
ibstagefright/omx/OMXSoftwareCodecsPlugin.h
ibstagefright/omx/mp3dec/Android.mk
ibstagefright/omx/mp3dec/MP3Decoder.cpp
ibstagefright/omx/mp3dec/MP3Decoder.h
981594f5c3697c3330bdbd4bb5a743fb9f01e6ab 14-Oct-2009 Naveen Kalla <nkalla@quicinc.com> Media/ToneGenerator: Change tone format for TONE_CDMA_ANSWER

Tone format for TONE_CDMA_ANSWER should be 660Hz + 1000Hz, with a 500ms ON
duration.
ibmedia/ToneGenerator.cpp
8908d616cc9d74f9fe2c17f1d8d9335ee28c290d 03-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ib904c2a4 into eclair-mr2

* changes:
Remove old hack A/V sync hack that is no longer needed.
1d711f67ffb3ea73aca155537e0f21b444251158 03-Dec-2009 Dave Sparks <davidsparks@android.com> Remove old hack A/V sync hack that is no longer needed.
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
c297fccffc4ab1cb3b9f5c6a5b0802be057f3e0f 02-Dec-2009 Andreas Huber <andih@google.com> A small sample tool to encode pcm audio data to amr, decode it again and play it. Some changes to OMXCodec to properly configure the AMR decoder(s).
ibstagefright/OMXCodec.cpp
a7c816c4bdb72cf4f9fe853a96cd7efdb394006d 24-Nov-2009 Dave Sparks <davidsparks@android.com> am 16cc72bd: Fix simulator build.

Merge commit '16cc72bdef471ffeee3f61eba8262783de248b04' into eclair-mr2

* commit '16cc72bdef471ffeee3f61eba8262783de248b04':
Fix simulator build.
827f3004421aacb6bceaf772ac825d4f2d3006e4 24-Nov-2009 Dave Sparks <davidsparks@android.com> am 8424ec32: Merge change I0f9a53d4 into eclair

Merge commit '8424ec323b2bc38887370c75e2c1fcd84bcdb013' into eclair-mr2

* commit '8424ec323b2bc38887370c75e2c1fcd84bcdb013':
Set metadata retriever thread group to the caller's group.
f311c557729099d002f4aae37c402a8287912369 24-Nov-2009 Dave Sparks <davidsparks@android.com> Fix simulator build.
ibmedia/IMediaMetadataRetriever.cpp
ec4dde75955f87e5afea3f59ef991130257f3f3a 24-Nov-2009 Dave Sparks <davidsparks@android.com> Set metadata retriever thread group to the caller's group.

This patch modifies the native binder interface to the metadata
retriever to pass the caller's thread group across the binder
interface. On the server side, the thread scheduler group is
set to the caller's scheduler group temporarily and restored
after the request has completed. This patch also reverts a
previous patch where the priority of the thread was forced to
a low priority foreground thread.

This should give apps more control over the priority of their
metadata retrieval, particularly allow background process to
run without hogging the CPU.
ibmedia/IMediaMetadataRetriever.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
e5d6df402da9b6c5577470abb81a5e6801bd7752 23-Nov-2009 Andreas Huber <andih@google.com> Some playable/decodable streams have been found in the wild that violate this assertion, let's be lenient for now.
ibstagefright/OMXCodec.cpp
f83d9a75c4616b2da4db7b1559e918fbf8709005 23-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I24b0a95d into eclair-mr2

* changes:
The original delay after which we dropped a frame was too aggressive. 40ms lateness seems more appropriate (about 25fps).
738c4315859395bfeeaae3d4c9d6fb9f414778f1 23-Nov-2009 Andreas Huber <andih@google.com> Make sure the decoder's input buffers are large enough to hold the largest input data. Verify that the setting actually sticks.
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OMXCodec.cpp
650773d00356129ffd661cdaef3fb3095c343707 23-Nov-2009 Andreas Huber <andih@google.com> The original delay after which we dropped a frame was too aggressive. 40ms lateness seems more appropriate (about 25fps).
ibstagefright/AwesomePlayer.cpp
bfa6b2d7a1be1832ac40ed90aece1834f720b5c6 20-Nov-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 1efc38dc3c33fef57b759002db3965ed07a28cb0
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 19 14:36:14 2009 -0800

Sending the SEEK-COMPLETE notification temporarily broke seeking backwards in time behaviour. This is now fixed.

Also, get rid of the semi-random delay after posting buffers to surface flinger in favour of delaying the buffer release until the next frame is displayed.

commit 51973062eb5ee63fd64b845d72bac517cc3369cf
Author: Andreas Huber <andih@google.com>
Date: Wed Nov 18 14:01:43 2009 -0800

Fix one more unit test, properly send seek-complete notification only after seek actually completed.

commit cb22250b34b1fcfe1bf459723a761fd003950229
Author: Andreas Huber <andih@google.com>
Date: Wed Nov 18 12:31:36 2009 -0800

Fix seek-while-paused in AwesomePlayer, revert to using FileSource if MmapSource fails.

commit 25eb9241138ddf7bb27ce90657116c5f8a94d880
Author: Andreas Huber <andih@google.com>
Date: Wed Nov 18 12:30:40 2009 -0800

Support seeking and duration in AMRExtractor, assuming all frames are the same size.

commit 44192f2ebb7ea3bbd3ba5910025692dbc6a08faa
Author: Andreas Huber <andih@google.com>
Date: Wed Nov 18 10:21:44 2009 -0800

MediaPlayerImpl is dead, long live AwesomePlayer.

commit c5b52d3c0674f5dc94db506afbce52401cceddac
Author: Andreas Huber <andih@google.com>
Date: Wed Nov 18 09:42:23 2009 -0800

New implementation of the stagefright mediaplayer.
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibstagefright/AMRExtractor.cpp
ibstagefright/Android.mk
ibstagefright/AudioPlayer.cpp
ibstagefright/AwesomePlayer.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/MmapSource.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/include/AMRExtractor.h
ibstagefright/include/AwesomePlayer.h
bf89c099fc97717e3008a481aeddc76c1ac5e00d 21-Nov-2009 Eric Laurent <elaurent@google.com> am e7800946: Merge change I49f02be9 into eclair

Merge commit 'e7800946a42c0ebe8e0b3f6eba04a96a9641aaff' into eclair-mr2

* commit 'e7800946a42c0ebe8e0b3f6eba04a96a9641aaff':
Issue 2265163: Audio still reported routed through earpiece on sholes
4ddf30b2b118068d82bb37858186d668eddbbe6d 21-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I49f02be9 into eclair

* changes:
Issue 2265163: Audio still reported routed through earpiece on sholes
6100d2d60517ff33ed8eb35d0b7ea63cde0831c9 19-Nov-2009 Eric Laurent <elaurent@google.com> Issue 2265163: Audio still reported routed through earpiece on sholes

This is a second attempt to fix the audio routed to earpiece syndrom.
The root cause identified this time is the crash of an application having an active AudioTrack playing on the VOICE_CALL stream type.
When this happens, the AudioTrack destructor is not called and the audio policy manager is not notified of the track stop.
Results a situation where the VOICE_CALL stream is considered as always in use by audio policy manager which makes that audio is routed to earpiece.

The fix consists in moving the track start/stop/close notification to audio policiy manager from AudioTrack to AudioFlinger Track objet.
The net result is that in the case of a client application crash, the AudioFlinger TrackHandle object (which implements the remote side of the IAudioTrack binder interface) destructor is called which in turn destroys the Track object and we can notify the audio policy manager of the track stop and removal.

The same modification is made for AudioRecord although no bug related to record has been reported yet.
Also fixed a potential problem if record stop is called while the record thread is exiting.
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
2f5925e123afdaba79c7ca8ef6647e4b86cd5488 19-Nov-2009 Andreas Huber <andih@google.com> DO NOT MERGE: Instead of inserting semi-random delays after submission to surface flinger, delay releasing buffers to the next display time to avoid flickering.
ibstagefright/MediaPlayerImpl.cpp
f78933fdfc5bc71881b3011f921b643d90387664 17-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Iea6a38c6 into eclair-mr2

* changes:
Squashed commit of the following:
c77a293c4971d9f6c4e3b0c0573fb13276bedf18 17-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ib64ea2dd into eclair-mr2

* changes:
Improvements to TimedEventQueue.
be11f392a8b8ff1006cf536350cc8a85f8788ff4 17-Nov-2009 Andreas Huber <andih@google.com> Improvements to TimedEventQueue.

Events are now cancelled given their "unique" event_id instead of the event pointer
itself (which may be reallocated in place if we're unlucky). Also the ability to
cancel multiple events matching a predicate has been added.
ibstagefright/TimedEventQueue.cpp
ibstagefright/include/TimedEventQueue.h
03475f5af25e4aa32d46d41dd2ec756853d8dd9d 17-Nov-2009 Andreas Huber <andih@google.com> Update FileSource to also accept a file descriptor and a range.
ibstagefright/FileSource.cpp
30ab66297501757d745b9ae10da61adcd891f497 17-Nov-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 333057b355f8c260c549553b9a0634755c838b6a
Author: Andreas Huber <andih@google.com>
Date: Fri Nov 13 15:35:48 2009 -0800

Some more tweaks to AVC encoding on sholes.

commit 9981d0ee52ec5b8b0182aae733d1571e3ebb8390
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 12 16:36:57 2009 -0800

Support for avc encoding, including sholes specific tweaks to pick the right colorspace for the camera to not require transcoding.

commit 5ba0ebbbd4efca51f3ae1f60e2ca31e7d2cf136d
Author: Andreas Huber <andih@google.com>
Date: Wed Nov 11 09:50:03 2009 -0800

Enable actual (camera) video-only recording using h.263 or mpeg4 encoding.

commit 3fd59c3526a37fe7c696f4a978925d1831c09313
Author: Andreas Huber <andih@google.com>
Date: Tue Nov 10 14:57:48 2009 -0800

Allow switching between the PV recorder implementation and one supported by stagefright.

This is controlled through the property "media.stagefright.enable-record".
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/StagefrightRecorder.cpp
ibmediaplayerservice/StagefrightRecorder.h
ibstagefright/CameraSource.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXCodec.cpp
057eacf4578ac6b90ee18c524670e01445bf2732 13-Nov-2009 Eric Laurent <elaurent@google.com> am fddfb9ae: Merge change Iad79689a into eclair

Merge commit 'fddfb9ae03a2730ac5ce27fa4c47b7d3a0285d0f' into eclair-mr2

* commit 'fddfb9ae03a2730ac5ce27fa4c47b7d3a0285d0f':
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
583892d0185d102f3c9ca69ea48fe38af31ecd31 13-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Iad79689a into eclair

* changes:
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
53f45f0367d9563278f427db106736dcd1a433d1 12-Nov-2009 Andreas Huber <andih@google.com> resolved conflicts for merge of c66d53f9 to eclair-mr2
1dfc99f22fb9d8c798065938c24eeb4eb9691747 12-Nov-2009 Andreas Huber <andih@google.com> Delegate the platform dependent hardware renderer implementation to a shared library provided by the vendor.
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/QComHardwareRenderer.cpp
ibstagefright/omx/SoftwareRenderer.cpp
ibstagefright/omx/TIHardwareRenderer.cpp
2b584244930c9de0e3bc46898a801e9ccb731900 10-Nov-2009 Eric Laurent <elaurent@google.com> Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes

This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms).
- The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions.
- AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing.
- AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.
ibmedia/AudioTrack.cpp
ca4bea0965f870c7d1d92357d860f50c6c18d51d 10-Nov-2009 Andreas Huber <andih@google.com> Make MediaPlayerImpl less verbose by default.
ibstagefright/MediaPlayerImpl.cpp
7eb443df575d8002d045bec28cdcde23c8137a2c 10-Nov-2009 Andreas Huber <andih@google.com> am cfe45c77: Merge change I96c4d4b3 into eclair

Merge commit 'cfe45c775ddb5e48bf556aee7422298260eb4fd8' into eclair-mr2

* commit 'cfe45c775ddb5e48bf556aee7422298260eb4fd8':
Fix for random audio output failures, properly dup() the file descriptor in IMediaPlayer::setDataSource to assume ownership as the caller will otherwise close it.
a75e9fb4876139fff4bb836fb0ebd5f80c8b20b3 10-Nov-2009 Andreas Huber <andih@google.com> Fix for random audio output failures, properly dup() the file descriptor in IMediaPlayer::setDataSource to assume ownership as the caller will otherwise close it.
ibmediaplayerservice/StagefrightPlayer.cpp
5bb42b780a934386f26c1c1f0a8249494ec65f7c 06-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I9a50fdf4 into eclair-mr2

* changes:
Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting.
84ec55b736ae2278d6abdc1c7a0312de46ef5f3d 06-Nov-2009 Andreas Huber <andih@google.com> am fde273ba: Merge change Ic997acac into eclair

Merge commit 'fde273baf6592a5fde15ee4dd4d798d90368e440' into eclair-mr2

* commit 'fde273baf6592a5fde15ee4dd4d798d90368e440':
Make AudioPlayer a little less verbose, defer starting audio playback until after the first video frame has been decoded (if there's video at all).
fa70cad40b01627ac1c22e04cdd548ece9c2654f 06-Nov-2009 Andreas Huber <andih@google.com> Handle OMX_StateInvalid in emergency shutdown properly (by ignoring it and hoping for the best) instead of asserting.
ibstagefright/omx/OMXNodeInstance.cpp
dae04ca7c4b5590786ffc336721ee8714cc79fef 06-Nov-2009 Andreas Huber <andih@google.com> Make AudioPlayer a little less verbose, defer starting audio playback until after the first video frame has been decoded (if there's video at all).
ibstagefright/AudioPlayer.cpp
ibstagefright/MediaPlayerImpl.cpp
022ad466c95001eaf043b1f0aff89cde92e3387f 05-Nov-2009 Andreas Huber <andih@google.com> am 818a9cf8: Merge change Ia4eedace into eclair

Merge commit '818a9cf827f282addbf7c8ee23534e08a3aaa358' into eclair-mr2

* commit '818a9cf827f282addbf7c8ee23534e08a3aaa358':
Now that UseBuffer on this component is fixed, let's use it.
5b65c7043dada0c89d3a941742666ac40ea35746 05-Nov-2009 Andreas Huber <andih@google.com> DO NOT MERGE: Squashed commit of the following:

commit 08259dd3dc9026887f9bbfedaf45866eb56ea9bc
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 5 12:02:31 2009 -0800

DO NOT MERGE: Use PV for metadata extraction even if stagefright is used for playback.

commit 991832fe4dc012e51d3d9ed8d647c7f09991858f
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 5 11:24:11 2009 -0800

DO NOT MERGE: Do not assert if we encounter OMX_StateInvalid. All bets are off though.

commit cec45cf302d9218fe79956cbe8a462d7ca3a10bb
Author: Andreas Huber <andih@google.com>
Date: Mon Oct 26 16:11:54 2009 -0700

DO NOT MERGE: When freeing an OMX node, attempt to transition it from its current state all the way to "Loaded" in order to properly free any allocated buffers.

commit 34a1e885ef9113d68acbc26d36fcc47fdebbed84
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 5 11:10:49 2009 -0800

DO NOT MERGE: Fix heap corruptin in OMXNodeInstance.

commit 5a47f7439a1298b330541a7e4e647a8b44487388
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 5 11:08:19 2009 -0800

DO NOT MERGE: Fix seek-on-initial-read behaviour of OMXCodec.

commit 45bed64722501b9f411a2940aff5aff4cc4d2e98
Author: Andreas Huber <andih@google.com>
Date: Thu Nov 5 11:02:23 2009 -0800

DO NOT MERGE: Renaming string.h to stagefright_string.h to avoid conflicts.

commit 6738e306a50196f31a73d4fc7b7c45faff639903
Author: Andreas Huber <andih@google.com>
Date: Thu Oct 15 13:46:54 2009 -0700

DO NOT MERGE: Reimplement the OMX backend for stagefright.

Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup.

Changed APIs to conform to the rest of the system.
ibmedia/IMediaPlayerService.cpp
ibmedia/IOMX.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibstagefright/Android.mk
ibstagefright/HTTPDataSource.cpp
ibstagefright/OMXClient.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMX.h
ibstagefright/omx/OMXNodeInstance.cpp
ibstagefright/stagefright_string.cpp
ibstagefright/string.cpp
d899d73308f987c932a4366977e67a3d8aa8bc8b 05-Nov-2009 Andreas Huber <andih@google.com> Now that UseBuffer on this component is fixed, let's use it.
ibstagefright/OMXCodec.cpp
1c02bfb63ea6e1d1630a09229044d64be200a9ef 05-Nov-2009 Eric Laurent <elaurent@google.com> am 67b69292: Merge change I93f500a5 into eclair

Merge commit '67b692920c18f99b096dce285adc6f7439fa866c' into eclair-mr2

* commit '67b692920c18f99b096dce285adc6f7439fa866c':
Fix issue 2203561: Sholes: audio playing out of earpiece.
34f1d8ecd23169a5f299937e3aaf1bd7937578a0 04-Nov-2009 Eric Laurent <elaurent@google.com> Fix issue 2203561: Sholes: audio playing out of earpiece.

Create a new IAudioTrack interface to AudioFlinger when start() fails due to a broken pipe error.
Do the same if start fails due to the same error after time out in obtainBuffer().
Do not indicate that the AudioTrack is started to AudioPolicyManager if IAudioTrack start fails.
This avoids that an AudioTrack keeps a dead IAudioTrack after a media server crash.

Same modifications for AudioRecord.

Add a flag to ToneGenerator indicating that the callback thread can call Java. Without it, when the media server crashes and restarts, the AudioSystem error callback will crash in JNI if the IAudiotrack is created from AudioTrack callback thread.
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/ToneGenerator.cpp
2c814adaf6340ee3cf2b942f1dff0f2ea6904c81 04-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I6bce6d87 into eclair-mr2

* changes:
Adds a WAVExtractor for 16-bit signed PCM audio wave files.
01b8bbb3a841729052860d8ca734e0e0e90bb40a 04-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I313953dc into eclair-mr2

* changes:
Support raw audio sources in MediaPlayerImpl.
af2abc8634dcae706c0fae02b1381fe70e678f35 04-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I5126e183 into eclair-mr2

* changes:
Fix MP3Extractor duration overflows...
0dba73763a04d39faf999dcc5ef12af3c99535a7 04-Nov-2009 Andreas Huber <andih@google.com> Adds a WAVExtractor for 16-bit signed PCM audio wave files.
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/WAVExtractor.cpp
ibstagefright/include/WAVExtractor.h
1f9ad1d704a17533989a9274c55bd5bb9d3abcc0 04-Nov-2009 Andreas Huber <andih@google.com> Support raw audio sources in MediaPlayerImpl.
ibstagefright/MediaPlayerImpl.cpp
c0bbcf32ac6ffa76409232d7156250e1092bfa24 04-Nov-2009 Andreas Huber <andih@google.com> Fix MP3Extractor duration overflows...
ibstagefright/MP3Extractor.cpp
202ff50113b293a80c8df60022e2c4ad8a829fbe 03-Nov-2009 Andreas Huber <andih@google.com> am 338ccf43: Merge change Id2906ad8 into eclair

Merge commit '338ccf43b6a4468aea6aa7d831be7d6c8d8d134d' into eclair-mr2

* commit '338ccf43b6a4468aea6aa7d831be7d6c8d8d134d':
Fix video flickering by propagating the NO_CACHING flag from the master to MemoryHeapPMem.
c6c6237a67661c7b2d8822b7360cdf01e64d2c7c 03-Nov-2009 Andreas Huber <andih@google.com> Fix video flickering by propagating the NO_CACHING flag from the master to MemoryHeapPMem.
ibstagefright/omx/QComHardwareRenderer.cpp
076667f9624516f9c65d5d4d7571ef5522237229 02-Nov-2009 Marco Nelissen <marcone@google.com> am 1d9246e8: Merge change Id095e180 into eclair

Merge commit '1d9246e8bb8de624e14c55dce57e93da18cfd7a8' into eclair-mr2

* commit '1d9246e8bb8de624e14c55dce57e93da18cfd7a8':
Make sure the visualization stops immediately when sound stops, instead of continuing for a fraction of a second.
6741eb86bf54bee6a0875e4f7a825d5d0de5c23a 02-Nov-2009 Marco Nelissen <marcone@google.com> Make sure the visualization stops immediately when sound stops, instead of continuing for a fraction of a second.
ibmediaplayerservice/MediaPlayerService.cpp
8d8380ccea24aed511f96ecb9282b0d2c3331d10 30-Oct-2009 Gloria Wang <gwang@google.com> am 3a814141: Merge change Iee0486e2 into eclair

Merge commit '3a8141416a0b1d517d4729eba4bcf914c468e20b' into eclair-mr2

* commit '3a8141416a0b1d517d4729eba4bcf914c468e20b':
Dump media recorder PID in dumpsys media.player, and fix minor bugs.
dac6a31a33ba53fb93850670cdddd1e6515dadce 29-Oct-2009 Gloria Wang <gwang@google.com> Dump media recorder PID in dumpsys media.player, and fix minor bugs.
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
df6b61291f6f89d827851d5ed727b09d19a5c7db 29-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ib482ce88 into eclair-mr2

* changes:
Revive support for video encoding in OMXCodec.
888f72a4628eed3c136ff2e346a15d129da0d520 29-Oct-2009 Andreas Huber <andih@google.com> Revive support for video encoding in OMXCodec.
ibstagefright/OMXCodec.cpp
b439827ca7e2a991055260982952b8fd8bc84fee 29-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ic5e3d73f into eclair-mr2

* changes:
LOG_ASSERT needs a message.
23e246f7c2a53426b97296ec7780e8dfe80147d4 29-Oct-2009 Patrick Scott <phanna@android.com> LOG_ASSERT needs a message.

This fails to build when asserts are turned on.
ibmediaplayerservice/TestPlayerStub.cpp
4ee1540a3949693693688c2004a56cb42de55160 28-Oct-2009 Dave Sparks <davidsparks@android.com> am e8543418: Merge change I7c0d20a7 into eclair

Merge commit 'e8543418783f8f8f9a6bafdaa1dd6289661eac85' into eclair-mr2

* commit 'e8543418783f8f8f9a6bafdaa1dd6289661eac85':
Run the metadataretriever at background priority. Bug 2187133.
548403bfc52434b875d620a05cc88985e5cc879c 28-Oct-2009 Andreas Huber <andih@google.com> am 54620b1a: Merge change I6e50a8c6 into eclair

Merge commit '54620b1a77e51b3fa531dbd099bd69c39d7d0029' into eclair-mr2

* commit '54620b1a77e51b3fa531dbd099bd69c39d7d0029':
Revert "Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers."
636df899721d7da23fc792f20df29937e628ab2f 28-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I155e2ad0 into eclair-mr2

* changes:
Re-enable CameraSource.
be5c74f5da6a93b0d23f96e11848acfcc3b4d1d9 14-Oct-2009 Andreas Huber <andih@google.com> Re-enable CameraSource.
ibstagefright/Android.mk
ibstagefright/CameraSource.cpp
1eea7f529c1c25901a7749fed4792ed68379d841 27-Oct-2009 Andreas Huber <andih@google.com> Use a simple replacement for String8 that allocates its storage beforehand to avoid reentering the heap while we're examining it (leak checker).
ibmediaplayerservice/MediaPlayerService.cpp
f9ae38fa6eafa700b6642ea045c8749df5364cd6 27-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I7c0d20a7 into eclair

* changes:
Run the metadataretriever at background priority. Bug 2187133.
41fbe930c0c128bcded1348e60d7d9e8f79d8a77 27-Oct-2009 Dave Sparks <davidsparks@android.com> Run the metadataretriever at background priority. Bug 2187133.

This change forces metadata retreiver threads to background priority.
Uses an inner class to encapsulate the priority change so that it
automatically restores priority when returning to the client.
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
d6703ab22c85b43fdb2deb78a37e51465c902a5f 27-Oct-2009 Andreas Huber <andih@google.com> When freeing an OMX node, attempt to transition it from its current state all the way to "Loaded" in order to properly free any allocated buffers.
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMXNodeInstance.cpp
17d58a83356ba568861b3aa391c5df915d33c0f1 26-Oct-2009 Andreas Huber <andih@google.com> Revert "Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers."

This reverts commit 7a03b074a554ba3fd08dbc20cfd4b2f37c5f3aaa.
ibstagefright/OMXCodec.cpp
fe44b7a8b2b8da50a7a78f4b7e034b6d01785e44 24-Oct-2009 Eric Laurent <elaurent@google.com> am bf96aaad: Merge change Icf10db28 into eclair

Merge commit 'bf96aaadd46fb5b0884070177faa16ec4f22e2ba' into eclair-mr2

* commit 'bf96aaadd46fb5b0884070177faa16ec4f22e2ba':
Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
88e5ad9f0d9b35d4868347bce47b28b7358b32e4 24-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Icf10db28 into eclair

* changes:
Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
34769bc913e9f6bb138e666d94a9d685bf3da217 23-Oct-2009 Andreas Huber <andih@google.com> New API to instantiate a MediaExtractor given a URI and optional MIME type.

Also DataSources now must provide a method initCheck()
and DataSource::reat_at has been renamed to readAt to conform to
standard API naming guidelines.
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibstagefright/AMRExtractor.cpp
ibstagefright/CachingDataSource.cpp
ibstagefright/DataSource.cpp
ibstagefright/FileSource.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/JPEGSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/MmapSource.cpp
ibstagefright/SampleTable.cpp
66326a5ee0869f1ee4d136a477e6effba428b3cb 23-Oct-2009 Andreas Huber <andih@google.com> Moving the individual extractor headers files to the private include directory.
ibstagefright/AMRExtractor.cpp
ibstagefright/DataSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/include/AMRExtractor.h
ibstagefright/include/MP3Extractor.h
ibstagefright/include/MPEG4Extractor.h
47bed1a7755ed58fa5d4c0d35b20468deb83bd60 22-Oct-2009 Andreas Huber <andih@google.com> Make stagefright a little less verbose. Fix heap corruption for real.
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/omx/OMXNodeInstance.cpp
48ac1615d669b7ba3b212d174441b31755d02ef1 23-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ie13526ad into eclair-mr2

* changes:
Prefer software decoders over hardware for thumbnail extraction.
ba229b3faa98b3bb6567cf95040062be2d9c2b3f 22-Oct-2009 Andreas Huber <andih@google.com> Prefer software decoders over hardware for thumbnail extraction.

While our hardware decoders clearly outperform the software decoders in terms
of raw throughput, their startup latency makes them less suitable for thumbnail
extraction.
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibstagefright/OMXCodec.cpp
7b70cfc35c8555eda186fd0b792f013a4b082cff 23-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Icb64cd2c into eclair-mr2

* changes:
Still don't know why the heap gets corrupted, but not deleting the OMXNodeInstance appears to prevent this from happening.
09d88b00dbd0a04ed45a661590cca49d6e5b42f5 23-Oct-2009 Eric Laurent <elaurent@google.com> am dd28d563: Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.

Merge commit 'dd28d56368441537ec5eb42150516416fdbf10ad' into eclair-mr2

* commit 'dd28d56368441537ec5eb42150516416fdbf10ad':
Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.
a9a4390989072d579eedab6b71fb41248b3ad8fe 23-Oct-2009 Eric Laurent <elaurent@google.com> Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.

Unlock mLock mutex when exiting upon wait stop timeout condition.
Increase timeout delays to avoid timing out when A2DP exits standby.
ibmedia/ToneGenerator.cpp
7e04dcf8d6784dd56f53aa90bf34431ab4f0710c 22-Oct-2009 Andreas Huber <andih@google.com> Extract video thumbnails from the largest sync sample among the first 20.

Also fixes OMXCodec seek behaviour on the very first call to OMXCodec::read()
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibstagefright/AMRExtractor.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/SampleTable.cpp
ibstagefright/include/SampleTable.h
521bad496a8b80008abe573a6712a8051c9eb322 22-Oct-2009 Andreas Huber <andih@google.com> am b0e6a9a0: Merge change I7a03b074 into eclair

Merge commit 'b0e6a9a0e6e82327f52fd25f3a9e2463ff591905' into eclair-mr2

* commit 'b0e6a9a0e6e82327f52fd25f3a9e2463ff591905':
Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.
2d6d6e9a3d569eda4555c4eb68cec452be958bb1 22-Oct-2009 Andreas Huber <andih@google.com> Still don't know why the heap gets corrupted, but not deleting the OMXNodeInstance appears to prevent this from happening.
ibstagefright/omx/OMXNodeInstance.cpp
4926a47afc079c8d9259f18a26accbfba2f976eb 22-Oct-2009 Andreas Huber <andih@google.com> Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.
ibstagefright/OMXCodec.cpp
c6323f9d72e0f08dd1e813550a56c8d2f0fd76a2 21-Oct-2009 Andreas Huber <andih@google.com> Some cleanup of OMXCodec code, make sure to ignore 0-length output buffers in the metadata retriever.
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibstagefright/OMXCodec.cpp
f0ee6f4055e26fb35d9c526a596668a4dc9da5ba 21-Oct-2009 Eric Laurent <elaurent@google.com> Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.

Added setVoiceVolume() method to AudioSystem, AudioFlinger, IAudioFlinger, AudioPolicyService.
Removed call to AudioHardwareInterface::setVoiceVolume() from AudioFlinger::setStreamVolume().
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
66d1e82ce5d5e189442285b6225977137b65c608 20-Oct-2009 Andreas Huber <andih@google.com> do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.

Add a quirk mode to OMXCodec that makes it aware of this fact for proper display. Also integrate back a change from eclair-mr2 that delays releasing an output buffer briefly after posting it to surface flinger, as we don't know how long it'll take it to actually display the buffer's content.
ibstagefright/OMXCodec.cpp
ibstagefright/omx/QComHardwareRenderer.cpp
12658b720b176b7d934444256d07ba3c595d9b44 19-Oct-2009 Andreas Huber <andih@google.com> Avoid signaling a format change to the client if its insubstantial.

For example, the original port settings change may just indicate a change
in the number of buffers to allocate, which won't be visible to the client
in any case.
ibstagefright/OMXCodec.cpp
a58568bc37ea3964ba116925fcc5fa52dfe6fa49 19-Oct-2009 Andreas Huber <andih@google.com> Fixing the build by renaming private "string.h" header file.
ibstagefright/HTTPDataSource.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/include/HTTPStream.h
ibstagefright/include/stagefright_string.h
ibstagefright/include/string.h
ibstagefright/string.cpp
318ad9c1d9d6515026dfc2c021359d27decaa7a1 15-Oct-2009 Andreas Huber <andih@google.com> Reimplement the OMX backend for stagefright.

Besides a major cleanup and refactoring, OMX is now a singleton living in the media server, it listens for death notifications of node observers/clients that allocated OMX nodes and performs/attempts cleanup.

Changed APIs to conform to the rest of the system.
ibmedia/IMediaPlayerService.cpp
ibmedia/IOMX.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibstagefright/OMXClient.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/include/OMX.h
ibstagefright/include/OMXNodeInstance.h
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMX.h
ibstagefright/omx/OMXNodeInstance.cpp
89e69da4d86348409994c9dafbbb2634ccd7c196 13-Oct-2009 Andreas Huber <andih@google.com> Separated private from public header files.
ibstagefright/ESDS.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/SampleTable.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/include/ESDS.h
ibstagefright/include/HTTPStream.h
ibstagefright/include/QComHardwareRenderer.h
ibstagefright/include/SampleTable.h
ibstagefright/include/SoftwareRenderer.h
ibstagefright/include/TIHardwareRenderer.h
ibstagefright/include/TimedEventQueue.h
ibstagefright/include/string.h
ibstagefright/omx/OMX.cpp
ibstagefright/omx/QComHardwareRenderer.cpp
ibstagefright/omx/SoftwareRenderer.cpp
ibstagefright/omx/TIHardwareRenderer.cpp
ibstagefright/string.cpp
549aa3741725ea2fd75c5fb717ff5a9316a5a55d 13-Oct-2009 Andreas Huber <andih@google.com> Fix various compiler warnings accumulated over time.
ibstagefright/HTTPDataSource.cpp
ibstagefright/MediaBuffer.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/SampleTable.cpp
7f281f87670c63775ea1ae8b24af31822d5ad416 09-Oct-2009 Andreas Huber <andih@google.com> OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/OMXCodec.cpp
0bf3921522461b1c7d321d0c667c1020ab3110bc 13-Oct-2009 Andreas Huber <andih@google.com> Proper chunk size computation for Layer II/III V2 and V2.5, skip optional ID3 tag.

related-to-bug: 1986192
ibstagefright/MP3Extractor.cpp
48c948b1137e7bbdb161b51908657ab72ac5e2da 08-Oct-2009 Andreas Huber <andih@google.com> Change to a int64_t usecs representation for timestamps and duration throughout stagefright.
ibstagefright/AMRExtractor.cpp
ibstagefright/AudioPlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/MetaData.cpp
ibstagefright/OMXCodec.cpp
2a4a7d5af053a17586a262a1267ba993e31790f1 07-Oct-2009 Andreas Huber <andih@google.com> Split the ColorConverter off SoftwareRenderer, metadata support in stagefright.
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/StagefrightMetadataRetriever.cpp
ibmediaplayerservice/StagefrightMetadataRetriever.h
ibstagefright/MmapSource.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/omx/Android.mk
ibstagefright/omx/ColorConverter.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/SoftwareRenderer.cpp
36efa039efaae4526791336cb688032d22b34bec 08-Oct-2009 Andreas Huber <andih@google.com> Some decoders will return an error on OMX_EmptyThisBuffer to indicate that they don't support the media format, deal with this.
ibmedia/IOMX.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMX.h
479ededc5b55e63ea9b425cbe465c93bb8b8b3dc 08-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I729c3938 into eclair-mr2

* changes:
Insert a small delay after submitting to surface flinger and before returning the buffer to the decoder.
9749025189acc6c737be22007e90ed8bbbcdbc21 08-Oct-2009 Andreas Huber <andih@google.com> The vendor is about to check in a fix for this issue, the workaround is no longer needed
ibstagefright/OMXCodec.cpp
fcf6723f0974854a04bd0d9e676b5ed2a147ce09 08-Oct-2009 Andreas Huber <andih@google.com> Insert a small delay after submitting to surface flinger and before returning the buffer to the decoder.

Since we cannot tell how long it'll take until surface flinger
has displayed the data onscreen, we'll just have to guess...
We must not return the buffer to the decoder before it's been displayed.
ibstagefright/omx/QComHardwareRenderer.cpp
ec430b158df17b2c766f7750a96c35d3902f5f49 07-Oct-2009 Andreas Huber <andih@google.com> Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height.
ibstagefright/OMXCodec.cpp
e33e00e931d1381d402484aa5cde67e540e3c82c 06-Oct-2009 Eric Laurent <elaurent@google.com> Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).

This change is a complement to the main fix in kernel driver for the same issue (partner change #1250).
It removes clicks sometimes heard after the end of the tones while audio flinger is sending 0s to the audio output stream.
The problem was that the sleep time between two writes was more than the duration of one audio output stream buffer which could cause some underrun.

Also fixed a recent regression in ToneGenerator that made that the end of previous tone was repeated at the beginning of current one under certain timing circumstances when the maximum tone duration was specified.
ibmedia/ToneGenerator.cpp
10dbb8e97e7a81ca4867663b5517f048820b3094 20-Sep-2009 Marco Nelissen <marcone@google.com> Music visualizer support hack.
This currently assumes 44k stereo (won't crash on other formats, but won't give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
ibmedia/Android.mk
ibmedia/IMediaPlayerService.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
fdf23c711d5d6094c95b43cdc9356a25d67f10c8 30-Sep-2009 Jianhong Jiang <jianhong@google.com> Remove audio latency fudge factor 96 msec.
ibmediaplayerservice/MediaPlayerService.cpp
a569aebd284506058a34d9772ebb28c8dac09aa3 29-Sep-2009 James Dong <jdong@google.com> Fix some metadata retriever issues:
1. mRetriever was initialized twice: one in the constructor and the other in the setDataSource
2. cached the mode so that setMode can still be called before setDataSource.
mRetriever won't be initialized until data source is set; thus we have to do this
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
824b6a4a67166c3937400702944f659bd0d5d386 24-Sep-2009 Eric Laurent <elaurent@google.com> Fix issue 2142613: ToneGenerator: short tones sometimes don't play on sholes or over A2DP.

When the AudioTrack callback notification size is relatively high (Which is the case on Sholes and over A2DP), it is likely that the end of tone is reached during the first callback. In this case, the AudioTrack is stopped before exiting the callback which causes 2 problems:
- 1: If the AudioFlinger thread is scheduled before we exit the ToneGenerator callback, the track can be stopped and reset before the data is actually marked as present in the buffer by the AudioTrack callback => no audio will be processed by AudioFlinger.
- 2: In this case, the data write index in the AudioTrack buffer is incremented after the track was reset by the AudioFlinger which leaves unplayed data in the buffer. This data will be played the next time the AudioTrack is started if not flushed in between.

The fix consists in adding an intermediate state to ToneGenerator state machine so that we exit the callback function when the stop condition is reached and stop the AudioTrack the next time we execute the callback.
ibmedia/ToneGenerator.cpp
5228dd1b7468bfc86a807a299f515d33048f96ac 17-Sep-2009 Andreas Huber <andih@google.com> Another stagefright test-case and ignore end-of-stream notifications while we're flushing.
ibstagefright/OMXCodec.cpp
56a9496a8f4adf3bf27448e1f41757af513c2a40 16-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25158 into eclair

* changes:
Another software color conversion implementation, this time OMX_QCOM_COLOR_FormatYVU420SemiPlanar => rgb565.
4265a834394bfe14a008a2ac58fbbe388566ad07 16-Sep-2009 Andreas Huber <andih@google.com> Another software color conversion implementation, this time OMX_QCOM_COLOR_FormatYVU420SemiPlanar => rgb565.
ibstagefright/omx/SoftwareRenderer.cpp
269091da58951736dc2f4c8b74886b6a9aa12be1 16-Sep-2009 Andreas Huber <andih@google.com> The 8k chipset qcom decoders require that the input buffers be allocated using OMX_AllocateBuffer rather than OMX_UseBuffer for now.

If they aren't, a later call to OMX_FreeBuffer crashes...
ibstagefright/OMXCodec.cpp
430209e4d4d767e96d1e59a705d1b8b6624cb1e8 15-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25128 into eclair

* changes:
Support CbYCrY -> RGB565 color conversion in IOMXRenderer.
10f75b8c71beb7f327e50bbac8e528af4e40fa24 15-Sep-2009 Andreas Huber <andih@google.com> Support CbYCrY -> RGB565 color conversion in IOMXRenderer.
ibstagefright/omx/OMX.cpp
ibstagefright/omx/SoftwareRenderer.cpp
1b84df1a0823fbcb9cec754311f53eaccfe85ae3 15-Sep-2009 Andreas Huber <andih@google.com> Added an API IOMX::createRendererFromJavaSurface.

This api allows to instantiate a renderer by specifying the hosting java Surface object. This hides the implementation details of (java-)Surface, (native-)Surface and friends.
ibmedia/Android.mk
ibmedia/IOMX.cpp
ibmediaplayerservice/Android.mk
ibstagefright/Android.mk
ibstagefright/omx/Android.mk
95301196d59fb88ef96342fd307a2be374b5079b 15-Sep-2009 Andreas Huber <andih@google.com> Added a little more logging in OMXCodec.cpp for vendors to be able to reproduce issues...
ibstagefright/OMXCodec.cpp
803d1ab94a74d6205e749909633cec56c742ca44 14-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24742 into eclair

* changes:
Apparently I must not use OMX_UseBuffer on either input or output ports on any of the TI components... or else.
a72e166d734648f7fb27bf4e820e045b0da9f7a5 14-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24337 into eclair

* changes:
Fix issue 2107584: media server crash when AudioFlinger fails to allocate memory for track control block.
df4de7d7bd0060a84b064ce074d3f86d3a7aa0ae 11-Sep-2009 Andreas Huber <andih@google.com> Apparently I must not use OMX_UseBuffer on either input or output ports on any of the TI components... or else.
ibstagefright/OMXCodec.cpp
8f0e4aace6c0643f7c4005184c7df2c73368f0dc 11-Sep-2009 Andreas Huber <andih@google.com> Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true).
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/Android.mk
777893a928680f09e306b4b9efc1d5cf4479a9da 11-Sep-2009 Andreas Huber <andih@google.com> Move JPEGSource.{cpp,h} into libstagefright.
ibstagefright/Android.mk
ibstagefright/JPEGSource.cpp
18291bc20e55e8f3fd5feb786771a8ed32c19c59 10-Sep-2009 Andreas Huber <andih@google.com> Media MIME types now have corresponding constants in MediaDefs.h, new codec enumeration API.
ibstagefright/AMRExtractor.cpp
ibstagefright/Android.mk
ibstagefright/AudioPlayer.cpp
ibstagefright/CameraSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaDefs.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/ShoutcastSource.cpp
8cd11d23197209e2c2bdb7980bc17e3f1257a118 10-Sep-2009 Andreas Huber <andih@google.com> Add component name to informational logging in OMXCodec.cpp
ibstagefright/OMXCodec.cpp
44d4b64990c34fb69ee012fdec1b0ef1bd3edde8 10-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24450 into eclair

* changes:
Minor API change in MPEG4Writer, support for amr output into MPEG4 containers.
51ae4a9426fbc0f512facb180439affdb9859645 10-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24448 into eclair

* changes:
Support for amr-wb tracks in MPEG4Extractor.
25b130939339d57789a86fac837a2a8cedbcb7d8 10-Sep-2009 Andreas Huber <andih@google.com> Minor API change in MPEG4Writer, support for amr output into MPEG4 containers.
ibstagefright/MPEG4Writer.cpp
371e243b6638e74e577d56a24eee7d5a97e36d2b 10-Sep-2009 Andreas Huber <andih@google.com> Support for amr-wb tracks in MPEG4Extractor.
ibstagefright/MPEG4Extractor.cpp
2f7daa1d7e01bfc2cd7546edeeaea0c3c2ee728c 10-Sep-2009 Andreas Huber <andih@google.com> Added some more verbose output for AMR formats. Properly fill out the output format.
ibstagefright/OMXCodec.cpp
195ea1e0d4484f1deb2309e239f6a5cc9a7e5ba7 08-Sep-2009 Andreas Huber <andih@google.com> Calculate proper output buffer size for some more 16-bit RGB color spaces.
ibstagefright/OMXCodec.cpp
f75978f63a25e79c683e96611f95cb5cd49efd3d 09-Sep-2009 Andreas Huber <andih@google.com> Added a .amr file extractor (for AMR-NB and AMR-WB content).
ibstagefright/AMRExtractor.cpp
ibstagefright/Android.mk
ibstagefright/DataSource.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/OMXCodec.cpp
03480f8ae9df41902b6523493fe19a2a513b8d98 09-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24179 into eclair

* changes:
Support encoding amr-wb content in stagefright.
5841db78dff14898538200287d246577b1fc37e2 09-Sep-2009 Eric Laurent <elaurent@google.com> Fix issue 2107584: media server crash when AudioFlinger fails to allocate memory for track control block.

AudioFlinger: verify that mCblk is not null before using it in Track and RecordTrack contructors.
IAudioFlinger: check result of remote transaction before reading IAudioTrack and IAudioRecord.
IAudioTrack and IAudioRecord: check result of remote transaction before reading IMemory.
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
85fa14d35468acca07ce0085d67b909f673fae07 07-Sep-2009 Eric Laurent <elaurent@google.com> Fix issue 1992233: DTMF tones on Sholes is really long.

Add a parameter to ToneGenerator.startTone() allowing the caller to specify the tone duration. This is used by the phone application to have a precise control on the DTMF tone duration which was not possible with the use of delayed messaged.
Also modified AudioFlinger output threads so that 0s are written to the audio output stream when no more tracks are ready to mix instead of just sleeping. This avoids an issue where the end of a previous DTMF tone could stay in audio hardware buffers and be played just before the beginning of the next DTMF tone.
ibmedia/ToneGenerator.cpp
8723e5ab1fbe66df796c4f4e303ce29f6ad26f7f 08-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24178 into eclair

* changes:
The qcom decoder requires that the output buffers be allocated by the component for hardware accelerated display to work.
456db75516efc889e1ee4e5e16021e77c03b0941 08-Sep-2009 Andreas Huber <andih@google.com> Support encoding amr-wb content in stagefright.
ibstagefright/OMXCodec.cpp
b7802d9ee9c9dbb471ae4f010bd67ba1aaa9f264 04-Sep-2009 Andreas Huber <andih@google.com> The qcom decoder requires that the output buffers be allocated by the component for hardware accelerated display to work.
ibstagefright/OMXCodec.cpp
148c1a2a96774517407717b61e5bc9cb08be8806 06-Sep-2009 James Dong <jdong@google.com> Add basic metadata retrieval support for midi, ogg, etc.
Bug 2050320
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MidiMetadataRetriever.cpp
ibmediaplayerservice/MidiMetadataRetriever.h
ibmediaplayerservice/VorbisMetadataRetriever.cpp
ibmediaplayerservice/VorbisMetadataRetriever.h
7a6b9e2eca7d20457ace3538c689640e5bfda4f3 03-Sep-2009 Andreas Huber <andih@google.com> Setting the component role appears to be mandatory now for all mime types.

Also using CODEC_LOGV instead of vanilla LOGV to include the component name the message related to.
ibstagefright/OMXCodec.cpp
e5adbeee3401915ff8e1a983396ce3554436b11c 02-Sep-2009 Andreas Huber <andih@google.com> Some work to make audio encoding work.
ibstagefright/OMXCodec.cpp
bc327427531dddd3de2e55c093641207c013f0dd 02-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23632 into eclair

* changes:
Increase buffer allocated to receive HTTP response, YouTube is rather verbose...
104b12d973d365d2ab66b77f638a117bf4496af8 02-Sep-2009 Andreas Huber <andih@google.com> Increase buffer allocated to receive HTTP response, YouTube is rather verbose...

Yes, I know, fixed buffers are bad.
ibstagefright/HTTPStream.cpp
37940eefcba982836b579fe1ffec6cada72b0974 02-Sep-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit c45bfbb97ccd05982008df47181f9c73abaf0497
Author: Andreas Huber <andih@google.com>
Date: Tue Sep 1 15:58:12 2009 -0700

This quirk should not be enabled by default in order to make the bug reproducible by the vendor.

commit 21d72e80e795fcae53d9c3bcc8ba6312b081e420
Author: Andreas Huber <andih@google.com>
Date: Tue Sep 1 15:55:45 2009 -0700

Undoing the hack to temporarily give up the lock to facilitate reading from the buffer source.

This simply causes too many issues, there need to be independent threads providing input buffers and dequeuing output buffers.

commit 84d507def8999c146ce124cc8edfe106c9ca70c2
Author: Andreas Huber <andih@google.com>
Date: Tue Sep 1 15:16:23 2009 -0700

The AAC components appear to output stereo data even if the input data is mono...
ibstagefright/OMXCodec.cpp
53f2b2ae6417e8a32961e05cf21920c540d8b823 01-Sep-2009 Andreas Huber <andih@google.com> Temporarily unlock our mutex while fetching a buffer from the upstream source.
ibstagefright/OMXCodec.cpp
450bf4b0d25c933431b790d911a5fcae750fe38d 28-Aug-2009 Andreas Huber <andih@google.com> Fixes a race condition between entering ERROR state and initial buffer submit.
ibstagefright/OMXCodec.cpp
7f75ced4cdf3a1bbe7ace32e5e806aaaa38c7ad6 28-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22991 into eclair

* changes:
Apparently setting the preferred role of the OMX component is now required on this platform.
7d719af770ddefc3739fd0597634dea553c5569a 28-Aug-2009 Andreas Huber <andih@google.com> Apparently setting the preferred role of the OMX component is now required on this platform.
ibstagefright/OMXCodec.cpp
ab0a5c456a5da571baa4c7f2bc4f3409194f11ba 28-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22986 into eclair

* changes:
Squashed commit of the following:
e0f0b08aa692d15f3bfa19e10abfc84803c099b4 27-Aug-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 3fa5f3ce910f34da0cedb8bcce1bd593db7eb740
Author: Andreas Huber <andih@google.com>
Date: Thu Aug 27 14:48:54 2009 -0700

Getting rid of more code now obsolete with the departure of OMXDecoder.

commit e0d923ec0c7bb60bec8eb97739036a4c70c0feef
Author: Andreas Huber <andih@google.com>
Date: Thu Aug 27 14:33:06 2009 -0700

Remove obsoleted OMXDecoder class. OMXDecoder is dead, long live OMXCodec.
ibstagefright/Android.mk
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/OMXClient.cpp
ibstagefright/OMXDecoder.cpp
83dc92f8733a7da4a8addf6075c58d3ddb47aa5c 27-Aug-2009 Andreas Huber <andih@google.com> Fix a typo.
ibstagefright/SampleTable.cpp
63d88ff95d9c1d5be1850f732c4dd05088abaeee 27-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22897 into eclair

* changes:
Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.
284f513a4ce2c5aa0e250c07c873731aedb0be26 27-Aug-2009 Andreas Huber <andih@google.com> An attempt to fix a deadlock between OMXCodec::start and upstream ::read
ibstagefright/OMXCodec.cpp
a9c322e398a1f5fdcace3b8b73967f010b1c31ca 27-Aug-2009 Eric Laurent <elaurent@google.com> Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.

Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
ibmedia/AudioSystem.cpp
8297cedd12f689167d74de5ddacb514e9f6896ea 27-Aug-2009 Andreas Huber <andih@google.com> Another quirk, some OMX components fail to properly flush before shutdown and we must do it for them...
ibstagefright/OMXCodec.cpp
0c89199745bc1bf05b997fc7c342017807676b6f 26-Aug-2009 Andreas Huber <andih@google.com> assert => CHECK in stagefright.
ibstagefright/AudioPlayer.cpp
ibstagefright/CachingDataSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/FileSource.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaBuffer.cpp
ibstagefright/MediaBufferGroup.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/MetaData.cpp
ibstagefright/MmapSource.cpp
ibstagefright/OMXClient.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OMXDecoder.cpp
ibstagefright/SampleTable.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/QComHardwareRenderer.cpp
ibstagefright/omx/SoftwareRenderer.cpp
355edcea2f15c0f619c1e1d0f4fa433b0d38098f 26-Aug-2009 Andreas Huber <andih@google.com> Disregard the EOS buffer flag while flushing or shutting down the decoder.
ibstagefright/OMXCodec.cpp
ea7d15629752256f6ea1d5c6ea796e59aefd030f 26-Aug-2009 Andreas Huber <andih@google.com> Keep up with latest changes to overlay handling on that unnamable platform.
ibstagefright/OMXCodec.cpp
ibstagefright/omx/Android.mk
ibstagefright/omx/TIHardwareRenderer.cpp
1beb760d920561679862ded945a04e370368c7f7 25-Aug-2009 Andreas Huber <andih@google.com> Make sure not to ask for more buffers when we know that there won't be any, added a quirk for the aac decoder.
ibstagefright/OMXCodec.cpp
7530e9c708275c273c134c36c68179f511c1940e 20-Aug-2009 Andreas Huber <andih@google.com> Dynamically allocate a pair of MemoryHeaps according buffer count/sizes required by the OMX component, respect JPEG compressed size.
ibstagefright/OMXCodec.cpp
bde3caae211e215e4bbfef1a267f8d680efa4764 19-Aug-2009 Andreas Huber <andih@google.com> Better (proper) parsing of the AVCDecoderConfigurationRecord, respect hardware decoder profile/level limits.
ibstagefright/OMXCodec.cpp
dbc03445db2bbf83b64f0c0a5dc62e61408864d7 19-Aug-2009 Andreas Huber <andih@google.com> The PV AVC software decoder expects each fragment of a NAL unit to be handed to the decoder unframed.
ibstagefright/MPEG4Extractor.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OMXDecoder.cpp
c1a8d2f170aef7bb7664e25d6a8275f246260d12 18-Aug-2009 Feng Qian <fqian@google.com> Fix missing -lpthread in linux-sim build.

It mimics the behavior in libstagefraight/Android.mk
ibstagefright/omx/Android.mk
c6b59b7c8acf7c6e7fbb93470aecc2c0ebe1b084 17-Aug-2009 Andreas Huber <andih@google.com> Support for marshalling pointers / intptr_t in Parcel.

Some refactoring to eliminate code duplication in Parcel implementation.
ibmedia/IOMX.cpp
693d271e62a3726689ff68f4505ba49228eb94b2 14-Aug-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 5bb012f0065f7ffaaeb4f569d71f0e3a8d6b19c3
Author: Andreas Huber <andih@google.com>
Date: Fri Aug 14 10:40:08 2009 -0700

An attempt at fixing export using the qcom encoders. More quirks.

commit 0690e76bfa48118a68287ccf1bbfa82febaa620c
Author: Andreas Huber <andih@google.com>
Date: Fri Aug 14 09:08:28 2009 -0700

Callbacks are now dispatched from a separate thread in OMX.

commit c6571a039526df29b6343f9a1971dbc019088c61
Author: Andreas Huber <andih@google.com>
Date: Thu Aug 13 15:42:25 2009 -0700

Massive API changes throughout stagefright, smart pointers everywhere.

commit 900612af6a0555664d9ba195112cd859491265f4
Author: Andreas Huber <andih@google.com>
Date: Thu Aug 13 13:33:12 2009 -0700

OMXCodecs now properly shutdown.

commit 96732f05e1b0603dcd1b11f16a23512592eeb4f5
Author: Andreas Huber <andih@google.com>
Date: Thu Aug 13 12:04:04 2009 -0700

More work on JPEG decoding using the hardware OMX component.

commit 63839a073ac393e3a130434ba467969053b694ad
Author: Andreas Huber <andih@google.com>
Date: Wed Aug 12 13:13:31 2009 -0700

An attempt to drive the JPEG decoder OMX node.

commit 3ac2fe5ab2926eda81b2123610b2434c645294ff
Author: Andreas Huber <andih@google.com>
Date: Tue Aug 11 16:38:21 2009 -0700

Renamed StateMachine to OMXCodec and put it in its proper place.

commit 247da75a96bf8881956413023dd49a84d5b4f5b2
Author: Andreas Huber <andih@google.com>
Date: Tue Aug 11 16:06:19 2009 -0700

Statemachine is now a full-fledged MediaSource.

commit 045244f6771fa0b9b329495c953afda900a84b71
Author: Andreas Huber <andih@google.com>
Date: Fri Aug 7 09:16:54 2009 -0700

Properly setup the input format when exporting to AMR audio.

commit 271b984cb32c5cd9e46e3f90ae121f334e4b8da9
Author: Andreas Huber <andih@google.com>
Date: Thu Aug 6 09:59:38 2009 -0700

Added some code to test audio encoding to the OMX harness.

commit 79af4748e4af33bd66d3fbac606e332a69741cf4
Author: Andreas Huber <andih@google.com>
Date: Wed Aug 5 14:36:22 2009 -0700

Merge the old OMXDecoder and the new, shiny, StateMachine code.

commit 91cf5dd77a8762bc10a0b2ffce35e3bbeb262231
Author: Andreas Huber <andih@google.com>
Date: Tue Aug 4 17:41:43 2009 -0700

A new harness to test OMX node compliance (and quirks).
ibmedia/IOMX.cpp
ibstagefright/Android.mk
ibstagefright/AudioPlayer.cpp
ibstagefright/CachingDataSource.cpp
ibstagefright/DataSource.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/OMXClient.cpp
ibstagefright/OMXCodec.cpp
ibstagefright/OMXDecoder.cpp
ibstagefright/SampleTable.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMX.h
5a22b909c9e8fc0d9321dcc014706a790b26b971 11-Aug-2009 Eric Laurent <elaurent@google.com> Fix issue 2045983 ToneGenerator: fix void statement.

There is a void statement at line 917 of ToneGenerator.cpp: mState == TONE_IDLE;
This problem is harmless as in current code this execution path is never taken; it can only happen if a "new" operator fails in prepareWave() which is a case we usually consider as unlikely in android audio framework.
ibmedia/ToneGenerator.cpp
f4148b55c5d6f68b22462e3880015fefa91ae7c6 07-Aug-2009 Andreas Huber <andih@google.com> Expose a variation of the createRenderer API that works on a plain Surface.
ibmedia/IOMX.cpp
ibstagefright/MediaPlayerImpl.cpp
408b8e1073385d0d09bb96b9952f84731a0b4aeb 07-Aug-2009 Andreas Huber <andih@google.com> Deprecate/remove now unused socketpair ipc communication in favour of exclusive binder use.
ibmedia/IOMX.cpp
ibstagefright/OMXClient.cpp
ibstagefright/OMXDecoder.cpp
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMX.h
47f59cfe40b0ebb3afd6c39f97dcd1eac2e966f7 07-Aug-2009 Andreas Huber <andih@google.com> Build the stagefright library by default.
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/Android.mk
ibstagefright/omx/Android.mk
23aea9771d800ce43ffd8a23ad64ed6cead4b159 07-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9674

* changes:
Fix problem in AudioTrack with 8 bit PCM and direct output.
fa2877b9ea48baed934b866d2ab3658b69c4c869 28-Jul-2009 Eric Laurent <elaurent@google.com> Fix issue 2001214: AudioFlinger and AudioPolicyService interfaces should not use pointers as handles to inputs and outputs.

Use integers instead of void* as input/output handles at IAudioFlinger and IAudioPolicyService interfaces.
AudioFlinger maintains an always increasing count of opened inputs or outputs as unique ID.
ibmedia/AudioSystem.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IAudioPolicyService.cpp
285ead29c9eee092d367effd89f1c9f4f0bb9d6c 07-Aug-2009 Andreas Huber <andih@google.com> The mp3 decoder now correctly uses microseconds to measure time. One less quirk.
ibstagefright/OMXDecoder.cpp
bf37f3364804f521cc61845b1f1ce16fe133814b 04-Aug-2009 Andreas Huber <andih@google.com> Recording/Export to .mp4/h.263 somewhat works on TI hardware.
ibstagefright/MPEG4Writer.cpp
ibstagefright/OMXDecoder.cpp
3302526f6276911b2dc40c731ea7fa0e7972d908 04-Aug-2009 Eric Laurent <elaurent@google.com> Fix problem in AudioTrack with 8 bit PCM and direct output.

Do not perform 8 to 16 bit conversion in AudioTrack write() and processAudioBuffer() if direct output flag is set.
ibmedia/AudioTrack.cpp
8b938cdab5bd3d074d9b41bc2915fcfc11e47f27 31-Jul-2009 Andreas Huber <andih@google.com> The IOMX interface now instantiates IOMXRenderers to hide the details of hardware accelerated blitting.
ibmedia/IOMX.cpp
ibstagefright/Android.mk
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/OMXDecoder.cpp
ibstagefright/QComHardwareRenderer.cpp
ibstagefright/SoftwareRenderer.cpp
ibstagefright/SurfaceRenderer.cpp
ibstagefright/TIHardwareRenderer.cpp
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMX.h
ibstagefright/omx/OMXRenderer.h
ibstagefright/omx/QComHardwareRenderer.cpp
ibstagefright/omx/SoftwareRenderer.cpp
ibstagefright/omx/TIHardwareRenderer.cpp
cfb3bc79a0e4d60ee2512c4ddbb85c424cc96c19 28-Jul-2009 Andreas Huber <andih@google.com> While other OMX nodes appear to now have switched to using microseconds to timestamp buffers, at least the TI AAC and MP3 decoders still use milliseconds.
ibstagefright/OMXDecoder.cpp
0024245e134467d120b40099da16c467dc365e76 28-Jul-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 374ea382ee3a9e3ce17e4c6357fc40d02e362810
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 28 09:54:13 2009 -0700

PV's OMX implementation now uses (spec-compliant) microseconds instead of milliseconds in buffer timestamps.

commit 8d02f8ab5d7b022ad4ad34db2a9bdeea6ce2acfe
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 27 14:24:26 2009 -0700

Support for using an overlay for video playback on TI hardware.

Appears to be currently constrained to CbYCrY 16-bit colorspace.

commit d17f321cb4b15c1fea378f33a7ef5998f23dd0fc
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 27 09:45:38 2009 -0700

Added '--audio-only' commandline option to stagefright tool.

commit d8beef6be5c668c46451446d87e622933371cd75
Author: Andreas Huber <andih@google.com>
Date: Fri Jul 24 13:35:00 2009 -0700

Generalize the various workarounds for OMX nodes with their own unique interpretation of the spec.

commit c7dfd53eeadf8ed5a39bf2b19b014dcd62f3324d
Author: Andreas Huber <andih@google.com>
Date: Thu Jul 23 16:06:36 2009 -0700

Fixed erroneous TI AAC decoder behaviour wrt shutdown.

The AAC decoder appears to not return out buffers on an Executing->Idle transition, implemented a workaround that does a flush on all ports followed by the Executing->Idle. Oh, and flush with OMX_ALL doesn't properly work either. Fun.

commit d6377282e75060881336578f166f9c7feacf3f8f
Author: Andreas Huber <andih@google.com>
Date: Thu Jul 23 14:06:50 2009 -0700

Apparently the "channels" parameter in AudioTrack's constructor no longer counts channels but is a bitmask of enabled destinations, update the code accordingly.

commit ff698c79e851a2e57d362e9c3a09828af4048087
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 22 16:54:44 2009 -0700

Fix MPEG4 decoding using TI's hardware decoder that I broke earlier...

commit 2ef78bb87cd856eb7f0b3d7dd68782a8650c12bf
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 22 15:43:18 2009 -0700

Now that the qcom decoder properly advertises its own custom colorspace, update dependent code to reflect this fact.

commit bbaec96910727080fd7c8a6907c04facb9f5220f
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 22 14:32:03 2009 -0700

Finishing up previous, incomplete change.

commit 76f14a1ae816b6f434771f8d12bdad81196f351e
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 22 14:25:17 2009 -0700

The TI video decoder now properly decoder AVC/H.264 content.

commit e106130d8c100d5c94603e43864a7a93cca10252
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 22 08:56:04 2009 -0700

Experimental support for the TI H.264 decoder, various modifications to OMXDecoder, non-functional still.

commit 241c3062dec3447db1a1ee74558cb4b9098fc404
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 21 12:13:09 2009 -0700

Enable TI hardware OMX decoders (except for AVC/H.264 which still has issues).

This particular set of OMX nodes does not appear to properly return our buffers when sending the "disable" command on a port. Rather it reqires manually flushing that port and _then_ disabling it instead.

commit 1c34506a46e32ce25f2a86f3b4250dcfc037356a
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 21 08:51:35 2009 -0700

Make it simpler to switch between the stagefright player and PVPlayer.

commit 249c6de05671d403f8dd51f095d49bf190430c9c
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 20 14:38:15 2009 -0700

Prepare to use soon-to-be-available hardware decoders in the OMX decoder.
ibmediaplayerservice/MediaPlayerService.cpp
ibstagefright/Android.mk
ibstagefright/AudioPlayer.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/OMXDecoder.cpp
ibstagefright/TIHardwareRenderer.cpp
c2f1f07084818942352c6bbfb36af9b6b330eb4e 17-Jul-2009 Eric Laurent <elaurent@google.com> Fix issue 1795088 Improve audio routing code

Initial commit for review.
Integrated comments after patch set 1 review.
Fixed lockup in AudioFlinger::ThreadBase::exit()
Fixed lockup when playing tone with AudioPlocyService startTone()
ibmedia/Android.mk
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IAudioPolicyService.cpp
ibmedia/JetPlayer.cpp
ibmedia/ToneGenerator.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ediaserver/main_mediaserver.cpp
a64c8c79af1a15911c55306d83a797fa50969f77 21-Jul-2009 niko <niko@google.com> Added native metadata support.

Metadata.java:
Fixed typo 8k != 8092. The comment was correct though.

In Metadata.h, the new Metadata class is declared in the ns android::media
to limit the chances of conflict with other packages.

The MetadataType in MediaPlayerInterface is gone and moved to Metadata as
an inner typedef.

Similarly the SortedVector<MetadataType> instance have been replace by a
new type Metadata::Filter.

All the keys declared in the java counterpart are also in Metadata.h.

Metadata.cpp:
Contains the implementation of the native metadata packing.

There an associated change in the opencore package that should go in
at the same time as this one.
ibmedia/Android.mk
ibmedia/Metadata.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibmediaplayerservice/TestPlayerStub.h
ibmediaplayerservice/VorbisPlayer.h
e7656d6494a8cb45daeab03393dcb4fa264502c2 20-Jul-2009 Andreas Huber <andih@google.com> Fixing the build: StagefrightPlayer now implements the newly introduced "getMetadata" pure virtual.
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
d608a813a9d2cbc6e2a5ea81d78d4a9044090c4c 17-Jul-2009 niko <niko@google.com> Added method to get metadata out of the player.

The method passes a list of metadata ids to be retrieved and
a parcel where the metadata records should be appended.

If the list of ids is empty, all the metadata should be returned.
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/TestPlayerStub.h
ibmediaplayerservice/VorbisPlayer.h
919f7387f2eafc36223a5cd599fb46871f801b10 17-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7701

* changes:
Clean up MP3Extractor code and fixes a bug that miscalculated the position of the header by a few bytes whenever we read in more data.
c8d6c8bdd84464e0c7e511241ede2299cf38fda4 17-Jul-2009 Andreas Huber <andih@google.com> Clean up MP3Extractor code and fixes a bug that miscalculated the position of the header by a few bytes whenever we read in more data.
ibstagefright/MP3Extractor.cpp
548681f9bd906600ab523b87e045c1e829b0c767 17-Jul-2009 Andreas Huber <andih@google.com> stagefright: initialize more of the OMX_BUFFERHEADERTYPE structure as they are apparently not cleared by the OMX implementation.
ibstagefright/omx/OMX.cpp
72b56ef3d9f164159f58725781b01dd3b052b51a 17-Jul-2009 Marco Nelissen <marcone@google.com> Another fix for building libstagefright for the simulator, plus whitespace adjustments.
ibstagefright/Android.mk
361f482fd229c4d0b683d04c93b9da4ab01660b7 17-Jul-2009 Marco Nelissen <marcone@google.com> Fixes to make libstagefright build for the simulator.
ibstagefright/TimeSource.cpp
ibstagefright/TimedEventQueue.cpp
14d2747c7e54037e267bcff78b29e65b2181f0fa 13-Jul-2009 Nicolas Catania <niko@google.com> New test player stub to load mock native players.

Added a new class TestPlayerStub that takes a magic url in the setDataSource call.
Based on the value of the url, the stub is going to load a DL and create the concrete
player used during the test.
After these initialization steps TestPlayerStub is just a wrapper.

Added a new functional test MediaPlayerInvokeTest to demonstrate how a new
mock player to test the invoke method can be loaded.

Added a new mock player for the invoke test: invoke_mock_media_player.cpp.
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/TestPlayerStub.cpp
ibmediaplayerservice/TestPlayerStub.h
20111aa043c5f404472bc63b90bc5aad906b1101 15-Jul-2009 Andreas Huber <andih@google.com> Squashed commit of the following:

commit 8d179995654c19d9094e51989dc84ed0deba6e04
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 14 16:30:40 2009 -0700

Protect stagefright code with BUILD_WITH_STAGEFRIGHT build-define.

commit 99b41acb58c34e8f024c30c833a09fd7b31c4e1f
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 14 14:06:00 2009 -0700

OMX::list_nodes API, stagefright --list now lists all available OMX components.

commit 94a74c5b24aae6d7e446fff83d62ae3a57dc351b
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 13 16:04:29 2009 -0700

Reenabled "record" commandline application to test encoding, support for h263 codec specific data when writing to .mp4.

commit d363dd74f611577567c66d25900d6264c306468c
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 13 10:59:58 2009 -0700

Make non-socket communication in IOMX the default.

commit e89fc82c4fd138c88339887baf72f1d0e67f8660
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 13 10:32:33 2009 -0700

The OMX interface now optionally supports communication through the binder only (no sockets involved)

commit 28611de11223fba65299787cdd33f7fdbd6a60a3
Author: Andreas Huber <andih@google.com>
Date: Fri Jul 10 15:09:13 2009 -0700

Split off the logic to render to a Surface (not ISurface!) into SurfaceRender.{cpp,h}

commit c0cfa885faaeb17d3fc5436f6447b61708bd6fe1
Author: Andreas Huber <andih@google.com>
Date: Fri Jul 10 12:21:46 2009 -0700

Fix display dimensions vs. decoded dimensions display issues, unfortunately breaks software rendering a bit...

commit ae209a2b5d09caed5dd383c910f238926aaa8fc6
Author: Andreas Huber <andih@google.com>
Date: Fri Jul 10 09:33:29 2009 -0700

Simple video decoder performance test in "stagefright" commandline tool.

commit 59fe7840111d6f46dd3c48f4950146aed962dbd2
Author: Andreas Huber <andih@google.com>
Date: Thu Jul 9 16:05:12 2009 -0700

StagefrightPlayer: Properly publish video dimensions by notifying the listener.

commit 51b6598f0e47be5e12d77f1d14e111e71c593638
Author: Andreas Huber <andih@google.com>
Date: Thu Jul 9 11:38:15 2009 -0700

MediaPlayerInterface::AudioSink now supports the specification of a callback for pull-based audio.

commit 31ce53375d748da3e7d30e993ce89dae97fd65ea
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 8 17:23:37 2009 -0700

Proper support for pushing audio to a specified AudioSink interface. Still not bulletproof: video falls behind frequently.

commit a23e312b10631a5d47f5c9831205beac6b84ab36
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 8 15:10:13 2009 -0700

IGenesisPlayer and friends are no more, java interface now uses local playback instead
of playing inside the media server process.

commit 42ee5c06ab5ba1c16f50472b0b26a0526635c73c
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 8 13:17:03 2009 -0700

MP3 extractor now supports seeking (only fixed bitrate files currently supported)

commit 96a790405763bfa738d1c6845c99a9fdf579b66f
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 7 10:53:54 2009 -0700

Keeping up-to-date with new master-gl changes, removing CameraSource for now, removing unnecessary commandline utilities from the build.

commit 6c9dcb7c628c0347154dd7f37913a3a5f04deb99
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 6 16:40:02 2009 -0700

Finally take advantage of the fact that the Qcom OMX decoders already place the output buffers into memory accessible by the hardware yuv converter and avoid extra allocations and memcpys in that case. Split of the render logic into subclasses of VideoRenderer.

commit e8d46e81cffc15ffb0bdf03f511e4a4497ca7621
Author: Andreas Huber <andih@google.com>
Date: Mon Jul 6 12:18:29 2009 -0700

Added a few more cases of valid MPEG4 files to the sniffer, fixed end of stream notifications in MPEG4 files.

commit 88bffc5ed4033a607080f8777a1c0ec9e3e079de
Author: Andreas Huber <andih@google.com>
Date: Thu Jul 2 12:25:03 2009 -0700

MediaPlayerImpl now properly pauses/resumes instead of tearing down the decoder chains and starting back up from the beginning.

commit 732aa0a87c7e8d8a10776b275712649954962414
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 1 14:58:56 2009 -0700

Remove pthread_mutex_* and pthread_cond_* in favour of Mutex and Condition.

commit 669e5944b2fe0542a3b8dba0c441a94503e99fb0
Author: Andreas Huber <andih@google.com>
Date: Wed Jul 1 14:43:02 2009 -0700

Proper support for end-of-stream signalling of MediaSources.

commit afb038f2dc594c742e554b2d42b86ffc7434e3fc
Author: Andreas Huber <andih@google.com>
Date: Tue Jun 30 16:48:03 2009 -0700

Support for the "sniffing" of datasources to determine their probable mime type (along with confidence). Slightly refactored the MP3Extractor to share common code with the sniffer.

commit ed3644b8bd56807e1db4b32433a93a2467f1f3c5
Author: Andreas Huber <andih@google.com>
Date: Fri Jun 26 13:27:52 2009 -0700

I don't think prepare should automatically start the player.

commit 11eb9b49dc4a0819d366682817cba68613f4fe12
Author: Andreas Huber <andih@google.com>
Date: Fri Jun 26 11:09:22 2009 -0700

Somewhat better timing information implemented in the MP3Extractor.

commit cab023a1751735c0ed26c8493498a91d8644c6c9
Author: Andreas Huber <andih@google.com>
Date: Thu Jun 25 15:41:56 2009 -0700

Initial checkin for support of mp3 content, extraction and playback. Media extractors now abstracted in MediaExtractor baseclass.

commit 40f4146bb3c647e56690dd9b0fa3ffdea60030dc
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 24 10:41:12 2009 -0700

Make sure we only allocate surface buffers if there is video to be played.

commit 7f85e7d92fe81740e102e09905b19354f4ac178e
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 24 10:19:32 2009 -0700

Clean up a failed merge and implement stub for new API in MediaPlayerBase.

commit f0e9d494a4c03402ea7b54891848ca5a50c421b2
Author: Andreas Huber <andih@google.com>
Date: Fri Jun 12 15:38:03 2009 -0700

Support yuv420->rgb565 conversion if hardware color conversion is unavailable.

commit 87223248b3099cd5261b94169f84cfd1eba56a8f
Author: Andreas Huber <andih@google.com>
Date: Fri Jun 12 09:35:56 2009 -0700

Remove unimplemented and currently unnecessary blocking option from MediaSource::ReadOptions.

commit e07e651f0325892b797f3eb64dbeca0f317afdfd
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 10 16:26:42 2009 -0700

Enable assertions in HTTPDataSource.

commit 0dc97adebea1721156880f4b3d5c70f8d50c53b2
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 10 12:34:39 2009 -0700

delete foo.

commit 7f05845dda496e7defee284d32509d127e785784
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 10 12:34:08 2009 -0700

added foo.

commit e432970c51eeec4e5d549bdb3e2d3e48ffb4f0e7
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 10 11:44:31 2009 -0700

Make sure to initialize all fields in _all_ constructors... Use a Mutex instead of the raw pthread_mutex_t.

commit d6286a6bbca639952491448fa3e609b775a8a814
Author: Andreas Huber <andih@google.com>
Date: Tue Jun 9 17:11:49 2009 -0700

send_command is now implemented twice... ugly hack to get both shutdown working correctly and startup as well... playback now "works" on the emulator, too.

commit 8d657e004677a7c5dae4479e8519bcaa94c18aad
Author: Andreas Huber <andih@google.com>
Date: Tue Jun 9 11:58:55 2009 -0700

Instead of erasing codec specific data once it's been output to the omx node, retain the data and just rewind after a stop.

commit 279fede6ba35cbc37c35616c53406bf2c9720202
Author: Andreas Huber <andih@google.com>
Date: Tue Jun 9 10:58:11 2009 -0700

Various fixes related to play/pause. Decoder now properly frees OMXMediaBuffers, made MemoryDealer destructor protected instead of public to prevent accidental stack-allocation of MemoryDealer objects.

commit 0f717f15a6328efd3f34082929cd8ad2351095a9
Author: Andreas Huber <andih@google.com>
Date: Tue Jun 9 08:44:12 2009 -0700

Make sure to rewind codec specific data on OMXDecoder::stop and reset AudioPlayer's notion of time mapping.

commit 0cfb63e33270daf9b215214608ab383f93a31823
Author: Andreas Huber <andih@google.com>
Date: Mon Jun 8 14:25:48 2009 -0700

Massive rename.

commit 30ed8f476c4431a5275538958b3e281bd17d5eab
Author: Andreas Huber <andih@google.com>
Date: Mon Jun 8 13:52:41 2009 -0700

send_command and fill/empty buffer commands must be executed in sequence, send_command is now dispatched over the socket instead of through the binder interface to ensure this.

commit b832d04011b2dd8a9632eb7e575bfe1addd1270d
Author: Andreas Huber <andih@google.com>
Date: Mon Jun 8 10:21:17 2009 -0700

MediaBuffers can now be "clone()", they sit on top of the same data but have their own range and metadata. Once a clone's refcount drops to 0 it decrements the refcount on the original buffer.

commit 4e944672808bdf1ed40a69f3f602f93ebf7b4049
Author: Andreas Huber <andih@google.com>
Date: Mon Jun 8 10:01:01 2009 -0700

Split MediaBuffer.h into MediaBufferGroup.h and MediaBuffer.h, same with their respective source files.

commit ddb7529b4de4828db51432bd405fddd76cfa3b6a
Author: Andreas Huber <andih@google.com>
Date: Fri Jun 5 16:30:25 2009 -0700

More fudging with A/V sync...

commit 1e5a4d8df08237b58c06c6527a33152ae931addf
Author: Andreas Huber <andih@google.com>
Date: Fri Jun 5 11:54:20 2009 -0700

API cleanup of MediaSource. Got rid of MediaRing as it really doesn't serve a purpose if OMX decoders are used.

commit 0953c65232aa9753d17d2e25c5f5526eb810cf13
Author: Andreas Huber <andih@google.com>
Date: Thu Jun 4 16:59:19 2009 -0700

Experimental TimedEventQueue and an attempt at a cleaner player implementation using it, OMXDecoder is now a little less verbose.

commit 2085b8ea9484a21fa11f94194a27405d413aeecc
Author: Andreas Huber <andih@google.com>
Date: Thu Jun 4 10:17:01 2009 -0700

Properly bail out of the AV sync loop if the MediaPlayerImpl is stopped.

commit 471f143458a8a0d93cb1bf9568c63c3967279dc6
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 3 17:32:27 2009 -0700

Now this is much better AV sync, defer seeking the audio source until we know where the video source synced to.

commit 4010d371dbe62ce4971e13437776cba32cb0bb3d
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 3 16:01:07 2009 -0700

Tweaked some of the heuristics in AV sync, OMXDecoder is now a little less verbose, seek to a sync sample at or _after_ the requested position.

commit f3d4af1d5a4ac31fa02271b000f6c7ec593f0da9
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 3 15:33:58 2009 -0700

Change the TimeSource interface's APIs, prefer microseconds over milliseconds now, changed the way MediaPlayerImpl does AV sync.

commit 08bb46fa61d12e852a424698ddb0c90700328f6e
Author: Andreas Huber <andih@google.com>
Date: Wed Jun 3 11:57:24 2009 -0700

Using framework's Mutex and Condition classes instead of pthread functions, much saner locking in OMXDecoder.

commit 4d77b4e09e59bbf8c1af009ae7dc62b10af52fd6
Author: Andreas Huber <andih@google.com>
Date: Tue Jun 2 17:12:03 2009 -0700

MediaSources now publish their format.

commit 7e429a26c57bf936e1a08035d2d11839f9f00310
Author: Andreas Huber <andih@google.com>
Date: Tue Jun 2 16:38:29 2009 -0700

MetaData is now implemented in terms of KeyedVector, MetaData is now reference counted.

commit 0fa957aa5c9bcb6ec122ed7b5b97430039be6797
Author: Andreas Huber <andih@google.com>
Date: Mon Jun 1 14:39:55 2009 -0700

Sync sample seek support.

commit 78a5f090d02e7e6e1a146b29bdb7771eecaa2f86
Author: Andreas Huber <andih@google.com>
Date: Mon Jun 1 13:51:11 2009 -0700

Distinguish shutdown from port-flush since one requires buffers to be freed and the other one doesn't. Fixes a problem with seek.

commit e57781d3b2c985a74cd8b60e7c8f2d576459d038
Author: Andreas Huber <andih@google.com>
Date: Mon Jun 1 10:52:20 2009 -0700

First shot at support for seeking a MediaSource. Sync frames are not properly handled yet.

commit 0551cd78fda78bf66877fb26c5a55e5ae23d8367
Author: Andreas Huber <andih@google.com>
Date: Thu May 28 16:23:38 2009 -0700

Preliminary support for camera input.

commit f8ebafa65d10d5a06944de6b2e2992a33121b857
Author: Andreas Huber <andih@google.com>
Date: Thu May 28 12:13:47 2009 -0700

Allow NativeMediaPlayer access to Surface's getISurface() method.

commit b1a9fb36eeccd9f49d28c1c64b31fccbd6506eeb
Author: Andreas Huber <andih@google.com>
Date: Thu May 28 11:38:25 2009 -0700

Header files are now in their own genesis2 hierarchy below frameworks/base/include.

commit f49b8b234b8f6ce83148787eef540dd920f04aa6
Author: Andreas Huber <andih@google.com>
Date: Thu May 28 11:22:03 2009 -0700

moved MPEG4Writer into libgenesis2.

commit 5224254919dac4728677335ea60429fa16f518b4
Author: Andreas Huber <andih@google.com>
Date: Thu May 28 11:13:38 2009 -0700

Everything now lives in the android namespace, integrated errors with android errors, renamed MediaPlayer to MediaPlayerImpl.

commit f9a9d84f7e0465ef5d1938a068655ba39527cf99
Author: Andreas Huber <andih@google.com>
Date: Wed May 27 16:43:11 2009 -0700

Support for getPosition() and getDuration().

commit 3206cc5140bcbc88be039f8d94b954af63e69752
Author: Andreas Huber <andih@google.com>
Date: Wed May 27 15:37:45 2009 -0700

Support for {MediaPlayer, GenesisPlayer, Genesis2Player}::isPlaying()

commit 9f41b248e0dfce71bbc50f883750cec52ebfd1fe
Author: Andreas Huber <andih@google.com>
Date: Wed May 27 13:49:50 2009 -0700

Proper disconnection from the OMX service.

commit cdcf47a2c31599109ee42277c7fa14af3c600091
Author: Andreas Huber <andih@google.com>
Date: Tue May 26 17:27:06 2009 -0700

New player type for the genesis player in libmediaplayerservice. Playing video through an ISurface now.

commit 0586af20ac9ae0403dd190bafd290b0f90549723
Author: Andreas Huber <andih@google.com>
Date: Fri May 22 15:53:19 2009 -0700

Fix a buffer overflow error by adding padding in case we need to de-frame AVC data.

commit eac62fff6ad2ffb7b75c0d4a1b9620d33e93fb9b
Author: Andreas Huber <andih@google.com>
Date: Fri May 22 13:35:30 2009 -0700

Support for http URIs in MediaPlayer, compensate for AudioTrack latency.

commit a7db456e3173d94d6b5e457547e2a6a5f7a8e1cc
Author: Andreas Huber <andih@google.com>
Date: Fri May 22 11:33:25 2009 -0700

Support for URIs in MediaPlayer class, support for shoutcast streams in MediaPlayer, force shutdown of OMX nodes if they don't shutdown cleanly within a second.

commit 1f0268f4f14ad5215668f34e06a420850174d665
Author: Andreas Huber <andih@google.com>
Date: Fri May 22 08:33:16 2009 -0700

and foo.txt is gone again.

commit 0feca4e0919f345704d78ec78894bac5027bd5ed
Author: Andreas Huber <andih@dhcp-172-19-27-148.mtv.corp.google.com>
Date: Fri May 22 08:28:49 2009 -0700

added foo.txt

commit 9c7d04b35cdc895a2de3602dc46522f608bd205f
Author: Andreas Huber <andih@google.com>
Date: Fri May 22 08:28:04 2009 -0700

delete foo again

commit fec3ca1720992cce51b9a92b86b945da88a6b16c
Author: Andreas Huber <andih@google.com>
Date: Fri May 22 08:27:45 2009 -0700

weird

commit 30a6571302333146e537e537a3a8986245cca87c
Author: Andreas Huber <andih@dhcp-172-19-27-148.mtv.corp.google.com>
Date: Fri May 22 08:18:55 2009 -0700

reverse test

commit dea3d99dd0fe9386e8a3c51954d9d0fe2be09d38
Author: Andreas Huber <andih@google.com>
Date: Fri May 22 08:18:22 2009 -0700

test

commit a9eeafec6e46072cac41e54ebdbd153cb7ae7518
Author: Andreas Huber <andih@google.com>
Date: Thu May 21 16:37:50 2009 -0700

Use the video ring again for now.

commit e05ff3d3c1c4f89ef499a2b172138a775fd694e3
Author: Andreas Huber <andih@google.com>
Date: Thu May 21 15:42:19 2009 -0700

Export to .mp4 now works for MPEG4 video content. Fixed a bug in the sample table wrt co64 chunks.

commit 5c44c540374a4e50c4e8aaab2b7a34aed6e1391e
Author: Andreas Huber <andih@google.com>
Date: Thu May 21 09:56:11 2009 -0700

Fix the build, all binder-related headers have moved and there's a new library libbinde
r to link against now.

commit 23e0a24404d16c898c2c6b3c7495ad303844bc71
Author: Andreas Huber <andih@google.com>
Date: Thu May 21 08:42:04 2009 -0700

Initial checkin of MPEG4Writer, a class to export media sources into an mpeg4 file. MPEG4/AVC metadata (efss & friends) not currently working.

commit 9cd77adb1ac194197364ffad00a0d7215f458e1a
Author: Andreas Huber <andih@google.com>
Date: Wed May 20 12:31:45 2009 -0700

New shell command to test recording/encoding. Various changes to OMXDecoder to support encoding properly. Now each OMXDecoder needs a dedicated thread on the client side since onEvent responses could block which would cause deadlocks if a node depends on the output of another node for example.

commit 5c510fb55ffed7ec25305999ed9b6c1eec48d503
Author: Andreas Huber <andih@google.com>
Date: Mon May 18 15:40:06 2009 -0700

Make media decoding the default in the genesis2 commandline app instead of shoutcast playback.

commit f6c7a2040b8eb43326621f12c3a936e09b3a70e3
Author: Andreas Huber <andih@google.com>
Date: Mon May 18 11:03:04 2009 -0700

The king is dead, long live the kind... Replaced old OMX binder interface with new OMX binder interface/socket hybrid.

commit 0d4955eb5df9bfafb576d22f2ed572644d6d69ac
Author: Andreas Huber <andih@google.com>
Date: Thu May 14 12:39:34 2009 -0700

dynamic negotiation of NAL framing with the MPEG4Source, removed stale code from genesis2 commandline tool. Enable support form PV H264 software decoder.

commit 380369f54a8027cbc9349305184d6bf527a24efe
Author: Andreas Huber <andih@google.com>
Date: Wed May 13 17:32:00 2009 -0700

Explore the option of running everything inside the mediaserver process by encapsulating the player in an IGenesisPlayer binder interface.

commit b5cada56b9089a23e0c461352a97dc71e08b424d
Author: Andreas Huber <andih@google.com>
Date: Wed May 13 12:11:06 2009 -0700

Introduction of TimeSource class, clean shutdown of OMX Nodes.

commit 89f6e582e605dcb2149eb67f73fe9345d4b9be2e
Author: Andreas Huber <andih@google.com>
Date: Tue May 12 17:11:56 2009 -0700

Helper classes MediaRing and MediaPlayer.

commit 9aaed8739b4bb941473da367fb88f63224d2f1b7
Author: Andreas Huber <andih@google.com>
Date: Tue May 12 14:19:18 2009 -0700

Using mmap to map a file instead of going through FILE* improves performance, who knew?

commit ad097a78bbd002c59193ffdc39b64935928426c7
Author: Andreas Huber <andih@google.com>
Date: Mon May 11 16:42:42 2009 -0700

Added a performance test, refactored AudioDecoder a little.

commit bdd1b80ab3f3ba43e04f1f996e7fa84ed2e2728a
Author: Andreas Huber <andih@google.com>
Date: Fri May 8 16:19:29 2009 -0700

No more copying the output buffers coming out of the decoder, NAL separation also done in the extractor to avoid copying the data.

commit 858955b42c29b8033841a8caaa56c2a449810ef3
Author: Andreas Huber <andih@google.com>
Date: Fri May 8 14:02:38 2009 -0700

Change from a model in which the caller specifies the destination buffer to one where the MediaSource returns a buffer.

commit 95098b6d4f8bdc37dfb6a109ca58db4d9e414e2d
Author: Andreas Huber <andih@google.com>
Date: Fri May 8 13:21:45 2009 -0700

Changes to support multiple pieces of codec specific data to the decoder, de-frame nal units from the h.264 stream and insert start codes

commit 3941fcf87a48dda81683df727dfb1381f62d9184
Author: Andreas Huber <andih@google.com>
Date: Thu May 7 16:37:45 2009 -0700

some refactoring. Most streams play now.

commit d3152862840d4dd39068e5197bec8674f3d55dd5
Author: Andreas Huber <andih@google.com>
Date: Thu May 7 15:37:32 2009 -0700

Misc. changes to support H264 decoding using the qcom hardware decoder

commit d4ecdfe7af36e7468270d1c2cbbdc540efe0351e
Author: Andreas Huber <andih@google.com>
Date: Thu May 7 09:28:18 2009 -0700

Timestamps are now stored as a fraction, i.e. units and scale, also, PV appears to violate OMX specs by assuming timestamps are in milliseconds instead of microseconds.

commit fe6a50943f885e065d4061aa727a54417e9f36db
Author: Andreas Huber <andih@google.com>
Date: Wed May 6 14:18:27 2009 -0700

Refactored commandline app instantiation of the decoder.

commit da1ff2724d0e78e8b360d9a2c34c55dd0e2c0492
Author: Andreas Huber <andih@google.com>
Date: Wed May 6 10:41:14 2009 -0700

Proper audio/video synchronization.

commit 569ee3a23f600f4b6b87c6178c0223b06e97f201
Author: Andreas Huber <andih@google.com>
Date: Wed May 6 09:17:20 2009 -0700

Preliminary support for timestamps.

commit e4e302a89207550d8a7170d8c0afbd9c15047c84
Author: Andreas Huber <andih@google.com>
Date: Tue May 5 15:13:12 2009 -0700

Another quick hack job to make CachingDataSource thread-safe as well.

commit dfb376a58bd7c09aa04e89558186fcfe13fe696c
Author: Andreas Huber <andih@google.com>
Date: Tue May 5 15:08:14 2009 -0700

Quick rushjob to make FileSource and SampleTable thread safe.

commit 02b29e7ebdab1f8b959b6c177ceb3b89d998f375
Author: Andreas Huber <andih@google.com>
Date: Mon May 4 17:22:04 2009 -0700

Made video decoding work for mpeg4/h263 and mostly(?) with AVC content.

commit 3a57b8ff15e48f5a0af03bf0a99c32e240dbb7ef
Author: Andreas Huber <andih@google.com>
Date: Mon May 4 09:26:42 2009 -0700

Getting rid of old sample code to drive the OMXNode binder interface.

commit 5b046aed0cf524a57ea711bc1e43ea80e57b2cb3
Author: Andreas Huber <andih@google.com>
Date: Fri May 1 16:21:11 2009 -0700

Moved files from the commandline utility into the framework, renamed MP3Decoder to AudioDecoder

commit 7f3fbba21512a078b732cc52c7bd5ba5acb9a317
Author: Andreas Huber <andih@google.com>
Date: Fri May 1 15:56:19 2009 -0700

Fixed buffer ordering and an off-by-1 error in the SampleTable code. Plays all AACs now :)

commit 024d06baab8f2c540dde16f7e7a4b6dd57f638c7
Author: Andreas Huber <andih@google.com>
Date: Fri May 1 11:52:48 2009 -0700

Some AAC content in .3gp or .mp4 files plays correctly now, other does not. Implemented ESFS parser.

commit 1470427866b0d3e0ce6848b4edc01c13a09be289
Author: Andreas Huber <andih@google.com>
Date: Thu Apr 30 15:19:31 2009 -0700

Another checkpoint, amr decoding now functional.

commit e612d044439f56331b6a2bc4a88622e04d4d42e7
Author: Andreas Huber <andih@google.com>
Date: Wed Apr 29 12:11:29 2009 -0700

string wrapper around String8, various fixes, shoutcast now works again.

commit 2ea52dfb1a39bf3a223ffc87855e54919e2daff7
Author: Andreas Huber <andih@google.com>
Date: Wed Apr 29 11:08:18 2009 -0700

Initial check-in of OMXNode binder interface.

commit 7880d2957f74c0d7fba7679431ff5adb3780543b
Author: Andreas Huber <andih@google.com>
Date: Wed Apr 29 10:05:01 2009 -0700

Initial check-in of both libgenesis2 and the genesis2 commandline tool.
ibmedia/Android.mk
ibmedia/IMediaPlayerService.cpp
ibmedia/IOMX.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/StagefrightPlayer.cpp
ibmediaplayerservice/StagefrightPlayer.h
ibstagefright/Android.mk
ibstagefright/AudioPlayer.cpp
ibstagefright/CachingDataSource.cpp
ibstagefright/CameraSource.cpp
ibstagefright/DataSource.cpp
ibstagefright/ESDS.cpp
ibstagefright/FileSource.cpp
ibstagefright/HTTPDataSource.cpp
ibstagefright/HTTPStream.cpp
ibstagefright/MP3Extractor.cpp
ibstagefright/MPEG4Extractor.cpp
ibstagefright/MPEG4Writer.cpp
ibstagefright/MediaBuffer.cpp
ibstagefright/MediaBufferGroup.cpp
ibstagefright/MediaExtractor.cpp
ibstagefright/MediaPlayerImpl.cpp
ibstagefright/MediaSource.cpp
ibstagefright/MetaData.cpp
ibstagefright/MmapSource.cpp
ibstagefright/OMXClient.cpp
ibstagefright/OMXDecoder.cpp
ibstagefright/QComHardwareRenderer.cpp
ibstagefright/SampleTable.cpp
ibstagefright/ShoutcastSource.cpp
ibstagefright/SoftwareRenderer.cpp
ibstagefright/SurfaceRenderer.cpp
ibstagefright/TimeSource.cpp
ibstagefright/TimedEventQueue.cpp
ibstagefright/Utils.cpp
ibstagefright/omx/Android.mk
ibstagefright/omx/OMX.cpp
ibstagefright/omx/OMX.h
ibstagefright/string.cpp
a25f0fcebaa9fcb550ae2ccd5913085ae48b1018 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7067

* changes:
add a ctor to Mutex to specify the type, which can be shared. This is used by sf and af an soon will allow some optimization in the kernel for non shared mutexes
2b50fba2b143c2e0597c941d67bea1b8e80c9caf 14-Jul-2009 Mathias Agopian <mathias@google.com> first attempt to fix the sim
ibmedia/Android.mk
b07c28b90b2d2793be2b8878d813b607f3eebbb7 14-Jul-2009 Mathias Agopian <mathias@google.com> add a ctor to Mutex to specify the type, which can be shared. This is used by sf and af an soon will allow some optimization in the kernel for non shared mutexes
ibmedia/AudioTrack.cpp
bc30e7ed92f34a1e383ecd1316c8fe4019026314 14-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6812

* changes:
Implemented the tracking of the metadata updates.
4829038419910aa6e75ce8992d45a223452d5c67 10-Jul-2009 Nicolas Catania <niko@google.com> Implemented the tracking of the metadata updates.

Switched from Vector to SortedVector. Removed dead sorting code.
Added a type to represent MetadataType.

Minor fixes missed in the previous CL.
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
aa37173500f221298fa618b5ca8b4814aff5ef31 10-Jul-2009 Marco Nelissen <marcone@google.com> Don't pass references to temporary objects, and handle the case where we dont have a Surface.
ibmedia/mediaplayer.cpp
8e1b6cce24574b9ecd5b0300155776bd0b4ef756 09-Jul-2009 Nicolas Catania <niko@google.com> Basic plumbing to retrieve metadata from the native player.

IMediaPlayer.h
Added a getMetadata method that mirrors the on in MediaPlayer.java.

MediaPlayer.java
Added a native method to get the metadata from the native player.
Parse the parcel into a Metadata object.

Metadata.java
Added a stub to parse the Parcel returned by the native player into
a set of metadata.

android_media_MediaPlayer.cpp
JNI call to forward the getMetadata call.

MediaPlayerService.cpp
MediaPlayerService::Client implements the new getMetadata method added in IMediaPlayer.h
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
a920ee99dc97b54b661d1238d8c26ac07c875bed 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6636

* changes:
Implemented the metadata changed notification filters.
699f095c05229c5f3d21c54d55698de4f30eaa35 09-Jul-2009 Eric Laurent <elaurent@google.com> am 5964e737: Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call

Merge commit '5964e73774b381748013b91d04dfb6fc60f533ee'

* commit '5964e73774b381748013b91d04dfb6fc60f533ee':
Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call
a7e0e8b4c429fc68eb1bd5b5a30f5b91352288f9 08-Jul-2009 Nicolas Catania <niko@google.com> Implemented the metadata changed notification filters.

IMediaPlayer:
new setMetadataFilter method so set a filter (2 lists of allowed and blocked metadata type)
serialized in a Parcel.

MediaPlayer.java/android_media_MediaPlayer.cpp/mediaplayer.cpp
new setMetadataFilter that passes the filter down to the MediaPlayerService's binder interface.

MediaPlayerService.cpp
The Client inner class holds the allowed and blocked metadata types.
These are in 2 vectors that get populated in the setMetadataFilter.

A new shourldDropMetadata method returns true if a type of metadata should be dropped according
to the filters.

The notify method in run the metadata update notifications thru the filter and possibly drop them.
ibmedia/IMediaPlayer.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
c38bb0614dc0b5dee682b9a1de47de5ae7d215d8 09-Jul-2009 Eric Laurent <elaurent@google.com> Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call

The cause is very likely that the WaveGenerator *lpWaveGen returned by lpToneGen->mWaveGens.valueFor(lFrequency) just before calling lpWaveGen->getSamples(lpOut, lGenSmp, lWaveCmd) is invalid. The frequency lFrequency is not part of the frequencies in mWaveGens.
This can happen if a different tone is started while the callback function is active: The state is changed to TONE_RESTARTING and the call to prepareWave() at line 1226 will change the tone descriptor pointed to by mpToneDesc as well as the content of mWaveGens. However, mpToneDesc was cached in a local variable lpToneDesc when entering the callback and is not reloaded when exiting prepareWave(). This causes a mismatch between the tone frequencies listed in lpToneDesc and the frequencies present in mWaveGens.
This regression was introduced in change 973 when mpToneDesc was cached in a local variable.
ibmedia/ToneGenerator.cpp
349dba337e07e129f6ba49a132999f0b73fedbe3 07-Jul-2009 Eric Laurent <elaurent@google.com> am 88e209dc: Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice of the ouputSR

Merge commit '88e209dcf8c2ebddda5c272f46d1bd5478bc639c'

* commit '88e209dcf8c2ebddda5c272f46d1bd5478bc639c':
Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice of the ouputSR
573266210fb2b2e7d86fbd46d0dfe16763611d91 07-Jul-2009 Eric Laurent <elaurent@google.com> Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate to twice of the ouputSR

Store sample rate on 32 bits instead of 16 bits in audio_track_cblk_t.
Removed sampleRate() methods from AudioTrack and AudioRecord: replaced by getSampleRate().
AudioTrack::setSampleRate() no returns a status.
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
82827d70378961f30077d3a35a06aab58c368d52 02-Jul-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
24a5bdab1a1fb8516c270927b811763510986c8f 30-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 2d9f3169: Merge change 5595 into donut

Merge commit '2d9f31697fb5ece89c80cc66bdd3bd9caa9df9c3'

* commit '2d9f31697fb5ece89c80cc66bdd3bd9caa9df9c3':
We might try to close the Vorbis file twice under certain
76aa28371e93829927c66f1a48e39e18e01d704d 27-Jun-2009 Dave Sparks <davidsparks@android.com> We might try to close the Vorbis file twice under certain
circumstances. This fix nulls the mFile member so we don't
try to close it twice. Bug 1904783.
ibmediaplayerservice/VorbisPlayer.cpp
e35922dc7121ddbd2ec7923e0756adb92046b8ff 25-Jun-2009 Mathias Agopian <mathias@google.com> merge master in master_gl
1d187f1a86855f5f0694d7ec30efc9833bf7c589 13-May-2009 Nicolas Catania <niko@google.com> Direct api to the native media player.

MediaPlayer.java has 3 new methods:
* newRequest creates a Parcel that can be used to send data to the
native player using invoke.
* invoke issues synchronous calls to the native player using opaque
parcels for the request and reply.

IMediaPlayer.h has 1 new abstract method:
* invoke

The Midi and Vorbis players have a stub for these. So far only PV
makes use of that new feature.

To avoid any copy overhead, the JNI interface uses Parcel as a java
object (no serialization/copy happens at the JNI layer).

The remote interface token is inserted when the Parcel is constructed
in java. That way the parcel is already routable when it reaches
IMediaPlayer.cpp (proxy). No extra copy is needed there.
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/VorbisPlayer.h
3d59a4b99937a7d0dc07eec2574cc8a98cc99fdd 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 1bee98af: Merge change 5100 into donut

Merge commit '1bee98af6532eba3c6cda636eee890530c95a2a7'

* commit '1bee98af6532eba3c6cda636eee890530c95a2a7':
Fill in CDMA gaps and clean up ToneGenerator code
5e0a3043af16bc71a4211ee00dc00724de6623a7 17-Jun-2009 David Krause <david.krause@motorola.com> Fill in CDMA gaps and clean up ToneGenerator code
ibmedia/ToneGenerator.cpp
56f0cc533a38bdb84bc03adcb43515614ab21bae 22-Jun-2009 niko <niko@google.com> Renamed all android.hardware.IMedia* strings to android.media.IMedia*

The android.hardware.ICamera string have not been changed (but is looks
like the camera service and client one should undergo the same procedure)

The implementation of the interface must provide a unique string for
it's interface name. Currently all these strings in the media framework
start with 'android.hardware' when it should really be 'android.media',
the interface token has nothing to do with hardware.
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerClient.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/IMediaRecorder.cpp
db8749bce64510d9ca603e5321be7657d3616deb 16-Jun-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
4710a1f6c9800dae90f9e2702ba2b5b54c095eae 12-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am d670b8c6: Merge change 3981 into donut

Merge commit 'd670b8c61ebd13324ac21bdbc08d8a02fc0a765a'

* commit 'd670b8c61ebd13324ac21bdbc08d8a02fc0a765a':
Removed trailing whitespaces.
660951867e959ebe98612742ef1f72d33ea7e9a3 12-Jun-2009 Nicolas Catania <niko@google.com> Removed trailing whitespaces.
ibmedia/IMediaPlayerService.cpp
ibmedia/mediaplayer.cpp
2a7d5b3c1a3749db7c4ace34bf1253c44967e843 09-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am b2df1699: Merge change 1548 into donut

Merge commit 'b2df1699c996e62baa78877978cd2c5607ea4194'

* commit 'b2df1699c996e62baa78877978cd2c5607ea4194':
NJ-1409: (frameworks/base) Support new audio encoding types(AMR and AAC).
9747c5a1f5e51fab72169767972bf55f73711000 08-Jun-2009 Jianhong Jiang <jianhong@google.com> NJ-1409: (frameworks/base) Support new audio encoding types(AMR and AAC).
ibmedia/mediarecorder.cpp
6f74b0cc490a3b8523252ded00f7ca55160effd1 04-Jun-2009 Mathias Agopian <mathias@google.com> fix build
ibmediaplayerservice/MediaPlayerService.cpp
273d098cc72a88c797d01c7dff0c1350f315f05f 01-Jun-2009 Mathias Agopian <mathias@google.com> get rid of utils.h
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MetadataRetrieverClient.h
489d60ec36c3927c9ee0bc14a44c1c77b74c09f6 27-May-2009 Android (Google) Code Review <android-gerrit@google.com> am f3288f17: Merge change 2468 into donut

Merge commit 'f3288f178ae2b2c7910b234f54f43475a83eb860'

* commit 'f3288f178ae2b2c7910b234f54f43475a83eb860':
setVolume did not check interface descriptor
b7056fc8525e0515c6f46676e3307088f8b64cdc 23-May-2009 Mathias Agopian <mathias@google.com> some work to try to reduce the code size of some native libraries

- make sure that all binder Bn classes define a ctor and dtor in their respective library.
This avoids duplication of the ctor/dtor in libraries where these objects are instantiated.
This is also cleaner, should we want these ctor/dtor to do something one day.

- same change as above for some Bp classes and various other non-binder classes

- moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere.

- improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere

- IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16

- implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called.
The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerClient.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/IMediaRecorder.cpp
172fb9ab347e146642234f0bd6f223d351e9fd0b 26-May-2009 Dave Sparks <davidsparks@android.com> setVolume did not check interface descriptor
DO NOT MERGE
ibmedia/IMediaPlayer.cpp
95634c8b6ad5419e310a5196bcc37f5988ed82da 26-May-2009 Android (Google) Code Review <android-gerrit@google.com> am de8268d6: Merge change 2331 into donut

Merge commit 'de8268d6d1cd168510c490b17e93154d2eab767c'

* commit 'de8268d6d1cd168510c490b17e93154d2eab767c':
Fix issue 1846343 - part 1
f5879c1448cc6aebc51b26d3ec2399d66144f8f4 22-May-2009 Eric Laurent <elaurent@google.com> Fix issue 1846343 - part 1

This change is the first part of a fix for issue 1846343, :
- Added new enum values for input sources in AudioRecord and MediaRecorder for voice uplink, downlink and uplink+downlink sources.
- renamed streamType to inputSource in all native functions handling audio record.

A second change is required in opencore author driver and android audio input to completely fix the issue.
ibmedia/AudioRecord.cpp
ibmedia/IAudioFlinger.cpp
41d23d53e34eaa3c4928ec4a1c7d4a968c3c596e 21-May-2009 Android (Google) Code Review <android-gerrit@google.com> am c1c82509: Merge change 2163 into donut

Merge commit 'c1c82509fb78403a969040cf057a66cbe3bfa538'

* commit 'c1c82509fb78403a969040cf057a66cbe3bfa538':
Fix permission hole for RECORD_AUDIO created when we moved the MediaRecorder
510d6566bd2494991fac07aee46fcb2ddac99c13 21-May-2009 Dave Sparks <davidsparks@android.com> Fix permission hole for RECORD_AUDIO created when we moved the MediaRecorder
implementation to the mediaserver process. The permission check was previously
enforced only at the AudioRecord binder interface for clients not in the same
process. This change adds an additional check when the client tries to set
the audio source.
Bug 1868334
ibmediaplayerservice/MediaRecorderClient.cpp
7562408b2261d38415453378b6188f74fda99d88 20-May-2009 Mathias Agopian <mathias@google.com> move libbinder's header files under includes/binder
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerClient.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ediaserver/main_mediaserver.cpp
615a9bfbd98b90e09d868c128db84836feb658e4 19-May-2009 Mathias Agopian <mathias@google.com> checkpoint: split libutils into libutils + libbinder
ibmedia/Android.mk
ibmediaplayerservice/Android.mk
ediaserver/Android.mk
94787a73363a3fea461443389a6cbb05858923e0 07-May-2009 Android (Google) Code Review <android-gerrit@google.com> am b85c374: Merge change 1155 into donut

Merge commit 'b85c37432b3836fd30c81191425d7e00dcf2082c'

* commit 'b85c37432b3836fd30c81191425d7e00dcf2082c':
Don't allow negative numbers in ToneGenerator toneType parameter
4afdfa7fd7e9fe59fb298ef2ac252686e68bc73a 07-May-2009 Dave Sparks <davidsparks@android.com> Don't allow negative numbers in ToneGenerator toneType parameter
Bug 1836596
ibmedia/ToneGenerator.cpp
d92b6abe662857ac729a9e31576c8fd17e4d725a 07-May-2009 The Android Open Source Project <initial-contribution@android.com> manual merge f3af740bdfc261b1cb25c0799af780d3753d4518

Merge commit 'f3af740bdfc261b1cb25c0799af780d3753d4518'
0b62e242d112d46e9357242b0a4e11c720c98ca0 05-May-2009 Eric Laurent <elaurent@google.com> Fixed issue 1709450: Requirements for CDMA Tone Generator

Added new tone types for CDMA IS-95 specific tones.
Automatic selection between IS-95, CEPT and JAPAN version base on operator
country code for call supervisory tones.
Also improved tone generator capabilities:
- Each tone segment can now generate its own set of frequencies
- A tone does not have to be a succession of alternating ON/OFF segments
- The sequence repetition does not have to start from first segment
ibmedia/ToneGenerator.cpp
65e5f79102e39cb2e9ab71ced0b62347bf1512a5 01-May-2009 James Dong <jdong@google.com> Change 79 in git master branch
ibmediaplayerservice/Android.mk
eac4d8216b8e26ca18b4c56f105f68595e5c410f 30-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 7fe3b06: Merge change 740 into donut

Merge commit '7fe3b064d3645fcebd09b162c5989e0d702112e2'

* commit '7fe3b064d3645fcebd09b162c5989e0d702112e2':
MIDI render thread was nice 0, should be nice -16.
124b5234a5110fb14d2114062c04d598cca76dd4 30-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 740 into donut

* changes:
MIDI render thread was nice 0, should be nice -16. Seems like a recent change sets the thread priority to 0. Previously it inherited priority from the parent thread. This change sets the MIDI render thread priority to the default for audio threads. Reference bug 1800905
8a6234e743862d5f9570c518b967892899799146 29-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> am 9f98f79: Merge change 739 into donut

Merge commit '9f98f79f8eb41889dec36e0a76aaf0414b39bb3a'

* commit '9f98f79f8eb41889dec36e0a76aaf0414b39bb3a':
Vorbis render thread was nice 0, should be nice -16.
577ba8a1ae29cd2ca3b6103ae51530111d3e9b22 29-Apr-2009 Dave Sparks <davidsparks@android.com> MIDI render thread was nice 0, should be nice -16.
Seems like a recent change sets the thread priority to 0. Previously it
inherited priority from the parent thread. This change sets the MIDI
render thread priority to the default for audio threads.
Reference bug 1800905
ibmediaplayerservice/MidiFile.cpp
08d949a37fc1d0a7b501a85d4d442975325de093 29-Apr-2009 Dave Sparks <davidsparks@android.com> Vorbis render thread was nice 0, should be nice -16.
Seems like a recent change sets the thread priority to 0. Previously it
inherited priority from the parent thread. This change sets the Vorbis
render thread priority to the default for audio threads.
Reference bug 1800905
ibmediaplayerservice/VorbisPlayer.cpp
45bce6ef3972adf17ad7e2e41f7ceb2b6889cf85 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
1dd70b9f04961a06fcb73a97fca10a53b3245d3c 21-Apr-2009 Eric Laurent <elaurent@google.com> Fix issue 1745312: Various cleanups in media framework

AudioTrack, AudioRecord:
- remove useless mAudioFlinger member of AudioTrack and AudioRecord.
- signal cblk.cv condition in stop() method to speed up stop completion.
- extend wait condition timeout in obtainBuffer() when waitCount is -1 to avoid waking up callback thread unnecessarily

AudioFlinger:
- remove some warnings in AudioFlinger.cpp.
- remove function AudioFlinger::MixerThread::removetrack_l() as its content is never executed.
- remove useless call to setMasterVolume in AudioFlinger::handleForcedSpeakerRoute().
- Offset VOICE_CALL stream volume to reflect actual volume that is never 0 in hardware (this fix has been made in the open source): 0.01 + v * 0.99.

AudioSystem.java:
- correct typo in comment

IAudioflinger, IAudioFlingerClient:
- make AudioFlinger binder interfaces used for callbacks ONEWAY.

AudioHardwareInterface:
- correct routeStrings[] table in AudioHardwareInteface.cpp
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
84c18d6459635099d52b63009ef5a007891c4fb6 14-Apr-2009 Jianhong Jiang <jianhong@google.com> Squashed commit of the following:

commit b6cf47306b642f7cf7e1b55cce448e0deff38f36
Author: Jianhong Jiang <jianhong@google.com>
Date: Mon Apr 13 11:07:01 2009 -0700

Change tabs into 4 spaces.

commit 93c5890dbcc68e37aa0ef039b4a203acddca8968
Author: Jianhong Jiang <jianhong@google.com>
Date: Fri Apr 10 14:15:23 2009 -0700

OpenCore 2.02 related changes.
ibmediaplayerservice/Android.mk
0adb1685383aef4b2c9158544a22ae40fcc79ffa 08-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Revert "Changes required to accommodate OpenCORE 2.0"

This reverts commit ea780b689f8ee3dff355deab2434bbd4ae04d208.

Conflicts:

media/libmediaplayerservice/Android.mk
ibmediaplayerservice/Android.mk
0df2c0386c09da9e8465afe31e4721654bb840a1 02-Apr-2009 Eric Laurent <> Merge branch 'readonly-p4-master'
48f7f5e8359909ddfc6492a79a8b9c44759ca6c3 02-Apr-2009 Eric Laurent <> AI 144097: am: CL 144054 am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid buffer size: minFrameCount 10240, frameCount 4800
The problem comes from the fact that AudioSystem::getOutputFrameCount() calls getOutput() to retrieve the active output (A2DP or Hardware) before calling get_audio_flinger(). If it is the first time AudioSystem::getOutputFrameCount() is called in a given process, getOutput() will return a wrong value because gA2dpEnabled has not yet been updated by get_audio_flinger().
The fix consists in calling get_audio_flinger() in getOutput() to be sure that gA2dpEnabled is valid when getOutput() reads it.
Original author: elaurent
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 144097
ibmedia/AudioSystem.cpp
ce80c82f58378da72d8a36f520c781cc5cac18a1 01-Apr-2009 Eric Laurent <> AI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid buffer size: minFrameCount 10240, frameCount 4800
The problem comes from the fact that AudioSystem::getOutputFrameCount() calls getOutput() to retrieve the active output (A2DP or Hardware) before calling get_audio_flinger(). If it is the first time AudioSystem::getOutputFrameCount() is called in a given process, getOutput() will return a wrong value because gA2dpEnabled has not yet been updated by get_audio_flinger().
The fix consists in calling get_audio_flinger() in getOutput() to be sure that gA2dpEnabled is valid when getOutput() reads it.
Original author: elaurent
Merged from: //branches/cupcake/...

Automated import of CL 144054
ibmedia/AudioSystem.cpp
8f7f2dcd8b975657e3c33befdaed48fc2966ce34 28-Mar-2009 Dave Sparks <> AI 143267: am: CL 143127 Media recorder service requires android.permission.CAMERA to record video
Original author: davidsparks
Merged from: //branches/cupcake/...

Automated import of CL 143267
ibmediaplayerservice/MediaRecorderClient.cpp
d1d35e0359cc411b04615813ba4ebefbb33d1933 28-Mar-2009 Dave Sparks <> AI 143396: am: CL 143267 am: CL 143127 Media recorder service requires android.permission.CAMERA to record video
Original author: davidsparks
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143396
ibmediaplayerservice/MediaRecorderClient.cpp
5580d1f0e9eb01fbfb81f2270f2caaa5ae3b47ed 28-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'goog/cupcake'
c918d4ae9d45f3d7d0150e35eae8cd97ec474118 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'

Conflicts:
core/java/android/webkit/WebView.java
core/java/android/widget/TwoLineListItem.java
preloaded-classes
3f6fc880d92081fdec1351d219093dc0f7bbfcdd 27-Mar-2009 Dave Sparks <> AI 143127: Media recorder service requires android.permission.CAMERA to record video
BUG=1742392

Automated import of CL 143127
ibmediaplayerservice/MediaRecorderClient.cpp
5b27b6f5b8073ad4363c89485f64b0ab3027b222 25-Mar-2009 Eric Laurent <> Automated import from //branches/master/...@142066,142066
ibmedia/AudioRecord.cpp
cd6725a333395ffeac3215ea4bf834a95aaa8def 25-Mar-2009 Eric Laurent <> Automated import from //branches/donutburger/...@142065,142065
ibmedia/AudioRecord.cpp
5cb07aa071b43a214e4c880b3b7852714e06451b 25-Mar-2009 Andreas Huber <> Automated import from //branches/master/...@141712,141712
ibmedia/mediaplayer.cpp
4003bf5e4cd948fe7732c16b2a683acdbfa8c44d 25-Mar-2009 Andreas Huber <> Automated import from //branches/donutburger/...@141711,141711
ibmedia/mediaplayer.cpp
7f46607934437779720f1099e6b17f4db8c60ba1 25-Mar-2009 Dave Sparks <> Automated import from //branches/master/...@141595,141595
ibmediaplayerservice/MediaPlayerService.cpp
3c4b3e3f8927dd149df87bb98646497c7043d0ae 25-Mar-2009 Dave Sparks <> Automated import from //branches/donutburger/...@141593,141593
ibmediaplayerservice/MediaPlayerService.cpp
7d563247cdac0509009d579bbf849157d47c38a9 25-Mar-2009 Jean-Michel Trivi <> Automated import from //branches/donutburger/...@141200,141200
ibmedia/AudioRecord.cpp
90ca92cc07596900932aba0dad07457e619ae3da 25-Mar-2009 Jean-Michel Trivi <> Automated import from //branches/master/...@141201,141201
ibmedia/AudioRecord.cpp
7c8cfad419b7a6c38435e213ce54e180e296322e 25-Mar-2009 Eric Laurent <> Automated import from //branches/cupcake/...@142064,142064
ibmedia/AudioRecord.cpp
06aff807c612d1f3b38168d3abcc67bb19ec8d3d 25-Mar-2009 Jean-Michel Trivi <> Automated import from //branches/master/...@140869,140869
ibmedia/JetPlayer.cpp
158857d5a6bb93aa6a135a338f9b6389e0f2b3a5 25-Mar-2009 Jean-Michel Trivi <> Automated import from //branches/donutburger/...@140867,140867
ibmedia/JetPlayer.cpp
1af452f333664e8b0a61d96a9b3bb682d8b9a00f 25-Mar-2009 Jason Sams <> Automated import from //branches/master/...@140868,140868
ibmedia/mediaplayer.cpp
7dc112527d77b675d5c0451502b33fe2c552a79e 25-Mar-2009 Jason Sams <> Automated import from //branches/donutburger/...@140866,140866
ibmedia/mediaplayer.cpp
8769ce31b4aa1c8342925e514314435c217b0d46 25-Mar-2009 Andreas Huber <> Automated import from //branches/cupcake/...@141708,141708
ibmedia/mediaplayer.cpp
859d22fb31792fd9c2c77fba9be3378774b2cfe9 25-Mar-2009 Jean-Michel Trivi <> Automated import from //branches/master/...@140665,140665
ibmedia/AudioTrack.cpp
2c22aeb65e801f663a754d043062f85e49f77739 25-Mar-2009 Jean-Michel Trivi <> Automated import from //branches/donutburger/...@140663,140663
ibmedia/AudioTrack.cpp
795fa5848276bab87445fa64fd0941c13ef62398 25-Mar-2009 Dave Sparks <> Automated import from //branches/cupcake/...@141591,141591
ibmediaplayerservice/MediaPlayerService.cpp
6c5b21025f746fcb838499ae01b4d384ab1d2f66 21-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Deal better with situations where OpenCORE is disabled.
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MetadataRetrieverClient.cpp
87e445b4bed2931b9033aff68878cd4b392e1fab 20-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@141571
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/JetPlayer.cpp
ibmedia/mediaplayer.cpp
1179bc9b0e3d17c984e8f4ad38561c049dd102fa 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
ibmedia/AudioTrack.cpp
ibmedia/JetPlayer.cpp
ibmedia/mediarecorder.cpp
8374f8fce997c0e1df39f0b515ca494b0a15dbdc 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
core/java/android/view/animation/TranslateAnimation.java
core/jni/Android.mk
core/res/res/values-en-rGB/strings.xml
libs/audioflinger/AudioFlinger.cpp
libs/surfaceflinger/LayerScreenshot.cpp
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
c048cae0367db6fbb4fe1127be5011910713d4ad 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
65e731f393f704eedab6fbe0af7f8a580c8d4617 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
8365529381f6284f2d59dcc38e26f73adeec9c67 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
ibmedia/ToneGenerator.cpp
8555d0867c3e8fe6cc5c7ad40af557fe6b92fa72 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
ibmedia/AudioTrack.cpp
ibmedia/mediarecorder.cpp
89fa4ad53f2f4d57adbc97ae1149fc00c9b6f3c5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ibmedia/Android.mk
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerClient.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/JetPlayer.cpp
ibmedia/MODULE_LICENSE_APACHE2
ibmedia/NOTICE
ibmedia/ToneGenerator.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/VorbisPlayer.cpp
ibmediaplayerservice/VorbisPlayer.h
ediaserver/Android.mk
ediaserver/main_mediaserver.cpp
15f767b960b38059a74a42a33e16d8df2aec8bc1 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ibmedia/Android.mk
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerClient.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/JetPlayer.cpp
ibmedia/MODULE_LICENSE_APACHE2
ibmedia/NOTICE
ibmedia/ToneGenerator.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/VorbisPlayer.cpp
ibmediaplayerservice/VorbisPlayer.h
ediaserver/Android.mk
ediaserver/main_mediaserver.cpp
ad04d9201452001dbaac4349f084cc9316190b89 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
99ffda877980468a9ae31e013cd10fb3645df1b0 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
eb7dc8939c06a1755d7c82baf0d0d008aa4d5fcb 02-Mar-2009 root <pmerle@kph.uni-mainz.de> Fixed typing mistake causing process crashes.
ibmedia/AudioRecord.cpp
925a349b45d1d16eaaca6a1f4827191831271ca0 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
ibmedia/AudioRecord.cpp
ibmedia/ToneGenerator.cpp
25658fd43d150a45fb37734a9f9f27f48bb5c133 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
ibmedia/AudioTrack.cpp
ibmedia/JetPlayer.cpp
7a2146d5807030b2629f347736be5301b61e8811 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/JetPlayer.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/VorbisPlayer.cpp
5e07b5774c8b376776caa4f5b0a193767697e97e 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
ibmedia/Android.mk
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioFlingerClient.cpp
ibmedia/JetPlayer.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/VorbisPlayer.cpp
74b79edce2638fe87fb4ec8f7702fcd70b72207d 22-Jan-2009 Brock Atchison <batchison@pv.com> Changes required to accommodate OpenCORE 2.0
ibmediaplayerservice/Android.mk
e5198b620a9a208ec59ea8457282404725f8ff6e 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
ibmedia/AudioRecord.cpp
ibmedia/AudioTrack.cpp
cce8bd12da6d8419a8770e4552a51ec297c250c2 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
ibmedia/Android.mk
ibmedia/AudioTrack.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/JetPlayer.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediarecorder.cpp
7b5eb023f8d87cca6d830ae6c11c6aadbe02aca8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ibmedia/Android.mk
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IMediaMetadataRetriever.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/IMediaRecorder.cpp
ibmedia/ToneGenerator.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmedia/mediarecorder.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MediaRecorderClient.cpp
ibmediaplayerservice/MediaRecorderClient.h
ibmediaplayerservice/MetadataRetrieverClient.cpp
ibmediaplayerservice/MetadataRetrieverClient.h
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/VorbisPlayer.cpp
2729ea9262ca60d93047e984739887cfc89e82eb 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ibmedia/Android.mk
ibmedia/AudioRecord.cpp
ibmedia/AudioSystem.cpp
ibmedia/AudioTrack.cpp
ibmedia/IAudioFlinger.cpp
ibmedia/IAudioRecord.cpp
ibmedia/IAudioTrack.cpp
ibmedia/IMediaPlayer.cpp
ibmedia/IMediaPlayerClient.cpp
ibmedia/IMediaPlayerService.cpp
ibmedia/MODULE_LICENSE_APACHE2
ibmedia/NOTICE
ibmedia/ToneGenerator.cpp
ibmedia/mediametadataretriever.cpp
ibmedia/mediaplayer.cpp
ibmediaplayerservice/Android.mk
ibmediaplayerservice/MediaPlayerService.cpp
ibmediaplayerservice/MediaPlayerService.h
ibmediaplayerservice/MidiFile.cpp
ibmediaplayerservice/MidiFile.h
ibmediaplayerservice/VorbisPlayer.cpp
ibmediaplayerservice/VorbisPlayer.h
ediaserver/Android.mk
ediaserver/main_mediaserver.cpp