Re: [PATCH 1/3] fixp-arith: replace sin/cos table by a better precision one

2015-02-04 Thread Dmitry Torokhov
On Wed, Feb 04, 2015 at 10:07:30AM +0100, Hans Verkuil wrote: > From: Mauro Carvalho Chehab > > The cos table used at fixp-arith.h has only 8 bits of precision. > That causes problems if it is reused on other drivers. > > As some media drivers require a higher precision sin/cos > implementation,

[PATCH 1/3] fixp-arith: replace sin/cos table by a better precision one

2015-02-04 Thread Hans Verkuil
From: Mauro Carvalho Chehab The cos table used at fixp-arith.h has only 8 bits of precision. That causes problems if it is reused on other drivers. As some media drivers require a higher precision sin/cos implementation, replace the current implementation by one that will provide 32 bits precisi