summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display
Commit message (Collapse)AuthorAgeFilesLines
* resolve merge conflicts of 79cf158c51 to mnc-devMarco Nelissen2017-04-051-4/+10
| | | | | | | | | | AOSP-Change-Id: Ied32e83215e386c801c02991a0b2fa4baa25b643 CVE-2017-0558 (cherry picked from commit 50358a80b1724f6cf1bcdf003e1abf9cc141b122) Change-Id: Ic2e40c7d6aec8427444a1fd145726e490e994d08
* libstagefright: wfd: don't use intra macroblock refresh mode on omap4Ziyan2016-11-062-0/+6
| | | | | | | | | | | | | | 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-174-11/+14
|/ | | | Change-Id: I9b1ad60fbfb866dbf9c00843e06553c3eb25c113
* stagefright: warnings be gone, some are now errors, use clangLajos Molnar2015-04-178-12/+15
| | | | 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-057-39/+38
| | | | | Bug: 19607784 Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
* Move AString's StringPrintf out of the way.Elliott Hughes2015-02-043-15/+15
| | | | | | | | | 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 24e1bd71: Merge "libstagefright is no longer 32 bit only."Glenn Kasten2014-03-191-2/+0
| | |\ | | | | | | | | | | | | | | | | * commit '24e1bd71ac6850d9062b3bd803b37c0e92f69c7a': libstagefright is no longer 32 bit only.
| | * \ am 64727dd7: Merge "More precise 32-bit only for libstagefright/ subdirectories"Glenn Kasten2014-03-181-0/+2
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit '64727dd7c8513b6c9ddcce2f4b305618bb76121c': More precise 32-bit only for libstagefright/ subdirectories
| | * \ \ 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-112-7/+6
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
| * | | | libstagefright is no longer 32 bit only.Narayan Kamath2014-03-191-2/+0
| | |_|/ | |/| | | | | | | | | | Change-Id: I88d5fcfc005a2c2acd0246cdd9c08b6c00b6c39b Signed-off-by: Glenn Kasten <gkasten@android.com>
| * | | More precise 32-bit only for libstagefright/ subdirectoriesGlenn Kasten2014-03-171-0/+2
| | |/ | |/| | | | | | | Change-Id: Ie4e8f9ccd834b902287d3452cc9fa739809ddb68
* | | 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
* | | fix the OS X builds until we can fix compiler warnings that apparentlyAndreas Huber2014-02-111-2/+0
| | | | | | | | | | | | | | | | | | trigger only on that platform... Change-Id: I9555d7e2efbe3e349e8af60528b7b9d131a257e3
* | | Merge "warnings be gone."Andreas Huber2014-02-113-7/+8
|\ \ \
| * | | warnings be gone.Andreas Huber2014-02-113-7/+8
| | | | | | | | | | | | | | | | 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 now unused wfd commandline tool. (also unbreaks the build)Andreas Huber2013-10-032-384/+0
| | | | | Change-Id: I03320342976e4e355cc6aeb3d2c485985613b3b5 related-to-bug: 11047222
* Remove obsolete miracast sink code and friends.Andreas Huber2013-10-0220-5839/+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-212-6/+10
| | | | | | Bug: 9371882 Change-Id: I9e4b8c2154b03ce8ff3e14c465a5224bb6e8db9a
* Remove call to enable/disable remote submix from test program.Jeff Brown2013-08-161-26/+0
| | | | | | | | The submix will be controlled automatically from now on based on whether there is an active audio recorder. Bug: 10265163 Change-Id: Iea8164182daa037066f60974b54597d20db4903b
* Minor tweaks to DirectRenderer and ConverterAndreas Huber2013-07-195-60/+209
| | | | | | | | 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-1819-1750/+17
| | | | | | | | 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
* Include what is neededGlenn Kasten2013-07-021-2/+0
| | | | | | | Remove old includes. Header files only include other header files that they directly need themselves. Change-Id: Ic471386808d9f42ea19ccbd59cb50a5f83a89dd0
* 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
* Remove "LOCAL_MODULE_TAGS := debug" for stagefright testsMike Lockwood2013-06-061-8/+0
| | | | Change-Id: I53815d2f6d7dfe7eebb26c3802eb3d195244aab1
* wifi-display: fix resolution list and keepalive intervalChong Zhang2013-05-303-3/+30
| | | | | | | | | | - 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-1710-39/+295
| | | | | | | | pass buffer_handle_t from encoder output to HDCP encryptor input Bug: 8968123 Change-Id: Iea8007ce568641e213fd2e3cf6947a6f7a95746c
* am b5b2d03f: am 99f27cdf: wifi-display: retry UDP read/write to improve ↵Chong Zhang2013-05-161-4/+25
|\ | | | | | | | | | | | | connection robustness * commit 'b5b2d03fc2c154a613ba68b599cd474b3e6ccec3': wifi-display: retry UDP read/write to improve connection robustness
| * wifi-display: retry UDP read/write to improve connection robustnessChong Zhang2013-05-161-4/+25
| | | | | | | | | | Bug: 8922753 Change-Id: Ie6d18f03afcb23d11e6f0e63403e8f0d59b70be8
| * wifi-display: misc fixes for M3 response parsingChong Zhang2013-05-114-125/+186
| | | | | | | | | | | | | | | | | | | | | | - 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
| * Merge "Don't even try to verify the native resolution validity a" into ↵Andreas Huber2013-05-021-2/+11
| |\ | | | | | | | | | jb-mr2-dev
| | * Don't even try to verify the native resolution validity aAndreas Huber2013-05-011-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | miracast sink advertises, even if it were valid we couldn't use it since it's not consistently implemented by sinks. Change-Id: Ibee6b3e23b5a55270fc3c419a581e2626530e3af related-to-bug: 8772006