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
75 * the double variant, it's a 'double'. If scale is NULL, 1.0 will be used75 * the double variant, it's a 'double'. If scale is NULL, 1.0 will be used
76 * as a default.76 * as a default.
77 *77 *
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.
79 *81 *
80 * The forward transform performs a real-to-complex DFT of N samples to82 * The forward transform performs a real-to-complex DFT of N samples to
81 * N/2+1 complex values.83 * 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