video-converter: add table based matrix8 implementation
authorWim Taymans <wtaymans@redhat.com>
Tue, 10 Mar 2015 14:12:30 +0000 (15:12 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 10 Mar 2015 14:22:17 +0000 (15:22 +0100)
commit0d333d8d444dd9da052613b33c6f6911e6e414f8
tree6d9e7d2798dc45b64afc92e13772c1249a45716b
parent9bbfc3c848236e6d1625301a29def34ffafeb6c6
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
gst-libs/gst/video/video-converter.c