Closed Bug 1344591 Opened 6 years ago Closed 6 years ago

BlankVideoDataCreator stride calculation is rounded down

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: cpearce, Assigned: cpearce)

Details

Attachments

(1 file)

BlankVideoDataCreator::Create() calculates the strides of the Cb and Cr planes as half the width of the Y plane, but it needs to be (width+1)/2 in order to correctly work with odd sized widths.
Comment on attachment 8843788 [details]
Bug 1344591 - Ensure BlankVideoCreate doesn't round down Cb and Cr strides.

https://reviewboard.mozilla.org/r/117366/#review119012
Attachment #8843788 - Flags: review?(gsquelart) → review+
Pushed by cpearce@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5368b2790c42
Ensure BlankVideoCreate doesn't round down Cb and Cr strides. r=gerald
https://hg.mozilla.org/mozilla-central/rev/5368b2790c42
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.