| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
mnc-dev
|
| |
| |
| |
| |
| |
| |
| |
| | |
pull 4 video buffers at a time, and start pulling when we're down
to 1 buffers to avoid starving the decoder.
bug: 22320866
Change-Id: I10914dc092f3830ecb6296e2d9ebf9064ff7a5dc
|
|/
|
|
|
| |
Bug: 21901470
Change-Id: I1506d3c73a213ff29e3b0adb8b0a1e7571e583aa
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Be more tolerant with corrupt packet. Instead of reporting EOS,
simply discard the damaged packet and continue.
Bug: 21764375
Change-Id: Ibfd112db884732a082371c1abbd047077d1bf57e
|
|\ \
| |/
|/|
| | |
into mnc-dev
|
| |
| |
| |
| |
| | |
Bug: 20439174
Change-Id: I76a9a3cd1669164cee921191d27d4c669eeb9ae0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Estimate duration based on GOP duration and size to yield more
accurate result. For a fully buffered stream, just use the buffered
duration.
Bug: 21391417
Change-Id: I116ae8f596007a0b9fca427a4875c10820ddfea2
|
| |
| |
| |
| | |
Change-Id: I30e5093d55c29fa62fe8c19095c006861c0ee5a0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 21340130
Change-Id: I4c7eeaf1e35a93400adc87af4eea1902d89d2630
|
|/ /
| |
| |
| | |
Change-Id: Ia888b5865691a3b916aceff064a9b25b3118e2b0
|
|\ \
| | |
| | |
| | | |
mnc-dev
|
| | |
| | |
| | |
| | |
| | | |
Bug: 20433028
Change-Id: I6145eae8d64ad9150477a8ac52545e68768c75eb
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| | |
TODO: Use bandwidth-based estimation to seek forward long period.
Bug: 20126845
Change-Id: I5e2f90784a9ce0dce348715dfcfc4f83ee196170
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Bug: 21151892
Change-Id: I6a243b0edbbb445df0caf65f395f81926fd515f0
|
|/
|
|
|
|
|
| |
Also clear EOS status when we reset ATSParser.
Bug: 20959760
Change-Id: I730234acf3cdbee08affe0f28b7e8759e11059cb
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 18752034
Change-Id: Ie185ebac8324b4fd6dbb68d7cc53124dfe97cbc2
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Used new RCHECK_ macros for drop-in replacements for CHECK_
to avoid crashing at bit errors encountered while parsing
MPEG2 transport packets.
Also removed CHECK_ macros in PSI table processing as errors
would have been already filtered out by CRC check.
Bug: 20274977
Change-Id: I5ca810df3c4295142610bbd1d586d7529bb9f303
(cherry picked from commit e84ab89a2cdae1d1828225f88d895882d716f90e)
|
|
|
|
|
| |
Bug: 20537676
Change-Id: I0bd11527ccd022c39d94b7877df81de4da1b14a6
|
|
|
|
|
|
|
|
|
| |
The new getBufferedDurationUs implementation obsoletes the purpose of
getEstimatedDurationUs; remove getEstimatedDurationUs and its
associated member variables. Finally replace calls to
getEstimatedDurationUs with getBufferedDurationUs.
Change-Id: I38f20df8e177ffbfe299b203d99076fc98dcd274
|
|
|
|
| |
Change-Id: I9b1ad60fbfb866dbf9c00843e06553c3eb25c113
|
|
|
|
| |
Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
|
|
|
|
| |
Change-Id: I00a8a786b3f4b74742c34770edd94e937abe20a8
|
|\
| |
| |
| |
| |
| |
| | |
of mpeg video to flush out final sample"
* commit '6705a49f6481ad1728215a2a72472fe43c786cd0':
Signal EOS at end of mpeg video to flush out final sample
|
| |
| |
| |
| | |
Change-Id: I27196a4a4b7fe37da52d3ee99da8cb80294d36d0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added logic to find sync frame of mpeg2, mpeg4 and h264
Bug: 19940277
Change-Id: I4d95ae247f590b831bf11ff8c9c6fe45d21dab56
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
to avoid having to immediately down switch (and pause)
after playback starts.
do not count "discard" packet when estimating duration.
bug: 19567254
Change-Id: I0cdd37a06ca800dd81a91cca5eb9b46a1eab7b20
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/|
| | |
| | | |
when "seeking" to current position"
* commit 'fdbafc0728380645ee2194e2ccfe72b12c65fccf':
Don't fail read when "seeking" to current position
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes thumbnails for MPEG2TS files.
Bug: 19583374
Change-Id: I66e5ca014e2f32ba2566c6f511b6e8859d5a97dc
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
H264/MPEG_VIDEO sync words can be either 0x000001 (3 bytes) or
0x00000001 (4 bytes); simply searching for 0x000001 in appendData
suffices because:
1. 0x000001 is a suffix of 0x00000001, as such we would continue to
identify all sync words that we used to identify originally.
2. the parsing logic downstream of appendData in
dequeueAccessUnitMPEGVideo and dequeueAccessUnitH264
can both handle 0x000001.
Bug: 19900317
Change-Id: Iac42aad74563d056a443b4396eacbae0f7a4738b
|
| |/
|/|
| |
| |
| | |
bug: 19567254
Change-Id: I4305d37cb74279ccd435f99483231cd1dcf42fc9
|
|\ \
| | |
| | |
| | | |
H264/MPEG_VIDEO"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
H264/MPEG_VIDEO sync words can be either 0x000001 (3 bytes) or
0x00000001 (4 bytes); simply searching for 0x000001 in appendData
suffices because:
1. 0x000001 is a suffix of 0x00000001, as such we would continue to
identify all sync words that we used to identify originally.
2. the parsing logic downstream of appendData in
dequeueAccessUnitMPEGVideo and dequeueAccessUnitH264
can both handle 0x000001.
Bug: 19900317
Change-Id: Iac42aad74563d056a443b4396eacbae0f7a4738b
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- fix no target-duration case
- fix for audio-only <=> audio/video switching
- disable audio-only variants if there is at least
one variant with video
- fix mpeg2ts PTS wraparound when bandwidth adapting
- tweak up/down switch marks
bug: 19567254
Change-Id: Ib46144203c56dfc96eccd6ddaa3867e8a4f2c6a9
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CRC checking helps the parser avoid getting wrong values from
corrupted data in the stream transmitted over a noisy channel.
Bug: 19821428
Change-Id: I7f589a66a781298c039124a4bd1c9453e77b1bf3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- when upswitching, discard excessive buffering on low
bandwidth variant, switch to new variant earlier
- when downswitching, report newly found IDR positions
continuously, and switch as soon as new fetcher passes
playback position. This allows us to skip time-consuming
resumeUntil() of old fetcher most of the time
- implement pause/resume on low buffering, and notify
buffering percentage
- buffering parameter tuning, separate pause/resume/ready
buffer level and up/down switch buffer level, boost up
fetcher buffering significantly
bug: 19567254
Change-Id: I750dfcc6f861d78d16a71f501beb86d8129cb048
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- when down switching, decide whether to finish current segment
based on bandwidth settings, abort current segment if needed.
- when switching, pause new fetcher after the first 47K chunk,
and go back to resume old fethcer to stop point immediately.
- when old fetcher reaches stop point, swap packet sources and
resume new fetcher.
- mark switching as done as soon as old fecther reaches stop
point. This allows us to resume bandwidth monitoring earlier,
and do subsequent switches sooner.
bug: 19567254
Change-Id: Iba4b5fb9b06541bb1e49592536648f5d4cbc69ab
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- keep old fetcher when seeking, unless the URI is changing.
- when restarting after a seek, check discontinuity seq, and
queue format change if it's changed.
- add a simple kill switch to abort when stop (or pause for seek).
- when seeking, if searching for start time goes into 2nd segment,
do not signal time discontinuity or reset first PTS.
- use setFormat() to set format in AnotherPacketSource, otherwise
video/audio flags are not updated and format are not cleared on
discontinuities.
- do not start queueing video access unit until first IDR after start
bug: 19656539
Change-Id: I79108d26964f59ea00d2eeac8f5f9318747f8541
|
| |
| |
| |
| | |
Change-Id: Ie3b754e22a4f858a35159abc8eaf00aa4949ab24
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
also use original 33bit PTS on first frame, only do wrap around
starting from second frame.
bug: 19656539
Change-Id: I3733e0f60fe4b9275bef4aef819777852c112710
|