This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit fce3deaa3b57a806166423380664c028270c3078 Author: Niklas Haas <[email protected]> AuthorDate: Mon Mar 9 16:00:42 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sat Mar 28 18:50:14 2026 +0100 swscale/ops_backend: add SwsOpExec to SwsOpIter Needed for the scaling kernel, which accesses line strides. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas <[email protected]> --- libswscale/ops_backend.h | 3 +++ libswscale/ops_tmpl_common.c | 1 + 2 files changed, 4 insertions(+) diff --git a/libswscale/ops_backend.h b/libswscale/ops_backend.h index beff0193a6..b93a060522 100644 --- a/libswscale/ops_backend.h +++ b/libswscale/ops_backend.h @@ -47,6 +47,9 @@ typedef struct SwsOpIter { uintptr_t in[4]; uintptr_t out[4]; int x, y; + + /* Link back to per-slice execution context */ + const SwsOpExec *exec; } SwsOpIter; #ifdef __clang__ diff --git a/libswscale/ops_tmpl_common.c b/libswscale/ops_tmpl_common.c index e95a164ccf..307275eea7 100644 --- a/libswscale/ops_tmpl_common.c +++ b/libswscale/ops_tmpl_common.c @@ -186,6 +186,7 @@ static void fn(process)(const SwsOpExec *exec, const void *priv, SwsOpIter iterdata; SwsOpIter *iter = &iterdata; /* for CONTINUE() macro to work */ + iter->exec = exec; for (int i = 0; i < 4; i++) { iter->in[i] = (uintptr_t) exec->in[i]; iter->out[i] = (uintptr_t) exec->out[i]; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
