Android: optimized NV21 top ARGB32 conversion.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 14 Jan 2014 17:42:09 +0000 (18:42 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 17 Jan 2014 14:11:24 +0000 (15:11 +0100)
commita52f552d4274eeaeb3a7362c509e77df501b1349
treecff075acddd128c205d6b2def73af35d6a92f1d8
parent88ef2bf83de18542428151553cbfa87de2469c90
Android: optimized NV21 top ARGB32 conversion.

Now based on fixed-point arithmetic and uses pre-generated lookup tables
for YUV coefficients and RGB clamping.
The new implementation is on average 2x-3x faster than the previous one
(tested on the Samsung Galaxy S4).

Change-Id: I1daf12f7f9b2f2334e90e0ede79e6d83800f1db6
Reviewed-by: Denis Kormalev <dkormalev@ics.com>
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/android/src/common/qandroidmultimediautils.cpp