/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI_Preview.cpp | 54 mHalCamCtrl->mPreviewMemory.buffer_count = mNumBuffers; 55 err = previewWindow->set_buffer_count(previewWindow, mHalCamCtrl->mPreviewMemory.buffer_count ); 99 for (int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) { 102 &mHalCamCtrl->mPreviewMemory.buffer_handle[cnt], 103 &mHalCamCtrl->mPreviewMemory.stride[cnt]); 105 ALOGV("%s: dequeue buf hdl =%p", __func__, *mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); 107 mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); 110 __FUNCTION__, (*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt])); 111 if (GENLOCK_NO_ERROR != genlock_lock_buffer((native_handle_t *)(*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]), 114 mHalCamCtrl->mPreviewMemory.local_flag[cnt] = BUFFER_UNLOCKED [all...] |
QCameraHWI.cpp | 524 thumb_mem_info = &mPreviewMemory.mem_info[thumb_frame->buf_idx]; [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Preview.cpp | 107 mHalCamCtrl->mPreviewMemory.buffer_count = kPreviewBufferCount + numMinUndequeuedBufs; 110 mHalCamCtrl->mPreviewMemory.buffer_count += 113 err = mPreviewWindow->set_buffer_count(mPreviewWindow, mHalCamCtrl->mPreviewMemory.buffer_count ); 156 for (int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) { 159 &mHalCamCtrl->mPreviewMemory.buffer_handle[cnt], 160 &mHalCamCtrl->mPreviewMemory.stride[cnt]); 162 ALOGV("%s: dequeue buf hdl =%p", __func__, *mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); 164 mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); 166 ALOGV("%s: camera call genlock_lock, hdl=%p", __FUNCTION__, (*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt])); 167 if (GENLOCK_NO_ERROR != genlock_lock_buffer((native_handle_t *)(*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]) [all...] |
QCameraHWI_Preview_7x27A.cpp | 109 mHalCamCtrl->mPreviewMemory.buffer_count = kPreviewBufferCount + numMinUndequeuedBufs;; 110 err = mPreviewWindow->set_buffer_count(mPreviewWindow, mHalCamCtrl->mPreviewMemory.buffer_count ); 134 for (int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) { 137 &mHalCamCtrl->mPreviewMemory.buffer_handle[cnt], 138 &mHalCamCtrl->mPreviewMemory.stride[cnt]); 141 mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); 145 if (GENLOCK_NO_ERROR != genlock_lock_buffer((native_handle_t *)(*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]), 148 mHalCamCtrl->mPreviewMemory.local_flag[cnt] = BUFFER_UNLOCKED; 152 mHalCamCtrl->mPreviewMemory.local_flag[cnt] = BUFFER_LOCKED; 156 ALOGE("%s: dequeue buf: %u\n", __func__, (unsigned int)mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]) [all...] |
QCameraHWI_Record_7x27A.cpp | 167 for(int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) { 202 for (int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) { 213 nh->data[0] = mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->fd; 215 nh->data[2] = mHalCamCtrl->mPreviewMemory.private_buffer_handle[cnt]->size; 216 nh->data[3] = (uint32_t)mHalCamCtrl->mPreviewMemory.camera_memory[cnt]->data; 224 for(int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) {
|
QCameraHWI.h | 830 QCameraHalMemory_t mPreviewMemory;
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Preview.cpp | 106 mHalCamCtrl->mPreviewMemory.buffer_count = kPreviewBufferCount + numMinUndequeuedBufs; 109 mHalCamCtrl->mPreviewMemory.buffer_count += 112 err = mPreviewWindow->set_buffer_count(mPreviewWindow, mHalCamCtrl->mPreviewMemory.buffer_count ); 155 for (int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) { 158 &mHalCamCtrl->mPreviewMemory.buffer_handle[cnt], 159 &mHalCamCtrl->mPreviewMemory.stride[cnt]); 161 LOGE("%s: dequeue buf hdl =%p", __func__, *mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); 163 mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); 165 LOGE("%s: camera call genlock_lock, hdl=%p", __FUNCTION__, (*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt])); 166 if (GENLOCK_NO_ERROR != genlock_lock_buffer((native_handle_t *)(*mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]) [all...] |
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
QCameraStream_Preview.cpp | 58 mPreviewMemory.buffer_count = num_buffers; 60 mPreviewMemory.buffer_handle[i] = buffers[i]; 61 mPreviewMemory.private_buffer_handle[i] = (struct private_handle_t *)buffers[i]; 62 ALOGD("%s:Buffer Size:%d",__func__, mPreviewMemory.private_buffer_handle[i]->size); 106 mDisplayBuf[i].planes[0].m.userptr = mPreviewMemory.private_buffer_handle[i]->fd; 111 mDisplayBuf[i].planes[j].m.userptr = mPreviewMemory.private_buffer_handle[i]->fd; 125 mDisplayBuf[i].fd = mPreviewMemory.private_buffer_handle[i]->fd; 132 mPreviewMemory.local_flag[i] = BUFFER_NOT_REGGED; 138 for (j = 0; j < mPreviewMemory.buffer_count; j++) { 139 if (mPreviewMemory.buffer_handle[j] == *buffer_handle) [all...] |
QCameraHWI.cpp | 243 (stream->mPreviewMemory.local_flag[i] == BUFFER_OWNED);
|
/hardware/ti/omap4-aah/camera/ |
AppCallbackNotifier.cpp | 176 mPreviewMemory = 0; 802 if (!mPreviewMemory || !frame->mBuffer) { 824 if ( (mPreviewMemory->size / MAX_BUFFERS) >= frame->mLength ) { 827 memset(dest->mapped, 0, (mPreviewMemory->size / MAX_BUFFERS)); 856 if ( mPreviewMemory ) 857 mDataCb(msgType, mPreviewMemory, mPreviewBufCount, NULL, mCallbackCookie); [all...] |
/hardware/ti/omap4xxx/camera/ |
AppCallbackNotifier.cpp | 739 if (!mPreviewMemory || !frame->mBuffer) { 761 if ( (mPreviewMemory->size / MAX_BUFFERS) >= frame->mLength ) { 764 memset(dest, 0, (mPreviewMemory->size / MAX_BUFFERS)); 792 mDataCb(msgType, mPreviewMemory, mPreviewBufCount, NULL, mCallbackCookie); [all...] |
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
QCameraStream.h | 211 QCameraStreamMemory_t mPreviewMemory;
|
/device/lge/mako/camera/QCamera/HAL/core/inc/ |
QCameraHWI.h | 808 QCameraHalMemory_t mPreviewMemory;
|
/device/moto/shamu/camera/QCamera/HAL/core/inc/ |
QCameraHWI.h | 898 QCameraHalMemory_t mPreviewMemory; [all...] |
/hardware/ti/omap4-aah/camera/inc/ |
CameraHal.h | 794 camera_memory_t* mPreviewMemory; [all...] |
/hardware/ti/omap4xxx/camera/inc/ |
CameraHal.h | 657 camera_memory_t* mPreviewMemory; [all...] |