History

lavu/tx: clarify stride for RDFT transforms

Lynne committed 3 years ago

Commit 93c30bd1 parent 43d285a1 file · +3 −1Browse files

Unified · Split

libavutil/tx.h+3−1
@@ -75,7 +75,9 @@ enum AVTXType { · 74 unmodified lines
7575 * the double variant, it's a 'double'. If scale is NULL, 1.0 will be used
7676 * as a default.
7777 *
78− * The stride parameter must be set to the size of a single sample in bytes.
78+ * For forward transforms (R2C), stride must be the spacing between two
79+ * samples in bytes. For inverse transforms, the stride must be set
80+ * to the spacing between two complex values in bytes.
7981 *
8082 * The forward transform performs a real-to-complex DFT of N samples to
8183 * N/2+1 complex values.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t