Home
last modified time | relevance | path

Searched refs:mem_ (Results 1 – 15 of 15) sorted by relevance

/external/webp/src/dec/
Didec.c72 MemBuffer mem_; // input memory buffer. member
111 MemBuffer* const mem = &idec->mem_; in DoRemap()
167 MemBuffer* const mem = &idec->mem_; in AppendToMemBuffer()
205 MemBuffer* const mem = &idec->mem_; in RemapMemBuffer()
290 MemBuffer* const mem = &idec->mem_; in ChangeState()
300 MemBuffer* const mem = &idec->mem_; in DecodeWebPHeaders()
339 const uint8_t* data = idec->mem_.buf_ + idec->mem_.start_; in DecodeVP8FrameHeader()
340 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader()
353 idec->mem_.part0_size_ = (bits >> 5) + VP8_FRAME_HEADER_SIZE; in DecodeVP8FrameHeader()
366 MemBuffer* const mem = &idec->mem_; in CopyParts0Data()
[all …]
Dframe.c729 WebPSafeFree(dec->mem_); in AllocateMemory()
731 dec->mem_ = WebPSafeMalloc(needed, sizeof(uint8_t)); in AllocateMemory()
732 if (dec->mem_ == NULL) { in AllocateMemory()
740 mem = (uint8_t*)dec->mem_; in AllocateMemory()
791 assert(mem <= (uint8_t*)dec->mem_ + dec->mem_size_); in AllocateMemory()
Dvp8i.h246 void* mem_; member
Dvp8.c654 WebPSafeFree(dec->mem_); in VP8Clear()
655 dec->mem_ = NULL; in VP8Clear()
/external/opencv3/3rdparty/libwebp/dec/
Didec.c73 MemBuffer mem_; // input memory buffer. member
120 MemBuffer* const mem = &idec->mem_; in DoRemap()
157 MemBuffer* const mem = &idec->mem_; in AppendToMemBuffer()
195 MemBuffer* const mem = &idec->mem_; in RemapMemBuffer()
281 MemBuffer* const mem = &idec->mem_; in ChangeState()
291 MemBuffer* const mem = &idec->mem_; in DecodeWebPHeaders()
335 const uint8_t* data = idec->mem_.buf_ + idec->mem_.start_; in DecodeVP8FrameHeader()
336 const size_t curr_size = MemDataSize(&idec->mem_); in DecodeVP8FrameHeader()
348 idec->mem_.part0_size_ = (bits >> 5) + VP8_FRAME_HEADER_SIZE; in DecodeVP8FrameHeader()
361 MemBuffer* const mem = &idec->mem_; in CopyParts0Data()
[all …]
Dframe.c437 free(dec->mem_); in AllocateMemory()
439 dec->mem_ = WebPSafeMalloc(needed, sizeof(uint8_t)); in AllocateMemory()
440 if (dec->mem_ == NULL) { in AllocateMemory()
448 mem = (uint8_t*)dec->mem_; in AllocateMemory()
499 assert(mem <= (uint8_t*)dec->mem_ + dec->mem_size_); in AllocateMemory()
Dvp8.c771 if (dec->mem_) { in VP8Clear()
772 free(dec->mem_); in VP8Clear()
774 dec->mem_ = NULL; in VP8Clear()
Dvp8i.h256 void* mem_; member
/external/opencv3/modules/core/src/
Dcuda_stream.cpp136 uchar* mem_; member in __anon664c44f30211::MemoryPool
141 MemoryPool::MemoryPool() : initialized_(false), mem_(0) in MemoryPool()
166 cudaError_t err = cudaMalloc(&mem_, totalSize); in initilizeImpl()
172 uchar* ptr = mem_; in initilizeImpl()
191 if (mem_) in release()
201 cudaFree(mem_); in release()
203 mem_ = 0; in release()
215 if (!mem_) in getFreeMemStack()
/external/opencv3/3rdparty/libwebp/demux/
Ddemux.c65 MemBuffer mem_; member
309 MemBuffer* const mem = &dmux->mem_; in ParseAnimationFrame()
352 MemBuffer* const mem = &dmux->mem_; in ParseFragment()
424 MemBuffer* const mem = &dmux->mem_; in ParseSingleImage()
438 status = StoreFrame(1, CHUNK_HEADER_SIZE, &dmux->mem_, frame, in ParseSingleImage()
466 MemBuffer* const mem = &dmux->mem_; in ParseVP8X()
665 dmux->mem_ = *mem; in InitDemux()
690 if (!memcmp(parser->id, GetBuffer(&dmux->mem_), TAG_SIZE)) { in WebPDemuxInternal()
797 const uint8_t* const mem_buf = dmux->mem_.buf_; in SynthesizeFrame()
875 const uint8_t* const mem_buf = dmux->mem_.buf_; in ChunkCount()
[all …]
/external/webp/src/demux/
Ddemux.c62 MemBuffer mem_; member
311 MemBuffer* const mem = &dmux->mem_; in ParseAnimationFrame()
392 MemBuffer* const mem = &dmux->mem_; in ParseSingleImage()
406 status = StoreFrame(1, CHUNK_HEADER_SIZE, &dmux->mem_, frame); in ParseSingleImage()
438 MemBuffer* const mem = &dmux->mem_; in ParseVP8XChunks()
528 MemBuffer* const mem = &dmux->mem_; in ParseVP8X()
658 dmux->mem_ = *mem; in InitDemux()
737 if (!memcmp(parser->id, GetBuffer(&dmux->mem_), TAG_SIZE)) { in WebPDemuxInternal()
828 const uint8_t* const mem_buf = dmux->mem_.buf_; in SynthesizeFrame()
890 const uint8_t* const mem_buf = dmux->mem_.buf_; in ChunkCount()
[all …]
/external/vulkan-validation-layers/demos/smoke/
DMeshes.cpp460 vk::assert_success(vk::MapMemory(dev_, mem_, 0, VK_WHOLE_SIZE, in Meshes()
471 vk::UnmapMemory(dev_, mem_); in Meshes()
476 vk::FreeMemory(dev_, mem_, nullptr); in ~Meshes()
533 vk::AllocateMemory(dev_, &mem_info, nullptr, &mem_); in allocate_resources()
535 vk::BindBufferMemory(dev_, vb_, mem_, 0); in allocate_resources()
536 vk::BindBufferMemory(dev_, ib_, mem_, ib_mem_offset_); in allocate_resources()
DMeshes.h63 VkDeviceMemory mem_; variable
/external/webp/src/utils/
Dquant_levels_dec.c54 void* mem_; // all memory member
222 p->mem_ = (void*)mem; in InitParams()
253 WebPSafeFree(p->mem_); in CleanupParams()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_util.h57 new ((f)->getProgram()->mem_##obj.allocate()) obj(f, args)
73 new ((p)->mem_##obj.allocate()) obj(p, args)