summaryrefslogtreecommitdiff
path: root/libavutil/tx.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2021-02-26 05:40:07 +0100
committerLynne <dev@lynne.ee>2021-02-26 05:42:24 +0100
commit10341743d2a91602321e2ece8c4dd88cd8073f8d (patch)
tree645a01162e118002bd5a0a6955819ec85c5eff9c /libavutil/tx.h
parente937457b7b63e3b2647ec60b794d1fafcf1e79b9 (diff)
downloadffmpeg-10341743d2a91602321e2ece8c4dd88cd8073f8d.tar.gz
lavu/tx: require output argument to match input for inplace transforms
This simplifies some assembly code by a lot, by either saving a branch or saving an entire duplicated function.
Diffstat (limited to 'libavutil/tx.h')
-rw-r--r--libavutil/tx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/tx.h b/libavutil/tx.h
index 983b5e9307..bfc0c7f2a3 100644
--- a/libavutil/tx.h
+++ b/libavutil/tx.h
@@ -103,8 +103,8 @@ typedef void (*av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride);
*/
enum AVTXFlags {
/**
- * 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,