New issue
Advanced search Search tips

Issue 709707 link

Starred by 4 users

Issue metadata

Status: Started
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Task


Sign in to add a comment

Optimize image handling on ARM

Project Member Reported by cavalcantii@chromium.org, Apr 8 2017

Issue description

Umbrella issue to track improvements in image handling on ARM.

The idea is to optimize PNG, JPEG, GIF, etc.

 
Blockedon: 688601
Blockedon: 697280
Blockedon: 702860
Blockedon: 706134
Blockedon: 687631
Cc: cblume@chromium.org simon.ho...@arm.com msarett@chromium.org fmalita@chromium.org scroggo@chromium.org amaury.l...@arm.com
Blockedon: 709716
For PNG, if it could decode a handful of (say 8) rows at a time, there might be scope to optimise the filters more aggressively.  I've never taken the time to look closely at the viability because everybody seems locked in to the one-row interface.

Could this ever change?


The optimisation involves transposing staggered blocks and working diagonally across a strip.  It'd work best with not too much per-row filter variation, but there's an adaptable version which might cope despite that.
I would be more than happy to assist with changes to work on units other than single rows. Single row seems pretty arbitrary.
> everybody seems locked in to the one-row interface

Do you mean png_read_row? Chromium uses the callback interface, which calls Chromium's method each time a row is available.
scroggo@ is right that Chromium does not depend on a row-by-row interface.  But that idea is somewhat ingrained in libpng.  This might be a good topic for upstream: https://github.com/glennrp/libpng.
Cc: -amaury.l...@arm.com -simon.ho...@arm.com -msarett@chromium.org
Blockedon: 810125

Sign in to add a comment