[vlc-commits] chroma: copy: increase max cache size
Thomas Guillem
git at videolan.org
Fri Nov 17 10:23:27 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Nov 17 09:03:35 2017 +0100| [5429463faaacb4cf2f46fc3c7969177e0fc315d2] | committer: Thomas Guillem
chroma: copy: increase max cache size
For 4K 16bits frames.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5429463faaacb4cf2f46fc3c7969177e0fc315d2
---
modules/video_chroma/copy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c
index 6b5629196f..d1c2693831 100644
--- a/modules/video_chroma/copy.c
+++ b/modules/video_chroma/copy.c
@@ -48,7 +48,7 @@
int CopyInitCache(copy_cache_t *cache, unsigned width)
{
#ifdef CAN_COMPILE_SSE2
- cache->size = __MAX((width + 0x3f) & ~ 0x3f, 8192);
+ cache->size = __MAX((width + 0x3f) & ~ 0x3f, 16384);
cache->buffer = aligned_alloc(64, cache->size);
if (!cache->buffer)
return VLC_EGENERIC;
More information about the vlc-commits
mailing list