Commit Graph

66 Commits

Author SHA1 Message Date
Cameron Gutman 178c53ee84 Propagate the possible exceptions during codec capability checks to the caller so a nice dialog can be displayed instead of crashing on buggy ROMs. Small change to evdev shutdown. 2014-09-03 20:00:00 -07:00
Cameron Gutman 3e017625a9 Raw mouse input is working 2014-09-02 00:41:33 -07:00
Cameron Gutman bc166a713d More bugfixes for Evdev code. Enable ROOT_BUILD since it's the root branch. 2014-09-01 23:38:47 -07:00
Cameron Gutman f4546ba188 Raw mouse input WIP 2014-09-01 22:19:12 -07:00
Cameron Gutman e8dd3511db Add some tolerance in the tap to click code. Implement right clicking. 2014-09-01 14:03:55 -07:00
Cameron Gutman 5fdd9b773c Workaround decoder errata of the Exynos 4 2014-08-29 15:38:08 -07:00
Cameron Gutman e3e7ac1e68 Remove rounding on triggers 2014-08-20 22:14:03 -07:00
Cameron Gutman 10212bd38b Fix potential integer overflow issue with stick axes 2014-08-20 22:12:45 -07:00
Cameron Gutman 4bec02f47f Implement a scaled radial deadzone rather than our previous dumb axial deadzones 2014-08-20 22:10:59 -07:00
Cameron Gutman 9393bf7f79 Fix a regression in video scaling after the CPU decoding fix 2014-08-06 22:33:41 -07:00
Cameron Gutman b2ad259a7c Also add bitstream restrictions to Qualcomm devices to hopefully address the GS3 issue 2014-08-06 17:22:41 -07:00
Cameron Gutman 8887401644 Fix surface sizing with scaling disabled on the CPU decoder 2014-08-05 23:16:02 -07:00
Cameron Gutman 829532c572 Some devices don't properly get interrupted while waiting for an input buffer, so wait 100 ms then check the interrupt flag 2014-08-05 21:29:21 -07:00
Cameron Gutman e1e4ccf318 Fix Shield's hardware back button 2014-07-21 23:57:28 -07:00
Cameron Gutman 428d37afd4 Improve input device detection 2014-07-19 03:50:37 -07:00
Cameron Gutman f5ec665115 Park for a bit if there's nothing to do 2014-07-19 03:49:44 -07:00
Cameron Gutman 4258ac752e Add specific CPU detection for the emulator 2014-07-13 21:21:47 -07:00
Cameron Gutman 993711ccfe Don't report decoding time for software decoder because it generally doesn't capture the information we want due to CPU overhead 2014-07-12 13:46:39 -07:00
Cameron Gutman d1ef912984 Remove the remaining allocations in the AV paths 2014-07-12 13:38:28 -07:00
Cameron Gutman d2f8ee8b81 Add timekeeping stats to CPU decoder 2014-07-10 18:59:05 -07:00
Cameron Gutman 91e68c0580 Include rendering time in the total decoding time 2014-07-10 18:47:30 -07:00
Cameron Gutman 2ab14cdbf5 Suppress a Lint warning and remove a trace 2014-07-04 12:12:12 -07:00
Cameron Gutman a74de39879 Update latency tracking code 2014-07-02 08:16:54 -07:00
Cameron Gutman 1d27309e53 Revert "Disable latency tracking due to performance problems"
This reverts commit 3dd57e9f38.
2014-07-01 19:51:45 -07:00
Cameron Gutman 3f00885d2c Protect against a null pointer exception if setup() fails 2014-07-01 07:27:32 -07:00
Cameron Gutman 3dd57e9f38 Disable latency tracking due to performance problems 2014-06-30 21:23:45 -07:00
Cameron Gutman a639143e94 Add a latency toast after the stream stops 2014-06-30 21:14:27 -07:00
Cameron Gutman b3c78ce1b1 Submit codec config frames with the corresponding flag to work around an TI OMAP 4 errata. Also add a file that documents the currently known codec errata. 2014-06-30 21:05:10 -07:00
Cameron Gutman 8f43b95129 Remove the RenderScript renderer 2014-06-29 23:51:59 -07:00
Cameron Gutman a450cd5b01 Remove deprecated crypto API usage based on irtimmer's changes to Limelight-PC 2014-06-29 12:39:36 -07:00
Cameron Gutman 7142db3fac Fixes for Android L and some weird codec exceptions 2014-06-29 11:49:42 -07:00
Cameron Gutman 33c5254d6f Yet again raise the minimum button down time based on testing on Ouya 2014-06-26 20:38:37 -07:00
Cameron Gutman faa82ca9d6 Fixup num_ref_frames in SPS on Qualcomm devices to (hopefully) fix the crashing video bug on the Galaxy S3 after Android 4.3 2014-06-26 20:03:12 -07:00
Cameron Gutman 869cbe2e81 Frame latency and jitter improvements 2014-06-19 19:13:16 -07:00
Cameron Gutman ce01223683 Implement crypto provider and GFE 2.1 compatibility 2014-06-15 20:17:09 -07:00
Cameron Gutman e7501a488d Raise the minimum button down threshold to minimize missed start button presses on OUYA 2014-06-01 17:11:40 -04:00
Cameron Gutman 5626e9663b Fix Ouya controller combos and bump the version to 2.2.1.2 2014-05-31 16:33:51 -04:00
Cameron Gutman 01b35ccdd3 Controller handling improvements for Ouya 2014-05-27 23:45:30 -04:00
Cameron Gutman 7a017d7b97 Make the d-pad center button emulate the A button so remotes with only d-pad buttons are usable in the Steam UI 2014-04-21 17:40:50 -04:00
Cameron Gutman d2773be32e Separate the different SPS fixups by decoder. Go back to the old way of doing bitstream restrictions because the new way seems to be broken. TI OMAP4's Ducati decoder works now :) 2014-04-14 13:24:52 -04:00
Cameron Gutman fc9c4d9aaa Use a much better method for adding bitstream restrictions to the SPS. Fix a violation in H.264 spec after adding bitstream restrictions. Credit to irtimmer for the changes. 2014-04-13 20:47:37 -04:00
Cameron Gutman 8a40892865 Rewrite controller code to better handle previously unseen controllers 2014-03-31 00:30:36 -04:00
Cameron Gutman b908c5cec3 Add support for digital L2 and R2 buttons 2014-03-30 16:28:54 -04:00
Cameron Gutman 3f3c573c79 Move controller handling into a new class. Implement translation for DualShock 4 controllers. 2014-03-28 23:53:28 -04:00
Cameron Gutman e1253bbb59 Move KeyboardTranslator into its own package 2014-03-28 23:52:34 -04:00
Cameron Gutman b2eb953f45 Don't dump decoders on start because some devices will throw a spurious IllegalStateException when querying capabilities 2014-03-28 20:06:53 -04:00
Cameron Gutman 70a1dd56b4 A bit more cleanup 2014-03-21 21:16:53 -04:00
Cameron Gutman 9857017b22 Dump decoders before starting for logging purposes. Remove the software decoders from the blacklist since they are properly detected by the high profile check now. 2014-03-21 20:54:33 -04:00
Cameron Gutman 53474c7d28 Check that the decoder supports high profile H.264 before using it 2014-03-21 20:29:22 -04:00
Cameron Gutman 735ad02fb4 The surface format must be RGBX if we're doing CPU rendering. If the surface is RGB565, the renderer will not properly format the output and the decoder will crash. 2014-03-21 18:20:55 -04:00