summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge "Revive the code to support TCP interleaved transport"Andreas Huber2013-02-056-29/+88
| |\
| | * Revive the code to support TCP interleaved transportAndreas Huber2013-02-016-29/+88
| | | | | | | | | | | | | | | | | | | | | Also support non-interleaved transport now, but the sink gets to decide what mode it wants to run in, _not_ the source. Change-Id: I3b6057f86871084e4decf930bb4a7a2d7517b0f2
| * | Merge "Remove a few unused header includes from PlaybackSession.cpp"James Dong2013-02-041-4/+0
| |\ \ | | |/ | |/|
| | * Remove a few unused header includes from PlaybackSession.cppJames Dong2013-02-011-4/+0
| | | | | | | | | | | | Change-Id: Id3147e2f2d5d75ccc172e67802639cd43ed68870
| * | Fix typo and reduce allocation overhead of RTP retransmission requests.Andreas Huber2013-01-311-2/+2
| |/ | | | | | | Change-Id: I402a195da5dfeceadb4d073888ee7702c5532dc8
| * Merge "Actually display something on screen when instantiating a wfd sink via"Andreas Huber2013-01-301-1/+37
| |\
| | * Actually display something on screen when instantiating a wfd sink viaAndreas Huber2013-01-301-1/+37
| | | | | | | | | | | | | | | | | | the wfd commandline tool. Change-Id: I26466efb95a5837a14d77d6581e0777038d31d95
| * | Plumbing to reflect minor changes in the HDCP module API that allow forAndreas Huber2013-01-301-1/+1
| |/ | | | | | | | | | | support of _decryption_ modules in addition to what we already supported. Change-Id: Ic37b87dc170ba8def3817991d25df798f21e950b
| * Squashed commit of the following:Andreas Huber2013-01-2912-120/+715
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f2c38e5cf8cee3b597c744c9d6a9c0969ac8599a Author: Andreas Huber <andih@google.com> Date: Mon Jan 28 16:33:07 2013 -0800 Proper support for video format selection/negotiation. Change-Id: I7db86cef939d63b8064be1c74de9ad78e85d45d9 commit 488023b7bad086692ffe942114fa3cc0e59a16c0 Author: Andreas Huber <andih@google.com> Date: Mon Jan 28 11:21:23 2013 -0800 Sink now notifies clients once it is disconnected. Change-Id: I2f0a458ef1ec30dda1272ad5a013fee4ee70edc9 commit 783932e40dd904aa531c263ad51280d9ca814dcb Author: Andreas Huber <andih@google.com> Date: Tue Dec 18 15:03:40 2012 -0800 Alternative DirectRenderer implementation. Change-Id: I307beb913d7a61cb938bcb02696cc2e82d2b8b07 commit 1935cc9a87824aea71fc8ebe2162f62ec634ce5a Author: Andreas Huber <andih@google.com> Date: Tue Dec 18 10:24:27 2012 -0800 Experimenting with wifi sink timing. Change-Id: I059bae9762cf11777666988a8b4ab2012b5807be commit a859ee1eadd6a1d6a080667917e8b102c3770d61 Author: Andreas Huber <andih@google.com> Date: Thu Nov 15 11:16:30 2012 -0800 wfd sink update. Change-Id: I026dfc580be92aa40dbbe7c1bc061fadf3b08be8 Change-Id: I191d3d7015869ca99254d813d074328fb5b2f479
| * Merge "Remove unnecessary parameter"Glenn Kasten2012-12-211-1/+1
| |\
| | * Remove unnecessary parameterGlenn Kasten2012-12-181-1/+1
| | | | | | | | | | | | | | | | | | Just get the parameter on server side Change-Id: I433a63104dbb257e0d862be2ab61847cb36d1c15
| * | Properly release any MediaBuffer references associated with theAndreas Huber2012-12-202-19/+42
| | | | | | | | | | | | | | | | | | | | | | | | encoder input buffers on shutdown. This worked fine before for an orderly shutdown but didn't release all references in case of error. Change-Id: I0ea3eb26da76fbeb33cadf58d237b0c68a86ac4a related-to-bug: 7893090
| * | Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-188-16/+16
| |/ | | | | | | | | | | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
| * am 2f6107ec: am b64def9a: Merge "[wfd] Support a low(er) power state by ↵Andreas Huber2012-11-296-30/+223
| |\ | | | | | | | | | | | | | | | | | | triggering PAUSE/RESUME." into jb-mr1.1-dev * commit '2f6107ec8e67eea1f73b9558a5ad34caec52867f': [wfd] Support a low(er) power state by triggering PAUSE/RESUME.
| | * Merge "[wfd] Support a low(er) power state by triggering PAUSE/RESUME." into ↵Andreas Huber2012-11-296-30/+223
| | |\ | | | | | | | | | | | | jb-mr1.1-dev
| | | * [wfd] Support a low(er) power state by triggering PAUSE/RESUME.Andreas Huber2012-11-296-30/+223
| | | | | | | | | | | | | | | | | | | | Change-Id: Ibe42bfa73816bbfeb7e652d435254d0171b89727 related-to-bug: 7638150
| * | | am 5ea87edb: am e5aed03d: Enable retransmission of UDP packets in case we ↵Andreas Huber2012-11-291-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | want to use it * commit '5ea87edbc97cd693fb7a9a8e00e712978315693c': Enable retransmission of UDP packets in case we want to use it
| | * | Enable retransmission of UDP packets in case we want to use itAndreas Huber2012-11-291-1/+1
| | |/ | | | | | | | | | | | | | | | | | | in our upcoming wfd _sink_ implementation. Change-Id: I4509c30d5a7b992bc841b73d63db902bbcf8f76a related-to-bug: 7638155
| * | am bd4f7b89: am 79c56d3f: Merge "Reduce the frequency of IDR frames and add ↵James Dong2012-11-291-1/+18
| |\ \ | | |/ | | | | | | | | | | | | | | | intra-fresh mode support for WiFi display" into jb-mr1.1-dev * commit 'bd4f7b8931a316ca43fae033d86167c83a8bac07': Reduce the frequency of IDR frames and add intra-fresh mode support for WiFi display
| | * Reduce the frequency of IDR frames and add intra-fresh mode support for WiFi ↵James Dong2012-11-281-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | display The time interval between periodic neighboring IDR frames is increased from 1 second to 15 seconds. o related-to-bug: 7524791 Change-Id: Ic32f37448f952f329549eda5e73637ee3b02f046
| * | wfd sink update.Andreas Huber2012-11-151-1/+4
| |/ | | | | | | Change-Id: Ib4e41ec1524d045699543536acdddc9a243db741
| * 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
| * Make video encoders' bitrate mode (constant, variable, ...) configurableAndreas Huber2012-11-011-0/+3
| | | | | | | | | | | | | | | | through the desired output format. Configure the video encoder to use constant bitrate mode for WFD. Change-Id: Id7bd619598153c13448a9c5acd69d80f8a01f333 related-to-bug: 7459597
| * Various tweaks to wfdAndreas Huber2012-10-3110-893/+1514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Increase bitrate now that other issues have been resolved.Dave Burke2012-10-261-1/+1
| | | | | | | | | | Bug: 7426218 Change-Id: I67dfa1e4b85f326f355ad0ec5b6c699e87b45564
| * Disable silence suppression (causes issues with dongles).Dave Burke2012-10-261-2/+1
| | | | | | | | | | Bug: 7426218 Change-Id: Ie1517a8017bae1f9a9b6c224cd3170dfcc5fb941
| * WFD use of HDCP is now optional.Andreas Huber2012-10-222-66/+40
| | | | | | | | | | | | | | | | | | 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
| * Switch audio mode based on dongle's capabilitiesAndreas Huber2012-10-092-8/+93
| | | | | | | | | | | | | | properly parse rtp port and use it to setup session. Change-Id: Ic7521cb867143278196c3ce4b19a74ecc2703d8e related-to-bug: 7318719
| * Optionally emit LPCM audio instead of using AAC in wifi display codeAndreas Huber2012-10-047-27/+200
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge "Enable hdcp for WiFi display" into jb-mr1-devJames Dong2012-10-031-1/+1
| |\
| | * Enable hdcp for WiFi displayJames Dong2012-10-031-1/+1
| | | | | | | | | | | | | | | | | | o related-to-bug: 7055369 Change-Id: Ie1ddd1e961f9ff60fe32b57cf7f8de4f4ecf5aa0
| * | Drop video bitrate to 2.5mbps.Dave Burke2012-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Better power savings with wifi display code.Andreas Huber2012-10-032-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | No more polling the encoder for work to do, the encoder instead notifies if there's activity. Change-Id: Ia707211b4f5c5a6e6b70d750233d204a2d6bb778 related-to-bug: 7248248
| * | Increase polling frequency again temporarily to fix A/V issuesAndreas Huber2012-10-032-14/+24
| |/ | | | | | | | | | | | | | | 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
| * Enable silence detection and don't driver the audio encoderAndreas Huber2012-10-022-12/+77
| | | | | | | | | | | | | | | | 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
| * Now back to 30fps, suspend updates if surface flinger didn't send usAndreas Huber2012-10-026-30/+106
| | | | | | | | | | | | | | any new frames for one second or longer. Change-Id: I1c2ec349b0a4b7c4eb9dcdde483362ec87dd69fa related-to-bug: 7248248
| * More power savings: No need to keep a history of outgoing packetsAndreas Huber2012-10-022-2/+9
| | | | | | | | | | | | | | if we're not enabling retransmission anyway. Change-Id: I361120607974a2fab758c28b5033716213aef88e related-to-bug: 7248248
| * Increase converter polling interval.Andreas Huber2012-10-021-1/+1
| | | | | | | | | | Change-Id: I455005086a63c70883a71e189753a117b195f22f related-to-bug: 7248248
| * Take advantage of the hardware encoder's ability to prepend SPS/PPSAndreas Huber2012-10-025-18/+12
| | | | | | | | | | | | | | to IDR frames instead of doing it manually. Change-Id: I994cfbd6539013406dd610393ba1f0b9a0dbf4d5 related-to-bug: 7245308
| * Use incremental updates sent by surface flingerAndreas Huber2012-10-013-7/+5
| | | | | | | | | | | | | | instead of running at a fixed framerate. Change-Id: Ia3f36aa449e2e952bf3263ffbb709a9b79b09c26 related-to-bug: 7266398
| * Merge "ALooper::GetNowUs() now relies on systemTime instead of ↵Andreas Huber2012-10-012-5/+13
| |\ | | | | | | | | | gettimeofday." into jb-mr1-dev
| | * ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.Andreas Huber2012-10-012-5/+13
| | | | | | | | | | | | | | | Change-Id: Ia31eb0940b02581327a8bf51af6df135f9ab6de3 related-to-bug: 7266324
| * | Inform DisplayManager that we're running over a secure channel (HDCP)Andreas Huber2012-10-011-1/+6
| |/ | | | | | | | | | | | | if that's the case. Change-Id: I5f16cad04a6937a3fb65600a971866a77e0ae9fc related-to-bug: 7265406
| * Perform an orderly shutdown if possible, force disconnect if necessaryAndreas Huber2012-10-013-7/+71
| | | | | | | | | | | | | | | | 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
| * Make sure we still handle shutdown-related message even if we'reAndreas Huber2012-10-011-20/+7
| | | | | | | | | | | | | | in error-state. Change-Id: Ie12dd1a63306b4020b9de9eae007f6d768f02df6 related-to-bug: 7262673
| * Merge "Even cleaner shutdown." into jb-mr1-devDave Burke2012-09-305-25/+38
| |\
| | * Even cleaner shutdown.Andreas Huber2012-09-285-25/+38
| | | | | | | | | | | | | | | Change-Id: I5a76f83db3a5e43f55eb4e04269d890c2015bae7 related-to-bug: 7247918
| * | Fix shutdown if HDCP was never instantiated.Andreas Huber2012-09-281-3/+5
| |/ | | | | | | | | Change-Id: Icdf6785880180f417c5432dff54c7e0fb12ef84d related-to-bug: 7247918
| * Tell the encoder to emit SPS/PPS before IDR frames in wifi display code.Andreas Huber2012-09-282-1/+12
| | | | | | | | | | Change-Id: Ic40e09b66784dd2e370d30b688d50561a47ab85a related-to-bug: 7245308
| * Various improvements to a cleaner shutdown of the wifi display connection.Andreas Huber2012-09-2810-172/+285
| | | | | | | | | | Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239 related-to-bug: 7247918