Home | History | Annotate | Download | only in dec

Lines Matching defs:buf_

50   uint8_t* buf_;        // We don't own this buffer in case WebPIUpdate()
85 // Appends data to the end of MemBuffer->buf_. It expands the allocated memory
100 const uint8_t* const base = mem->buf_ + mem->start_;
108 if (dec->parts_[p].buf_) {
109 REMAP(dec->parts_[p].buf_, base, new_buf);
115 free(mem->buf_);
116 mem->buf_ = new_buf;
123 memcpy(mem->buf_ + mem->end_, data, data_size);
126 dec->parts_[last_part].buf_end_ = mem->buf_ + mem->end_;
130 idec->io_.data = mem->buf_ + mem->start_;
141 const uint8_t* base = mem->buf_;
149 if (dec->parts_[p].buf_) {
150 REMAP(dec->parts_[p].buf_, base, data);
157 if (dec->br_.buf_) {
158 REMAP(dec->br_.buf_, base, data);
162 mem->buf_ = (uint8_t*)data;
172 mem->buf_ = 0;
181 free(mem->buf_);
245 const uint8_t* data = idec->mem_.buf_ + idec->mem_.start_;
277 const size_t psize = br->buf_end_ - br->buf_;
288 memcpy(part0_buf, br->buf_, psize);
291 br->buf_ = part0_buf;
382 idec->mem_.start_ = token_br->buf_ - idec->mem_.buf_;