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

Git pushed a commit to branch master
in repository ffmpeg.

commit 542557ba47ed957b0de3851b4819a06bf9b12b5b
Author:     Niklas Haas <[email protected]>
AuthorDate: Mon Mar 9 16:22:22 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Sat Mar 28 18:50:14 2026 +0100

    swscale/ops_backend: implement support for y_bump map
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/ops_tmpl_common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libswscale/ops_tmpl_common.c b/libswscale/ops_tmpl_common.c
index 307275eea7..7d61580007 100644
--- a/libswscale/ops_tmpl_common.c
+++ b/libswscale/ops_tmpl_common.c
@@ -198,8 +198,9 @@ static void fn(process)(const SwsOpExec *exec, const void 
*priv,
             CONTINUE(block_t, (void *) x, (void *) y, (void *) z, (void *) w);
         }
 
+        const int y_bump = exec->in_bump_y ? exec->in_bump_y[iter->y] : 0;
         for (int i = 0; i < 4; i++) {
-            iter->in[i]  += exec->in_bump[i];
+            iter->in[i]  += exec->in_bump[i] + y_bump * exec->in_stride[i];
             iter->out[i] += exec->out_bump[i];
         }
     }

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

Reply via email to