Commit 5429463f authored by Thomas Guillem's avatar Thomas Guillem

chroma: copy: increase max cache size

For 4K 16bits frames.
parent f4299fbb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment