Searched refs:cam_buff (Results 1 – 1 of 1) sorted by relevance
/device/generic/goldfish/camera/ |
D | CallbackNotifier.cpp | 215 camera_memory_t* cam_buff = in onNextFrameAvailable() local 217 if (NULL != cam_buff && NULL != cam_buff->data) { in onNextFrameAvailable() 218 memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); in onNextFrameAvailable() 220 cam_buff, 0, mCBOpaque); in onNextFrameAvailable() 222 mCameraMemoryTs.push_back( cam_buff ); in onNextFrameAvailable() 229 camera_memory_t* cam_buff = in onNextFrameAvailable() local 231 if (NULL != cam_buff && NULL != cam_buff->data) { in onNextFrameAvailable() 232 memcpy(cam_buff->data, frame, camera_dev->getFrameBufferSize()); in onNextFrameAvailable() 233 mDataCB(CAMERA_MSG_PREVIEW_FRAME, cam_buff, 0, NULL, mCBOpaque); in onNextFrameAvailable() 234 cam_buff->release(cam_buff); in onNextFrameAvailable()
|