summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-11-24 15:56:01 +0100
committerLynne <dev@lynne.ee>2022-11-24 15:58:35 +0100
commit93c30bd6f0846898bb3e7172bb5de65f2d0f33ce (patch)
tree5e15cc9568951bf9614d7820e530fff272833834
parent43d285a40f11e15839b784c85bbbcc7fafd135b5 (diff)
lavu/tx: clarify stride for RDFT transforms
-rw-r--r--libavutil/tx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/tx.h b/libavutil/tx.h
index cd772ad903..758f634b73 100644
--- a/libavutil/tx.h
+++ b/libavutil/tx.h
@@ -75,7 +75,9 @@ enum AVTXType {
* the double variant, it's a 'double'. If scale is NULL, 1.0 will be used
* as a default.
*
- * The stride parameter must be set to the size of a single sample in bytes.
+ * For forward transforms (R2C), stride must be the spacing between two
+ * samples in bytes. For inverse transforms, the stride must be set
+ * to the spacing between two complex values in bytes.
*
* The forward transform performs a real-to-complex DFT of N samples to
* N/2+1 complex values.