aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-03-31 14:26:24 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-04-03 06:04:57 +0200
commit435be31ef5e77d58a6c93df77cc3de615c3e137d (patch)
tree103cb49c72ac826e9a90c24d0c287fc89524365c
parent4d2e38b376043b4b4bfff2ff878b5c266f559afb (diff)
downloadffmpeg-435be31ef5e77d58a6c93df77cc3de615c3e137d.tar.gz
swscale/csputils: Remove unused ff_sws_matrix3x3_rmul()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libswscale/csputils.c13
-rw-r--r--libswscale/csputils.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/libswscale/csputils.c b/libswscale/csputils.c
index 728871d293..6ab6ac3f7a 100644
--- a/libswscale/csputils.c
+++ b/libswscale/csputils.c
@@ -36,19 +36,6 @@ void ff_sws_matrix3x3_mul(SwsMatrix3x3 *a, const SwsMatrix3x3 *b)
}
}
-void ff_sws_matrix3x3_rmul(const SwsMatrix3x3 *a, SwsMatrix3x3 *b)
-{
- float b00 = b->m[0][0], b01 = b->m[0][1], b02 = b->m[0][2],
- b10 = b->m[1][0], b11 = b->m[1][1], b12 = b->m[1][2],
- b20 = b->m[2][0], b21 = b->m[2][1], b22 = b->m[2][2];
-
- for (int i = 0; i < 3; i++) {
- b->m[i][0] = a->m[i][0] * b00 + a->m[i][1] * b10 + a->m[i][2] * b20;
- b->m[i][1] = a->m[i][0] * b01 + a->m[i][1] * b11 + a->m[i][2] * b21;
- b->m[i][2] = a->m[i][0] * b02 + a->m[i][1] * b12 + a->m[i][2] * b22;
- }
-}
-
void ff_sws_matrix3x3_invert(SwsMatrix3x3 *mat)
{
double m00 = mat->m[0][0], m01 = mat->m[0][1], m02 = mat->m[0][2],
diff --git a/libswscale/csputils.h b/libswscale/csputils.h
index e4e1260916..c28e4ac7ae 100644
--- a/libswscale/csputils.h
+++ b/libswscale/csputils.h
@@ -49,7 +49,6 @@ typedef struct SwsMatrix3x3 {
} SwsMatrix3x3;
void ff_sws_matrix3x3_mul(SwsMatrix3x3 *a, const SwsMatrix3x3 *b);
-void ff_sws_matrix3x3_rmul(const SwsMatrix3x3 *a, SwsMatrix3x3 *b);
void ff_sws_matrix3x3_invert(SwsMatrix3x3 *mat);
void ff_sws_matrix3x3_apply(const SwsMatrix3x3 *mat, float vec[3]);