]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_lut3d: increase max level to upper limit defined by cube format specification
authorPaul B Mahol <onemda@gmail.com>
Fri, 25 Oct 2019 09:26:25 +0000 (11:26 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 26 Oct 2019 08:32:20 +0000 (10:32 +0200)
libavfilter/vf_lut3d.c

index 551dd1973bb9c61e23f699b8eff10f6210270666..cd0aba1f693d85d30d91420dedb0197cffc2a7c3 100644 (file)
@@ -55,7 +55,7 @@ struct rgbvec {
 
 /* 3D LUT don't often go up to level 32, but it is common to have a Hald CLUT
  * of 512x512 (64x64x64) */
-#define MAX_LEVEL 128
+#define MAX_LEVEL 256
 
 typedef struct LUT3DContext {
     const AVClass *class;