Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libwebp/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()
231 payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()
232 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()
235 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()
286 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in StoreFrame()
303 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
381 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ReadHeader()
410 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ParseSingleImage()
[all …]
/third_party/skia/third_party/externals/libwebp/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()
183 const size_t current_size = MemDataSize(mem) + new_mem_start; in AppendToMemBuffer()
304 idec->io_.data_size = MemDataSize(mem); in ChangeState()
311 size_t curr_size = MemDataSize(mem); in DecodeWebPHeaders()
349 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader()
406 if (MemDataSize(&idec->mem_) < idec->mem_.part0_size_) { in DecodePartition0()
478 MemDataSize(&idec->mem_) > MAX_MB_SIZE) { in DecodeRemaining()
525 size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8LHeader()
[all …]
/third_party/skia/third_party/externals/libwebp/examples/
Dwebpinfo.c190 static size_t MemDataSize(const MemBuffer* const mem) { in MemDataSize() function
205 assert(MemDataSize(mem) >= 4); in ReadMemBufLE32()
588 if (MemDataSize(mem) < min_size) { in ParseRIFFHeader()
626 if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in ParseChunk()
640 if (payload_size_padded > MemDataSize(mem)){ in ParseChunk()
1078 while (webp_info_status == WEBP_INFO_OK && MemDataSize(&mem_buffer) > 0) { in AnalyzeWebP()