Home
last modified time | relevance | path

Searched refs:local_flag (Results 1 – 7 of 7) sorted by relevance

/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream_Preview.cpp132 mPreviewMemory.local_flag[i] = BUFFER_NOT_REGGED; in initBuffers()
140 mPreviewMemory.local_flag[j] = BUFFER_OWNED; in initBuffers()
171 if (mPreviewMemory.local_flag[i] == BUFFER_OWNED) { in deinitBuffers()
174 mPreviewMemory.local_flag[i] = BUFFER_NOT_OWNED; in deinitBuffers()
283 mPreviewMemory.local_flag[frame->bufs[0]->buf_idx] = BUFFER_NOT_OWNED; in processPreviewFrame()
296 if (mPreviewMemory.local_flag[i] == BUFFER_NOT_REGGED) { in processPreviewFrame()
298 mPreviewMemory.local_flag[i] = BUFFER_OWNED; in processPreviewFrame()
301 mPreviewMemory.local_flag[i] = BUFFER_OWNED; in processPreviewFrame()
DQCameraHWI.cpp243 (stream->mPreviewMemory.local_flag[i] == BUFFER_OWNED); in getBuf()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp114 mHalCamCtrl->mPreviewMemory.local_flag[cnt] = BUFFER_UNLOCKED; in getBufferFromSurface()
117 mHalCamCtrl->mPreviewMemory.local_flag[cnt] = BUFFER_LOCKED; in getBufferFromSurface()
120 mHalCamCtrl->mPreviewMemory.local_flag[cnt] = BUFFER_NOT_OWNED; in getBufferFromSurface()
131 if (BUFFER_LOCKED == mHalCamCtrl->mPreviewMemory.local_flag[i]) { in getBufferFromSurface()
137 mHalCamCtrl->mPreviewMemory.local_flag[i] = BUFFER_UNLOCKED; in getBufferFromSurface()
140 if( mHalCamCtrl->mPreviewMemory.local_flag[i] != BUFFER_NOT_OWNED) { in getBufferFromSurface()
144 mHalCamCtrl->mPreviewMemory.local_flag[i] = BUFFER_NOT_OWNED; in getBufferFromSurface()
212 if (BUFFER_LOCKED == mHalCamCtrl->mPreviewMemory.local_flag[cnt]) { in putBufferToSurface()
221 mHalCamCtrl->mPreviewMemory.local_flag[cnt] = BUFFER_UNLOCKED; in putBufferToSurface()
224 if( mHalCamCtrl->mPreviewMemory.local_flag[cnt] != BUFFER_NOT_OWNED) { in putBufferToSurface()
[all …]
DQCameraHWI.cpp3009 heap->local_flag[i] = 1; in initHeapMem()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraStream.h73 uint8_t local_flag[MM_CAMERA_MAX_NUM_FRAMES]; member
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraHWI.h158 uint8_t local_flag[MM_CAMERA_MAX_NUM_FRAMES]; member
166 int local_flag[MM_CAMERA_MAX_NUM_FRAMES]; member
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp884 camHal->previewMem.local_flag[cnt] = BUFFER_UNLOCKED; in initDisplayBuffers()
888 camHal->previewMem.local_flag[cnt] = BUFFER_LOCKED; in initDisplayBuffers()
946 camHal->previewMem.local_flag[cnt] = BUFFER_UNLOCKED; in initDisplayBuffers()
1021 if(camHal->previewMem.local_flag[cnt] == BUFFER_LOCKED){ in deInitDisplayBuffers()
1027 camHal->previewMem.local_flag[cnt] = BUFFER_UNLOCKED; in deInitDisplayBuffers()