Michael Niedermayer
305344d89e
avcodec/fft: Add revtab32 for FFTs with more than 65536 samples
...
x86 optimizations are used only for the cases they support (<=65536 samples)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ae76b84221
avcodec: Extend fft to size 2^17
...
Asked-for-by: durandal_1707
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
1a094af638
fft: Split MDCT bits off from FFT
9 years ago
Diego Biurrun
24af1aa0f7
fft: Convert FFT/MDCT permutation type #defines to enums
10 years ago
Janne Grunau
650c4300d9
aarch64: NEON float FFT
...
Approximately as fast as the ARM NEON version on Apple's A7.
11 years ago
Michael Niedermayer
99b6357f37
rename CONFIG_FFT_FIXED_32 -> FFT_FIXED_32
...
This matches FFT_FLOAT
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
794fcf79a8
Rename CONFIG_FFT_FLOAT ---> FFT_FLOAT
...
The define does not originate from configure, so it should not
have a name that is CONFIG_-prefixed.
11 years ago
Nedeljko Babic
18d7074b4e
libavcodec: Implementation of 32 bit fixed point FFT
...
Iterative implementation of 32 bit fixed point split-radix FFT.
Max FFT that can be calculated currently is 2^12.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
38282149b6
ppc: More consistent arch initialization
12 years ago
Diego Biurrun
42b9150b0d
fft: Remove pointless #ifdefs around function declarations
12 years ago
Janne Grunau
f101eab1be
x86: call most of the x86 dsp init functions under if (ARCH_X86)
...
Rename the called dsp init functions to *_init_x86.
12 years ago
Nedeljko Babic
b3fdfc8c4e
Optimization of AC3 floating point decoder for MIPS
...
FFT in MIPS implementation is working iteratively instead
of "recursively" calling functions for smaller FFT sizes.
Some of DSP and format convert utils functions are also optimized.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Reviewed-by: Vitor Sessak <vitor1001@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Vitor Sessak
9d35fa520e
Add AVX FFT implementation.
...
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Mans Rullgard
dba9852935
ARM: NEON fixed-point FFT
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
bc154882e1
Fixed-point MDCT with 32-bit unscaled output
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
7087ce08c8
Fixed-point FFT and MDCT
14 years ago
Mans Rullgard
e87a6f0dc9
Move ff_dct_init_mmx declaration to dct.h
...
This was missed in 0aded94
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
4538729afe
Move sine windows to a separate file
...
These windows do not really belong in fft/mdct files and were
easily confused with the similarly named tables used by rdft.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
a45fbda994
Move ff_kbd_window_init() to a separate file
...
This function is not tightly coupled to mdct, and it's in the way
of making a fixed-point mdct implementation.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
26f548bb59
fft: remove inline wrappers for function pointers
...
This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
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
Loren Merritt
11ab1e409f
FFT: factor a shuffle out of the inner loop and merge it into fft_permute.
...
6% faster SSE FFT on Conroe, 2.5% on Penryn.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit e6b1ed693a
)
14 years ago
Loren Merritt
e6b1ed693a
FFT: factor a shuffle out of the inner loop and merge it into fft_permute.
...
6% faster SSE FFT on Conroe, 2.5% on Penryn.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
d4a847711d
Mark C base versions of FFT functions static to fft.c
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 7767d8d361
)
14 years ago
Diego Elio Pettenò
7767d8d361
Mark C base versions of FFT functions static to fft.c
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Alex Converse
c36b2c010e
Revert unintended changes to fft.h from r24890.
...
Originally committed as revision 24891 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Nathan Caldwell
af00dddeca
aacenc: Rename Psy3gpp* structs to AacPsy*
...
This allows cleaner implementation of other psymodels using the existing
structs. It also will make it easier to interchange individual parts of
the psymodel to create hybrid models.
Patch by: Nathan Caldwell <saintdev@gmail.com>
Originally committed as revision 24890 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Vitor Sessak
4dcc4f8eaa
SSE optimized 32-point DCT
...
Originally committed as revision 24077 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
588d28ac08
Remove vestiges of radix-2 FFT
...
Patch (mostly) by Loren Merritt
Originally committed as revision 23957 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
06d01188e9
More mp{1,2,3} 32-point DCT transform to our common DCT framework.
...
Should allow for future SIMD optimizations.
Originally committed as revision 23912 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
dd93649b71
Remove VLA in ff_kbd_window_init, limit window size to 1024
...
Originally committed as revision 23755 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
e1484ebed6
Implement the discrete sine/cosine transforms DCT-I and DST-I
...
Originally committed as revision 22649 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a8bb9ea532
ARM: NEON optimised RDFT
...
Originally committed as revision 22641 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
e30ab38e94
Call DCT by function pointer. Needed for any future ASM implementation and
...
allows further cleanup.
Originally committed as revision 22617 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
2758004fce
DCT: remove unused field from context
...
Originally committed as revision 22615 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2881c83127
Call rdft by function pointer
...
Call the RDFT by a function pointer like other FFT related transforms.
This makes instruction set optimized versions possible.
Based on patch by Alex Converse.
Originally committed as revision 22609 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c70948315b
Create a public API for FFT family of functions
...
Originally committed as revision 22291 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
41ea18fb0d
Give RDFT types more meaningful names
...
Originally committed as revision 22290 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1429224b04
Move FFT parts from dsputil.h to fft.h
...
Originally committed as revision 22235 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago