summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display/source
Commit message (Collapse)AuthorAgeFilesLines
* libstagefright: wfd: don't use intra macroblock refresh mode on omap4Ziyan2016-11-061-0/+2
| | | | | | | | | | | | | | Most, if not all OMAP4 Ducatis doesn't support intra macroblock refresh mode, causing the encoder to fail initializing. This patch disables intra macroblock refresh mode for wifi display on omap4. Note: Ideally, the decoder shouldn't fail if intra macroblock refresh mode can't be configured. However, that would trick higher layers into thinking that it's on, because they set that parameter. As of now, this mode seems to only ever be used for wifi display. Change-Id: I9696af8f22db82cc436a351e4d93bf7323588f43
* Respect the record audio app op - mediaSvet Ganov2015-04-294-3/+18
| | | | Change-Id: I3a97977b6e9a09355e2008f780d22d480fb7308b
* Merge "libmediaplayerservice: fix warnings, make warnings errors, use clang"Lajos Molnar2015-04-171-1/+1
|\
| * libmediaplayerservice: fix warnings, make warnings errors, use clangLajos Molnar2015-04-171-1/+1
| | | | | | | | Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
* | stagefright: make more warnings errorsLajos Molnar2015-04-171-7/+13
|/ | | | Change-Id: I9b1ad60fbfb866dbf9c00843e06553c3eb25c113
* stagefright: warnings be gone, some are now errors, use clangLajos Molnar2015-04-175-6/+6
| | | | Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
* stagefright: don't use ALooperRoster mutex for reply handlingLajos Molnar2015-03-103-8/+9
| | | | | | | | Change replyID-s from uint32_t to an object Move reply handling into the loopers (to reuse a common mutex) Bug: 19607784 Change-Id: Iaa035b846c424c5687ed17ce1079b325e86c54be
* media: switch to new AMessage handlingLajos Molnar2015-03-055-35/+34
| | | | | Bug: 19607784 Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
* Move AString's StringPrintf out of the way.Elliott Hughes2015-02-042-14/+14
| | | | | | | | | We should come back and replace AString with std::string and switch to the "real" StringPrintf family, but this fixes the ODR violation that was preventing us from booting. Bug: 19265750 Change-Id: I798eb9ca5dd634e44625af5e583439ef9f0cdc35
* am 91228597: am 95fd067c: Merge "Fix linkage when building with clang, Intel ↵Chih-hung Hsieh2014-09-301-0/+4
|\ | | | | | | | | | | | | CC or gcc -O0" * commit '912285971c9bdb358b1fc06a7ea320fc8f001d5c': Fix linkage when building with clang, Intel CC or gcc -O0
| * Fix linkage when building with clang, Intel CC or gcc -O0Bernhard Rosenkraenzer2014-09-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This code fails to link when using clang, Intel CC, or gcc -O0 because of the CHECK_GT statement in WifiDisplaySource::scheduleKeepAlive (explanation at https://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition, doesn't show up with gcc when optimizations are enabled because the entire CHECK_GT statement is optimized away). This fixes https://code.google.com/p/android/issues/detail?id=58221 Change-Id: I43d3629819a01971846c31e9f755d6e0567fb838 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
| * Merge commit '91820d46b5f3065c2fded3cdf65d305715b33bb1' into HEADBill Yi2014-04-291-1/+1
| |\
| | * am e2307ccb: Merge "frameworks/av: fix errors inside ALOGV"Colin Cross2014-03-071-1/+1
| | |\ | | | | | | | | | | | | | | | | * commit 'e2307ccbab9c32a7806f15c2572cfe6ec428f2f5': frameworks/av: fix errors inside ALOGV
| | * | set AAC MPEG version to MPEG-2Chong Zhang2014-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | wifi display play spec only allows MPEG-2 AAC. Bug: 12747927 Change-Id: Ic96d27ce57f5c8e7da55e43b38f629b5c7333817
| * | | warnings be gone.Andreas Huber2014-04-111-4/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | (cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36) Modified by Mark Salyzyn <salyzyn@google.com> to keep merge conflicts or errors downstream to a minimum. Change-Id: Ic3b272f9cbf3155001aabd2f79728f1bc31de613
* | | MediaBuffer: ABuffer will release MediaBuffer when it's destructed.Wei Jia2014-09-192-37/+14
| | | | | | | | | | | | | | | Bug: 17454455 Change-Id: Ia423bcc2e1fa39137f114eac44912ed15357bb99
* | | Remove deprecated BufferQueue constructorDan Stoza2014-03-122-4/+3
| | | | | | | | | | | | | | | Bug: 13415624 Change-Id: I1a824d09ce582ee54753683d30cdc23813c13b6b
* | | Merge "warnings be gone."Andreas Huber2014-02-111-4/+4
|\ \ \
| * | | warnings be gone.Andreas Huber2014-02-111-4/+4
| | | | | | | | | | | | | | | | Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
* | | | Merge "fix delay when shutting down wifi display"Chong Zhang2014-02-111-1/+2
|\ \ \ \ | |/ / / |/| | |
| * | | fix delay when shutting down wifi displayChong Zhang2014-02-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RepeaterSource needs to stop SurfaceMediaSource before stopping its looper, otherwise the stop could get queued behind the last read(), which will not return until a new frame comes. Change SurfaceMediaSource stop to signal frame avalable first, so that its read() returns EOS to reader upon stop. Bug: 11677087 Change-Id: Ie331cc8c7f4824fd3930f3e909b53db4463902fb
* | | | am 429f2bf7: am e2307ccb: Merge "frameworks/av: fix errors inside ALOGV"Colin Cross2014-02-101-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | * commit '429f2bf7527daf872a1bbdafca8ad28635b84644': frameworks/av: fix errors inside ALOGV
| * | | frameworks/av: fix errors inside ALOGVColin Cross2014-02-061-1/+1
| | |/ | |/| | | | | | | | | | | | | Fix errors exposed by adding compile-time checking to disabled ALOGVs. Change-Id: I9602a4a485dffa3caad732c2a19ec0e41a0ac65b
* | | set AAC MPEG version to MPEG-2Chong Zhang2014-02-071-1/+1
| |/ |/| | | | | | | | | | | wifi display play spec only allows MPEG-2 AAC. Bug: 12747927 Change-Id: Ic96d27ce57f5c8e7da55e43b38f629b5c7333817
* | FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-1/+3
|/ | | | | | to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
* Remove obsolete miracast sink code and friends.Andreas Huber2013-10-022-18/+1
| | | | | Change-Id: I8bbb22fb0cfe2d73881d9f05bf8112ae86d8040b related-to-bug: 11047222
* Use changed MediaCodec.PARAMETER_KEY_VIDEO_BITRATE valueLajos Molnar2013-09-171-1/+1
| | | | | | Change-Id: I157bcafbf705865e66c81517b1eab10c3daa039e Signed-off-by: Lajos Molnar <lajos@google.com> Bug: 10461617
* wifi-display: do not use HDCP's encryptNative method if its unsupportedChong Zhang2013-09-031-1/+2
| | | | | Bug: 10609422 Change-Id: I005f1d04a4191b1503b5f3e895a98b8d6560c402
* wifi-display: pass session info to wifi display settingsChong Zhang2013-08-211-2/+4
| | | | | | Bug: 9371882 Change-Id: I9e4b8c2154b03ce8ff3e14c465a5224bb6e8db9a
* Minor tweaks to DirectRenderer and ConverterAndreas Huber2013-07-193-49/+163
| | | | | | | | Converter now supports automatic prepending of SPS/PPS to IDR frames (h264) as well as using the encoder in "surface-input" mode. The new features are all opt-in and should not affect existing clients. Change-Id: I543cf1d31ba068c1a01ab4e6814ac8d817b63faa
* ANetworkSession and ParsedMessage are now part of stagefright foundation.Andreas Huber2013-07-183-2/+5
| | | | | | | | Also fixes some bugs in ParseMessage and adds "WebSocket" mode to ANetworkSession, something that's opt-in and should not affect existing clients of the API. Change-Id: I86d5748e0d818231d85d3590d86c2b41d4f8b1f1
* Converter now takes the desired _output_ format instead of theAndreas Huber2013-06-123-37/+30
| | | | | | input format, allowing control over the type of encoding. Change-Id: Iaaa1a825f447ea130e373bbd8e5dc96f2762db18
* wifi-display: fix resolution list and keepalive intervalChong Zhang2013-05-301-3/+4
| | | | | | | | | | - add all resolutions lower than 1280x720p30 - schedule next keepalive when sending M16 bug 9116665 Change-Id: I7b3fea2101d3d882c0af5c153af5c502b8ce98f6
* wifi-display: fixes for PAUSE/PLAY stateChong Zhang2013-05-301-3/+5
| | | | | | | | | | PAUSE could be initiated by either source (via trigger method) or sink, in latter case we have to allow PAUSE from PLAYING state. Similarly PLAY should be allowed from PAUSED state. Bug: 8922515 Change-Id: I475534aa4ffa6dc6844f59c5868d8f88291019ae
* wifi-display: add support for metadata mode on encoder outputChong Zhang2013-05-177-26/+130
| | | | | | | | pass buffer_handle_t from encoder output to HDCP encryptor input Bug: 8968123 Change-Id: Iea8007ce568641e213fd2e3cf6947a6f7a95746c
* am be06e9fc: am 6ed6a2e6: Merge "wifi-display: misc fixes for M3 response ↵Chong Zhang2013-05-141-2/+3
|\ | | | | | | | | | | | | parsing" into jb-mr2-dev * commit 'be06e9fcdee1b02d29681c73c42a23a530f25d13': wifi-display: misc fixes for M3 response parsing
| * wifi-display: misc fixes for M3 response parsingChong Zhang2013-05-111-2/+3
| | | | | | | | | | | | | | | | | | | | | | - fix wfd_video_format parsing w/ multiple H264-Codec - fix handling of CRLF at end of M3 response - fix missing wfd_client_rtp_ports Bug: 8871667 Bug: 8875749 Change-Id: Idb0b5605313bba6ff067bcd765512bbed42e5202
* | am 6756998e: am de6bf9cc: Merge "Fix miracast source code to ignore the ↵Andreas Huber2013-05-021-0/+7
|\ \ | |/ | | | | | | | | | | encoder output format change" into jb-mr2-dev * commit '6756998ef4ac1573e0f879e49a7936285ec61464': Fix miracast source code to ignore the encoder output format change
| * Fix miracast source code to ignore the encoder output format changeAndreas Huber2013-05-011-0/+7
| | | | | | | | | | | | | | it doesn't care about. Change-Id: Iec1594775a98b0c1aba662cc9f08652d2f8d4805 related-to-bug: 8616651
* | Revert "Remove all traces of wifi display sink implementation and supporting ↵Andreas Huber2013-04-263-0/+102
|/ | | | | | code." This reverts commit 3a9682a86ead84d6f60d3f3aa01b2b4d34af983d.
* Remove all traces of wifi display sink implementation and supporting code.Andreas Huber2013-04-233-102/+0
| | | | | Change-Id: I64b681b7e3df1ef0dd80c0d261cacae293d5e684 related-to-bug: 8698812
* Fix adaptive frame rate handling to be non-adaptive unless specified throughAndreas Huber2013-04-041-2/+5
| | | | | | adb shell setprop media.wfd.video-framerate adaptive Change-Id: I452576b62ad465680232b40464977e126616df18
* Fix SHUTDOWN after SETUP and before PLAY in wifi display.Andreas Huber2013-03-281-3/+17
| | | | | Change-Id: Ieb8ce1ac3130254839975a3677162b64156735bc related-to-bug: 8499893
* Adapt frame rate instead of keeping that constant and tweaking bitrateAndreas Huber2013-03-265-29/+88
| | | | Change-Id: I889abbbe1237e1a8fdd7135cdc91a2e9728ff39b
* Identify network servers and clients with a OS version related stringAndreas Huber2013-03-262-1/+7
| | | | | | and put the logic to create that string in one location instead of many... Change-Id: I1f729f2e7376cd3b45eea0e48f7bd10084b41b39
* In "special" mode we now establish a UDP RTCP channel in addition to theAndreas Huber2013-03-255-11/+88
| | | | | | | | TCP RTP channel and provide feedback on the latency of arriving packets from the sink back to the source. This information is then used to throttle video bitrate. Change-Id: Ic589a3cb65e4893a3ff67de947da6063d32a1c6e
* Ensure that the payload in each TS packet is an even multiple of 16 bytes longAndreas Huber2013-03-211-43/+158
| | | | | | | (except for the final TS packet) as specified by HDCP. Change-Id: I45d49d347c06f5daae310f196d9a8484be0f3ca0 related-to-bug: 7549145
* Allow for streaming of media files (without recompression)Andreas Huber2013-03-185-21/+239
| | | | Change-Id: I1de356cc37506ba986822d12a1a59e7b64069e02
* Attempt to recover from network stalls by dropping frames on the source side.Andreas Huber2013-03-134-0/+38
| | | | Change-Id: I5f9eb4f5acb624a9e5bc0087801fb5a4a9ade35c
* Squashed commit of the following:Andreas Huber2013-03-122-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f4edf442741886cdbe071e2d15f6e6247269f7c5 Author: Andreas Huber <andih@google.com> Date: Tue Mar 12 09:09:18 2013 -0700 Pass additional flags to the sink, use TCP by default in wolfiecast mode. Change-Id: I41e11a2375d4199656e45c4f149d8441d0016092 commit 6302602ed280a38287f507159abfb40a1da38c5a Author: Andreas Huber <andih@google.com> Date: Tue Mar 12 08:51:58 2013 -0700 tweaks Change-Id: Ie29e422d7258be522f4bb1f6c5afcf74c937e547 commit a38a860e4979ba563cadbaafa21b084439449d26 Author: Andreas Huber <andih@google.com> Date: Mon Mar 11 16:57:43 2013 -0700 Report average lateness all the way from NuPlayerRenderer... Change-Id: I2e7700703ae656515e44b9c25610d26c75778111 commit a7d49b11675ea88be4029dd8451d1649db94571d Author: Andreas Huber <andih@google.com> Date: Mon Mar 11 14:54:19 2013 -0700 Make TimeSyncer smarter, enable TunnelRenderer Change-Id: I27377a60cd8feb01589da456967fddd34532c20e commit 0f214c8ef68179f7b61512c37040939554013151 Author: Andreas Huber <andih@google.com> Date: Thu Mar 7 15:57:56 2013 -0800 convert source timestamps to sink timestamps, report lateness. Change-Id: I051a60fbbceca2f7b508ae3dac6e01e402bae39e commit 04a4f8e16bad09157b5615a5fa45310438955832 Author: Andreas Huber <andih@google.com> Date: Thu Mar 7 09:00:28 2013 -0800 Sync time between sink and source. Change-Id: Ie8b4d75c957aa48310e7c81d1279761b9f821efe commit aebe20e6184e3636a99082f8ece08e708015cb8d Author: Andreas Huber <andih@google.com> Date: Wed Mar 6 09:03:12 2013 -0800 play with back pressure Change-Id: I51eb69257e6a79e76f5f9c75ff99d8adbd083947 Change-Id: Ifdf57228667fed7fc71c5090a2c3f7cea1037c5c