media/library/src/main/java/com/google/android/exoplayer
Oliver Woodman f7fb4d4c35 Optimize NAL unit search.
I'm not really a fan of micro-optimizations, but given this method
scans through every H264 frame in the HLS case, it seems worthwhile.
The trick here is to examine the first 7 bits of the third byte
first. If they're not all 0s, then we know that we haven't found a
NAL unit, and also that we wont find one at the next two positions.
This allows the loop to increment 3 bytes at a time.

Speedup is around 60% on Art according to some ad-hoc benchmarking.
2015-02-12 12:46:58 +00:00
..
audio AudioTrack enhancements. 2015-01-12 17:35:43 +00:00
chunk Enhance mp4 parsing. 2015-02-09 17:25:39 +00:00
dash Add AOSP header. 2015-02-02 19:54:56 +00:00
drm Allow passing of optional parameters in MediaDrm key requests. 2014-12-08 20:12:04 +00:00
hls Split TsExtractor into multiple files. 2015-02-12 12:09:57 +00:00
metadata Make TsExtractor use ParsableByteArray where possible. 2015-02-10 22:13:01 +00:00
mp4 Optimize NAL unit search. 2015-02-12 12:46:58 +00:00
smoothstreaming Move common MP4 parsing code to CommonMp4AtomParsers and Mp4Util. 2015-02-06 11:43:37 +00:00
source Enhance mp4 parsing. 2015-02-09 17:25:39 +00:00
text Make TsExtractor use ParsableByteArray where possible. 2015-02-10 22:13:01 +00:00
upstream Bug fixes for ByteArrayDataSource. 2015-02-03 12:43:09 +00:00
util Remove intermediate copy steps in TsExtractor. 2015-02-11 14:57:07 +00:00
Ac3PassthroughAudioTrackRenderer.java Improve EIA608 caption support. 2015-02-09 17:28:07 +00:00
BehindLiveWindowException.java SmoothStreaming Live support. 2014-09-25 20:16:30 +01:00
C.java Make single MICROS_PER_SECOND constant + use it everywhere. 2014-12-03 18:30:15 +00:00
CodecCounters.java Optimize some CodecCounter inefficiency. 2014-08-11 17:42:08 +01:00
CryptoInfo.java Initial drop. 1.0.10. 2014-06-16 12:56:04 +01:00
DecoderInfo.java Use new MediaCodecList APIs on L. 2014-11-18 18:58:04 +00:00
DefaultLoadControl.java Treat "no chunk to load yet" in the same way as finished. 2014-10-09 17:27:20 +01:00
DummyTrackRenderer.java Smoother playback #1. 2014-10-09 17:26:01 +01:00
ExoPlaybackException.java Initial drop. 1.0.10. 2014-06-16 12:56:04 +01:00
ExoPlayer.java Transition ExoPlayer to use longs for ms timestamps. 2014-09-11 16:26:43 +01:00
ExoPlayerImpl.java Misc performance/correctness tweaks. 2014-12-17 19:18:33 +00:00
ExoPlayerImplInternal.java Continue playback of tracks with longer duration than the timesource. 2015-02-06 11:32:46 +00:00
ExoPlayerLibraryInfo.java HLS optimization #1 (refactor). 2015-02-10 12:25:13 +00:00
LoadControl.java Treat "no chunk to load yet" in the same way as finished. 2014-10-09 17:27:20 +01:00
MediaClock.java Smoother playback #1. 2014-10-09 17:26:01 +01:00
MediaCodecAudioTrackRenderer.java Refine logic for determining AudioTrack size. 2015-01-06 20:13:50 +00:00
MediaCodecTrackRenderer.java Force callers into MediaCodecUtil to catch any exceptions that occur. 2015-01-12 17:40:55 +00:00
MediaCodecUtil.java Force callers into MediaCodecUtil to catch any exceptions that occur. 2015-01-12 17:40:55 +00:00
MediaCodecVideoTrackRenderer.java Bring internal/external branches closer. 2014-11-19 15:58:26 +00:00
MediaFormat.java Merge pull request #207 from google/dev 2014-12-17 19:25:12 +00:00
MediaFormatHolder.java Call FormatHolder what it really is. 2014-09-08 11:30:16 +01:00
ParserException.java Allow relaxation of TTML validity requirement when parsing subtitles. 2014-10-09 17:19:14 +01:00
SampleHolder.java Improve EIA608 caption support. 2015-02-09 17:28:07 +00:00
SampleSource.java Smoother playback #1. 2014-10-09 17:26:01 +01:00
SmoothFrameReleaseTimeHelper.java Add VSYNC aligning smooth frame release helper. 2014-11-27 18:15:16 +00:00
TrackInfo.java Make sure SmoothStreaming manifest durations are -1 for Live. 2014-12-03 18:26:48 +00:00
TrackRenderer.java Minor doc fixes. 2014-12-12 14:13:58 +00:00
VideoSurfaceView.java Initial drop. 1.0.10. 2014-06-16 12:56:04 +01:00