Commit Graph

2554 Commits

Author SHA1 Message Date
Aaron Neyer 4f56dce9f7 add readme 2013-12-11 21:12:43 -05:00
Aaron Neyer 25be9e5cf8 updated readme 2013-12-09 16:55:12 -05:00
Aaron Neyer 5337e938e0 add license and readme 2013-12-09 12:12:03 -05:00
Diego Waxemberg 4e9fb1bbce no longer print each time we send a keyboard packet 2013-12-09 11:56:20 -05:00
Diego Waxemberg da47b43ad3 added support for all 3 mouse buttons 2013-12-08 16:25:41 -05:00
Diego Waxemberg 87152e6403 added support for keyboard modifier keys 2013-12-08 14:44:01 -05:00
Diego Waxemberg 895c123b13 removed keyboard packet print statment 2013-12-07 22:14:35 -05:00
Diego Waxemberg 35476e2c28 added support for sending keyboard key presses 2013-12-07 21:21:34 -05:00
Diego Waxemberg 29909e07e8 added render api for limelight-pc 2013-12-07 20:09:57 -05:00
Cameron Gutman 9ac103187f Fix an off-by-one in fallback interface selection 2013-12-05 19:27:46 -05:00
Cameron Gutman 12179a999b Missed uncommenting this. 2013-12-05 13:01:43 -05:00
Cameron Gutman 14d093cf06 Remove code shared with limelight-common and implement Android bindings. 2013-12-05 12:59:36 -05:00
Cameron Gutman ce1494895e Commit of common limelight core with bindings based on HEAD of RenderScript-Renderer 2013-12-05 12:57:49 -05:00
Cameron Gutman 41d2f6b0e2 Create .gitignore 2013-12-05 12:54:41 -05:00
Cameron Gutman b0bb8b685c Further optimize the JNI code for faster H264 decoding. Add an experimental RenderScript renderer. 2013-11-29 21:06:35 -06:00
Cameron Gutman f4cf83012e Disable Nagle on the control socket. Use a single resync thread rather than spawning a new thread each time. 2013-11-28 21:36:51 -05:00
Cameron Gutman fb437f11a0 Always request an IDR frame if packet loss occurs because we don't know if we missed a full frame (partial revert of last commit). Remove the last bit of active NAL parsing. 2013-11-28 21:02:31 -05:00
Cameron Gutman b0d138b7f2 Rewrite the NAL depacketizer to run in O(1) time by parsing the proprietary header rather than the H264 bytestream 2013-11-28 14:22:12 -05:00
Cameron Gutman a2a4159b0c Also disable non-compliant speed optimizations when prioritizing quality 2013-11-26 20:44:10 -05:00
Cameron Gutman b603bf4887 Add a checkbox to favor image quality over performance 2013-11-26 20:03:55 -05:00
Cameron Gutman 8e22a125e2 Remove AvcDecoder.SLICE_THREADING flag which was making performance worse. Scale the thread count higher on low performing devices. Use a constant 30 fps target since rendering tends to have very little effect on decoding speed. Only wait when the wait time will exceed 8 ms in order to reduce the likelyhood that the wait causes us to render late. 2013-11-26 14:36:06 -05:00
Cameron Gutman 55d534c8cf Fix off-by-one error in prefix matching 2013-11-25 21:48:35 -05:00
Cameron Gutman 734d80b281 Blacklist the Rockchip H264 decoders. Blacklist another software decoder that doesn't support H264 L5.0 high profile 2013-11-24 19:55:12 -05:00
Cameron Gutman 5360d6c9b2 Hint the GC to run at the completion of each frame. This forces concurrent garbage collection which means that the likelyhood of a long GC pause while other threads are running is lower. 2013-11-24 19:32:50 -05:00
Cameron Gutman dd82573d08 Switch from ArrayBlockingQueues to LinkedBlockingQueues for increased throughput. Set thread priorities for the decoder and ping threads. 2013-11-24 19:31:50 -05:00
Cameron Gutman d9527a3810 Optimize performance flags. 2013-11-24 19:29:26 -05:00
Cameron Gutman 9be14c3d92 Add thread names for easier debugging 2013-11-24 17:57:00 -05:00
Cameron Gutman 732ea8a3ac Optimize the reinitialization of the buffer descriptor in the receive threads 2013-11-24 17:29:12 -05:00
Cameron Gutman 9a3c5dac0a Suppress connection failure warnings when closing gracefully 2013-11-24 21:52:33 -05:00
Cameron Gutman 7d39ac2a45 Reuse a single AvByteBufferDescriptor when depacketizing H264 instead of allocating many of them per packet 2013-11-24 21:51:09 -05:00
Cameron Gutman fb8b6fd7f5 Add configurable ffmpeg performance options 2013-11-24 21:46:47 -05:00
Cameron Gutman c8b94217cf Set the datagram destination manually for ping packets rather than connecting the datagram socket explicitly. This prevents the ICMP port unreachable message from being propagated to the receive thread which causes an IOException. 2013-11-23 17:07:33 -05:00
Cameron Gutman 0fe7549942 Loosen the connection timeouts. Remove the HTTP request timeout because it depends on how long it takes for the requested app to start. 2013-11-23 16:48:46 -05:00
Cameron Gutman 022866288d Add more logging for exceptions. 2013-11-23 14:06:51 -05:00
Cameron Gutman 125bcb370f Limit the size of queues. Switch to a blacklist instead of a whitelist for hardware decoding. Currently, Nvidia, TI, and Google H264 codecs are on the blacklist. Reenable large heap since we're allocating more objects now. 2013-11-23 02:44:10 -05:00
Cameron Gutman 4d5849f448 Add UI indications of the connection status and failure 2013-11-23 01:03:37 -05:00
Cameron Gutman c88d23001e Commit forgotten ConnectionStatusListener interface. Thanks to danielb7390 for pointing this out. 2013-11-22 22:13:39 -05:00
Cameron Gutman 2946966456 Whitelist the Exynos hardware H264 decoder 2013-11-22 02:13:02 -05:00
Cameron Gutman d00474c1cd Fix warning. 2013-11-22 00:31:39 -05:00
Cameron Gutman 49b2332f14 Make the IP textview single line with no suggestions. Set focus to the start streaming button by default. 2013-11-22 00:31:25 -05:00
Cameron Gutman db78af916d Handle decode units larger than the size of the decode unit buffer 2013-11-22 00:29:48 -05:00
Cameron Gutman e1a8f86d4f Make the virtual and hardware back buttons on the devices themselves work as the in-game back button. This is required for Shield's back button to work. 2013-11-21 19:56:44 -05:00
Cameron Gutman 80fdae3673 Request an IDR frame if a previous frame was lost or 2013-11-21 19:55:40 -05:00
Cameron Gutman e52b85a883 Restore the performance level fed into the AvcDecoder 2013-11-21 16:59:04 -05:00
Cameron Gutman 6bb215eddf Remove pooling code due to higher concurrency latency that resulted in a net loss of performance. 2013-11-21 16:40:27 -05:00
Cameron Gutman 1d7460e8b3 Revert "WIP optimization of object allocation and pools. There's currently a double free on the AvByteBufferDescriptor that I'm trying to track down."
This reverts commit 6600329580aace81321220d2e4000099ad27f4f7.
2013-11-21 16:25:10 -05:00
Cameron Gutman 3efa356bb8 Revert "Add double-free detection code to the pools"
This reverts commit 9cdcfd2522febcc2eb7f65d926a37cfa05f21323.
2013-11-21 16:25:01 -05:00
Cameron Gutman 45120e79e4 Revert "Fix the double-free bug and disable double free debugging."
This reverts commit 9bb395501172f754baacc1efe6f09af55627fa15.
2013-11-21 16:24:52 -05:00
Cameron Gutman ff50b5fdab Revert "Fix memory leaks of special NAL sequences"
This reverts commit d9987105d0d9c27e920b4113875e82b315d050a4.
2013-11-21 16:24:47 -05:00
Cameron Gutman e6959e66e4 Fix memory leaks of special NAL sequences 2013-11-21 14:36:17 -05:00