summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Enable write side of MonoPipe to be shutdownGlenn Kasten2012-09-281-2/+13
| | | | | Bug: 7253033 Change-Id: Iea8390763b59ffa7a8e2a6b77dd04ea23442698f
* Various improvements to a cleaner shutdown of the wifi display connection.Andreas Huber2012-09-2812-172/+320
| | | | | Change-Id: Id029a89939e53c2bd1d20e572d3975ec2795c239 related-to-bug: 7247918
* wfd_presentation_url should not include the port number according to wfd specsAndreas Huber2012-09-271-3/+2
| | | | | Change-Id: I9c0e0174f6ab4cb24c6eafcaae853e432b3dffb9 related-to-bug: 7247490
* Merge "Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit." ↵Andreas Huber2012-09-277-54/+105
|\ | | | | | | into jb-mr1-dev
| * Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit.Andreas Huber2012-09-277-54/+105
| | | | | | | | | | Change-Id: Ie54ee3edd672ec629360b4ecc5df2f85ecbaa45f related-to-bug: 7247584
* | Merge "Prepend SPS/PPS manually before encryption in HDCP mode. This is" ↵Andreas Huber2012-09-274-10/+57
|\ \ | |/ | | | | into jb-mr1-dev
| * Prepend SPS/PPS manually before encryption in HDCP mode. This isAndreas Huber2012-09-274-10/+57
| | | | | | | | | | | | | | | | a temporary change that will go away once the encoder can take care of this. Change-Id: Id65218f8a250d8c8fe3e8987b522065b5f5d7dca related-to-bug: 7245308
* | 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-263-4/+6
| | | | | | related-to-bug: 7239971 Change-Id: I4cbf7e9b878b180b0683656e9e8c0a6bb18e06dc
* Make sure we only release the HDCP module once shutdown has completed.Andreas Huber2012-09-264-14/+49
| | | | | Change-Id: I4b614afe2b55ac53b4aa63311e5bea8fd6c4462e related-to-bug: 7223555
* Merge "Fix shutdown and eliminate those annoying "failed to post..." logs." ↵Andreas Huber2012-09-261-1/+4
|\ | | | | | | into jb-mr1-dev
| * Fix shutdown and eliminate those annoying "failed to post..." logs.Andreas Huber2012-09-261-1/+4
| | | | | | | | | | Change-Id: I963e0712f59070f83a26946c494fdeb3558aa0e3 related-to-bug: 7230886
* | Logic to include HDCP specific PES extra header data was backwards.Andreas Huber2012-09-261-2/+2
|/ | | | | Change-Id: I85ab02f0c3ab945093b27210da1e36a31c022da5 related-to-bug: 7237850
* Implement android.media.AudioManager.getProperty()Glenn Kasten2012-09-252-1/+43
| | | | | Bug: 6635041 Change-Id: I3386a4a6c226bc4eceaf65556119e4fb15f73224
* Better transport stream timestamp handling.Andreas Huber2012-09-254-111/+210
| | | | | | | | 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
* Add some more logging, reduce startup delay to 1 sec.Andreas Huber2012-09-252-2/+6
| | | | Change-Id: Ic24a3d9e3e645288411efb46f7004d89e7a0a4b7
* Tune video bitrate to 5 mbps.Dave Burke2012-09-241-1/+1
| | | | Change-Id: Ieb7ab1675db6fb21087a1258465f866ecdc5475b
* Merge "Check clock_gettime(CLOCK_MONOTONIC) for failure" into jb-mr1-devGlenn Kasten2012-09-241-0/+3
|\
| * Check clock_gettime(CLOCK_MONOTONIC) for failureGlenn Kasten2012-09-241-0/+3
| | | | | | | | | | Bug: 7100774 Change-Id: I15a84a19bb6d6ef1d9dac4beaa03587638196404
* | Attempt an orderly shutdown of the wifi display connection if possible.Andreas Huber2012-09-243-19/+57
|/ | | | | | | | Shutdown the session if the encoder signals an error. related-to-bug:7207481 Change-Id: Id78000a336f8bb8904e7d2102f8f81a4139cdd61
* Merge "Bug fix: MediaPlayer's deselectTrack() for subtitle." into jb-mr1-devJames Dong2012-09-232-3/+18
|\
| * Bug fix: MediaPlayer's deselectTrack() for subtitle.Insun Kang2012-09-202-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove legacy code and APIs in wifi display related code.Andreas Huber2012-09-2110-710/+9
| | | | | | | | Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
* | 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
* | Code to support RTP retransmission according to rfc4585, rfc4588Andreas Huber2012-09-203-35/+174
| | | | | | | | Change-Id: Idfb3c0935f28e4cbc2141f0903f0d3c4e95818a6
* | Instantiate HDCP module, add PES_private_data for encrypted streams.Andreas Huber2012-09-199-140/+572
| | | | | | | | Change-Id: I970f561a56a1d489a392c3480dec13f4ed7b43bd
* | HDCP module binderizedAndreas Huber2012-09-196-2/+41
|/ | | | Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
* Merge "Fix THD with max user EQ preset volume again" into jb-mr1-devEric Laurent2012-09-182-93/+79
|\
| * Fix THD with max user EQ preset volume againEric Laurent2012-09-172-93/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Now we only support a single client connectionAndreas Huber2012-09-172-126/+124
| | | | | | | | | | | | | | | | | | | | | | 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
* | Support for RTP/RTCP traffic over TCP sockets in wifi display code.Andreas Huber2012-09-177-109/+397
| | | | | | | | | | | | | | | | This is opt-in through adb shell setprop media.wfd.enable-tcp true Change-Id: I49ab22a8c8d62690065631e781a7f0057e5ce557
* | Fixed a native crash due to deref of a NULL pointerJames Dong2012-09-141-1/+2
|/ | | | | | | | 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
* Make a small correction in terms of GOP structure in the recorded videoJames Dong2012-09-141-1/+1
| | | | | | | | | 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
* Merge "Allow OMXCodec to specify an output color format for OMX decoder ↵James Dong2012-09-142-7/+64
|\ | | | | | | component" into jb-mr1-dev
| * Allow OMXCodec to specify an output color format for OMX decoder componentJames Dong2012-09-102-7/+64
| | | | | | | | | | | | | | | | The output color format is specified via the meta argument in OMXCodec::Create() o related-to-bug: 7122195 Change-Id: Id3247686b893af25cc190685201e53ad34b0399c
* | Support IDR requests in wifi display, MediaCodec and ACodec.Andreas Huber2012-09-137-1/+92
| | | | | | | | Change-Id: I596cf8dd61b63465437f78413186fad2be287244
* | Better video bandwidth utilization by not lying about the frame rate.Andreas Huber2012-09-133-2/+13
| | | | | | | | | | | | log network bandwidth used (for data traffic). Change-Id: I043018624b3f02d94fa9c0cb9d15a6b2f2bd2eab
* | Various improvements to cleanly shutdown a wfd session.Andreas Huber2012-09-136-49/+86
| | | | | | | | Change-Id: I86f0a27d7e8eb96200153bab847a862f21a19d13
* | Merge "Audio and video bitrate are now configurable through system ↵Andreas Huber2012-09-131-2/+23
|\ \ | | | | | | | | | properties" into jb-mr1-dev
| * | 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
* | | Merge "Use proper number of video buffers to be acquired simultaneously ↵Andreas Huber2012-09-131-2/+1
|\ \ \ | | | | | | | | | | | | from" into jb-mr1-dev
| * | | Use proper number of video buffers to be acquired simultaneously fromAndreas Huber2012-09-131-2/+1
| |/ / | | | | | | | | | | | | | | | SurfaceMediaSource, this should match the number of encoder input buffers. Change-Id: Ibeb102337fd23698c5321c63dd3cb00b93e632b0
* | | Throttle SurfaceMediaSource.Andreas Huber2012-09-131-12/+33
|/ / | | | | | | Change-Id: I214ce60f8d94df9c07041577e34ed1ad5e199fdb
* | am a923dd4e: am 1b0ae9e4: Merge "avcenc: Set OMX_BUFFERFLAG_EOS on the last ↵Jean-Baptiste Queru2012-09-121-0/+3
|\ \ | | | | | | | | | | | | | | | | | | output frame" * commit 'a923dd4e6c14f5cba2fc5f6f152619ec6bc70c5d': avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame
| * \ am 1b0ae9e4: Merge "avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame"Jean-Baptiste Queru2012-09-121-0/+3
| |\ \ | | | | | | | | | | | | | | | | * commit '1b0ae9e47273357e19a9beb22466319753e8242d': avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame
| | * \ Merge "avcenc: Set OMX_BUFFERFLAG_EOS on the last output frame"Jean-Baptiste Queru2012-09-121-0/+3
| | |\ \
| | | * | avcenc: Set OMX_BUFFERFLAG_EOS on the last output frameMartin Storsjo2012-08-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, the caller might hang waiting for more output buffers. Change-Id: Ief6be00b7600be8498a953e8e88f0582ea8fce85
* | | | | Merge "Various improvements to the wifi display implementation." into jb-mr1-devAndreas Huber2012-09-129-66/+448
|\ \ \ \ \
| * | | | | Various improvements to the wifi display implementation.Andreas Huber2012-09-129-66/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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