Home
last modified time | relevance | path

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

/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp452 void my_raw_callback(const sp<IMemory>& mem) { in my_raw_callback() argument
462 if (mem == NULL) in my_raw_callback()
475 size = mem->size(); in my_raw_callback()
480 buff = (unsigned char *)mem->pointer(); in my_raw_callback()
500 void saveFile(const sp<IMemory>& mem) { in saveFile() argument
509 if (mem == NULL) in saveFile()
520 size = mem->size(); in saveFile()
526 buff = (unsigned char *)mem->pointer(); in saveFile()
566 void my_preview_callback(const sp<IMemory>& mem) { in my_preview_callback() argument
568 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/msm7k/libcamera/
DQualcommCameraHardware.cpp859 const sp<IMemory>& mem __attribute__((unused))) in releaseRecordingFrame() argument
1406 camera_handle.mem.encBuf_num = MAX_JPEG_ENCODE_BUF_NUM; in receivePostLpmRawPicture()
1409 camera_handle.mem.encBuf[cnt].buffer = (uint8_t *) in receivePostLpmRawPicture()
1411 camera_handle.mem.encBuf[cnt].buf_len = in receivePostLpmRawPicture()
1413 camera_handle.mem.encBuf[cnt].used_len = 0; in receivePostLpmRawPicture()
1435 int index = enc - camera_handle.mem.encBuf; in receiveJpegPictureFragment()
1454 camera_handle.mem.encBuf[index].used_len = 0; in receiveJpegPictureFragment()
1493 if (camera_handle.mem.encBuf[cnt].buffer != NULL) { in receiveJpegPicture()
1494 free(camera_handle.mem.encBuf[cnt].buffer); in receiveJpegPicture()
1495 memset(camera_handle.mem.encBuf + cnt, 0, in receiveJpegPicture()
DQualcommCameraHardware.h43 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
Dcamera_ifc.h214 camera_handle_mem_type mem; member
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h38 void *mem[NB_BUFFER]; member
/hardware/libhardware/include/hardware/
Dcamera.h66 typedef void (*camera_release_memory)(struct camera_memory *mem);
/hardware/ti/omap4xxx/camera/
DAppCallbackNotifier.cpp1584 status_t AppCallbackNotifier::releaseRecordingFrame(const void* mem) in releaseRecordingFrame() argument
1596 if ( NULL == mem ) in releaseRecordingFrame()
1609 video_metadata_t *videoMetadataBuffer = (video_metadata_t *) mem ; in releaseRecordingFrame()
1616 frame = (void*)(*((uint32_t *)mem)); in releaseRecordingFrame()
DCameraHal.cpp2126 void CameraHal::releaseRecordingFrame(const void* mem) in releaseRecordingFrame() argument
2132 if ( ( mRecordingEnabled ) && mem != NULL) in releaseRecordingFrame()
2134 mAppCallbackNotifier->releaseRecordingFrame(mem); in releaseRecordingFrame()
/hardware/ti/omap4xxx/hwc/
Dhwc.c818 unsigned int mem; member
886 num->mem <= MAX_TILER_SLOT && in can_dss_render_all()
953 num.mem += mem1d(handle); in omap4_hwc_prepare()