[FFmpeg-devel] [PATCH 2/3] Create a public API for FFT family of functions
Alex Converse
alex.converse
Sat Mar 6 13:33:16 CET 2010
On Fri, Mar 5, 2010 at 10:38 PM, Mans Rullgard <mans at mansr.com> wrote:
> ---
> ?libavcodec/Makefile | ? ?4 +-
> ?libavcodec/avfft.c ?| ?142 +++++++++++++++++++++++++++++++++++++++++++++++++++
> ?libavcodec/avfft.h ?| ? 89 ++++++++++++++++++++++++++++++++
> ?libavcodec/fft.h ? ?| ? 28 +++--------
> ?4 files changed, 240 insertions(+), 23 deletions(-)
> +
> +/* Real Discrete Fourier Transform */
> +
> +enum RDFTransformType {
> + ? ?RDFT,
> + ? ?IRDFT,
> + ? ?RIDFT,
> + ? ?IRIDFT,
> +};
I never really liked the name IRIDFT it doesn't make a lot of sense to
me. I just needed something at the time. Maybe we should change it
before making it public.
RDFT: real time -> complex freq
IRDFT: complex freq -> real time
RIDFT: real freq -> complex time (or alternatively real time to
complex frequency with alternate sine convention)
IRIDFT: complex time -> real frequency (or alternatively complex
frequency to real time with alternate sine converntion)
Other than that LGTM
More information about the ffmpeg-devel
mailing list