Lines Matching refs:MemDataSize
125 static WEBP_INLINE size_t MemDataSize(const MemBuffer* const mem) { in MemDataSize() function
214 int done = (MemDataSize(mem) < CHUNK_HEADER_SIZE || in StoreFrame()
215 MemDataSize(mem) < min_size); in StoreFrame()
225 const size_t payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()
226 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()
231 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()
282 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in StoreFrame()
299 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
372 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ReadHeader()
401 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ParseSingleImage()
471 if (MemDataSize(mem) < chunk_size_padded) { in ParseVP8XChunks()
503 if (chunk_size_padded <= MemDataSize(mem)) { in ParseVP8XChunks()
521 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in ParseVP8XChunks()
533 if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; in ParseVP8X()
542 if (MemDataSize(mem) < vp8x_size) return PARSE_NEED_MORE_DATA; in ParseVP8X()
555 if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; in ParseVP8X()