Bug 314258
| Summary: | Fix the sizeInBytes of NativeImage and the ImageFrame | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> |
| Component: | Images | Assignee: | Said Abou-Hallawa <sabouhallawa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Said Abou-Hallawa
The sizeInBytes of NativeImage and ImageFrame are outdated. The sizeInBytes of these objects still multiply the area of the image by 4. This is not correct for HDR images. the bitPerChannel can 10 or 16 for example. Also the size of the CVPixelBuffer gain-map image should be taken into consideration.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/176406494>
Said Abou-Hallawa
Pull request: https://github.com/WebKit/WebKit/pull/64422
EWS
Committed 312773@main (c2a0f7a73911): <https://commits.webkit.org/312773@main>
Reviewed commits have been landed. Closing PR #64422 and removing active labels.