[FFmpeg-cvslog] avfilter/paletteuse: raise cache size from 64k to 512k

Clément Bœsch git at videolan.org
Tue Feb 17 17:20:46 CET 2015


ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Tue Feb 17 17:15:00 2015 +0100| [a00bab347518d4824d51ec7078f1d84ca097c53b] | committer: Clément Bœsch

avfilter/paletteuse: raise cache size from 64k to 512k

(or 32k to 256k in 32-bit)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a00bab347518d4824d51ec7078f1d84ca097c53b
---

 libavfilter/vf_paletteuse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c
index 8188e36..b36f72e 100644
--- a/libavfilter/vf_paletteuse.c
+++ b/libavfilter/vf_paletteuse.c
@@ -50,7 +50,7 @@ struct color_node {
     int left_id, right_id;
 };
 
-#define NBITS 4
+#define NBITS 5
 #define CACHE_SIZE (1<<(3*NBITS))
 
 struct cached_color {



More information about the ffmpeg-cvslog mailing list