From: Prashant Laddha Date: Wed, 4 Feb 2015 09:07:31 +0000 (-0300) Subject: [media] vivid sdr: Use LUT based implementation for sin/cos() X-Git-Tag: omap-for-v4.2/o2_dc~62^2~1^2~340 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e30a37345e6f723553d457becc423efa4bf2703;p=pandora-kernel.git [media] vivid sdr: Use LUT based implementation for sin/cos() The common implementation for sin/cos in include/linux/fixp-arith.h has been improved recently to provide higher precision. Replacing native implementation of sin/cos in vivid sdr with common implementation. This serves two purposes: 1. Improved accuracy: the native implementation based on the Taylor series is more prone to rounding errors. 2. Reuse of common function: this is better compared to maintaining native versions for each driver. Suggested by: Mauro Carvalho Chehab Cc: Antti Palosaari Signed-off-by: Prashant Laddha Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed