Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libwebp/demux/
Ddemux.c127 static WEBP_INLINE size_t MemDataSize(const MemBuffer* const mem) { in MemDataSize() function
206 int done = (MemDataSize(mem) < min_size); in StoreFrame()
218 const size_t payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()
219 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()
224 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()
279 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in StoreFrame()
296 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
402 if (MemDataSize(mem) < min_size) return 0; in ReadHeader()
431 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ParseSingleImage()
471 if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; in ParseVP8X()
[all …]
/external/webp/src/demux/
Ddemux.c125 static WEBP_INLINE size_t MemDataSize(const MemBuffer* const mem) { in MemDataSize() function
213 int done = (MemDataSize(mem) < min_size); in StoreFrame()
223 const size_t payload_available = (payload_size_padded > MemDataSize(mem)) in StoreFrame()
224 ? MemDataSize(mem) : payload_size_padded; in StoreFrame()
229 if (payload_size_padded > MemDataSize(mem)) status = PARSE_NEED_MORE_DATA; in StoreFrame()
280 } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { in StoreFrame()
297 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
370 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ReadHeader()
399 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in ParseSingleImage()
469 if (MemDataSize(mem) < chunk_size_padded) { in ParseVP8XChunks()
[all …]
/external/webp/src/dec/
Didec.c89 static WEBP_INLINE size_t MemDataSize(const MemBuffer* mem) { in MemDataSize() function
116 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()
295 idec->io_.data_size = MemDataSize(mem); in ChangeState()
302 size_t curr_size = MemDataSize(mem); in DecodeWebPHeaders()
340 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader()
397 if (MemDataSize(&idec->mem_) < idec->mem_.part0_size_) { in DecodePartition0()
465 if (dec->num_parts_ == 1 && MemDataSize(&idec->mem_) > MAX_MB_SIZE) { in DecodeRemaining()
505 size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8LHeader()
[all …]
/external/opencv3/3rdparty/libwebp/dec/
Didec.c98 static WEBP_INLINE size_t MemDataSize(const MemBuffer* mem) { in MemDataSize() function
125 idec->io_.data_size = MemDataSize(mem); in DoRemap()
147 VP8LBitReaderSetBuffer(&dec->br_, new_base, MemDataSize(mem)); in DoRemap()
171 const size_t current_size = MemDataSize(mem) + new_mem_start; in AppendToMemBuffer()
286 idec->io_.data_size = MemDataSize(mem); in ChangeState()
293 size_t curr_size = MemDataSize(mem); in DecodeWebPHeaders()
336 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader()
390 if (MemDataSize(&idec->mem_) < idec->mem_.part0_size_) { in DecodePartition0()
449 if (dec->num_parts_ == 1 && MemDataSize(&idec->mem_) > MAX_MB_SIZE) { in DecodeRemaining()
490 size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8LHeader()
[all …]