GNOME Bugzilla – Bug 732186
videoconvert optimization
Last modified: 2015-03-10 16:31:50 UTC
this bug is to keep track of the optimizations suggested here: http://gstreamer-devel.966125.n4.nabble.com/Videoconvert-needs-to-be-optimized-td4667003.html
Created attachment 279623 [details] [review] Use tables and YUV in one 64-bit On 32-bit and 64-bit Intel and 32-bit ARM this code works around 2x faster.
It is indeed faster but it also produces wrong results for AYUV->ARGB conversions with out-of-gammut values because it doesn't do any clipping.
commit 0d333d8d444dd9da052613b33c6f6911e6e414f8 Author: Wim Taymans <wtaymans@redhat.com> Date: Tue Mar 10 15:12:30 2015 +0100 video-converter: add table based matrix8 implementation Based on patch from Mozzhuhin Andrey <nopscmn at gmail.com> Add a table based matrix8 multiplication implementation. The algorithm does not do any clipping so we need to make sure we never call this on input that might need to be clipped. In general, this algorithm is 2 times faster than the orc optimized one and would be chosen for all RGB -> YUV conversions and some YUV->YUV and RGB->RGB conversions. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732186