Searched refs:MemDataSize (Results 1 – 2 of 2) sorted by relevance
120 static WEBP_INLINE size_t MemDataSize(const MemBuffer* const mem) { in MemDataSize() function202 int done = (MemDataSize(mem) < min_size); in StoreFrame()214 const size_t payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()215 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()220 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()273 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in StoreFrame()290 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()393 if (MemDataSize(mem) < min_size) return 0; in ReadHeader()422 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ParseSingleImage()462 if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; in ParseVP8X()[all …]
96 static WEBP_INLINE size_t MemDataSize(const MemBuffer* mem) { in MemDataSize() function106 idec->io_.data_size = MemDataSize(mem); in DoRemap()127 VP8LBitReaderSetBuffer(&dec->br_, new_base, MemDataSize(mem)); in DoRemap()146 const size_t current_size = MemDataSize(mem); in AppendToMemBuffer()260 idec->io_.data_size = MemDataSize(mem); in ChangeState()267 size_t curr_size = MemDataSize(mem); in DecodeWebPHeaders()310 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader()364 if (MemDataSize(&idec->mem_) < idec->mem_.part0_size_) { in DecodePartition0()423 if (dec->num_parts_ == 1 && MemDataSize(&idec->mem_) > MAX_MB_SIZE) { in DecodeRemaining()464 size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8LHeader()[all …]