Searched refs:mDisplayBuf (Results 1 – 10 of 10) sorted by relevance
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 64 mDisplayBuf = new mm_camera_buf_def_t[num_buffers]; in registerStreamBuffers() 65 if (!mDisplayBuf) { in registerStreamBuffers() 96 memset(mDisplayBuf, 0, sizeof(mm_camera_buf_def_t) * mNumBuffers); in initBuffers() 100 mDisplayBuf[i].num_planes = num_planes; in initBuffers() 101 mDisplayBuf[i].buf_idx = i; in initBuffers() 105 mDisplayBuf[i].planes[0].length = planes[0]; in initBuffers() 106 mDisplayBuf[i].planes[0].m.userptr = mPreviewMemory.private_buffer_handle[i]->fd; in initBuffers() 107 mDisplayBuf[i].planes[0].data_offset = mFrameOffsetInfo.mp[0].offset; in initBuffers() 108 mDisplayBuf[i].planes[0].reserved[0] =0; in initBuffers() 110 mDisplayBuf[i].planes[j].length = planes[j]; in initBuffers() [all …]
|
D | QCameraHWI.cpp | 241 bufs[i] = stream->mDisplayBuf[i]; in getBuf()
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Preview.cpp | 293 if (mDisplayBuf.preview.buf.mp != NULL) { in putBufferToSurface() 294 delete[] mDisplayBuf.preview.buf.mp; in putBufferToSurface() 295 mDisplayBuf.preview.buf.mp = NULL; in putBufferToSurface() 378 if (mDisplayBuf.preview.buf.mp != NULL) { in freeBufferNoDisplay() 379 delete[] mDisplayBuf.preview.buf.mp; in freeBufferNoDisplay() 380 mDisplayBuf.preview.buf.mp = NULL; in freeBufferNoDisplay() 556 memset(&mDisplayBuf, 0, sizeof(mDisplayBuf)); in initDisplayBuffers() 557 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; in initDisplayBuffers() 558 if (!mDisplayBuf.preview.buf.mp) { in initDisplayBuffers() 563 memset(mDisplayBuf.preview.buf.mp, 0, in initDisplayBuffers() [all …]
|
/device/lge/mako/camera/ |
D | QCameraHWI_Preview_7x27A.cpp | 398 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; in initDisplayBuffers() 399 if (!mDisplayBuf.preview.buf.mp) { in initDisplayBuffers() 402 memset(mDisplayBuf.preview.buf.mp, 0, in initDisplayBuffers() 429 mDisplayBuf.preview.buf.mp[i].frame = mDisplayStreamBuf.frame[i]; in initDisplayBuffers() 430 mDisplayBuf.preview.buf.mp[i].frame_offset = mHalCamCtrl->mPreviewMemory.addr_offset[i]; in initDisplayBuffers() 431 mDisplayBuf.preview.buf.mp[i].num_planes = num_planes; in initDisplayBuffers() 435 mDisplayBuf.preview.buf.mp[i].planes[0].length = planes[0]; in initDisplayBuffers() 436 mDisplayBuf.preview.buf.mp[i].planes[0].m.userptr = mDisplayStreamBuf.frame[i].fd; in initDisplayBuffers() 437 mDisplayBuf.preview.buf.mp[i].planes[0].data_offset = 0; in initDisplayBuffers() 438 mDisplayBuf.preview.buf.mp[i].planes[0].reserved[0] = in initDisplayBuffers() [all …]
|
D | QCameraHWI_Preview.cpp | 307 if (mDisplayBuf.preview.buf.mp != NULL) { in putBufferToSurface() 308 delete[] mDisplayBuf.preview.buf.mp; in putBufferToSurface() 309 mDisplayBuf.preview.buf.mp = NULL; in putBufferToSurface() 493 memset(&mDisplayBuf, 0, sizeof(mDisplayBuf)); in initDisplayBuffers() 494 mDisplayBuf.preview.buf.mp = new mm_camera_mp_buf_t[mDisplayStreamBuf.num]; in initDisplayBuffers() 495 if (!mDisplayBuf.preview.buf.mp) { in initDisplayBuffers() 500 memset(mDisplayBuf.preview.buf.mp, 0, in initDisplayBuffers() 549 mDisplayBuf.preview.buf.mp[i].frame = mDisplayStreamBuf.frame[i]; in initDisplayBuffers() 550 mDisplayBuf.preview.buf.mp[i].frame_offset = mHalCamCtrl->mPreviewMemory.addr_offset[i]; in initDisplayBuffers() 551 mDisplayBuf.preview.buf.mp[i].num_planes = num_planes; in initDisplayBuffers() [all …]
|
D | QCameraStream.h | 244 mm_camera_reg_buf_t mDisplayBuf; variable
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Preview.cpp | 295 memset(mDisplayBuf, 0, sizeof(mDisplayBuf)); in getBufferNoDisplay() 301 mDisplayBuf) < 0) { in getBufferNoDisplay() 464 memset(mDisplayBuf, 0, sizeof(mm_camera_buf_def_t) * 2 * PREVIEW_BUFFER_COUNT); in initDisplayBuffers() 477 mDisplayBuf[i].num_planes = num_planes; in initDisplayBuffers() 481 mDisplayBuf[i].planes[0].length = planes[0]; in initDisplayBuffers() 482 mDisplayBuf[i].planes[0].m.userptr = mHalCamCtrl->mPreviewMemory.private_buffer_handle[i]->fd; in initDisplayBuffers() 483 mDisplayBuf[i].planes[0].data_offset = mFrameOffsetInfo.mp[0].offset; in initDisplayBuffers() 484 …mDisplayBuf[i].planes[0].reserved[0] =0;// mHalCamCtrl->mPreviewMemory.addr_offset[i]; // mDis… in initDisplayBuffers() 486 mDisplayBuf[i].planes[j].length = planes[j]; in initDisplayBuffers() 487 mDisplayBuf[i].planes[j].m.userptr = mHalCamCtrl->mPreviewMemory.private_buffer_handle[i]->fd; in initDisplayBuffers() [all …]
|
/device/moto/shamu/camera/QCamera/HAL2/core/inc/ |
D | QCameraStream.h | 217 mm_camera_buf_def_t *mDisplayBuf; variable
|
/device/moto/shamu/camera/QCamera/HAL/core/inc/ |
D | QCameraStream.h | 214 mm_camera_buf_def_t mDisplayBuf[2*PREVIEW_BUFFER_COUNT]; variable
|
/device/lge/mako/camera/QCamera/HAL/core/inc/ |
D | QCameraStream.h | 239 mm_camera_reg_buf_t mDisplayBuf; variable
|