Home
last modified time | relevance | path

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

123

/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/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/qcom/display/msm8226/liboverlay/
DoverlayMdpRot.cpp163 OvMem mem; in open_i() local
165 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
167 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
169 mem.close(); in open_i()
173 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
174 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
176 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
178 mMem.mem = mem; in open_i()
252 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
266 mMem.mem.dump(); in dump()
DoverlayMdssRot.cpp171 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
184 OvMem mem; in open_i() local
185 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
188 if(!mem.open(numbufs, bufsz, isSecure)){ in open_i()
190 mem.close(); in open_i()
194 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
195 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
197 mRotData.dst_data.memory_id = mem.getFD(); in open_i()
199 mMem.mem = mem; in open_i()
266 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/msm8994/liboverlay/
DoverlayMdpRot.cpp171 OvMem mem; in open_i() local
173 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
175 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
177 mem.close(); in open_i()
181 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
182 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
184 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
186 mMem.mem = mem; in open_i()
272 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
280 mMem.mem.dump(); in dump()
DoverlayMdssRot.cpp212 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
219 OvMem mem; in open_i() local
220 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
223 if(!mem.open(numbufs, bufsz, isSecure)){ in open_i()
225 mem.close(); in open_i()
229 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
230 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
232 mRotData.dst_data.memory_id = mem.getFD(); in open_i()
234 mMem.mem = mem; in open_i()
303 mMem.mem.dump(); in dump()
DoverlayRotator.h53 bool valid() { return mem.valid(); } in valid()
54 uint32_t size() const { return mem.bufSz(); } in size()
63 OvMem mem; member
/hardware/qcom/display/msm8909/liboverlay/
DoverlayMdpRot.cpp171 OvMem mem; in open_i() local
173 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
175 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
177 mem.close(); in open_i()
181 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
182 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
184 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
186 mMem.mem = mem; in open_i()
272 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
280 mMem.mem.dump(); in dump()
DoverlayMdssRot.cpp212 (mMem.mCurrIndex + 1) % mMem.mem.numBufs(); in queueBuffer()
219 OvMem mem; in open_i() local
220 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
223 if(!mem.open(numbufs, bufsz, isSecure)){ in open_i()
225 mem.close(); in open_i()
229 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
230 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
232 mRotData.dst_data.memory_id = mem.getFD(); in open_i()
234 mMem.mem = mem; in open_i()
303 mMem.mem.dump(); in dump()
/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/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/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/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/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/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 …]

123