Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 25 of 47) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dmem_ops.h67 const MAU_T *mem = (const MAU_T *)vmem; in mem_get_be16() local
69 val = mem[0] << 8; in mem_get_be16()
70 val |= mem[1]; in mem_get_be16()
78 const MAU_T *mem = (const MAU_T *)vmem; in mem_get_be24() local
80 val = mem[0] << 16; in mem_get_be24()
81 val |= mem[1] << 8; in mem_get_be24()
82 val |= mem[2]; in mem_get_be24()
90 const MAU_T *mem = (const MAU_T *)vmem; in mem_get_be32() local
92 val = mem[0] << 24; in mem_get_be32()
93 val |= mem[1] << 16; in mem_get_be32()
[all …]
Dmem_ops_aligned.h48 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\
49 return *mem;\
54 const int##sz##_t *mem = (const int##sz##_t *)vmem;\
55 return *mem;\
60 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\
61 unsigned MEM_VALUE_T val, raw = *mem;\
68 const int##sz##_t *mem = (const int##sz##_t *)vmem;\
69 unsigned MEM_VALUE_T val, raw = *mem;\
76 uint##sz##_t *mem = (uint##sz##_t *)vmem;\
77 *mem = (uint##sz##_t)val;\
[all …]
Dvpx_ports.mk15 PORTS_SRCS-$(BUILD_LIBVPX) += mem.h
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdpRot.cpp144 OvMem mem; in open_i() local
146 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
150 mem.close(); in open_i()
154 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
155 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
157 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
159 mMem.mem = mem; in open_i()
233 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
247 mMem.mem.dump(); in dump()
DoverlayMdssRot.cpp145 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
158 OvMem mem; in open_i() local
159 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
162 if(!mem.open(numbufs, bufsz, isSecure)){ in open_i()
164 mem.close(); in open_i()
168 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
169 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
171 mRotData.dst_data.memory_id = mem.getFD(); in open_i()
173 mMem.mem = mem; in open_i()
240 mMem.mem.dump(); in dump()
DoverlayRotator.h54 bool valid() { return mem.valid(); } in valid()
55 uint32_t size() const { return mem.bufSz(); } in size()
63 OvMem mem; member
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdpRot.cpp144 OvMem mem; in open_i() local
146 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
150 mem.close(); in open_i()
154 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
155 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
157 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
159 mMem.mem = mem; in open_i()
233 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
247 mMem.mem.dump(); in dump()
DoverlayMdssRot.cpp147 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
160 OvMem mem; in open_i() local
161 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
164 if(!mem.open(numbufs, bufsz, isSecure)){ in open_i()
166 mem.close(); in open_i()
170 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
171 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
173 mRotData.dst_data.memory_id = mem.getFD(); in open_i()
175 mMem.mem = mem; in open_i()
242 mMem.mem.dump(); in dump()
DoverlayRotator.h54 bool valid() { return mem.valid(); } in valid()
55 uint32_t size() const { return mem.bufSz(); } in size()
63 OvMem mem; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Divf_video_source.h23 static unsigned int MemGetLe32(const uint8_t *mem) { in MemGetLe32() argument
24 return (mem[3] << 24) | (mem[2] << 16) | (mem[1] << 8) | (mem[0]); in MemGetLe32()
Dresize_test.cc25 static void mem_put_le16(char *const mem, const unsigned int val) { in mem_put_le16() argument
26 mem[0] = val; in mem_put_le16()
27 mem[1] = val >> 8; in mem_put_le16()
30 static void mem_put_le32(char *const mem, const unsigned int val) { in mem_put_le32() argument
31 mem[0] = val; in mem_put_le32()
32 mem[1] = val >> 8; in mem_put_le32()
33 mem[2] = val >> 16; in mem_put_le32()
34 mem[3] = val >> 24; in mem_put_le32()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMdssRot.cpp165 OvMem mem; in open_i() local
166 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
169 if(!mem.open(numbufs, bufsz, isSecure)){ in open_i()
171 mem.close(); in open_i()
175 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
176 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
178 mRotData.dst_data.memory_id = mem.getFD(); in open_i()
180 mMem.curr().m = mem; in open_i()
DoverlayMdpRot.cpp159 OvMem mem; in open_i() local
161 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
163 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
165 mem.close(); in open_i()
169 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
170 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
172 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
174 mMem.curr().m = mem; in open_i()
/hardware/qcom/display/msm8974/liboverlay/
DoverlayMdpRot.cpp144 OvMem mem; in open_i() local
146 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
150 mem.close(); in open_i()
154 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
155 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
157 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
159 mMem.curr().m = mem; in open_i()
DoverlayMdssRot.cpp167 OvMem mem; in open_i() local
168 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
171 if(!mem.open(numbufs, bufsz, isSecure)){ in open_i()
173 mem.close(); in open_i()
177 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
178 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
180 mRotData.dst_data.memory_id = mem.getFD(); in open_i()
182 mMem.curr().m = mem; in open_i()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/include/
Dheapmm.h125 HMM_UNIQUE(descriptor) *desc, void *mem,
130 HMM_UNIQUE(descriptor) *desc, void *mem,
134 void HMM_UNIQUE(free)(HMM_UNIQUE(descriptor) *desc, void *mem);
136 HMM_UNIQUE(size_aau) HMM_UNIQUE(true_size)(void *mem);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
Dvpx_mem.h80 void vpx_mem_free(int id, void *mem, size_t size);
136 # define vpx_mem_free(id,mem,size) xvpx_mem_free(id, mem, size, __FILE__, __LINE__) argument
145 void xvpx_mem_free(int id, void *mem, size_t size, char *file, int line);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Ddecode_with_partial_drops.c78 static unsigned int mem_get_le32(const unsigned char *mem) { in mem_get_le32() argument
79 return (mem[3] << 24)|(mem[2] << 16)|(mem[1] << 8)|(mem[0]); in mem_get_le32()
/hardware/intel/common/libmix/videoencoder/
DIntelMetadataBuffer.cpp84 sp<MemoryBase> mem = new MemoryBase(heap, offset, size); in ReadMemObjFromBinder() local
85 if (mem == NULL) in ReadMemObjFromBinder()
91 map->value = (intptr_t)( mem->pointer() + 0x0FFF) & ~0x0FFF; in ReadMemObjFromBinder()
92 map->membase = mem; in ReadMemObjFromBinder()
96 heap->getHeapID(), mem->pointer(), *((intptr_t *)(mem->pointer())), map->value); in ReadMemObjFromBinder()
682 IMB_Result IntelMetadataBuffer::ShareValue(sp<MemoryBase> mem) in ShareValue() argument
684 mValue = (intptr_t)((intptr_t) ( mem->pointer() + 0x0FFF) & ~0x0FFF); in ShareValue()
707 smem.membase = mem; in ShareValue()
727 smem->membase = mem; in ShareValue()
/hardware/intel/img/libdrm/libdrm/intel/
Dintel_bufmgr_fake.c93 struct mem_block *mem; /* BM_MEM_AGP */ member
424 block->mem = mmAllocMem(bufmgr_fake->heap, sz, align_log2, 0); in alloc_block()
425 if (!block->mem) { in alloc_block()
437 block->mem->ofs - bufmgr_fake->low_offset; in alloc_block()
451 DBG("free block %p %08x %d %d\n", block, block->mem->ofs, block->on_hardware, block->fenced); in free_block()
477 mmFreeMem(block->mem); in free_block()
591 block->mem->ofs, block->mem->size); in clear_fenced()
593 mmFreeMem(block->mem); in clear_fenced()
598 block->mem->ofs, block->mem->size); in clear_fenced()
610 block->mem->ofs, block->mem->size, block->fence, bufmgr_fake->last_fence); in clear_fenced()
[all …]
/hardware/intel/common/libwsbm/src/
Dwsbm_mallocpool.c46 void *mem; member
66 mBuf->mem = (void *)((unsigned long)mBuf + sizeof(*mBuf)); in pool_create()
89 *virtual = mallocBuf(buf)->mem; in pool_map()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/
Dhmm_resize.c18 int U(resize)(U(descriptor) *desc, void *mem, U(size_aau) n) { in U()
21 head_record *head_ptr = PTR_REC_TO_HEAD(mem); in U()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp450 void my_raw_callback(const sp<IMemory>& mem) { in my_raw_callback() argument
460 if (mem == NULL) in my_raw_callback()
473 size = mem->size(); in my_raw_callback()
478 buff = (unsigned char *)mem->pointer(); in my_raw_callback()
498 void saveFile(const sp<IMemory>& mem) { in saveFile() argument
507 if (mem == NULL) in saveFile()
518 size = mem->size(); in saveFile()
524 buff = (unsigned char *)mem->pointer(); in saveFile()
564 void my_preview_callback(const sp<IMemory>& mem) { in my_preview_callback() argument
566 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem->pointer()); in my_preview_callback()
[all …]
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp260 mVideoInfo->mem[i] = mmap (0, in UseBuffersPreview()
267 if (mVideoInfo->mem[i] == MAP_FAILED) { in UseBuffersPreview()
369 if (munmap(mVideoInfo->mem[i], mVideoInfo->buf.length) < 0) in stopPreview()
398 return (char *)mVideoInfo->mem[mVideoInfo->buf.index]; in GetFrame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/
Dloopfiltersimplehorizontaledge_neon.asm94 ldrb r3, [r2] ; load blim from mem
112 ldrb r3, [r2] ; load blim from mem

12