diff options
| author | Prashant Laddha <prladdha@cisco.com> | 2015-02-04 06:07:31 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-02 14:51:32 -0300 |
| commit | 4e30a37345e6f723553d457becc423efa4bf2703 (patch) | |
| tree | ee35f58a991571ddfc59179ff395d6c9f8c9f37c /include/linux | |
| parent | 559addc25b00ff3a40eff03a0b3873c2b6d726f8 (diff) | |
[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 <mchehab@osg.samsung.com>
Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
