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

Git pushed a commit to branch master
in repository ffmpeg.

commit bc06af02c62c538ddd5024513271d5abf46a18fe
Author:     Ramiro Polla <[email protected]>
AuthorDate: Sun Jul 19 21:04:02 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Jul 22 14:07:37 2026 +0000

    swscale/aarch64/ops_asmgen: use different value for vtmp register index
    
    Use vtmp register index relative to the current matrix column instead
    of reusing the position of the value from the packed data.
    
    The i_coeff and derived values will be removed in the following commit.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Ramiro Polla <[email protected]>
---
 libswscale/aarch64/ops_asmgen.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswscale/aarch64/ops_asmgen.c b/libswscale/aarch64/ops_asmgen.c
index 97eb99a96a..9e9ae02fdc 100644
--- a/libswscale/aarch64/ops_asmgen.c
+++ b/libswscale/aarch64/ops_asmgen.c
@@ -1260,11 +1260,11 @@ static void linear_pass(SwsAArch64Context *s, const 
SwsAArch64OpImplParams *p,
                  */
                 if (!(p->par.lin.one & SWS_MASK(i, src_j))) {
                     pre_mul = rasm_set_current_node(r, pre_mul);
-                    i_fmul(r, vtmp[vc_j], vsrc, vcoeff);    CMTF("vtmp[%u] = 
vsrc%c[%u] * coeff[%u][%u];", vc_j, cvh, src_j, i, src_j);
+                    i_fmul(r, vtmp[src_j], vsrc, vcoeff);   CMTF("vtmp[%u] = 
vsrc%c[%u] * coeff[%u][%u];", src_j, cvh, src_j, i, src_j);
                     pre_mul = rasm_set_current_node(r, pre_mul);
-                    i_fadd(r, dx[i], dx[i], vtmp[vc_j]);    CMTF("v%c[%u] += 
vtmp[%u];", cvh, i, vc_j);
+                    i_fadd(r, dx[i], dx[i], vtmp[src_j]);   CMTF("v%c[%u] += 
vtmp[%u];", cvh, i, src_j);
                 } else {
-                    i_fadd(r, dx[i], dx[i], vsrc);          CMTF("v%c[%u] += 
vsrc%c[%u];", cvh, i, cvh, vc_j);
+                    i_fadd(r, dx[i], dx[i], vsrc);          CMTF("v%c[%u] += 
vsrc%c[%u];", cvh, i, cvh, src_j);
                 }
             }
             first = false;

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

Reply via email to