This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit c94e8afe5d195fb08c441fbe3f8c2295081fcf8b
Author:     Niklas Haas <[email protected]>
AuthorDate: Mon Dec 8 18:53:33 2025 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Mon Dec 8 20:09:37 2025 +0000

    swscale/ops: clarify SwsOpList.src/dst semantics
    
    Turns out these are not, in fact, purely informative - but the optimizer
    can take them into account. This should be documented properly.
    
    I tried to think of a way to avoid needing this in the optimizer, but any
    way I could think of would require shoving this to SwsReadWriteOp, which I
    am particularly unwilling to do.
---
 libswscale/ops.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswscale/ops.h b/libswscale/ops.h
index dccc00d2f0..14edc77978 100644
--- a/libswscale/ops.h
+++ b/libswscale/ops.h
@@ -209,8 +209,8 @@ typedef struct SwsOpList {
     SwsOp *ops;
     int num_ops;
 
-    /* Purely informative metadata associated with this operation list */
-    SwsFormat src, dst;
+    /* Metadata associated with this operation list */
+    SwsFormat src, dst; /* if set; may inform the optimizer about e.g value 
ranges */
 } SwsOpList;
 
 SwsOpList *ff_sws_op_list_alloc(void);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to