/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.cpp | 55 mCameraHandle(0), in QCameraThermalAdapter() 92 mCameraHandle = mRegister(mStrCamera, thermalCallback, NULL); in init() 93 if (mCameraHandle < 0) { in init() 95 __func__, mCameraHandle); in init() 113 mUnregister(mCameraHandle); in init() 115 mCameraHandle = 0; in init() 127 if (mCameraHandle) { in deinit() 128 mUnregister(mCameraHandle); in deinit() 129 mCameraHandle = 0; in deinit()
|
D | QCamera2HWICallbacks.cpp | 61 pme->mCameraHandle == NULL || in zsl_channel_cb() 62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb() 112 pme->mCameraHandle == NULL || in capture_channel_cb_routine() 113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine() 203 pme->mCameraHandle == NULL || in postproc_channel_cb_routine() 204 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine() 378 pme->mCameraHandle == NULL || in nodisplay_preview_stream_cb_routine() 379 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine() 527 pme->mCameraHandle == NULL || in video_stream_cb_routine() 528 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in video_stream_cb_routine() [all …]
|
D | QCamera2HWI.cpp | 922 mCameraHandle(NULL), in QCamera2HardwareInterface() 1022 if (mCameraHandle) { in openCamera() 1026 mCameraHandle = camera_open(mCameraId); in openCamera() 1027 if (!mCameraHandle) { in openCamera() 1032 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera() 1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera() 1101 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() 1102 mCameraHandle = NULL; in closeCamera() 1797 rc = mCameraHandle->ops->do_auto_focus(mCameraHandle->camera_handle); in autoFocus() 1870 rc = mCameraHandle->ops->cancel_auto_focus(mCameraHandle->camera_handle); in cancelAutoFocus() [all …]
|
D | QCameraThermalAdapter.h | 74 int mCameraHandle; variable
|
/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
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraThermalAdapter.cpp | 55 mCameraHandle(0), in QCameraThermalAdapter() 92 mCameraHandle = mRegister(mStrCamera, thermalCallback, NULL); in init() 93 if (mCameraHandle < 0) { in init() 95 __func__, mCameraHandle); in init() 113 mUnregister(mCameraHandle); in init() 115 mCameraHandle = 0; in init() 127 if (mCameraHandle) { in deinit() 128 mUnregister(mCameraHandle); in deinit() 129 mCameraHandle = 0; in deinit()
|
D | QCamera2HWICallbacks.cpp | 61 pme->mCameraHandle == NULL || in zsl_channel_cb() 62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb() 112 pme->mCameraHandle == NULL || in capture_channel_cb_routine() 113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine() 203 pme->mCameraHandle == NULL || in postproc_channel_cb_routine() 204 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine() 378 pme->mCameraHandle == NULL || in nodisplay_preview_stream_cb_routine() 379 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine() 527 pme->mCameraHandle == NULL || in video_stream_cb_routine() 528 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in video_stream_cb_routine() [all …]
|
D | QCamera2HWI.cpp | 922 mCameraHandle(NULL), in QCamera2HardwareInterface() 1022 if (mCameraHandle) { in openCamera() 1026 mCameraHandle = camera_open(mCameraId); in openCamera() 1027 if (!mCameraHandle) { in openCamera() 1032 mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera() 1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera() 1101 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() 1102 mCameraHandle = NULL; in closeCamera() 1797 rc = mCameraHandle->ops->do_auto_focus(mCameraHandle->camera_handle); in autoFocus() 1870 rc = mCameraHandle->ops->cancel_auto_focus(mCameraHandle->camera_handle); in cancelAutoFocus() [all …]
|
D | QCameraThermalAdapter.h | 74 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/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 155 mCameraHandle(NULL), in QCamera3HardwareInterface() 313 if (mCameraHandle) { in openCamera() 317 mCameraHandle = camera_open(mCameraId); in openCamera() 318 if (!mCameraHandle) { in openCamera() 343 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() 344 mCameraHandle = NULL; in closeCamera() 510 mMetadataChannel = new QCamera3MetadataChannel(mCameraHandle->camera_handle, in configureStreams() 511 mCameraHandle->ops, captureResultCb, in configureStreams() 561 channel = new QCamera3RegularChannel(mCameraHandle->camera_handle, in configureStreams() 562 mCameraHandle->ops, captureResultCb, in configureStreams() [all …]
|
D | QCamera3HWI.h | 174 mm_camera_vtbl_t *mCameraHandle; variable
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 245 mCameraHandle(NULL), in QCamera3HardwareInterface() 402 if (obj->mCameraHandle && obj->mCameraHandle->camera_handle in camEvtHandle() 403 && obj->mCameraHandle->ops) { in camEvtHandle() 404 obj->mCameraHandle->ops->error_close_camera(obj->mCameraHandle->camera_handle); in camEvtHandle() 490 if (mCameraHandle) { in openCamera() 503 mCameraHandle = camera_open(mCameraId); in openCamera() 504 if (!mCameraHandle) { in openCamera() 511 rc = mCameraHandle->ops->register_event_notify(mCameraHandle->camera_handle, in openCamera() 539 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() 540 mCameraHandle = NULL; in closeCamera() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 227 mCameraHandle(NULL), in QCamera3HardwareInterface() 404 if (mCameraHandle) { in openCamera() 408 mCameraHandle = camera_open(mCameraId); in openCamera() 409 if (!mCameraHandle) { in openCamera() 434 rc = mCameraHandle->ops->close_camera(mCameraHandle->camera_handle); in closeCamera() 435 mCameraHandle = NULL; in closeCamera() 722 mMetadataChannel = new QCamera3MetadataChannel(mCameraHandle->camera_handle, in configureStreams() 723 mCameraHandle->ops, captureResultCb, in configureStreams() 745 mCameraHandle->camera_handle, in configureStreams() 746 mCameraHandle->ops, in configureStreams() [all …]
|