]> git.sesse.net Git - ffmpeg/commitdiff
lavu/tx: mention FFT output is not normalized
authorLynne <dev@lynne.ee>
Sat, 8 Feb 2020 23:06:09 +0000 (23:06 +0000)
committerLynne <dev@lynne.ee>
Sat, 8 Feb 2020 23:11:29 +0000 (23:11 +0000)
Not even FFTW's output is normalized.
This should prevent at least some users from complaining that doing a forward
transform followed by an inverse transform has a mismatching output to the
original input.

libavutil/tx.h

index d6cdfdf9f20b3c7ac12a7dea69db28d23e10ac81..8b405c00214afed91c116e44758d1f57bfb617f2 100644 (file)
@@ -35,7 +35,7 @@ typedef struct AVComplexDouble {
 enum AVTXType {
     /**
      * Standard complex to complex FFT with sample data type AVComplexFloat.
-     * Scaling currently unsupported
+     * Output is not 1/len normalized. Scaling currently unsupported.
      */
     AV_TX_FLOAT_FFT = 0,
     /**