You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
swscale/csputils: Remove unused ff_sws_matrix3x3_rmul()
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -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],
|
||||
|
@ -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]);
|
||||
|
||||
|
Reference in New Issue
Block a user