Open Bug 1526684 Opened 5 years ago Updated 2 years ago

VP9 benchmark remove IsVP9DecodeFast

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox67 --- affected

People

(Reporter: kristian, Unassigned)

Details

If IsVP9DecodeFast returns true (media.benchmark.vp9.fps >= media.benchmark.vp9.threshold), we assume[1] we can playback all VP9 media smoothly, regardless of resolution and fps. That is probably not the case.

Tested by setting media.benchmark.vp9.fps=150 and visiting
https://beaufortfrancois.github.io/sandbox/media-capabilities/decoding-info-2.html:
VIDEO/WEBM; CODECS=VP09.00.10.08

7680x4320 (8K) | 4000 kbps | 60 fps | media-source | NOT POWER EFFICIENT
7680x4320 (8K) | 4000 kbps | 60 fps | file | NOT POWER EFFICIENT
7680x4320 (8K) | 4000 kbps | 50 fps | media-source | NOT POWER EFFICIENT

[1] https://searchfox.org/mozilla-central/rev/490ab7f9b84570573a49d7fa018673ce0d5ddf22/dom/media/mediacapabilities/MediaCapabilities.cpp#284-287

Priority: -- → P3

At present, we have to call IsVP9DecodeFast is it will caused the benchmark code to run.

Assignee: nobody → jyavenard
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee: jya-moz → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.