summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am 911d5f93: am 0224bf17: Various improvements of wifi display codeAndreas Huber2012-11-1416-302/+633
|\ | | | | | | | | * commit '911d5f937adbd177c69bd6959603b8a3b776097e': Various improvements of wifi display code
| * am 0224bf17: Various improvements of wifi display codeAndreas Huber2012-11-1416-302/+633
| |\ | | | | | | | | | | | | * commit '0224bf170a3904576bba81593eaab113c5d3a4e7': Various improvements of wifi display code
| | * Various improvements of wifi display codeAndreas Huber2012-11-1316-302/+633
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - manually prepend SPS/PPS if encoder doesn't support it - latency improvements - support for "our" method of optional RTP retransmission - improvements to the wfd commandline tool for testing - make it easier to turn on/off suspension of the video pipeline on idle - fixes an issue where an error during encryption would cause a SEGV - add HDCP descriptor if necessary Squashed commit of the following: commit 1115be0ebb3b885b4f1b7dba56761ca013d0ec4a Author: Andreas Huber <andih@google.com> Date: Fri Nov 9 11:32:23 2012 -0800 Better shutdown of wfd -l sessions. Change-Id: Id898a14ae21efd3b065b00a729830063d39195a7 commit 0e7d106dfe4eb6e2640b0b66c65deaba265f7ff0 Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 16:38:55 2012 -0800 No more sending delay, create rtp packets upfront. Change-Id: I809a225f664fdb485c7d9a49a27886601a6a26b2 commit d399e8571b77353d59afb57508dfd2a82c1ef93a Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 14:19:43 2012 -0800 Restore AudioSource buffer size, factor out TimeSeries, make suspending video optional. Change-Id: Ifdfe4d447b901e714abf52856b4641d1d55a5d41 commit f8b649f0b8f917d59f4b8a2e8e6d7db61a684a78 Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 09:34:06 2012 -0800 Pull 480 frames at a time from AudioSource/AudioRecord Change-Id: I1e215abd329faec3da026631122c0f4c800c0ac4 commit 1bc13452eb35eebbba00f5da93fa86535be5db59 Author: Andreas Huber <andih@google.com> Date: Thu Nov 8 08:50:30 2012 -0800 fixed bitrate traffic simulation Change-Id: Ic5efb7cbb0b5d3b4917bc77b8ba73d447249e695 commit 016cdff18e74bdc631a5679e97192645ed095aa2 Author: Andreas Huber <andih@google.com> Date: Wed Nov 7 14:00:03 2012 -0800 resurrected "our" style of retransmission. Change-Id: I34d757aba67428437cb39b8293a9651750ad20d9 commit 384cf1a3c8fb4ec410bdf8fa5722c298e6028f3e Author: Andreas Huber <andih@google.com> Date: Tue Nov 6 09:38:55 2012 -0800 Changes to make wfd work on manta. Change-Id: I7a4e00cf16581fe2146edd1b359af195774090e4 commit 9628f24b22b35f28630d99dda3614babf51bc07e Author: Andreas Huber <andih@google.com> Date: Wed Nov 7 09:15:44 2012 -0800 Patch up rtp timestamps to more accurately measure network jitter. Change-Id: I9502a4615575f97f98a215a13131a89a6ae93c6d commit 7c891a1a24f08bbd50f55be13f7d05f43e807eb8 Author: Andreas Huber <andih@google.com> Date: Tue Nov 6 09:37:24 2012 -0800 Additions to the "wfd" tool to create a local wfd source. Change-Id: I99558653a70fdc703f9d13990b3ce1c4d3ae227a Change-Id: Ia94c63fc390f597014531073485f0cfc53b3418a
* | | Merge "Rename TrackBase::mFrameCount to mStepCount"Glenn Kasten2012-11-132-9/+10
|\ \ \
| * | | Rename TrackBase::mFrameCount to mStepCountGlenn Kasten2012-11-132-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This prepares for adding a new field TrackBase::mFrameCount with a different meaning. Change-Id: I6bbe2c59f2a882be57caeec2e2e06f439a0e9e83
* | | | Simplify AudioRecord::restoreTrack_l()Glenn Kasten2012-11-132-54/+44
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finish removing CBLK_RESTORING and CBLK_RESTORED from control block flags, and remove constant RESTORE_TIMEOUT_MS. Also minor cleanup: - Cache mCblk in local variable cblk and make cblk allocatable in a register. - Use "iMem" for sp<IMemory>. - Add missing error log to AudioRecord; it was already in AudioTrack. This is part of a series to clean up the control block. Change-Id: Ia5f5ab4763c392bc06a45851b167ddaee29e3455
* | | Merge "Move frame size out of the control block"Glenn Kasten2012-11-137-57/+63
|\ \ \
| * | | Move frame size out of the control blockGlenn Kasten2012-11-127-57/+63
| | | | | | | | | | | | | | | | | | | | | | | | This is part of a series to clean up the control block. Change-Id: Ifab1c42ac0f8be704e571b292713cd2250d12a3f
* | | | Scan .awb files tooMarco Nelissen2012-11-121-1/+1
|/ / / | | | | | | | | | | | | | | | b/6122599 Change-Id: Ied3e0392939231447f1fc5685ca1fade1e55ce08
* | | Fix regression for AudioTrack::write() 8-bit PCMGlenn Kasten2012-11-121-1/+1
| | | | | | | | | | | | | | | Bug: 7526532 Change-Id: I8ddd1f0e9d035b54401788dcc422591281dcd97a
* | | Merge "Move buffers pointer out of the control block"Glenn Kasten2012-11-087-15/+19
|\ \ \
| * | | Move buffers pointer out of the control blockGlenn Kasten2012-11-087-15/+19
| | | | | | | | | | | | | | | | | | | | | | | | This is part of a series to clean up the control block. Change-Id: Ie474557db7cb360f2d9a0f11600a68f5a3d46f07
* | | | NEON optimized SINC resamplerMathias Agopian2012-11-082-11/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this currently gives us a 60% to 80% boost depending on the quality level selected. Change-Id: I7db385007e811ed7bffe5fd3403b44e300894f5b
* | | | minor cleanupsMathias Agopian2012-11-081-41/+39
|/ / / | | | | | | | | | Change-Id: Ia12ee4fb59e90221761bec85e6450db29197591f
* | | Simplify AudioTrack::restoreTrack_l()Glenn Kasten2012-11-083-93/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove CBLK_RESTORING and CBLK_RESTORED from control block flags, for AudioTrack only. They are still used by AudioRecord. This is part of a series to clean up the control block. Change-Id: Iae4798f5b527c492bdaf789987ff3a1dadd0cb37
* | | Merge "Add all-channel AudioTrack::setVolume() API"Glenn Kasten2012-11-083-9/+9
|\ \ \
| * | | Add all-channel AudioTrack::setVolume() APIGlenn Kasten2012-11-053-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add combined channel APIs setVolume to AudioTrack, and remove obsolete getVolume. Change-Id: I0c87bfdbff4f4292259fa33e65f67badbafd270b
* | | | Merge "Fix call to restoreTrack_l() without lock held"Glenn Kasten2012-11-082-0/+13
|\ \ \ \
| * | | | Fix call to restoreTrack_l() without lock heldGlenn Kasten2012-11-072-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also document lock order Change-Id: I2c1f273a0a51fa79ee3dd766de8d23083e270051
* | | | | Remove CBLK_DIRECTION from control block flagsGlenn Kasten2012-11-075-44/+71
|/ / / / | | | | | | | | | | | | | | | | | | | | This is part of a series to clean up the control block. Change-Id: I0265fece3247356b585d4d48fbda6f37aea8a851
* | | | Merge "Remove CBLK_FAST from control block flags"Glenn Kasten2012-11-076-19/+22
|\ \ \ \
| * | | | Remove CBLK_FAST from control block flagsGlenn Kasten2012-11-066-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of a series to clean up the control block. Change-Id: Ic881a3560d9547cb63fcc0cefec87aa3da480e0d
* | | | | Merge "Remove unused fields in AudioTrack::Buffer"Glenn Kasten2012-11-072-15/+11
|\ \ \ \ \
| * | | | | Remove unused fields in AudioTrack::BufferGlenn Kasten2012-11-062-15/+11
| |/ / / / | | | | | | | | | | | | | | | Change-Id: Iab75f6e2348d8b6d1f3cec95aeb3fcd5135dfb50
* | | | | Merge "Removed unused fields in AudioRecord::Buffer"Glenn Kasten2012-11-072-10/+0
|\ \ \ \ \
| * | | | | Removed unused fields in AudioRecord::BufferGlenn Kasten2012-11-062-10/+0
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I89fc6d8f695b48516d956b0a9a4a43d408f369f9
* | | | | Merge changes I5d62a6c2,Iebf76958,I8068f0f7Mathias Agopian2012-11-065-191/+693
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | * changes: improve resample test change how we store the FIR coefficients improve SINC resampler performance
| * | | | improve resample testMathias Agopian2012-11-051-61/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - handle stereo input - input file can now be ommited, in this case a linear chirp will be used automatically - better usage information Change-Id: I5d62a6c26a9054a1c1a517a065b4df5a2cdcda22
| * | | | change how we store the FIR coefficientsMathias Agopian2012-11-054-95/+570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The coefficient table is now transposed and shows much better its polyphase nature: we now have a FIR per line, each line corresponding to a phase. This doesn't change at all the results produced by the filter, but allows us to make slightly better use of the data cache and improves performance a bit (although not as much as I thought it would). The main benefit is that it is the first step before we can make much larger optimizations (like using NEON). Change-Id: Iebf7695825dcbd41f25861efcaefbaa3365ecb43
| * | | | improve SINC resampler performanceMathias Agopian2012-11-052-40/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The improvement is about 60% by just tweaking a few things to help the compiler generate better code. It turns out that inlining too much stuff manually was hurting us. Change-Id: I8068f0f75051f95ac600e50ce552572dd1e8c304
* | | | | am 33cf49b1: (-s ours) am 78b012f5: Reconcile with jb-mr1-factory-release ↵The Android Open Source Project2012-11-060-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | jb-mr1-release - do not merge * commit '33cf49b168a88a88167c46b01787a57b49cd875f':
| * | | | am 78b012f5: Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project2012-11-060-0/+0
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | * commit '78b012f5bc05706d1ce412811ccfaa9385dae0ab':
| | | | |
| | | \ \
| | *-. \ \ Reconcile with jb-mr1-factory-release jb-mr1-release - do not mergeThe Android Open Source Project2012-11-060-0/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Change-Id: Idf4c25115d89397ba668fc290344b2e7c1ea1993
* | | \ \ \ \ Merge "Cache mCblk in local variable cblk"Glenn Kasten2012-11-061-62/+79
|\ \ \ \ \ \ \
| * | | | | | | Cache mCblk in local variable cblkGlenn Kasten2012-11-061-62/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "iMem" for sp<IMemory> Change-Id: I2f1fbbc517fbd77cfc92f6c3b1f253c26bae93b0
* | | | | | | | am 3b31d805: am 1c6833af: Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-11-060-0/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| / / / / / / | |/ / / / / / | | | | | | | * commit '3b31d805517c0bde8a0ebed219cbd4b8409c71c2': Ignore SIGPIPE during write() to broken pipe
| * | | | | | am 1c6833af: Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-11-061-0/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '1c6833afd6cfdbc6c696ed0719ceedc37ec0b534': Ignore SIGPIPE during write() to broken pipe
| | * | | | | Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-11-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happens occasionally when taking a bugreport. Bug: 6447319 Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a
* | | | | | | Merge "AudioRecord comments"Glenn Kasten2012-11-061-30/+45
|\ \ \ \ \ \ \
| * | | | | | | AudioRecord commentsGlenn Kasten2012-11-021-30/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibec910608948d778dc655d900255a80384e9b06f
* | | | | | | | Merge duplicate code in TrackBase::TrackBase()Glenn Kasten2012-11-051-34/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id8a7db4d94888796a9dcbed4cac99941705cd174
* | | | | | | | Merge "Simplify control block flag names"Glenn Kasten2012-11-054-77/+64
|\ \ \ \ \ \ \ \
| * | | | | | | | Simplify control block flag namesGlenn Kasten2012-11-054-77/+64
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use only one symbol per flag Change-Id: Ia3582e2134abd60c896d11337face65383e79c7c
* | | | | | | | Merge "Remove deprecated AudioTrack APIs"Glenn Kasten2012-11-052-34/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Remove deprecated AudioTrack APIsGlenn Kasten2012-11-052-34/+0
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Change-Id: I88be6525f3e33df529c0c3cb701d12a484809477
* | | | | | | Turn off executable bit on ordinary filesGlenn Kasten2012-11-027-0/+0
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: I0abea25b58fb1d03975bed9cca40f826fcd4c5e4
* | | | | | Merge "new coefficients for the vhq resampler"Mathias Agopian2012-11-025-4680/+84
|\ \ \ \ \ \
| * | | | | | new coefficients for the vhq resamplerMathias Agopian2012-11-015-4680/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previous coefficients were provided by a 3rd party and didn't have a way to re-generate them. we're now using the 'fir' utility. the performance of the filter is virtually identical, except for the down-sampling case which seems slightly better now: It looks like both the previous and new coefficients are generating some sort of clipping for full-scale signals in the down-sampling case (although the new ones seem better), the reason for that is unknown (see bug: 7453062) Also updated the HQ coefficients for the down-samplers, previous ones were a little bit too conservative -- the new ones push the cut-off frequency up by about 1 KHz. Change-Id: I54a827b5c707c7cc41268ed01283758dce1d7647
* | | | | | | Fix spurious wakeup waiting for new IAudioTrackGlenn Kasten2012-11-021-9/+17
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there was a spurious wakeup while waiting for another thread to create a new IAudioTrack, we assumed that the track has been created when it might not have been. Change-Id: I5f3999b4f7a06a00aabd65a746cc7222fff396ab
* | | | | | Merge "Add NBAIO support for more sample rates"Glenn Kasten2012-11-022-47/+91
|\ \ \ \ \ \