Closed Bug 1300569 Opened 9 years ago Closed 9 years ago

Use palette support library instead of BitmapUtils.getDominantColor()

Categories

(Firefox for Android Graveyard :: Favicon Handling, defect, P1)

All
Android
defect

Tracking

(firefox51 fixed)

RESOLVED FIXED
Firefox 51
Tracking Status
firefox51 --- fixed

People

(Reporter: sebastian, Assigned: sebastian)

References

Details

(Whiteboard: [MobileAS])

Attachments

(1 file)

The palette library seems to return similar values like BitmapUtils.getDominantColor(). It's much faster though (10-20ms / bitmap).
Assignee: nobody → s.kaspari
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [MobileAS]
Some results from browsing: * 64x64 - 25ms vs. 9ms * 64x64 - 11ms vs. 3ms * 64x64 - 22ms vs. 2ms * 64x64 - 7ms vs. 2ms * 64x64 - 13ms vs. 2ms * 64x64 - 27ms vs. 3ms * 64x64 - 17ms vs. 5ms * 64x64 - 15ms vs. 2ms * 64x64 - 21ms vs. 3ms * 64x64 - 14ms vs. 2ms * 64x64 - 18ms vs. 2ms
The patch to actually use the library is attached to bug 1300543.
Attachment #8788337 - Flags: review?(ahunt) → review+
Pushed by s.kaspari@gmail.com: https://hg.mozilla.org/integration/autoland/rev/3a87bca22135 Add palette-v7 support library to build. r=ahunt
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Iteration: --- → 1.4
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: