Searched refs:mem (Results 1 – 10 of 10) sorted by relevance
452 void my_raw_callback(const sp<IMemory>& mem) { in my_raw_callback() argument462 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() argument509 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() argument568 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem->pointer()); in my_preview_callback()[all …]
260 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()
859 const sp<IMemory>& mem __attribute__((unused))) in releaseRecordingFrame() argument1406 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()
43 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
214 camera_handle_mem_type mem; member
38 void *mem[NB_BUFFER]; member
66 typedef void (*camera_release_memory)(struct camera_memory *mem);
1584 status_t AppCallbackNotifier::releaseRecordingFrame(const void* mem) in releaseRecordingFrame() argument1596 if ( NULL == mem ) in releaseRecordingFrame()1609 video_metadata_t *videoMetadataBuffer = (video_metadata_t *) mem ; in releaseRecordingFrame()1616 frame = (void*)(*((uint32_t *)mem)); in releaseRecordingFrame()
2126 void CameraHal::releaseRecordingFrame(const void* mem) in releaseRecordingFrame() argument2132 if ( ( mRecordingEnabled ) && mem != NULL) in releaseRecordingFrame()2134 mAppCallbackNotifier->releaseRecordingFrame(mem); in releaseRecordingFrame()
818 unsigned int mem; member886 num->mem <= MAX_TILER_SLOT && in can_dss_render_all()953 num.mem += mem1d(handle); in omap4_hwc_prepare()