Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
Kaku Kuo f3d9573ece Bug 1351263 - Label runnables in dom/media/Benchmark.cpp; r=jwwang
MozReview-Commit-ID: LZygjhx2A7i

--HG--
extra : rebase_source : 738e11624ba9144f87f2db2bc7260480095877d7
2017-03-28 18:12:49 +08:00
Vedant Sareen 7d4bd52fae Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Jean-Yves Avenard 7ea5b8ca6d Bug 1319987: P11. Fix MediaDataDecoder gtest. r=gerald
They appear to have been broken for a while. Several months at least.

MozReview-Commit-ID: I71xE91UMOZ

--HG--
extra : rebase_source : 80d179d207c2ae2f808aec573ab47f54f6df4a1d
2017-01-31 20:43:07 +01:00
Jean-Yves Avenard 73fd84bc5d Bug 1319987: P5. Promisify MediaDataDecoder. r=cpearce,gerald,mattwoodrow,snorp
This is a big change, and unfortunately impossible to break down with independently functional commits.

There are four main changes being applied here:

* Code cleanup, including making all MediaDataDecoder related code mozilla coding style compliant
* Make MediaDataDecoder use MozPromise
* Making Flush and Shutdown processes fully asynchronous
* Fixing few data races encountered across the code, in particular in the Android PDM

MozReview-Commit-ID: DpiZucGofJT

--HG--
extra : rebase_source : 80bd6c6f9726d536b6f306c40d9af6df27333be9
2017-01-26 13:56:46 +01:00
Wes Kocher 5856ed7acc Backed out changeset c429f0a0040e (bug 1316282) for timing out Windows PGO builds a=backout CLOSED TREE
MozReview-Commit-ID: K88JI9UiHqU
2017-01-25 16:59:20 -08:00
Andi-Bogdan Postelnicu 6a8fbda077 Bug 1316282 - do not expose sWebMSample in XUL. r=jya
MozReview-Commit-ID: CVQpk5n4RrQ

--HG--
extra : rebase_source : 5e40b43778b5cf91e5cb9fcd13c15c022f7ef2b7
2017-01-25 12:33:26 +02:00
Bevis Tseng f2bdbd8fd1 Bug 1314833 - Part 2.1: Factor out AbstractThread::MainThread() used in Media Playback. r=billm,jwwang
MozReview-Commit-ID: 9yJi3iDtVZG

--HG--
extra : rebase_source : 39c720ccc576ed9247b5e8abb70d99d7873b3ad6
2016-11-29 13:03:36 +08:00
Gerald Squelart f17dd305d6 Bug 1331289 - Use MediaContainerType in MediaResource, SourceBuffer, TrackBuffersManager, and dependencies - r=jya
Continuing the work of replacing MIME strings with MediaContainerType, starting
from MediaResource and following the dependencies.

Most changes are mechanical: Just change ns*String into MediaContainerType, and
MIME string literals into MEDIAMIMETYPE("a/b").
Some checks for empty/invalid strings and lowercase comparisons can go, thanks
to the always-valid always-lowercase-MIME invariants of MediaContainerType.

One special case in is MediaSourceResource, which used to have an empty string
as its type (because its own type is not relevant, but its SourceBuffers carry
types). Because the inherited GetContentType *must* be overridden, and must
return a MediaContainerType, we needed a valid type even though it should not
be seen in the real world. I've chosen "application/x.mediasource" for that.

MozReview-Commit-ID: 1aCH75Kh2e6

--HG--
extra : rebase_source : 0d9cd9b69c264e5dcfc3845f80ee107f4bcbcd9a
2016-12-28 18:59:02 +11:00
Jean-Yves Avenard a2a9333721 Bug 1319277: P2. Bump VP9 benchmark version to force a new run. r=gerald
ffvp9 3.2 added IDCT AVX2 optimisations. Perfs show up to 65% speed improvement over the AVX1/SSE3 versions.

MozReview-Commit-ID: 4asJVb6FFYI

--HG--
extra : rebase_source : fd2be4bd62d7fdb8492c739f51783e3578133dc3
2016-11-22 17:26:57 +11:00
bechen 24016416cb Bug 1286738 - part3-mediasource: Enable fennec vp9 only if we have hw deocder. r=jya
MozReview-Commit-ID: BwAZTrgXcaP

--HG--
extra : rebase_source : 85ed47735c51281053b409d25bdebd6dad3aa1bc
2016-10-26 17:08:21 +08:00
Jean-Yves Avenard 70ed5282de Bug 1299072: P18. Use MediaResult with InitPromise. r=gerald
MozReview-Commit-ID: JiLgiyxvfNC

--HG--
extra : rebase_source : 4cc453a5fe7b1e4f4b865c31a24a5feed64df7e4
2016-09-13 13:06:18 +10:00
Jean-Yves Avenard 20dc9102e8 Bug 1299072: P12. Use MediaResult for MediaDataDemuxer promises. r=gerald
MozReview-Commit-ID: JeQrmoHbb8m

--HG--
extra : rebase_source : 1f4581e5789f18b358a6f5bb5f8595cc7a75110b
2016-09-12 12:22:20 +10:00
Jean-Yves Avenard f4efa8be06 Bug 1299072: P4. Return extended failure details to reader. r=gerald
We provide even further details for the GMP decoder. Other decoders to follow.

MozReview-Commit-ID: 7NxJPec8xWv

--HG--
extra : rebase_source : f44120983070e5c107ecd5cafc762da90aab44bf
2016-09-10 09:56:53 +10:00
Dan Glastonbury 1b2a65cfc3 Bug 1281632 - P1: Extract creation parameters and pass via struct. r=gerald
Extract all the parameters passed to CreateAudioDecoder/CreateVideoDecoder and
place them into a structure that is passed down to the creation of the actual
decoder, where the relevant parameters can be extracted.

This makes it easier to add more arguments to the Create*Decoder calls in future.

MozReview-Commit-ID: 9LZlcfRVz6A

--HG--
extra : rebase_source : ce3f0c7d0784b96267728697ff5d535ccb8ee7a6
2016-06-28 17:56:55 +12:00
Alfredo Yang 68adb6b579 Bug 1068151 - keep decoding a corrupted video. r=jya 2016-05-30 18:24:00 +02:00
JW Wang 1f7b60118b Bug 1275807 - Remove remaining use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: L12wxh7GPIr

--HG--
extra : rebase_source : 745ae8240326246050513c96300eba1e32d84130
2016-05-24 16:48:26 +08:00
Jean-Yves Avenard cc8c8725df Bug 1271491: P6. Remove the need to call PDMFactory::Init(). r=cpearce
PDMFactory will automatically load and initialize the required frameworks upon first use.
Also fix constness of some methods.

MozReview-Commit-ID: HFbvTMRFAey

--HG--
extra : rebase_source : ce3e7ff6cefc35b32674c9a81c3488fe21b48626
2016-05-12 18:54:35 +10:00
James Willcox cbf30986b7 Bug 1266102 - Don't run VP9 benchmark on Android r=jya 2016-04-25 10:06:03 -05:00
Gerald Squelart ecfb205472 Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.

Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.

MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
Jean-Yves Avenard 2d5d30672a Bug 1263839: P2. Force re-run of VP9 benchmark based on a version check. r=kentuckyfriedtakahe
The version number is to be manually updated when we want to re-run the test (like improvement in ffvp9 or libvpx)

MozReview-Commit-ID: 9KzYCGWvIpp

--HG--
extra : rebase_source : a5c06065d3e174f3a4cb5ca0fbe2b08b8728f083
2016-04-13 12:44:29 +10:00
Jean-Yves Avenard 132b94460d Bug 1256626: P2. Use NotifyBenchmarkResult to save VP9 result. r=jimm
MozReview-Commit-ID: privnKY1zB

--HG--
extra : rebase_source : 051fecb7960515567db4f06cae2819d8927396bb
2016-03-17 17:20:21 +11:00
Jean-Yves Avenard fc53bc2dc2 Bug 1257211: Exit early if already shutting down. r=gerald
MozReview-Commit-ID: 1Oi4m2AIByw

--HG--
extra : rebase_source : cc044bdb48952885d982833b9ec91e932ed77d2b
2016-03-17 12:58:21 +11:00
Jean-Yves Avenard dcfa9621c9 Bug 1254858: P10. Return early when error. r=me
Quick follow up.

MozReview-Commit-ID: Jl7qTpYGzXK
2016-03-11 10:00:12 +11:00
Jean-Yves Avenard a9dd4d1f04 Bug 1254858: P3. reorganise Benchmark classes declarations to only expose usable members. r=kentuckyfriedtakahe
Additionally, allows Benchmark to be run on any threads; it is up to the caller to ensure that Init() has been called at least once on the main thread.

MozReview-Commit-ID: 5bAx2rgdjQD

--HG--
extra : rebase_source : c0ba0c7c7a066146317434988b0eaade14236880
2016-03-09 21:38:49 +11:00
Jean-Yves Avenard 69cc2f7a9f Bug 1254858: P2. Properly dispatch task on the right thread. r=kentuckyfriedtakahe
We were dispatching a task on the main thread, only to redispatch it immediately.

MozReview-Commit-ID: 4Hl6C5UEA82

--HG--
extra : rebase_source : 1053aa395d6abde6031cd6dfb113262de04d74e3
2016-03-09 21:14:01 +11:00
Jean-Yves Avenard d5b11db943 Bug 1230265 - Add codec agnostic benchmark; r=kentuckyfriedtakahe
The Benchmark class is now taking a MediaDataDemuxer argument. Options allow to decode any videos and measure the decoding speed.

MozReview-Commit-ID: C017I1cGqPL
2016-03-09 15:43:57 +11:00
Anthony Jones c8300ee73e Bug 1230265 - Add VP9 benchmark telemetry; r=bsmedberg
MozReview-Commit-ID: 6ofvNqvkg0U
2016-03-09 15:43:39 +11:00
Anthony Jones d00c420b2c Bug 1230265 - Benchmark VP9 decoder performance and enable VP9 on fast machines; r=jya
MozReview-Commit-ID: 4GhSLun9x6Z
2016-03-09 15:43:38 +11:00