Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/demux/
Ddemux.c217 const uint32_t payload_size_padded = payload_size + (payload_size & 1); in StoreFrame() local
218 const size_t payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()
219 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()
223 if (SizeIsInvalid(mem, payload_size_padded)) return PARSE_ERROR; in StoreFrame()
224 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()
/external/webp/src/demux/
Ddemux.c222 const uint32_t payload_size_padded = payload_size + (payload_size & 1); in StoreFrame() local
223 const size_t payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()
224 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()
228 if (SizeIsInvalid(mem, payload_size_padded)) return PARSE_ERROR; in StoreFrame()
229 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()