Janne Grunau
1d01fee980
fix hardcoded tables compililation caused by missing math constants
...
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.
13 years ago
Diego Biurrun
4887f8245c
Rename costablegen.c ---> cos_tablegen.c.
...
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.
14 years ago
Mans Rullgard
272874c9db
Simplify trig table rules
...
This collapses the make rules for the trig tables into a pattern
rule. Based on a patch by Diego, modified to avoid using fragile
make constructs and allow future addition of fixed-point sin tables.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
c98657a215
Remove potentially unstable filenames from comments in generated files.
14 years ago
Mans Rullgard
7087ce08c8
Fixed-point FFT and MDCT
14 years ago
Mans Rullgard
0aded9484d
Move dct and rdft definitions to separate files
...
This leaves fft.h with only the core FFT and MDCT definitions
thus making it more managable.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reimar Döffinger
0209cd0719
Fix --enable-hardcoded-tables compilation: the generate table files now
...
need to include fft.h, not dsputil.h.
Originally committed as revision 22278 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
52a4a07778
Fix out-of-tree builds with --enable-hardcoded-tables
...
Originally committed as revision 20404 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
75df2edbb9
Add support for hardcoded ff_sin_* tables.
...
Originally committed as revision 20244 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
4ee726b670
Move/add COSTABLE/SINTABLE macros to dsputil to add extern definitions
...
for ff_cos_* and ff_sin_* without introducing too much code duplication.
Originally committed as revision 20243 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
16aec74761
Use hardcoded instead of runtime-calculated ff_cos_* tables if
...
--enable-hardcoded-tables was used.
Due to the size, the code for the tables is generated at compile time.
Originally committed as revision 20232 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago