Home
last modified time | relevance | path

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

/external/webp/src/demux/
Ddemux.c125 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()
[all …]
/external/webp/src/dec/
Didec_dec.c91 static WEBP_INLINE size_t MemDataSize(const MemBuffer* mem) { in MemDataSize() function
118 idec->io_.data_size = MemDataSize(mem); in DoRemap()
157 VP8LBitReaderSetBuffer(&dec->br_, new_base, MemDataSize(mem)); in DoRemap()
181 const size_t current_size = MemDataSize(mem) + new_mem_start; in AppendToMemBuffer()
299 idec->io_.data_size = MemDataSize(mem); in ChangeState()
306 size_t curr_size = MemDataSize(mem); in DecodeWebPHeaders()
344 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader()
401 if (MemDataSize(&idec->mem_) < idec->mem_.part0_size_) { in DecodePartition0()
473 MemDataSize(&idec->mem_) > MAX_MB_SIZE) { in DecodeRemaining()
520 size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8LHeader()
[all …]