[FFmpeg-cvslog] swscale/lut3d: remove unused function
Kacper Michajłow
git at videolan.org
Tue Jul 22 21:00:44 EEST 2025
ffmpeg | branch: master | Kacper Michajłow <kasper93 at gmail.com> | Thu Jul 17 01:23:10 2025 +0200| [22da57c444cba1683d75835be9cf1e0d5f341571] | committer: Kacper Michajłow
swscale/lut3d: remove unused function
Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=22da57c444cba1683d75835be9cf1e0d5f341571
---
libswscale/lut3d.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/libswscale/lut3d.c b/libswscale/lut3d.c
index f42958cd92..535694e61c 100644
--- a/libswscale/lut3d.c
+++ b/libswscale/lut3d.c
@@ -131,19 +131,6 @@ static av_always_inline v3u16_t lookup_input16(const SwsLut3D *lut3d, v3u16_t rg
return tetrahedral(lut3d, Rx, Gx, Bx, Rf, Gf, Bf);
}
-static av_always_inline v3u16_t lookup_input8(const SwsLut3D *lut3d, v3u8_t rgb)
-{
- static_assert(INPUT_LUT_BITS <= 8, "INPUT_LUT_BITS must be <= 8");
- const int shift = 8 - INPUT_LUT_BITS;
- const int Rx = rgb.x >> shift;
- const int Gx = rgb.y >> shift;
- const int Bx = rgb.z >> shift;
- const int Rf = rgb.x & ((1 << shift) - 1);
- const int Gf = rgb.y & ((1 << shift) - 1);
- const int Bf = rgb.z & ((1 << shift) - 1);
- return tetrahedral(lut3d, Rx, Gx, Bx, Rf, Gf, Bf);
-}
-
/**
* Note: These functions are scaled such that x == (1 << shift) corresponds to
* a value of 1.0. This makes them suitable for use when interpolation LUT
More information about the ffmpeg-cvslog
mailing list