Closed
Bug 1255688
Opened 9 years ago
Closed 9 years ago
The TypeFromSize() function does not support odd width/height.
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: kaku, Assigned: kaku)
References
Details
Attachments
(1 file)
For example:
A YV16 image with y-width 21 should have cbcr-width to be 11.
So, the code in this line(https://dxr.mozilla.org/mozilla-central/source/gfx/ycbcr/yuv_convert.cpp#42) should be:
else if ((ywidth + 1) / 2 == cbcrwidth && yheight == cbcrheight) {
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/39387/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39387/
Attachment #8729342 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → tkuo
Updated•9 years ago
|
Attachment #8729342 -
Flags: review?(jmuizelaar) → review+
Comment 2•9 years ago
|
||
Comment on attachment 8729342 [details]
MozReview Request: Bug 1255688 - Fix TypeFromSize for YV16 case; r=jrmuizel
https://reviewboard.mozilla.org/r/39387/#review52694
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8729342 [details]
MozReview Request: Bug 1255688 - Fix TypeFromSize for YV16 case; r=jrmuizel
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/39387/diff/1-2/
Attachment #8729342 -
Attachment description: MozReview Request: Bug 1255688 - Fix TypeFromSize for YV16 case; r?jrmuizel → MozReview Request: Bug 1255688 - Fix TypeFromSize for YV16 case; r=jrmuizel
Assignee | ||
Comment 4•9 years ago
|
||
Try looks good:https://treeherder.mozilla.org/#/jobs?repo=try&revision=8c395eef28f5
Thanks for the review!
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 6•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•