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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/15/2014 03:13 PM, Mauro Carvalho Chehab wrote:
Em Mon, 15 Dec 2014 14:49:17 +0530
Prashant Laddha <prladdha@xxxxxxxxx> 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:
	include/linux/fixp-arith.h

The best would be to either use it or improve its precision, if the one there
is not good enough.

I looked that one when made generator. It has poor precision and it uses degrees not radians. But surely it is correct practice improve existing than introduce new.

regards
Antti


--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux