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

Git pushed a commit to branch master
in repository ffmpeg.

commit 49e73395b7a0457c3a4c9d7100f4d3e25a2ace07
Author:     Ramiro Polla <[email protected]>
AuthorDate: Tue Jun 23 17:16:48 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Jun 24 13:14:35 2026 +0000

    swscale/uops: move SWS_MASK* from ops.h to uops.h
    
    These helpers are also needed for uops.
---
 libswscale/ops.h  | 6 ------
 libswscale/uops.h | 6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libswscale/ops.h b/libswscale/ops.h
index 753cee5910..f2a57612b4 100644
--- a/libswscale/ops.h
+++ b/libswscale/ops.h
@@ -198,12 +198,6 @@ typedef struct SwsLinearOp {
     uint32_t mask; /* m[i][j] <-> 1 << (5 * i + j) */
 } SwsLinearOp;
 
-#define SWS_MASK(I, J)  (1 << (5 * (I) + (J)))
-#define SWS_MASK_OFF(I) SWS_MASK(I, 4)
-#define SWS_MASK_ROW(I) (0x1F << (5 * (I)))
-#define SWS_MASK_COL(J) (0x8421 << J)
-#define SWS_MASK_DIAG4  (0x41041)
-
 /* Helper function to compute the correct mask */
 uint32_t ff_sws_linear_mask(const SwsLinearOp *c);
 
diff --git a/libswscale/uops.h b/libswscale/uops.h
index 0098c46e05..284f74042b 100644
--- a/libswscale/uops.h
+++ b/libswscale/uops.h
@@ -190,6 +190,12 @@ typedef struct SwsLinearUOp {
     uint32_t exact; /* mask of coefficients whose product is exact */
 } SwsLinearUOp;
 
+#define SWS_MASK(I, J)  (1 << (5 * (I) + (J)))
+#define SWS_MASK_OFF(I) SWS_MASK(I, 4)
+#define SWS_MASK_ROW(I) (0x1F << (5 * (I)))
+#define SWS_MASK_COL(J) (0x8421 << J)
+#define SWS_MASK_DIAG4  (0x41041)
+
 typedef struct SwsDitherUOp {
     uint8_t y_offset[4];
     uint8_t size_log2;

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

Reply via email to