summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display/source/Converter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Optionally emit LPCM audio instead of using AAC in wifi display codeAndreas Huber2012-10-041-9/+145
| | | | | | | | | | | | 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
* 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-031-6/+33
| | | | | | | | 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-031-14/+15
| | | | | | | | 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-021-12/+68
| | | | | | | | 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-021-1/+1
| | | | | | | any new frames for one second or longer. Change-Id: I1c2ec349b0a4b7c4eb9dcdde483362ec87dd69fa 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-021-1/+1
| | | | | | | to IDR frames instead of doing it manually. Change-Id: I994cfbd6539013406dd610393ba1f0b9a0dbf4d5 related-to-bug: 7245308
* Use incremental updates sent by surface flingerAndreas Huber2012-10-011-1/+1
| | | | | | | instead of running at a fixed framerate. Change-Id: Ia3f36aa449e2e952bf3263ffbb709a9b79b09c26 related-to-bug: 7266398
* Even cleaner shutdown.Andreas Huber2012-09-281-4/+0
| | | | | Change-Id: I5a76f83db3a5e43f55eb4e04269d890c2015bae7 related-to-bug: 7247918
* Tell the encoder to emit SPS/PPS before IDR frames in wifi display code.Andreas Huber2012-09-281-0/+8
| | | | | Change-Id: Ic40e09b66784dd2e370d30b688d50561a47ab85a related-to-bug: 7245308
* Various improvements to a cleaner shutdown of the wifi display connection.Andreas Huber2012-09-281-30/+75
| | | | | Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239 related-to-bug: 7247918
* Tune WFD audio bitrate (did some listening tests).Dave Burke2012-09-271-1/+1
| | | | | | Bug: 7241844 Change-Id: I5243f7a771871e650c6c2f380e0e81e7671c7bac
* Tune iframe interval to 1sec.Dave Burke2012-09-261-1/+1
| | | | | | Bug: 7241844 Change-Id: Iae0d73ecc680f6fa69d82ee2e8fac18ebece7782
* 720p24 i-frames every 2 secs.Andreas Huber2012-09-261-2/+2
| | | | | | related-to-bug: 7239971 Change-Id: I4cbf7e9b878b180b0683656e9e8c0a6bb18e06dc
* Add some more logging, reduce startup delay to 1 sec.Andreas Huber2012-09-251-0/+4
| | | | Change-Id: Ic24a3d9e3e645288411efb46f7004d89e7a0a4b7
* Tune video bitrate to 5 mbps.Dave Burke2012-09-241-1/+1
| | | | Change-Id: Ieb7ab1675db6fb21087a1258465f866ecdc5475b
* Tune video bitrate to 2.5 MBPS.Dave Burke2012-09-201-2/+1
| | | | | | Temporary workaround for buggy firmware (desired is 5 MBPS). Change-Id: I9fb0af31ca07c9bfdc6f790b7c98ca546eaf2985
* Support IDR requests in wifi display, MediaCodec and ACodec.Andreas Huber2012-09-131-0/+21
| | | | Change-Id: I596cf8dd61b63465437f78413186fad2be287244
* Better video bandwidth utilization by not lying about the frame rate.Andreas Huber2012-09-131-1/+1
| | | | | | log network bandwidth used (for data traffic). Change-Id: I043018624b3f02d94fa9c0cb9d15a6b2f2bd2eab
* Various improvements to cleanly shutdown a wfd session.Andreas Huber2012-09-131-0/+4
| | | | Change-Id: I86f0a27d7e8eb96200153bab847a862f21a19d13
* Audio and video bitrate are now configurable through system propertiesAndreas Huber2012-09-131-2/+23
| | | | | | | | | adb shell setprop media.wfd.audio-bitrate 64000 adb shell setprop media.wfd.video-bitrate 10000000 are the defaults. Change-Id: Ib4d700748bdac2adffc6e7e31aff9c9f998e20f0
* Various improvements to the wifi display implementation.Andreas Huber2012-09-121-1/+1
| | | | | | | | 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
* Configure the SurfaceMediaSource to emit the same number of buffersAndreas Huber2012-09-041-0/+4
| | | | | | | as the video encoder allocates for its input. Do this before connecting the bufferqueue through surface flinger. Change-Id: Ibc81db1359afe2d88fdb75b23fadae65c8a6f7cc
* Transmit frames at a higher frame rate for smoother updates, increaseAndreas Huber2012-08-301-2/+2
| | | | | | video bandwidth to 5 Mbit/sec. Change-Id: Ieb9051b0f29d5a20004d1b3befdb745bc67769c7
* Initial checkin of support for acting as a wifi display sourceAndreas Huber2012-08-291-0/+281
Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a