Constant AV_TX_FLOAT_MDCT
pub const AV_TX_FLOAT_MDCT: u32 = 1; // 1u32
Expand description
Standard MDCT with a sample data type of float, double or int32_t, respecively. For the float and int32 variants, the scale type is ‘float’, while for the double variant, it’s ‘double’. If scale is NULL, 1.0 will be used as a default.
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 must be a flat array.
NOTE: the inverse transform is half-length, meaning the output will not contain redundant data. This is what most codecs work with. To do a full inverse transform, set the AV_TX_FULL_IMDCT flag on init.