Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8x26/liboverlay/
DoverlayMdpRot.cpp142 OvMem mem; in open_i() local
144 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
146 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
148 mem.close(); in open_i()
152 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
153 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
155 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
157 mMem.curr().m = mem; in open_i()
DoverlayMdssRot.cpp160 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.curr().m = mem; in open_i()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayMdpRot.cpp150 OvMem mem; in open_i() local
152 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i"); in open_i()
154 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){ in open_i()
156 mem.close(); in open_i()
160 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed"); in open_i()
161 OVASSERT(mem.getFD() != -1, "getFd is -1"); in open_i()
163 mRotDataInfo.dst.memory_id = mem.getFD(); in open_i()
165 mMem.curr().m = mem; in open_i()
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()
/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/qcom/camera/QCamera2/HAL/test/
Dqcamera_test.cpp76 void CameraContext::previewCallback(const sp<IMemory>& mem) in previewCallback() argument
78 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem->pointer()); in previewCallback()
79 uint8_t *ptr = (uint8_t*) mem->pointer(); in previewCallback()
106 status_t CameraContext::saveFile(const sp<IMemory>& mem, String8 path) in saveFile() argument
112 if (mem == NULL) { in saveFile()
122 size = mem->size(); in saveFile()
129 buff = (unsigned char *)mem->pointer(); in saveFile()
Dqcamera_test.h103 status_t saveFile(const sp<IMemory>& mem, String8 path);
104 void previewCallback(const sp<IMemory>& mem);
/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/qcom/camera/QCamera2/HAL/
DQCamera2HWI.cpp1352 QCameraMemory *mem = NULL; in allocateStreamBuf() local
1360 mem = new QCameraStreamMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1370 mem = grallocMemory; in allocateStreamBuf()
1384 mem = grallocMemory; in allocateStreamBuf()
1392 mem = new QCameraStreamMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1402 mem = new QCameraVideoMemory(mGetMemory, bCachedMem); in allocateStreamBuf()
1410 if (!mem) { in allocateStreamBuf()
1415 rc = mem->allocate(bufferCnt, size); in allocateStreamBuf()
1417 delete mem; in allocateStreamBuf()
1420 bufferCnt = mem->getCnt(); in allocateStreamBuf()
[all …]
DQCameraPostProc.cpp989 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData() local
996 cbArg.data = mem; in encodeData()
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h38 void *mem[NB_BUFFER]; member
/hardware/libhardware/include/hardware/
Dcamera.h42 typedef void (*camera_release_memory)(struct camera_memory *mem);
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dfimg2d.h439 struct resource *mem; member
/hardware/ti/omap4xxx/camera/
DAppCallbackNotifier.cpp1699 status_t AppCallbackNotifier::releaseRecordingFrame(const void* mem) in releaseRecordingFrame() argument
1711 if ( NULL == mem ) in releaseRecordingFrame()
1724 video_metadata_t *videoMetadataBuffer = (video_metadata_t *) mem ; in releaseRecordingFrame()
1731 frame = (void*)(*((uint32_t *)mem)); in releaseRecordingFrame()
DCameraHal.cpp2165 void CameraHal::releaseRecordingFrame(const void* mem) in releaseRecordingFrame() argument
2171 if ( ( mRecordingEnabled ) && mem != NULL) in releaseRecordingFrame()
2173 mAppCallbackNotifier->releaseRecordingFrame(mem); in releaseRecordingFrame()
/hardware/ti/omap4xxx/hwc/
Dhwc.c963 unsigned int mem; member
997 num->mem += mem1d(handle); in gather_layer_statistics()
1072 num->mem <= MAX_TILER_SLOT && in can_dss_render_all()