/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/ |
A D | bit_writer_utils.c | 46 assert(bw->buf_ != NULL); in BitWriterResize() 49 WebPSafeFree(bw->buf_); in BitWriterResize() 50 bw->buf_ = new_buf; in BitWriterResize() 73 bw->buf_[pos++] = bits; in Flush() 170 bw->buf_ = NULL; in VP8BitWriterInit() 178 return bw->buf_; in VP8BitWriterFinish() 230 WebPSafeFree(bw->buf_); in VP8LBitWriterResize() 247 memcpy(dst->buf_, src->buf_, current_size); in VP8LBitWriterClone() 266 bw->cur_ = bw->buf_ + (bw_init->cur_ - bw_init->buf_); in VP8LBitWriterReset() 283 bw->cur_ = bw->buf_; in VP8LPutBitsFlushBits() [all …]
|
A D | bit_reader_utils.c | 27 br->buf_ = start; in VP8BitReaderSetBuffer() 48 if (br->buf_ != NULL) { in VP8RemapBitReader() 49 br->buf_ += offset; in VP8RemapBitReader() 88 assert(br != NULL && br->buf_ != NULL); in VP8LoadFinalBytes() 90 if (br->buf_ < br->buf_end_) { in VP8LoadFinalBytes() 92 br->value_ = (bit_t)(*br->buf_++) | (br->value_ << 8); in VP8LoadFinalBytes() 160 br->buf_ = start; in VP8LInitBitReader() 168 br->buf_ = buf; in VP8LBitReaderSetBuffer() 183 br->val_ |= ((vp8l_val_t)br->buf_[br->pos_]) << (VP8L_LBITS - 8); in ShiftBytes() 198 br->val_ |= (vp8l_val_t)HToLE32(WebPMemToUint32(br->buf_ + br->pos_)) << in VP8LDoFillBitWindow()
|
A D | bit_reader_inl_utils.h | 59 assert(br != NULL && br->buf_ != NULL); in VP8LoadNewBytes() 61 if (br->buf_ < br->buf_max_) { in VP8LoadNewBytes() 67 lbit_t* p_buf_ = (lbit_t*)br->buf_; in VP8LoadNewBytes() 80 memcpy(&in_bits, br->buf_, sizeof(in_bits)); in VP8LoadNewBytes() 82 br->buf_ += BITS >> 3; in VP8LoadNewBytes()
|
A D | bit_writer_utils.h | 32 uint8_t* buf_; // internal buffer. Re-allocated regularly. Not owned. member 63 return bw->buf_; in VP8BitWriterBuf() 92 uint8_t* buf_; // start of buffer member 104 return (bw->cur_ - bw->buf_) + ((bw->used_ + 7) >> 3); in VP8LBitWriterNumBytes()
|
A D | bit_reader_utils.h | 77 const uint8_t* buf_; // next byte to be read member 123 const uint8_t* buf_; // input byte buffer member
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/flatbuffers/include/flatbuffers/ |
A D | flatbuffers.h | 704 buf_(other.buf_), 724 buf_ = other.buf_; 785 if (buf_) Deallocate(allocator_, buf_, reserved_); 831 buf_(other.buf_), 868 if (buf_) { 886 if (buf_) Deallocate(allocator_, buf_, reserved_); 1001 swap(buf_, other.buf_); 1144 buf_.swap(other.buf_); 1263 buf_.fill(PaddingBytes(buf_.size(), elem_size)); 1543 buf_.pop(buf_.size() - size_before_string); [all …]
|
A D | flexbuffers.h | 911 : buf_(initial_size), in buf_() function 917 buf_.clear(); in buf_() 924 return buf_; in GetBuffer() 932 buf_.clear(); in Clear() 1012 auto sloc = buf_.size(); in Key() 1019 buf_.resize(sloc); in Key() 1345 buf_.insert(buf_.end(), flatbuffers::PaddingBytes(buf_.size(), byte_width), in Align() 1351 buf_.insert(buf_.end(), reinterpret_cast<const uint8_t *>(val), in WriteBytes() 1379 auto iloc = buf_.size(); in PushIndirect() 1494 auto sloc = buf_.size(); in CreateBlob() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/resource/ |
A D | lookup_util.h | 98 buf_.AddString(value.data(), value.length()); in SetData() 103 void Commit() { buf_.WriteToTensor(values_, nullptr); } in Commit() 107 DynamicBuffer buf_; variable
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | idec_dec.c | 188 WebPSafeFree(mem->buf_); in AppendToMemBuffer() 189 mem->buf_ = new_buf; in AppendToMemBuffer() 195 memcpy(mem->buf_ + mem->end_, data, data_size); in AppendToMemBuffer() 206 const uint8_t* const old_buf = mem->buf_; in RemapMemBuffer() 212 mem->buf_ = (uint8_t*)data; in RemapMemBuffer() 221 mem->buf_ = NULL; in InitMemBuffer() 230 WebPSafeFree(mem->buf_); in ClearMemBuffer() 298 idec->io_.data = mem->buf_ + mem->start_; in ChangeState() 305 const uint8_t* data = mem->buf_ + mem->start_; in DecodeWebPHeaders() 384 memcpy(part0_buf, br->buf_, part_size); in CopyParts0Data() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/demux/ |
A D | demux.c | 35 const uint8_t* buf_; member 113 mem->buf_ = data; in RemapMemBuffer() 143 return mem->buf_ + mem->start_; in GetBuffer() 148 const uint8_t byte = mem->buf_[mem->start_]; in ReadByte() 154 const uint8_t* const data = mem->buf_ + mem->start_; in ReadLE16s() 161 const uint8_t* const data = mem->buf_ + mem->start_; in ReadLE24s() 168 const uint8_t* const data = mem->buf_ + mem->start_; in ReadLE32() 829 const uint8_t* const mem_buf = dmux->mem_.buf_; in SynthesizeFrame() 891 const uint8_t* const mem_buf = dmux->mem_.buf_; in ChunkCount() 903 const uint8_t* const mem_buf = dmux->mem_.buf_; in GetChunk() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/ |
A D | webpinfo.c | 93 const uint8_t* buf_; member 185 mem->buf_ = webp_data->bytes; in InitMemBuffer() 195 return mem->buf_ + mem->start_; in GetBuffer() 203 const uint8_t* const data = mem->buf_ + mem->start_; in ReadMemBufLE32()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | stream.c | 48 mp_uint_t mp_stream_rw(mp_obj_t stream, void *buf_, mp_uint_t size, int *errcode, byte flags) { in mp_stream_rw() argument 49 byte *buf = buf_; in mp_stream_rw()
|