Mercurial > libavcodec.hg
comparison dct.c @ 11370:4b3da727d832 libavcodec
Move FFT parts from dsputil.h to fft.h
author | mru |
---|---|
date | Sat, 06 Mar 2010 14:34:46 +0000 |
parents | 0985f1f7ab72 |
children | e3b680f6c106 |
comparison
equal
deleted
inserted
replaced
11369:98970e51365a | 11370:4b3da727d832 |
---|---|
26 * (Inverse) Discrete Cosine Transforms. These are also known as the | 26 * (Inverse) Discrete Cosine Transforms. These are also known as the |
27 * type II and type III DCTs respectively. | 27 * type II and type III DCTs respectively. |
28 */ | 28 */ |
29 | 29 |
30 #include <math.h> | 30 #include <math.h> |
31 #include "dsputil.h" | 31 #include "libavutil/mathematics.h" |
32 #include "fft.h" | |
32 | 33 |
33 av_cold int ff_dct_init(DCTContext *s, int nbits, int inverse) | 34 av_cold int ff_dct_init(DCTContext *s, int nbits, int inverse) |
34 { | 35 { |
35 int n = 1 << nbits; | 36 int n = 1 << nbits; |
36 int i; | 37 int i; |