Home
last modified time | relevance | path

Searched refs:mHalCamCtrl (Results 1 – 9 of 9) sorted by relevance

/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp44 preview_stream_ops_t *previewWindow = mHalCamCtrl->mPreviewWindow; in getBufferFromSurface()
53 mHalCamCtrl->mPreviewMemoryLock.lock(); in getBufferFromSurface()
54 mHalCamCtrl->mPreviewMemory.buffer_count = mNumBuffers; in getBufferFromSurface()
55 err = previewWindow->set_buffer_count(previewWindow, mHalCamCtrl->mPreviewMemory.buffer_count ); in getBufferFromSurface()
64 mHalCamCtrl->getPreviewFormatInfo().Hal_format); in getBufferFromSurface()
99 for (int cnt = 0; cnt < mHalCamCtrl->mPreviewMemory.buffer_count; cnt++) { in getBufferFromSurface()
102 &mHalCamCtrl->mPreviewMemory.buffer_handle[cnt], in getBufferFromSurface()
103 &mHalCamCtrl->mPreviewMemory.stride[cnt]); in getBufferFromSurface()
105 … ALOGV("%s: dequeue buf hdl =%p", __func__, *mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); in getBufferFromSurface()
107 mHalCamCtrl->mPreviewMemory.buffer_handle[cnt]); in getBufferFromSurface()
[all …]
DQCameraHWI_Record.cpp91 for(int cnt = 0; cnt < mHalCamCtrl->mRecordingMemory.buffer_count; cnt++) { in putBuf()
92 if (mHalCamCtrl->mStoreMetaDataInFrame) { in putBuf()
94 … (struct encoder_media_buffer_type *)mHalCamCtrl->mRecordingMemory.metadata_memory[cnt]->data; in putBuf()
96 mHalCamCtrl->mRecordingMemory.metadata_memory[cnt]->release( in putBuf()
97 mHalCamCtrl->mRecordingMemory.metadata_memory[cnt]); in putBuf()
99 mHalCamCtrl->mRecordingMemory.camera_memory[cnt]->release( in putBuf()
100 mHalCamCtrl->mRecordingMemory.camera_memory[cnt]); in putBuf()
103 mHalCamCtrl->deallocate_ion_memory(&mHalCamCtrl->mRecordingMemory.mem_info[cnt]); in putBuf()
106 memset(&mHalCamCtrl->mRecordingMemory, 0, sizeof(mHalCamCtrl->mRecordingMemory)); in putBuf()
136 mHalCamCtrl->dumpFrameToFile(frame->bufs[0], HAL_DUMP_FRM_VIDEO); in processRecordFrame()
[all …]
DQCameraHWI_Still.cpp80 if(mHalCamCtrl->isZSLMode()) { in initStream()
81 mNumBuffers = mHalCamCtrl->getZSLQueueDepth() + 3; in initStream()
82 } else if (mHalCamCtrl->mHdrInfo.hdr_on) { in initStream()
83 mNumBuffers = mHalCamCtrl->mHdrInfo.num_frame; in initStream()
85 mNumBuffers = mHalCamCtrl->getNumOfSnapshots(); in initStream()
110 ret = mHalCamCtrl->initHeapMem(&mHalCamCtrl->mSnapshotMemory, in getBuf()
134 return mHalCamCtrl->releaseHeapMem(&mHalCamCtrl->mSnapshotMemory); in putBuf()
140 return mHalCamCtrl->releaseHeapMem(&mHalCamCtrl->mThumbnailMemory); in putBuf()
183 if(mHalCamCtrl->isZSLMode()) { in initStream()
184 mNumBuffers = mHalCamCtrl->getZSLQueueDepth() + 3; in initStream()
[all …]
DQCameraHWI_Rdi.cpp44 if(mHalCamCtrl->isZSLMode()) { in initStream()
45 if(mNumBuffers < mHalCamCtrl->getZSLQueueDepth() + 3) { in initStream()
46 mNumBuffers = mHalCamCtrl->getZSLQueueDepth() + 3; in initStream()
74 ret = mHalCamCtrl->initHeapMem(&mHalCamCtrl->mRdiMemory, in getBuf()
95 ret = mHalCamCtrl->releaseHeapMem(&mHalCamCtrl->mRdiMemory); in putBuf()
110 w = mHalCamCtrl->mRdiWidth; in dumpFrameToFile()
111 h = mHalCamCtrl->mRdiHeight; in dumpFrameToFile()
146 if(mHalCamCtrl==NULL) { in processRdiFrame()
152 mHalCamCtrl->dumpFrameToFile(frame->bufs[0], HAL_DUMP_FRM_RDI); in processRdiFrame()
154 if (mHalCamCtrl->mDataCb != NULL) { in processRdiFrame()
[all …]
DQCameraStream.cpp236 stream_config.fmt.rotation = mHalCamCtrl->getJpegRotation(); in setFormat()
239 stream_config.fmt.rotation = mHalCamCtrl->getJpegRotation(); in setFormat()
260 if(mHalCamCtrl->rdiMode != STREAM_IMAGE) { in setFormat()
261 mHalCamCtrl->mRdiWidth = stream_config.fmt.width; in setFormat()
262 mHalCamCtrl->mRdiHeight = stream_config.fmt.height; in setFormat()
298 mHalCamCtrl(camCtrl) in QCameraStream()
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream.cpp142 if(p_obj->mHalCamCtrl->getHDRMode()) { in stream_cb_routine()
463 mHalCamCtrl = ctrl; in setHALCameraControl()
DQCameraStream_Preview.cpp260 if(mHalCamCtrl==NULL) { in processPreviewFrame()
339 mHalCamCtrl = NULL; in QCameraStream_preview()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraStream.h145 QCameraHardwareInterface* mHalCamCtrl;
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraStream.h71 QCameraHardwareInterface* mHalCamCtrl; variable