summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
Commit message (Collapse)AuthorAgeFilesLines
* HLS: bandwidth estimator changesChong Zhang2015-03-193-69/+149
| | | | | | | | | | | | | | | | - separate bandwidth estimator from HTTPBase, so that we have better control on which samples to use, it also allows bandiwdth history across multiple HTTPBase objects (which we'll use later). - use min buffer duration among the streams to decide whether to download next segment. - maintain constant buffer level, time next download to happen when buffer just goes below kMinBufferedDurationUs. bug: 19567254 Change-Id: I5c481ad1f7ff3f084d57ec68856e12ae6b40ce41
* Fix 64-bit build break caused by print typeChong Zhang2015-03-172-4/+4
| | | | Change-Id: I2239d875420f6926918c1a0dcab31b71c8329d1f
* Merge "HLS: some fixes for seek with discontinuity."Chong Zhang2015-03-176-104/+173
|\
| * HLS: some fixes for seek with discontinuity.Chong Zhang2015-03-176-104/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | libstagefright: add ProcessInfo to get process priority.Ronghua Wu2015-03-162-0/+54
| | | | | | | | | | Bug: 19620911 Change-Id: I240b814b8925b1d6266e6f998a7debd654a2145a
* | Merge "libstagefright: handle MediaFormat "priority" key."Ronghua Wu2015-03-161-0/+21
|\ \
| * | libstagefright: handle MediaFormat "priority" key.Ronghua Wu2015-03-121-0/+21
| | | | | | | | | | | | | | | Bug: 19620911 Change-Id: I73675c7cc3d742b9a1a98d6c0f48dcf17557e2ad
* | | Merge "libstagefright: Stop using IGBC::BufferItem"Dan Stoza2015-03-166-21/+25
|\ \ \
| * | | libstagefright: Stop using IGBC::BufferItemDan Stoza2015-03-126-21/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switches all uses of IGraphicBufferConsumer::BufferItem (and BufferQueue::BufferItem) to the BufferItem in libgui. Depends on frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9. This is a member of I187b3a7d05196b6289596afac8fb9a9d4aebff76, but since it was split out from the camera change in frameworks/av, they have to have different change IDs. Change-Id: I0ddd38df37500cfd6b21d1e768ed14e39c5cd9fc
* | | | avc_util: fix aspect_ratio_idc 14~16Chong Zhang2015-03-131-9/+24
| |_|/ |/| | | | | | | | | | | bug: 19702519 Change-Id: I00772fe70be27f6a6a051fc0d18ebca64bbac43e
* | | Fix print format error.Chih-Hung Hsieh2015-03-121-1/+1
| | | | | | | | | | | | Change-Id: Ie3b754e22a4f858a35159abc8eaf00aa4949ab24
* | | Merge "ATSParser: handle PID change"Chong Zhang2015-03-111-47/+96
|\ \ \
| * | | ATSParser: handle PID changeChong Zhang2015-03-091-47/+96
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | also use original 33bit PTS on first frame, only do wrap around starting from second frame. bug: 19656539 Change-Id: I3733e0f60fe4b9275bef4aef819777852c112710
* | | Merge "HLS: misc changes in LiveSession buffering logic"Chong Zhang2015-03-104-264/+181
|\ \ \ | |_|/ |/| |
| * | HLS: misc changes in LiveSession buffering logicChong Zhang2015-03-104-264/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove unnecessary time discontinuity move fetcher to separate looper so that download won't block LiveSession poll buffering at 1 sec interval in LiveSession, and switch bandwidth if necessary use fixed 100ms threshold for resumeUntil bug: 19567254 Change-Id: I911e5041364f0858b43f2312756e173db5870a1e
* | | stagefright: don't use ALooperRoster mutex for reply handlingLajos Molnar2015-03-1010-77/+110
| | | | | | | | | | | | | | | | | | | | | | | | Change replyID-s from uint32_t to an object Move reply handling into the loopers (to reuse a common mutex) Bug: 19607784 Change-Id: Iaa035b846c424c5687ed17ce1079b325e86c54be
* | | Merge "mediaplayer: move MediaClock from NuPlayer to libstagefright."Wei Jia2015-03-102-0/+140
|\ \ \
| * | | mediaplayer: move MediaClock from NuPlayer to libstagefright.Wei Jia2015-03-092-0/+140
| | | | | | | | | | | | | | | | | | | | Bug: 19666434 Change-Id: I86865e594226419bbbbee217098f96434e43afbe
* | | | Merge "do not do bandwidth estimation if total data downloaded is too small"Chong Zhang2015-03-101-1/+5
|\ \ \ \ | |_|/ / |/| | |
| * | | do not do bandwidth estimation if total data downloaded is too smallChong Zhang2015-03-091-1/+5
| | |/ | |/| | | | | | | | | | | | | bug: 19656539 Change-Id: I0ab9baad31e8953224a37d5aaf816e44780191c0
* | | Merge "AnotherPacketSource: return format of first non-discontinuity packet"Chong Zhang2015-03-091-7/+5
|\ \ \
| * | | AnotherPacketSource: return format of first non-discontinuity packetChong Zhang2015-03-091-7/+5
| |/ / | | | | | | | | | | | | bug: 19656539 Change-Id: I41a36a48274616c3a65a79bf8446eeadb5595915
* | | SoftAAC2: reset EOS status after a flushChong Zhang2015-03-091-0/+2
|/ / | | | | | | | | bug:19656539 Change-Id: I27f41d885f4fd5bb5a0e29510f808fb84a0f75f3
* | stagefright: remove AMessage methods using id()Lajos Molnar2015-03-052-28/+0
| | | | | | | | | | Bug: 19607784 Change-Id: I4b2ca396fb50cde5e7dc9801add69037febe698d
* | media: switch to new AMessage handlingLajos Molnar2015-03-0526-226/+223
| | | | | | | | | | Bug: 19607784 Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
* | stagefright: use handler instead of handler-id in AMessageLajos Molnar2015-03-054-93/+82
| | | | | | | | | | | | | | This avoids locking gLooperRoster mutex on post() and deliver(). Bug: 19607784 Change-Id: If6d9d7884dbb08fc390983bda896d223803476ba
* | Merge "SoftAAC2: calculate timestamp from aacSampleRate"Chong Zhang2015-03-041-2/+2
|\ \
| * | SoftAAC2: calculate timestamp from aacSampleRateChong Zhang2015-03-041-2/+2
| |/ | | | | | | | | bug: 19602975 Change-Id: Ie2e5a61d627980762080c4a8701b578143d123fa
* | Remove manta support in MNC.Ying Wang2015-03-031-4/+0
|/ | | | | Bug: 19548232 Change-Id: I5fd341c7cf55792c4b2c9a4928f1ad21308c4469
* Merge "handle mpeg2ts PTS wraparound"Chong Zhang2015-03-031-1/+21
|\
| * handle mpeg2ts PTS wraparoundChong Zhang2015-03-031-1/+21
| | | | | | | | | | bug: 19587682 Change-Id: I805ed6aa330bda3dc0ec8bd3519fb1ffeaa81ca9
* | YUVImage.cpp: Fix hidden overflow error in YUV to RGB conversionRachad2015-03-031-6/+6
| | | | | | | | | | Bug: 19573730 Change-Id: I4a233d9dd49fc590df33258b6a288ad058f11f73
* | MPEG4Writer: add software version to mp4 metaChong Zhang2015-02-251-10/+61
|/ | | | | | | | and account for meta data and geo data when estimating moov size bug: 19460202 Change-Id: I094d15f47dda5e41217181cdb3ac519c00330de5
* MPEG4Writer: add capture fps in meta dataChong Zhang2015-02-231-0/+110
| | | | | | bug: 19460202 Change-Id: I3a6ea3a5149d124ca9a2487a300dcc2db4405d0f
* am 76b54aa5: am 340cebda: Fix mismatched type tag clang warning.Dan Albert2015-02-201-1/+0
|\ | | | | | | | | * commit '76b54aa5240ee2052aabe7b671965a0836159fdb': Fix mismatched type tag clang warning.
| * Fix mismatched type tag clang warning.Dan Albert2015-02-191-1/+0
| | | | | | | | | | | | | | Parcel is a struct, not a class. However, Parcel isn't used in this file, so just kill it. Change-Id: I575cae8b3c5dd13dd9b03fccfe7423e1f17f62f5
* | am 935b4750: am 011734f0: Fix clang build errorBill Yi2015-02-201-1/+1
|\ \ | |/ | | | | | | * commit '935b47504411b6ac69f708ba698a72b7282aada1': Fix clang build error
| * Fix clang build errorBill Yi2015-02-191-1/+1
| | | | | | | | Change-Id: I294903dcf3ce3aa6a3b2f50364067e701a33d327
| * Merge commit '56fbb4d7bcb34af71a08cd126891afafdec217f1' into HEADBill Yi2015-02-19351-2183/+7210
| |\
* | \ am cf09e292: am 2d9ded1d: am d607e5a5: Merge "Fixes for GSM decoder"Marco Nelissen2015-02-192-3/+28
|\ \ \ | | | | | | | | | | | | | | | | * commit 'cf09e2926e3f76ac54a6efb6626a7eb256d2aaff': Fixes for GSM decoder
| * \ \ am 2d9ded1d: am d607e5a5: Merge "Fixes for GSM decoder"Marco Nelissen2015-02-192-3/+28
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '2d9ded1d03653c747ba173f622e19ed6d56f26f4': Fixes for GSM decoder
| | * | Fixes for GSM decoderMarco Nelissen2015-02-192-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use larger buffer size, since otherwise it won't work with MediaExtractor which batches up GSM frames. Support reset and flush. Change-Id: I3a87e3744c088f7a40bbc428187fc44c073c63ec
* | | | am a7c1df10: am a963dacc: am 64753517: Merge "Add dumpsys info"Marco Nelissen2015-02-181-0/+82
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'a7c1df10d39a8056ca755ccd77b06816c6de3225': Add dumpsys info
| * | | am a963dacc: am 64753517: Merge "Add dumpsys info"Marco Nelissen2015-02-181-0/+82
| |\ \ \ | | |/ / | | | / | | |/ | |/| * commit 'a963dacc1b44ec80742c86ce75611eb9cfa936ea': Add dumpsys info
| | * Add dumpsys infoMarco Nelissen2015-02-181-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | Print a list of looper-handler pairs and the number of messages they've processed, and optionally break those stats out by message type. Change-Id: I68ce4a7003152d5c9b5cb3f42e6f3949b471aa6e
| * | am 5f136027: am faefd08b: Revert "DO NOT MERGE: stagefright: add support for ↵Lajos Molnar2015-02-111-3/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Intel\'s YUV420SP format in SoftwareRenderer" * commit '5f13602782e10b331b962bd94f7d8eb3d73c772e': Revert "DO NOT MERGE: stagefright: add support for Intel's YUV420SP format in SoftwareRenderer"
| | * | Revert "DO NOT MERGE: stagefright: add support for Intel's YUV420SP format ↵Lajos Molnar2015-02-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in SoftwareRenderer" This reverts commit 7a9510dcf637cc1e5c953d77c7bd4409c80a820f. Bug: 19317169 Change-Id: I881ce6b1592b7250f423a561dadd40d379e16104
| * | | Track change of IInterface::asBinder from instance method to static methodBrian Carlstrom2015-02-091-1/+1
| | | | | | | | | | | | | | | | Change-Id: Iee262d4223ec3c61dab5ca8d9d7e4a14795da1c3
* | | | Merge "stagefright: stop reading meta data after MDAT or MOOF"Chong Zhang2015-02-132-17/+18
|\ \ \ \
| * | | | stagefright: stop reading meta data after MDAT or MOOFChong Zhang2015-02-132-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 18520722 Change-Id: I213e4bde92a7830543c1815b324164b27d853049