Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/cpu/cortexm4f/
DappSupport.c35 …int32_t *ofstP, uint32_t type, uint32_t flashAddr, uint32_t ramAddr, uint32_t *mem, uint32_t value) in handleRelNumber() argument
56 mem[where] += base; in handleRelNumber()
61 …(const uint8_t *relStart, const uint8_t *relEnd, uint32_t flashStart, uint32_t ramStart, void *mem) in handleRelocs() argument
72 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel)) in handleRelocs()
82 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel)) in handleRelocs()
92 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel + MAX_16_BIT_NUM)) in handleRelocs()
101 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, rel + MAX_8_BIT_NUM)) in handleRelocs()
111 if (!handleRelNumber(&ofst, type, flashStart, ramStart, mem, 0)) in handleRelocs()
146 uint8_t *mem = heapAlloc(sect->bss_end); in cpuAppLoad() local
148 if (!mem) in cpuAppLoad()
[all …]
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.h141 status_t saveFile(const sp<IMemory>& mem, String8 path);
143 SkBitmap *decodeJPEG(const sp<IMemory>& mem);
146 void previewCallback(const sp<IMemory>& mem);
Dqcamera_test.cpp97 void CameraContext::previewCallback(const sp<IMemory>& mem) in previewCallback() argument
99 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem->pointer()); in previewCallback()
100 uint8_t *ptr = (uint8_t*) mem->pointer(); in previewCallback()
199 status_t CameraContext::saveFile(const sp<IMemory>& mem, String8 path) in saveFile() argument
205 if (mem == NULL) { in saveFile()
215 size = mem->size(); in saveFile()
222 buff = (unsigned char *)mem->pointer(); in saveFile()
316 SkBitmap *CameraContext::decodeJPEG(const sp<IMemory>& mem) in decodeJPEG() argument
324 buff = (const void *)mem->pointer(); in decodeJPEG()
325 size= mem->size(); in decodeJPEG()
/device/google/contexthub/firmware/src/
DosApi.c222 void *mem = va_arg(args, void *); in osExpApiHeapFree() local
224 heapFree(mem); in osExpApiHeapFree()
253 void *mem = va_arg(args, void *); in osExpApiSlabFree() local
255 slabAllocatorFree(allocator, mem); in osExpApiSlabFree()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp1707 QCameraMemory *mem = NULL; in allocateStreamBuf() local
1721 mem = new QCameraStreamMemory(mGetMemory, in allocateStreamBuf()
1735 mem = grallocMemory; in allocateStreamBuf()
1742 mem = new QCameraStreamMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1753 mem = grallocMemory; in allocateStreamBuf()
1762 mem = new QCameraStreamMemory(mGetMemory, in allocateStreamBuf()
1774 mem = new QCameraVideoMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1782 if (!mem) { in allocateStreamBuf()
1791 rc = mem->allocate(bufferCnt, size, SECURE); in allocateStreamBuf()
1793 rc = mem->allocate(bufferCnt, size, NON_SECURE); in allocateStreamBuf()
[all …]
DQCameraPostProc.cpp1845 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData() local
1852 cbArg.data = mem; in encodeData()
/device/huawei/angler/camera/QCamera2/HAL/
DQCamera2HWI.cpp1707 QCameraMemory *mem = NULL; in allocateStreamBuf() local
1721 mem = new QCameraStreamMemory(mGetMemory, in allocateStreamBuf()
1735 mem = grallocMemory; in allocateStreamBuf()
1742 mem = new QCameraStreamMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1753 mem = grallocMemory; in allocateStreamBuf()
1762 mem = new QCameraStreamMemory(mGetMemory, in allocateStreamBuf()
1774 mem = new QCameraVideoMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1782 if (!mem) { in allocateStreamBuf()
1791 rc = mem->allocate(bufferCnt, size, SECURE); in allocateStreamBuf()
1793 rc = mem->allocate(bufferCnt, size, NON_SECURE); in allocateStreamBuf()
[all …]
DQCameraPostProc.cpp1845 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData() local
1852 cbArg.data = mem; in encodeData()
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.cpp1623 QCameraMemory *mem = NULL; in allocateStreamBuf() local
1637 mem = new QCameraStreamMemory(mGetMemory, in allocateStreamBuf()
1651 mem = grallocMemory; in allocateStreamBuf()
1658 mem = new QCameraStreamMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1669 mem = grallocMemory; in allocateStreamBuf()
1677 mem = new QCameraStreamMemory(mGetMemory, in allocateStreamBuf()
1690 mem = new QCameraVideoMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1698 if (!mem) { in allocateStreamBuf()
1707 rc = mem->allocate(bufferCnt, size, SECURE); in allocateStreamBuf()
1709 rc = mem->allocate(bufferCnt, size, NON_SECURE); in allocateStreamBuf()
[all …]
DQCameraPostProc.cpp1536 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData() local
1543 cbArg.data = mem; in encodeData()
1627 camera_memory_t *mem = memObj->getMemory( in encodeData() local
1630 mem, imgProp.size); in encodeData()
1632 if (mem && mem->data) { in encodeData()
1635 (uint8_t *)mem->data, in encodeData()
/device/lge/bullhead/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp87 camera_memory_t mem; member
/device/moto/shamu/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp87 camera_memory_t mem; member
/device/huawei/angler/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp87 camera_memory_t mem; member
/device/moto/shamu/camera/QCamera/HAL/wrapper/
DQualcommCamera.cpp124 camera_memory_t mem; member
/device/huawei/angler/sepolicy/
Dfile_contexts25 # shared mem log