Searched defs:mem (Results 1 - 15 of 15) sorted by relevance

/hardware/qcom/camera/QCamera2/HAL/test/
H A Dqcamera_test.cpp72 * @mem : preview buffer
76 void CameraContext::previewCallback(const sp<IMemory>& mem) argument
78 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem->pointer());
79 uint8_t *ptr = (uint8_t*) mem->pointer();
99 * @mem : buffer to save to filesystem
106 status_t CameraContext::saveFile(const sp<IMemory>& mem, String8 path) argument
112 if (mem == NULL) {
122 size = mem->size();
129 buff = (unsigned char *)mem->pointer();
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayMdpRot.cpp150 OvMem mem; local
152 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
154 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){
156 mem.close();
160 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
161 OVASSERT(mem.getFD() != -1, "getFd is -1");
163 mRotDataInfo.dst.memory_id = mem.getFD();
165 mMem.curr().m = mem;
183 ALOGE("Mdp Rot error closing mem");
243 // if the prev mem i
[all...]
H A DoverlayMdssRot.cpp149 // if the prev mem is valid, we need to close
155 ALOGE("%s error in closing prev rot mem", __FUNCTION__);
165 OvMem mem; local
166 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
169 if(!mem.open(numbufs, bufsz, isSecure)){
171 mem.close();
175 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
176 OVASSERT(mem.getFD() != -1, "getFd is -1");
178 mRotData.dst_data.memory_id = mem.getFD();
180 mMem.curr().m = mem;
[all...]
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayMdpRot.cpp144 OvMem mem; local
146 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
148 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){
150 mem.close();
154 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
155 OVASSERT(mem.getFD() != -1, "getFd is -1");
157 mRotDataInfo.dst.memory_id = mem.getFD();
159 mMem.curr().m = mem;
177 ALOGE("Mdp Rot error closing mem");
237 // if the prev mem i
[all...]
H A DoverlayMdssRot.cpp151 // if the prev mem is valid, we need to close
157 ALOGE("%s error in closing prev rot mem", __FUNCTION__);
167 OvMem mem; local
168 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
171 if(!mem.open(numbufs, bufsz, isSecure)){
173 mem.close();
177 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
178 OVASSERT(mem.getFD() != -1, "getFd is -1");
180 mRotData.dst_data.memory_id = mem.getFD();
182 mMem.curr().m = mem;
[all...]
/hardware/qcom/display/msm8x26/liboverlay/
H A DoverlayMdpRot.cpp142 OvMem mem; local
144 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
146 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){
148 mem.close();
152 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
153 OVASSERT(mem.getFD() != -1, "getFd is -1");
155 mRotDataInfo.dst.memory_id = mem.getFD();
157 mMem.curr().m = mem;
175 ALOGE("Mdp Rot error closing mem");
235 // if the prev mem i
[all...]
H A DoverlayMdssRot.cpp144 // if the prev mem is valid, we need to close
150 ALOGE("%s error in closing prev rot mem", __FUNCTION__);
160 OvMem mem; local
161 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
164 if(!mem.open(numbufs, bufsz, isSecure)){
166 mem.close();
170 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
171 OVASSERT(mem.getFD() != -1, "getFd is -1");
173 mRotData.dst_data.memory_id = mem.getFD();
175 mMem.curr().m = mem;
[all...]
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
H A DV4LCameraAdapter.h38 void *mem[NB_BUFFER]; member in struct:android::VideoInfo
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraPostProc.cpp421 ALOGE("%s: no mem for acamera_data_argm_t", __func__);
989 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); local
996 cbArg.data = mem;
1197 ALOGE("%s: Cannot get raw mem", __func__);
1366 ALOGE("%s: no mem for qcamera_pp_data_t", __func__);
H A DQCamera2HWI.cpp1352 QCameraMemory *mem = NULL; local
1360 mem = new QCameraStreamMemory(mGetMemory, bCachedMem);
1370 mem = grallocMemory;
1384 mem = grallocMemory;
1392 mem = new QCameraStreamMemory(mGetMemory, bCachedMem);
1397 property_get("persist.camera.mem.usecache", value, "1");
1402 mem = new QCameraVideoMemory(mGetMemory, bCachedMem);
1410 if (!mem) {
1415 rc = mem->allocate(bufferCnt, size);
1417 delete mem;
3684 camera_memory_t *mem = ( camera_memory_t * ) data; local
[all...]
/hardware/ti/omap4xxx/camera/
H A DAppCallbackNotifier.cpp1699 status_t AppCallbackNotifier::releaseRecordingFrame(const void* mem) argument
1711 if ( NULL == mem )
1724 video_metadata_t *videoMetadataBuffer = (video_metadata_t *) mem ;
1731 frame = (void*)(*((uint32_t *)mem));
H A DCameraHal.cpp2160 @param[in] mem MemoryBase pointer to the frame being released. Must be one of the buffers
2165 void CameraHal::releaseRecordingFrame(const void* mem) argument
2169 //CAMHAL_LOGDB(" 0x%x", mem->pointer());
2171 if ( ( mRecordingEnabled ) && mem != NULL)
2173 mAppCallbackNotifier->releaseRecordingFrame(mem);
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Dfimg2d.h422 * @mem: resource platform device
439 struct resource *mem; member in struct:fimg2d_control
/hardware/ti/omap4xxx/test/CameraHal/
H A Dcamera_test_menu.cpp450 void my_raw_callback(const sp<IMemory>& mem) { argument
460 if (mem == NULL)
473 size = mem->size();
478 buff = (unsigned char *)mem->pointer();
498 void saveFile(const sp<IMemory>& mem) { argument
507 if (mem == NULL)
518 size = mem->size();
524 buff = (unsigned char *)mem->pointer();
564 void my_preview_callback(const sp<IMemory>& mem) { argument
566 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem
584 my_jpeg_callback(const sp<IMemory>& mem) argument
[all...]
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c963 unsigned int mem; member in struct:counts
997 num->mem += mem1d(handle);
1072 num->mem <= MAX_TILER_SLOT &&

Completed in 4964 milliseconds