Re: [PATCH 1/6] Use LUT based implementation for (co)sine functions

2014-12-16 Thread Mauro Carvalho Chehab
Em Tue, 16 Dec 2014 06:41:18 + Prashant Laddha (prladdha) prlad...@cisco.com escreveu: Antti, Mauro, Thanks for your comments. On 15/12/14 7:00 pm, Antti Palosaari cr...@iki.fi wrote: On 12/15/2014 03:13 PM, Mauro Carvalho Chehab wrote: Em Mon, 15 Dec 2014 14:49:17 +0530

Re: [PATCH 1/6] Use LUT based implementation for (co)sine functions

2014-12-16 Thread Mauro Carvalho Chehab
Em Tue, 16 Dec 2014 08:45:53 -0200 Mauro Carvalho Chehab mche...@osg.samsung.com escreveu: Em Tue, 16 Dec 2014 06:41:18 + Prashant Laddha (prladdha) prlad...@cisco.com escreveu: Antti, Mauro, Thanks for your comments. On 15/12/14 7:00 pm, Antti Palosaari cr...@iki.fi wrote:

[PATCH 1/6] Use LUT based implementation for (co)sine functions

2014-12-15 Thread Prashant Laddha
Replaced Taylor series calculation for (co)sine with a look up table (LUT) for sine values. Also reworked fixed point implementation to reduce rounding errors. Cc: Hans Verkuil hans.verk...@cisco.com Cc: Antti Palosaari cr...@iki.fi Cc: Mauro Carvalho Chehab mche...@osg.samsung.com

Re: [PATCH 1/6] Use LUT based implementation for (co)sine functions

2014-12-15 Thread Antti Palosaari
On 12/15/2014 03:13 PM, Mauro Carvalho Chehab wrote: Em Mon, 15 Dec 2014 14:49:17 +0530 Prashant Laddha prlad...@cisco.com escreveu: Replaced Taylor series calculation for (co)sine with a look up table (LUT) for sine values. Kernel has already a LUT for sin/cos at:

Re: [PATCH 1/6] Use LUT based implementation for (co)sine functions

2014-12-15 Thread Prashant Laddha (prladdha)
Antti, Mauro, Thanks for your comments. On 15/12/14 7:00 pm, Antti Palosaari cr...@iki.fi wrote: On 12/15/2014 03:13 PM, Mauro Carvalho Chehab wrote: Em Mon, 15 Dec 2014 14:49:17 +0530 Prashant Laddha prlad...@cisco.com escreveu: Replaced Taylor series calculation for (co)sine with a look