This simplifies some assembly code by a lot, by either saving a branch
or saving an entire duplicated function.
- * Performs an in-place transformation on the input. The output parameter
- * to av_tn_fn() will be ignored. May be unsupported or slower for some
+ * Performs an in-place transformation on the input. The output argument
+ * of av_tn_fn() MUST match the input. May be unsupported or slower for some
* transform types.
*/
AV_TX_INPLACE = 1ULL << 0,
* transform types.
*/
AV_TX_INPLACE = 1ULL << 0,
FFTComplex tmp;
int src, dst, *inplace_idx = s->inplace_idx;
FFTComplex tmp;
int src, dst, *inplace_idx = s->inplace_idx;
src = *inplace_idx++;
do {
src = *inplace_idx++;
do {