Home
last modified time | relevance | path

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

/external/webp/src/dec/
Didec.c57 size_t buf_size_; // size of the allocated buffer member
145 if (mem->end_ + data_size > mem->buf_size_) { // Need some free memory in AppendToMemBuffer()
155 mem->buf_size_ = (size_t)extra_size; in AppendToMemBuffer()
162 assert(mem->end_ <= mem->buf_size_); in AppendToMemBuffer()
174 if (data_size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
177 mem->end_ = mem->buf_size_ = data_size; in RemapMemBuffer()
186 mem->buf_size_ = 0; in InitMemBuffer()
/external/webp/src/demux/
Ddemux.c32 size_t buf_size_; // size of the buffer member
106 if (size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
109 mem->end_ = mem->buf_size_ = size; in RemapMemBuffer()
405 if (mem->buf_size_ > mem->riff_end_) { in ReadHeader()
406 mem->buf_size_ = mem->end_ = mem->riff_end_; in ReadHeader()
663 partial = (mem.buf_size_ < mem.riff_end_); in WebPDemuxInternal()