Commit Graph
30 Commits
Author SHA1 Message Date
JW Wang a03200c2b1 Bug 1365484 - Remove the call to AbstractThread::GetCurrent() in Benchmark.cpp. r=gerald
See bug 1365483 for the rationale.

MozReview-Commit-ID: ITKtWISQ3A3
2017-05-17 13:56:40 +08:00
JW Wang 90a0fb1db0 Bug 1359309. P1 - give mozilla::TaskQueue a name which will be useful in debugging Dispatch() failures. r=jya
MozReview-Commit-ID: 5FAVNo32fl7
2017-04-25 14:57:55 +08:00
Kaku Kuo f6d86d6ccc Bug 1351263 - Label runnables in dom/media/Benchmark.cpp; r=jwwang
MozReview-Commit-ID: LZygjhx2A7i
2017-03-28 18:12:49 +08:00
Vedant Sareen a85a2ad339 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 74b0ba63bd 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
2017-01-31 20:43:07 +01:00
Jean-Yves Avenard d6b004c4a8 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
2017-01-26 13:56:46 +01:00
Wes Kocher 6742612a5e 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 225147b9c9 Bug 1316282 - do not expose sWebMSample in XUL. r=jya
MozReview-Commit-ID: CVQpk5n4RrQ
2017-01-25 12:33:26 +02:00
Bevis Tseng 80ea683dc0 Bug 1314833 - Part 2.1: Factor out AbstractThread::MainThread() used in Media Playback. r=billm,jwwang
MozReview-Commit-ID: 9yJi3iDtVZG
2016-11-29 13:03:36 +08:00
Gerald Squelart d8bde2ea6c 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
2016-12-28 18:59:02 +11:00
Jean-Yves Avenard d1da640e26 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
2016-11-22 17:26:57 +11:00
bechen f72c403245 Bug 1286738 - part3-mediasource: Enable fennec vp9 only if we have hw deocder. r=jya
MozReview-Commit-ID: BwAZTrgXcaP
2016-10-26 17:08:21 +08:00
Jean-Yves Avenard a18c867daa Bug 1299072: P18. Use MediaResult with InitPromise. r=gerald
MozReview-Commit-ID: JiLgiyxvfNC
2016-09-13 13:06:18 +10:00
Jean-Yves Avenard b398e0b5f6 Bug 1299072: P12. Use MediaResult for MediaDataDemuxer promises. r=gerald
MozReview-Commit-ID: JeQrmoHbb8m
2016-09-12 12:22:20 +10:00
Jean-Yves Avenard 0bc50b1ec6 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
2016-09-10 09:56:53 +10:00
Dan Glastonbury e63172cab6 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
2016-06-28 17:56:55 +12:00
Alfredo Yang e890782c53 Bug 1068151 - keep decoding a corrupted video. r=jya 2016-05-30 18:24:00 +02:00
JW Wang 648bd0b726 Bug 1275807 - Remove remaining use of FlushableTaskQueue. r=cpearce.
MozReview-Commit-ID: L12wxh7GPIr
2016-05-24 16:48:26 +08:00
Jean-Yves Avenard 430991a232 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
2016-05-12 18:54:35 +10:00
James Willcox 4c40eba015 Bug 1266102 - Don't run VP9 benchmark on Android r=jya 2016-04-25 10:06:03 -05:00
Gerald Squelart ba02e820af 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 eae09a8926 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
2016-04-13 12:44:29 +10:00
Jean-Yves Avenard 40cf37f27b Bug 1256626: P2. Use NotifyBenchmarkResult to save VP9 result. r=jimm
MozReview-Commit-ID: privnKY1zB
2016-03-17 17:20:21 +11:00
Jean-Yves Avenard fdbc424130 Bug 1257211: Exit early if already shutting down. r=gerald
MozReview-Commit-ID: 1Oi4m2AIByw
2016-03-17 12:58:21 +11:00
Jean-Yves Avenard a514b6abc9 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 fe0e824e73 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
2016-03-09 21:38:49 +11:00
Jean-Yves Avenard 300e500713 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
2016-03-09 21:14:01 +11:00
Jean-Yves Avenard 9555d0749d 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 06b192b0a0 Bug 1230265 - Add VP9 benchmark telemetry; r=bsmedberg
MozReview-Commit-ID: 6ofvNqvkg0U
2016-03-09 15:43:39 +11:00
Anthony Jones fbb794f08d 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