Home
last modified time | relevance | path

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

/external/webp/src/demux/
Ddemux.c34 size_t buf_size_; // size of the buffer member
111 if (size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
114 mem->end_ = mem->buf_size_ = size; in RemapMemBuffer()
382 if (mem->buf_size_ > mem->riff_end_) { in ReadHeader()
383 mem->buf_size_ = mem->end_ = mem->riff_end_; in ReadHeader()
665 WebPGetFeatures(mem->buf_, mem->buf_size_, &features); in CreateRawImageDemuxer()
677 SetFrameInfo(0, mem->buf_size_, 1 /*frame_num*/, 1 /*complete*/, &features, in CreateRawImageDemuxer()
728 partial = (mem.buf_size_ < mem.riff_end_); in WebPDemuxInternal()
/external/webp/src/dec/
Didec.c58 size_t buf_size_; // size of the allocated buffer member
179 if (mem->end_ + data_size > mem->buf_size_) { // Need some free memory in AppendToMemBuffer()
190 mem->buf_size_ = (size_t)extra_size; in AppendToMemBuffer()
197 assert(mem->end_ <= mem->buf_size_); in AppendToMemBuffer()
210 if (data_size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
213 mem->end_ = mem->buf_size_ = data_size; in RemapMemBuffer()
222 mem->buf_size_ = 0; in InitMemBuffer()
/external/opencv3/3rdparty/libwebp/dec/
Didec.c59 size_t buf_size_; // size of the allocated buffer member
169 if (mem->end_ + data_size > mem->buf_size_) { // Need some free memory in AppendToMemBuffer()
180 mem->buf_size_ = (size_t)extra_size; in AppendToMemBuffer()
187 assert(mem->end_ <= mem->buf_size_); in AppendToMemBuffer()
200 if (data_size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
203 mem->end_ = mem->buf_size_ = data_size; in RemapMemBuffer()
212 mem->buf_size_ = 0; in InitMemBuffer()
/external/opencv3/3rdparty/libwebp/demux/
Ddemux.c38 size_t buf_size_; // size of the buffer member
113 if (size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
116 mem->end_ = mem->buf_size_ = size; in RemapMemBuffer()
414 if (mem->buf_size_ > mem->riff_end_) { in ReadHeader()
415 mem->buf_size_ = mem->end_ = mem->riff_end_; in ReadHeader()
682 partial = (mem.buf_size_ < mem.riff_end_); in WebPDemuxInternal()