Home
last modified time | relevance | path

Searched refs:next_max_size (Results 1 – 1 of 1) sorted by relevance

/external/webp/src/enc/
Dpicture.c195 uint64_t next_max_size = 2ULL * w->max_size; in WebPMemoryWrite() local
196 if (next_max_size < next_size) next_max_size = next_size; in WebPMemoryWrite()
197 if (next_max_size < 8192ULL) next_max_size = 8192ULL; in WebPMemoryWrite()
198 new_mem = (uint8_t*)WebPSafeMalloc(next_max_size, 1); in WebPMemoryWrite()
208 w->max_size = (size_t)next_max_size; in WebPMemoryWrite()