29 Commits

Author SHA1 Message Date
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
Cameron Gutman
cfd788bec0 Use the minimum stream buffer size and the sample size when choosing a buffer size 2014-03-17 14:20:12 -04:00
Cameron Gutman
e13241eebf Use LimeLog for logging 2014-02-26 17:20:10 -05:00
Cameron Gutman
c7f26a179d Add the frame skipping code back for certain decoders (Qualcomm) that are slow when rendering all frames and stall the whole decoder pipeline 2014-02-26 01:56:05 -05:00
Cameron Gutman
4b2552ed64 Set MediaCodec flags on the input buffer based on the DU flags 2014-02-26 01:01:54 -05:00
Cameron Gutman
ddc70e39c9 Only use direct submit on decoders that have (effectively) infinite input buffers 2014-02-19 22:18:26 -05:00
Cameron Gutman
b0c4d47962 Report direct submit support for the MediaCodec decoder renderer 2014-02-19 21:00:39 -05:00
Cameron Gutman
6fc848ef56 Block for 100 ms instead of 100 us waiting for a frame. This reduces the CPU time wasted by useless iterations of the rendering loop. 2014-02-19 19:49:57 -05:00
Cameron Gutman
c537af2273 Render the latest frame available at the time 2014-02-19 19:40:35 -05:00
Cameron Gutman
22ecdd9cf8 Don't skip frames when rendering 2014-02-19 19:22:00 -05:00
Cameron Gutman
426b40ae82 Don't allocate a new BufferInfo object for each output buffer 2014-02-17 14:21:42 -05:00
Cameron Gutman
46fbee1a3b Only use SPS hack on Tegra devices 2014-01-10 01:05:15 -06:00
Cameron Gutman
81ae7bd638 Update audio code for limelight-common changes 2014-01-10 01:04:42 -06:00
Cameron Gutman
2993d62191 Unblacklist Tegra and Rockchip after the SPS fix 2014-01-06 22:54:35 -06:00
Cameron Gutman
9d3ee3a0a2 Add UI elements and backend code for manually overriding the default decoder choice. Redraw at the specified refresh rate. 2013-12-26 17:35:53 -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