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
|
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
|
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
|
2946966456
|
Whitelist the Exynos hardware H264 decoder
|
2013-11-22 02:13:02 -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
|
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
|
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 |
|
Cameron Gutman
|
9e4364f672
|
Fix the double-free bug and disable double free debugging.
|
2013-11-21 13:05:01 -05:00 |
|
Cameron Gutman
|
7951c0fa13
|
WIP optimization of object allocation and pools. There's currently a double free on the AvByteBufferDescriptor that I'm trying to track down.
|
2013-11-21 12:24:45 -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 |
|
Cameron Gutman
|
2c2e713166
|
Rework our JNI interface and add ffmpeg bindings for AVC decoding (WIP)
|
2013-11-18 18:58:49 -05:00 |
|
Cameron Gutman
|
cca7df6c25
|
Reassemble AVC NALs when padding is reached, rather than waiting through several packets until the next AVC frame start NAL. Improves video latency and vulnerability to packet loss.
|
2013-11-17 16:50:45 -05:00 |
|
Cameron Gutman
|
524cab4115
|
Drop audio frames if the backlog becomes too large. Trim buffer pools when memory runs low. Optimize AVC decoding a bit more.
|
2013-11-10 15:25:00 -05:00 |
|
Cameron Gutman
|
fc66caf567
|
Revert unintended change
|
2013-11-10 15:21:58 -05:00 |
|
Cameron Gutman
|
e507f4abfb
|
Remove some unneccessary checks and repurpose an old method.
|
2013-11-10 14:45:28 -05:00 |
|
Cameron Gutman
|
54e365a304
|
Fix video buffer pool usage.
|
2013-11-10 03:29:44 -05:00 |
|
Cameron Gutman
|
d5665ac318
|
Fix decoding of misaligned start sequences.
|
2013-11-10 02:53:51 -05:00 |
|
Cameron Gutman
|
34e87ca899
|
Rename AvBufferX -> AvByteBufferX and create AvShortBufferX
|
2013-11-10 03:42:29 -05:00 |
|
Cameron Gutman
|
62a9040cb8
|
Add a Opus decoder JNI library. Write an audio depacketizer. Audio works!
|
2013-11-10 03:27:21 -05:00 |
|
Cameron Gutman
|
d3b9387c37
|
Refactor AV code
|
2013-11-09 19:20:49 -05:00 |
|