Sebastian Ramacher
250471ea17
avcoded/fft: Fix memory leak if ctx2 is used
...
Signed-off-by: James Almer <jamrial@gmail.com>
1 year ago
Sebastian Ramacher
a562cfee2e
avcodec/fft: Use av_mallocz to avoid invalid free/uninit
...
Signed-off-by: James Almer <jamrial@gmail.com>
1 year ago
Andreas Rheinhardt
e3b355c0be
avutil/mem: Don't include avutil.h
...
It is not necessary at all. So remove it.
This also breaks an inclusion cycle mem.h->avutil.h->common.h->mem.h.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
1 year ago
Lynne
86aa34d339
avfft: wrap lavu/tx instead of ff_dct
1 year ago
Lynne
83ede01bb0
avfft: wrap lavu/tx instead of ff_rdft
1 year ago
Lynne
517e4fcca6
avfft: wrap lavu/tx instead of ff_mdct
1 year ago
Lynne
dfcd4bbf51
avfft: wrap lavu/tx instead of ff_fft
1 year ago
Michael Niedermayer
9bc7ee8a98
avcodec/avfft: Add simple self test
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Nicolas George
04dcdc4640
lavc/avfft: init context to 0.
...
Prevent an invalid free in case of init failure.
11 years ago
Diego Biurrun
bd8ac88214
avcodec: Add av_cold attributes to end functions missing them
12 years ago
Diego Biurrun
6fee1b90ce
avcodec: Add av_cold attributes to init functions missing them
12 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
Måns Rullgård
e3a28ea5a9
avfft: remove useless parens
...
Originally committed as revision 24229 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
943ebf2c4e
100l: really fix fft external API init functions
...
Originally committed as revision 24228 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b310844756
avfft: make init functions return NULL on failure as intended
...
Originally committed as revision 24219 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
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