Closed Bug 1882410 Opened 2 years ago Closed 2 years ago

Set VP8Specific/VP9Specific mNumTemporalLayers based on scalability mode

Categories

(Core :: Audio/Video: Web Codecs, defect, P1)

defect

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: chunmin, Assigned: chunmin)

Details

Attachments

(2 files)

The mNumTemporalLayers in VP9Specific generated in VideoEncoderConfigInternal::ToEncoderConfig() should match the number of temporal layers specified in the given scalability mode. However, it's set to 1 [1, 2] regardlessly.

[1] https://searchfox.org/mozilla-central/rev/9cd4ea81e27db6b767f1d9bbbcf47da238dd64fa/dom/media/webcodecs/VideoEncoder.cpp#257
[2] https://searchfox.org/mozilla-central/rev/9cd4ea81e27db6b767f1d9bbbcf47da238dd64fa/dom/media/platforms/PlatformEncoderModule.h#87

This patch makes the mNumTemporalLayers in VP9Specific generated in
VideoEncoderConfigInternal::ToEncoderConfig match the number of
temporal layers in the given scalability mode.

Pushed by cchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d726ceaa4a36 clang-format VideoEncoder.cpp r=media-playback-reviewers,padenot https://hg.mozilla.org/integration/autoland/rev/a0faeb0fdeb6 Set temporal layers based on scalability mode r=media-playback-reviewers,padenot
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: