Searched refs:SizeIsInvalid (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/3rdparty/libwebp/demux/ |
D | demux.c | 132 static WEBP_INLINE int SizeIsInvalid(const MemBuffer* const mem, size_t size) { in SizeIsInvalid() function 223 if (SizeIsInvalid(mem, payload_size_padded)) return PARSE_ERROR; in StoreFrame() 294 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame() 430 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage() 479 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X() 492 if (SizeIsInvalid(mem, CHUNK_HEADER_SIZE)) return PARSE_ERROR; in ParseVP8X() 503 if (SizeIsInvalid(mem, chunk_size_padded)) return PARSE_ERROR; in ParseVP8X()
|
/external/webp/src/demux/ |
D | demux.c | 130 static WEBP_INLINE int SizeIsInvalid(const MemBuffer* const mem, size_t size) { in SizeIsInvalid() function 228 if (SizeIsInvalid(mem, payload_size_padded)) return PARSE_ERROR; in StoreFrame() 295 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame() 398 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage() 450 if (SizeIsInvalid(mem, chunk_size_padded)) return PARSE_ERROR; in ParseVP8XChunks() 539 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X() 552 if (SizeIsInvalid(mem, CHUNK_HEADER_SIZE)) return PARSE_ERROR; in ParseVP8X()
|