Commit Graph

14 Commits

Author SHA1 Message Date
Jean-Yves Avenard
ee706e3b83 Bug 1446931 - P1. Handle errors in Benchmark. r=gerald
Benchmark had never been intended to be able to process invalid content. However over time Benchmark class has been used extensively by the fuzzing team.
As such, it became necessary to handle errors of all kind.

MozReview-Commit-ID: E0YulHuoiq2

--HG--
extra : rebase_source : a8c5bf2e05d5b4e9c89723cb1e0d71e61f17d501
2018-03-29 22:11:06 +02:00
Jean-Yves Avenard
10d2da1b08 Bug 1374596: P7. Fix includes as per coding style. r=padenot
MozReview-Commit-ID: 5WfOWcOoxg0

--HG--
extra : rebase_source : 988c09623e83a0d9188d9ff5d705314e2c43e756
2017-06-20 17:56:55 +02:00
Jean-Yves Avenard
9346079e8d Bug 1374596: P2. Fix Benchmark required headers. r=padenot
MozReview-Commit-ID: JMiYDkkkNQB

--HG--
extra : rebase_source : 40fbfc7d5f878351dcaf08621816488b25d97645
2017-06-20 17:28:34 +02:00
Jean-Yves Avenard
b7844bd5c3 Bug 1319987: P9. More coding style fixes. r=gerald
MozReview-Commit-ID: DhFRqkWQZny

--HG--
extra : rebase_source : 03ed44efc83fe9cab7fc975229ac4e5746aff96b
2017-01-27 13:20:37 +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
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
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
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
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
68a69dfdf5 Bug 1254858: P1. Remove unused member. r=kentuckyfriedtakahe
MozReview-Commit-ID: 807ELtEXeoF

--HG--
extra : rebase_source : 44b71a5527060fcca1112411968acb693202b02e
2016-03-09 18:49:22 +11:00
Jean-Yves Avenard
b9f36401b9 Bug 1230265 - Mark constructor as explicit; r=me
ON A CLOSED TREE.

MozReview-Commit-ID: 1jCfP6OzCfH
2016-03-09 16:40:55 +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
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