/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.cpp | 55 mCameraHandle(0), in QCameraThermalAdapter() 94 mCameraHandle = mRegister(mStrCamera, thermalCallback, NULL); in init() 95 if (mCameraHandle < 0) { in init() 97 __func__, mCameraHandle); in init() 114 mUnregister(mCameraHandle); in init() 116 mCameraHandle = 0; in init() 128 if (mCameraHandle) { in deinit() 129 mUnregister(mCameraHandle); in deinit() 130 mCameraHandle = 0; in deinit()
|
D | QCamera2HWICallbacks.cpp | 66 pme->mCameraHandle == NULL || in zsl_channel_cb() 67 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb() 372 pme->mCameraHandle == NULL || in capture_channel_cb_routine() 373 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine() 483 pme->mCameraHandle == NULL || in postproc_channel_cb_routine() 484 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine() 704 pme->mCameraHandle == NULL || in nodisplay_preview_stream_cb_routine() 705 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine() 786 pme->mCameraHandle == NULL || in rdi_mode_stream_cb_routine() 787 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in rdi_mode_stream_cb_routine() [all …]
|
D | QCamera2HWI.cpp | 1029 mCameraHandle(NULL), in QCamera2HardwareInterface() 1167 if (mCameraHandle) { in openCamera() 1171 mCameraHandle = camera_open(mCameraId); in openCamera() 1172 if (!mCameraHandle) { in openCamera() 1177 initCapabilities(mCameraId,mCameraHandle); in openCamera() 1179 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera() 1199 mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in openCamera() 1200 mCameraHandle = NULL; in openCamera() 1217 mParameters.init(gCamCaps[mCameraId], mCameraHandle, this, this); in openCamera() 1283 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() [all …]
|
D | QCameraThermalAdapter.h | 74 int mCameraHandle; variable
|
D | QCameraStateMachine.cpp | 559 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewStoppedState() 862 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewReadyState() 1268 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewingState() 1414 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPrepareSnapshotState() 1740 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPicTakingState() 2133 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtRecordingState() 2479 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtVideoPicTakingState() 2927 mm_camera_vtbl_t* handle = m_parent->mCameraHandle; in procEvtPreviewPicTakingState()
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.cpp | 55 mCameraHandle(0), in QCameraThermalAdapter() 94 mCameraHandle = mRegister(mStrCamera, thermalCallback, NULL); in init() 95 if (mCameraHandle < 0) { in init() 97 __func__, mCameraHandle); in init() 114 mUnregister(mCameraHandle); in init() 116 mCameraHandle = 0; in init() 128 if (mCameraHandle) { in deinit() 129 mUnregister(mCameraHandle); in deinit() 130 mCameraHandle = 0; in deinit()
|
D | QCamera2HWICallbacks.cpp | 71 pme->mCameraHandle == NULL || in zsl_channel_cb() 72 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb() 391 pme->mCameraHandle == NULL || in capture_channel_cb_routine() 392 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine() 503 pme->mCameraHandle == NULL || in postproc_channel_cb_routine() 504 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine() 812 pme->mCameraHandle == NULL || in nodisplay_preview_stream_cb_routine() 813 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine() 894 pme->mCameraHandle == NULL || in rdi_mode_stream_cb_routine() 895 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in rdi_mode_stream_cb_routine() [all …]
|
D | QCamera2HWI.cpp | 1058 mCameraHandle(NULL), in QCamera2HardwareInterface() 1234 if (mCameraHandle) { in openCamera() 1238 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera() 1240 ALOGE("camera_open failed. rc = %d, mCameraHandle = %p", rc, mCameraHandle); in openCamera() 1244 initCapabilities(mCameraId,mCameraHandle); in openCamera() 1246 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera() 1266 mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in openCamera() 1267 mCameraHandle = NULL; in openCamera() 1284 mParameters.init(gCamCaps[mCameraId], mCameraHandle, this); in openCamera() 1357 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() [all …]
|
D | QCameraThermalAdapter.h | 79 int mCameraHandle; variable
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.cpp | 55 mCameraHandle(0), in QCameraThermalAdapter() 94 mCameraHandle = mRegister(mStrCamera, thermalCallback, NULL); in init() 95 if (mCameraHandle < 0) { in init() 97 __func__, mCameraHandle); in init() 114 mUnregister(mCameraHandle); in init() 116 mCameraHandle = 0; in init() 128 if (mCameraHandle) { in deinit() 129 mUnregister(mCameraHandle); in deinit() 130 mCameraHandle = 0; in deinit()
|
D | QCamera2HWICallbacks.cpp | 71 pme->mCameraHandle == NULL || in zsl_channel_cb() 72 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb() 391 pme->mCameraHandle == NULL || in capture_channel_cb_routine() 392 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine() 503 pme->mCameraHandle == NULL || in postproc_channel_cb_routine() 504 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine() 812 pme->mCameraHandle == NULL || in nodisplay_preview_stream_cb_routine() 813 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine() 894 pme->mCameraHandle == NULL || in rdi_mode_stream_cb_routine() 895 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in rdi_mode_stream_cb_routine() [all …]
|
D | QCamera2HWI.cpp | 1058 mCameraHandle(NULL), in QCamera2HardwareInterface() 1234 if (mCameraHandle) { in openCamera() 1238 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera() 1240 ALOGE("camera_open failed. rc = %d, mCameraHandle = %p", rc, mCameraHandle); in openCamera() 1244 initCapabilities(mCameraId,mCameraHandle); in openCamera() 1246 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera() 1266 mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in openCamera() 1267 mCameraHandle = NULL; in openCamera() 1284 mParameters.init(gCamCaps[mCameraId], mCameraHandle, this); in openCamera() 1357 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() [all …]
|
D | QCameraThermalAdapter.h | 79 int mCameraHandle; variable
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraHWI.cpp | 81 rc = mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, in tryRestartStreams() 275 mCameraHandle=camera_open(mCameraId, &mMemHooks); in QCameraHardwareInterface() 276 ALOGV("Cam open returned %p",mCameraHandle); in QCameraHardwareInterface() 277 if(mCameraHandle == NULL) { in QCameraHardwareInterface() 281 mCameraHandle->ops->sync(mCameraHandle->camera_handle); in QCameraHardwareInterface() 283 mChannelId=mCameraHandle->ops->ch_acquire(mCameraHandle->camera_handle); in QCameraHardwareInterface() 287 mCameraHandle->ops->camera_close(mCameraHandle->camera_handle); in QCameraHardwareInterface() 297 mCameraHandle->ops->camera_close(mCameraHandle->camera_handle); in ~QCameraHardwareInterface() 377 ret = mCameraHandle->ops->set_parm( in construct_default_request() 378 mCameraHandle->camera_handle, in construct_default_request() [all …]
|
D | QCameraStream.cpp | 116 p_obj->mCameraHandle->ops->qbuf(p_obj->mCameraHandle->camera_handle, in superbuf_cb_routine() 149 p_obj->p_mm_ops->ops->qbuf(p_obj->mCameraHandle, in stream_cb_routine() 175 p_mm_ops->ops->qbuf(mCameraHandle, in dataCallback() 215 rc=p_mm_ops->ops->config_stream(mCameraHandle, in streamOn() 222 rc = p_mm_ops->ops->start_streams(mCameraHandle, in streamOn() 241 rc = p_mm_ops->ops->stop_streams(mCameraHandle, in streamOff() 269 rc=p_mm_ops->ops->add_stream(mCameraHandle, in initStream() 290 rc=p_mm_ops->ops->config_stream(mCameraHandle, in initStream() 302 p_mm_ops->ops->del_stream(mCameraHandle,mChannelId, in initStream() 321 rc= p_mm_ops->ops->del_stream(mCameraHandle,mChannelId, in deinitStream() [all …]
|
D | QCameraStream_Preview.cpp | 299 rc = p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, &buf); in processPreviewFrame() 302 rc = p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mNotifyBuffer[i].bufs[0]); in processPreviewFrame() 394 ret = p_mm_ops->ops->set_parm (mCameraHandle, MM_CAMERA_PARM_OP_MODE, in init() 405 ret =p_mm_ops->ops->set_parm (mCameraHandle, MM_CAMERA_PARM_OP_MODE, in init()
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Parm.cpp | 405 if(mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ) < 0) { in native_set_parms() 418 *result= mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ); in native_set_parms() 570 if(mCameraHandle->ops->is_op_supported(mCameraHandle->camera_handle, MM_CAMERA_OPS_FOCUS)) { in hasAutoFocusSupport() 583 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_ASD_ENABLE,(uint… in supportsSceneDetection() 589 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_FD,(uint8_t*)&rc… in supportsFaceDetection() 595 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_FOCUS_RECT,(uint… in supportsSelectableZoneAf() 601 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_REDEYE_REDUCTION… in supportsRedEyeReduction() 626 ret = mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, in getMaxPictureDimension() 652 ret = mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, in loadTables() 658 if(mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, in loadTables() [all …]
|
D | QCameraHWI.cpp | 61 pme->mCameraHandle->ops->qbuf(recvd_frame->camera_handle, in superbuf_cb_routine() 135 pme->mCameraHandle->ops->qbuf(cookie->src_frame->camera_handle, in snapshot_jpeg_cb() 185 mCameraHandle->ops->qbuf(super_buf->camera_handle, in releaseSuperBuf() 559 mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, MM_CAMERA_PARM_MOBICAT, in encodeData() 834 mStreams[MM_CAMERA_RDI] = new QCameraStream_Rdi(mCameraHandle->camera_handle, in createRdi() 840 mCameraHandle, in createRdi() 863 mCameraHandle->camera_handle, in createRecord() 869 mCameraHandle, in createRecord() 900 mCameraHandle->camera_handle, in createSnapshot() 906 mCameraHandle, in createSnapshot() [all …]
|
D | QCameraStream.cpp | 105 rc = p_mm_ops->ops->start_streams(mCameraHandle, in streamOn() 128 rc = p_mm_ops->ops->stop_streams(mCameraHandle, in streamOff() 157 mStreamId = p_mm_ops->ops->add_stream(mCameraHandle, in initStream() 174 p_mm_ops->ops->del_stream(mCameraHandle, in initStream() 201 rc= p_mm_ops->ops->del_stream(mCameraHandle,mChannelId, in deinitStream() 255 rc = p_mm_ops->ops->config_stream(mCameraHandle, in setFormat() 290 : mCameraHandle(CameraHandle), in QCameraStream() 330 rc = p_mm_ops->ops->get_stream_parm(mCameraHandle, in setCrop()
|
D | QCameraHWI_Record.cpp | 255 … if(MM_CAMERA_OK != p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mRecordedFrames[cnt].bufs[0])) in releaseRecordingFrame() 268 … if(MM_CAMERA_OK != p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mRecordedFrames[cnt].bufs[0])) in releaseRecordingFrame()
|
D | QCameraHWI_Preview.cpp | 72 ret = p_mm_ops->ops->get_parm(mCameraHandle, MM_CAMERA_PARM_VFE_OUTPUT_ENABLE, &mVFEOutputs); in getBufferFromSurface() 93 ret = p_mm_ops->ops->get_parm(mCameraHandle, MM_CAMERA_PARM_HFR_FRAME_SKIP, &mHFRFrameSkip); in getBufferFromSurface() 562 status_t ret = p_mm_ops->ops->get_parm(mCameraHandle, in dumpFrameToFile() 701 … if(MM_CAMERA_OK != p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mNotifyBuffer[i].bufs[0])) { in processPreviewFrameWithDisplay() 868 …if(MM_CAMERA_OK !=p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mNotifyBuffer[preview_buf_idx].bu… in processPreviewFrameWithOutDisplay()
|
D | QCameraHWI_Rdi.cpp | 169 if (MM_CAMERA_OK != p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, in processRdiFrame()
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 315 mCameraHandle(NULL), in QCamera3HardwareInterface() 442 mCameraHandle->ops->stop_channel(mCameraHandle->camera_handle, in ~QCamera3HardwareInterface() 505 int rc = mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in ~QCamera3HardwareInterface() 514 mCameraHandle->ops->delete_channel(mCameraHandle->camera_handle, in ~QCamera3HardwareInterface() 593 if (obj->mCameraHandle && obj->mCameraHandle->camera_handle in camEvtHandle() 594 && obj->mCameraHandle->ops) { in camEvtHandle() 595 obj->mCameraHandle->ops->error_close_camera(obj->mCameraHandle->camera_handle); in camEvtHandle() 673 if (mCameraHandle) { in openCamera() 686 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera() 688 ALOGE("camera_open failed. rc = %d, mCameraHandle = %p", rc, mCameraHandle); in openCamera() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 315 mCameraHandle(NULL), in QCamera3HardwareInterface() 442 mCameraHandle->ops->stop_channel(mCameraHandle->camera_handle, in ~QCamera3HardwareInterface() 505 int rc = mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in ~QCamera3HardwareInterface() 514 mCameraHandle->ops->delete_channel(mCameraHandle->camera_handle, in ~QCamera3HardwareInterface() 593 if (obj->mCameraHandle && obj->mCameraHandle->camera_handle in camEvtHandle() 594 && obj->mCameraHandle->ops) { in camEvtHandle() 595 obj->mCameraHandle->ops->error_close_camera(obj->mCameraHandle->camera_handle); in camEvtHandle() 673 if (mCameraHandle) { in openCamera() 686 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera() 688 ALOGE("camera_open failed. rc = %d, mCameraHandle = %p", rc, mCameraHandle); in openCamera() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 245 mCameraHandle(NULL), in QCamera3HardwareInterface() 379 int rc = mCameraHandle->ops->set_parms(mCameraHandle->camera_handle, mParameters); in ~QCamera3HardwareInterface() 433 if (obj->mCameraHandle && obj->mCameraHandle->camera_handle in camEvtHandle() 434 && obj->mCameraHandle->ops) { in camEvtHandle() 435 obj->mCameraHandle->ops->error_close_camera(obj->mCameraHandle->camera_handle); in camEvtHandle() 521 if (mCameraHandle) { in openCamera() 534 mCameraHandle = camera_open(mCameraId); in openCamera() 535 if (!mCameraHandle) { in openCamera() 542 rc = mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera() 570 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() [all …]
|