12 Commits

Author SHA1 Message Date
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
fb8b6fd7f5 Add configurable ffmpeg performance options 2013-11-24 21:46:47 -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
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
ab9b7b5164 Discard the alpha channel of the surface since it's not used. Always use MED_PERF for the AvcDecoder configuration because it now works well enough on Tegra 3 that the image quality improvements are worth it. 2013-11-21 08:45:25 -05:00
Cameron Gutman
45664dac2a Draw directly to the surface buffer. Improve amount of decoding and rendering that can be done in parallel. Add performance levels and choose them by cpuinfo. Improves Tegra 3 performance significantly. 2013-11-21 08:38:49 -05:00
Cameron Gutman
9b46155af2 Log a message based on what type of decoding is being used 2013-11-20 01:35:39 -05:00
Cameron Gutman
34905dd01e Fix crashes caused by rendering to a surface on teardown 2013-11-20 00:32:37 -05:00
Cameron Gutman
16d629f5cf Remove jlibrtp (finally). CPU decoding support (works great on Tegra 4, not so well on Tegra 3) 2013-11-20 00:00:00 -05:00
Cameron Gutman
0504bed5e9 Fix ffmpeg library loading. Create a DecoderRenderer interface and use it to move the MediaCodec code into for Qualcomm devices. 2013-11-19 02:49:33 -05:00