summaryrefslogtreecommitdiff
path: root/libavcodec/cos_tablegen.c
Commit message (Collapse)AuthorAge
* Rename CONFIG_FFT_FLOAT ---> FFT_FLOATDiego Biurrun2014-01-06
| | | | | The define does not originate from configure, so it should not have a name that is CONFIG_-prefixed.
* cos_tablegen: Don't use lrintDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fix hardcoded tables compililation caused by missing math constantsJanne Grunau2012-06-21
| | | | | | Add -D_XOPEN_SOURCE=600 to host cflags to make the constants in math.h available. Include math.h where necessary and remove redundant M_PI defines.
* Rename costablegen.c ---> cos_tablegen.c.Diego Biurrun2011-05-19
This is consistent with how all other table generation programs are named. Moreover this ensures that the cos table generation program is correctly deleted when cleaning the tree.