[Webkit-unassigned] [Bug 103614] Optimizing RGBA16, RGB16, ARGB16, BGRA16 unpacking functions with NEON intrinsics
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 17 03:52:27 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103614
Zoltan Herczeg <zherczeg at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #179710|review?, commit-queue? |review-
Flag| |
--- Comment #5 from Zoltan Herczeg <zherczeg at webkit.org> 2012-12-17 03:54:44 PST ---
(From update of attachment 179710)
View in context: https://bugs.webkit.org/attachment.cgi?id=179710&action=review
> Source/WebCore/platform/graphics/cpu/arm/GraphicsContext3DNEON.h:46
> + uint16x8_t eightComponents = vld1q_u16(source + i);
> + eightComponents = vshrq_n_u16(eightComponents, 8);
> + vst1_u8(destination + i, vqmovn_u16(eightComponents));
I think this could be simplified to a simple read/write method without vshr. Just read an interleaved low/high component data, and write back the high component. Similar algorithm can be created to the other cases.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list