Open Bug 1634751 Opened 4 years ago Updated 2 years ago

AVIF (AV1 Image File Format): work row-by-row to avoid allocating full RGB buffer

Categories

(Core :: Graphics: ImageLib, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jbauman, Unassigned)

References

(Blocks 1 open bug)

Details

AVIF decodes to a YUV format, but SurfacePipe requires RGB, so a conversion is necessary. Since the image may be scaled before display, converting YUV->RGB row-by-row when calling WriteBuffer would use less memory than allocating a full-sized buffer and doing the conversion to RGB all at once.

Assignee: nobody → jbauman
Priority: -- → P3
Assignee: jbauman → nobody
Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.