Home
last modified time | relevance | path

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

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