Vittorio Giovara
69277069dd
dct: Check memory allocation
10 years ago
Michael Niedermayer
e24e5986a6
avcodec/dct: use av_freep(), do not leave stale pointers in memory
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
5e95551199
avcodec/dct: use av_malloc_array()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
088f38a4f9
avcodec: Drop unnecessary ff_ name prefixes from static functions
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
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Aneesh Dogra
2e70b2de58
dct: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Mans Rullgard
6f2309ed2e
dct: build dct32 as separate object files
...
This builds the float and fixed-point versions of dct32 separately
instead of #including the file in dct.c and mpegaudiodec.c.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
9503fbb859
dct: fix indentation
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
721d6f2dc5
dct: bypass table allocation for DCT_II of size 32
...
The size-32 DCT_II has a special implementation which doesn't use
the normal tables. Skipping allocation of these in this case saves
some memory.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
8eec00278c
dct: remove superflous #include
...
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
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
Vitor Sessak
4dcc4f8eaa
SSE optimized 32-point DCT
...
Originally committed as revision 24077 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
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 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
Vitor Sessak
b531e1ab59
Reindent after r22618.
...
Originally committed as revision 22619 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
8305c76b53
Split DCT-II and DCT-III in different functions, they do not share any code.
...
Originally committed as revision 22618 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
89d7df7c74
Cosmetics: move ff_dct_init() to the bottom of the file
...
Originally committed as revision 22616 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
Vitor Sessak
7f3f5f46c2
Floating point discrete cosine transform
...
Originally committed as revision 21338 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago