lavu/tx: minor code style improvements and additional comments

This commit is contained in:
Lynne
2021-04-10 03:45:03 +02:00
parent da6e137cb6
commit aa910a7ecd
3 changed files with 48 additions and 28 deletions

View File

@@ -49,9 +49,11 @@ enum AVTXType {
* float. Length is the frame size, not the window size (which is 2x frame)
* For forward transforms, the stride specifies the spacing between each
* sample in the output array in bytes. The input must be a flat array.
*
* For inverse transforms, the stride specifies the spacing between each
* sample in the input array in bytes. The output will be a flat array.
* Stride must be a non-zero multiple of sizeof(float).
*
* NOTE: the inverse transform is half-length, meaning the output will not
* contain redundant data. This is what most codecs work with.
*/