Home
last modified time | relevance | path

Searched refs:mCameraId (Results 1 – 19 of 19) sorted by relevance

/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp314 : mCameraId(cameraId), in QCamera3HardwareInterface()
678 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()
682 mCameraId); in openCamera()
686 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
726 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera()
729 mCameraId); in closeCamera()
836 count = MIN(gCamCapability[mCameraId]->supported_raw_dim_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
838 if ((gCamCapability[mCameraId]->raw_dim[i].width == (int32_t)rotatedWidth) && in validateStreamDimensions()
839 (gCamCapability[mCameraId]->raw_dim[i].height == (int32_t)rotatedHeight)) { in validateStreamDimensions()
846 count = MIN(gCamCapability[mCameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
[all …]
DQCamera3HWI.h279 uint32_t mCameraId; variable
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp314 : mCameraId(cameraId), in QCamera3HardwareInterface()
678 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()
682 mCameraId); in openCamera()
686 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
726 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera()
729 mCameraId); in closeCamera()
836 count = MIN(gCamCapability[mCameraId]->supported_raw_dim_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
838 if ((gCamCapability[mCameraId]->raw_dim[i].width == (int32_t)rotatedWidth) && in validateStreamDimensions()
839 (gCamCapability[mCameraId]->raw_dim[i].height == (int32_t)rotatedHeight)) { in validateStreamDimensions()
846 count = MIN(gCamCapability[mCameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
[all …]
DQCamera3HWI.h279 uint32_t mCameraId; variable
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp244 : mCameraId(cameraId), in QCamera3HardwareInterface()
526 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()
530 mCameraId); in openCamera()
534 mCameraHandle = camera_open(mCameraId); in openCamera()
585 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera()
588 mCameraId); in closeCamera()
686 i < gCamCapability[mCameraId]->supported_raw_dim_cnt; i++){ in validateStreamDimensions()
687 if (gCamCapability[mCameraId]->raw_dim[i].width in validateStreamDimensions()
689 && gCamCapability[mCameraId]->raw_dim[i].height in validateStreamDimensions()
698 makeTable(gCamCapability[mCameraId]->picture_sizes_tbl, in validateStreamDimensions()
[all …]
DQCamera3HWI.h243 uint8_t mCameraId; variable
/device/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp1057 : mCameraId(cameraId), in QCamera2HardwareInterface()
1195 __func__,mCameraId); in openCamera()
1208 __func__,mCameraId, rc); in openCamera()
1238 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
1243 if (NULL == gCamCaps[mCameraId]) in openCamera()
1244 initCapabilities(mCameraId,mCameraHandle); in openCamera()
1251 for(i = 0; i < gCamCaps[mCameraId]->picture_sizes_tbl_cnt - 1; i++) in openCamera()
1253 l_curr_width = gCamCaps[mCameraId]->picture_sizes_tbl[i].width; in openCamera()
1254 l_curr_height = gCamCaps[mCameraId]->picture_sizes_tbl[i].height; in openCamera()
1274 if (gCamCaps[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera()
[all …]
DQCamera2HWI.h507 uint32_t mCameraId; variable
DQCamera2HWICallbacks.cpp2235 CDBG_HIGH("Video Frames Per Second: %.4f Cam ID = %d", mVFps, mCameraId); in debugShowVideoFPS()
2259 __func__, mPFps, mCameraId); in debugShowPreviewFPS()
/device/huawei/angler/camera/QCamera2/HAL/
DQCamera2HWI.cpp1057 : mCameraId(cameraId), in QCamera2HardwareInterface()
1195 __func__,mCameraId); in openCamera()
1208 __func__,mCameraId, rc); in openCamera()
1238 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
1243 if (NULL == gCamCaps[mCameraId]) in openCamera()
1244 initCapabilities(mCameraId,mCameraHandle); in openCamera()
1251 for(i = 0; i < gCamCaps[mCameraId]->picture_sizes_tbl_cnt - 1; i++) in openCamera()
1253 l_curr_width = gCamCaps[mCameraId]->picture_sizes_tbl[i].width; in openCamera()
1254 l_curr_height = gCamCaps[mCameraId]->picture_sizes_tbl[i].height; in openCamera()
1274 if (gCamCaps[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera()
[all …]
DQCamera2HWI.h507 uint32_t mCameraId; variable
DQCamera2HWICallbacks.cpp2235 CDBG_HIGH("Video Frames Per Second: %.4f Cam ID = %d", mVFps, mCameraId); in debugShowVideoFPS()
2259 __func__, mPFps, mCameraId); in debugShowPreviewFPS()
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.cpp1028 : mCameraId(cameraId), in QCamera2HardwareInterface()
1135 __func__,mCameraId); in openCamera()
1171 mCameraHandle = camera_open(mCameraId); in openCamera()
1176 if (NULL == gCamCaps[mCameraId]) in openCamera()
1177 initCapabilities(mCameraId,mCameraHandle); in openCamera()
1184 for(i = 0; i < gCamCaps[mCameraId]->picture_sizes_tbl_cnt - 1; i++) in openCamera()
1186 l_curr_width = gCamCaps[mCameraId]->picture_sizes_tbl[i].width; in openCamera()
1187 l_curr_height = gCamCaps[mCameraId]->picture_sizes_tbl[i].height; in openCamera()
1207 if (gCamCaps[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera()
1208 gCamCaps[mCameraId]->padding_info.width_padding = padding_info.width_padding; in openCamera()
[all …]
DQCamera2HWI.h503 uint8_t mCameraId; variable
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp264 : mCameraId(cameraId) in QCameraHardwareInterface()
275 mCameraHandle=camera_open(mCameraId, &mMemHooks); in QCameraHardwareInterface()
278 ALOGE("startCamera: cam_ops_open failed: id = %d", mCameraId); in QCameraHardwareInterface()
DQCameraStream_Preview.cpp439 ret = cam_config_prepare_buf(mCameraId, &mDisplayBuf); in start()
503 ret = cam_config_unprepare_buf(mCameraId, MM_CAMERA_CH_PREVIEW); in stop()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h850 int mCameraId;
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraHWI.h748 int mCameraId; variable
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp1041 : mCameraId(cameraId), in QCameraHardwareInterface()
1134 mCameraHandle=camera_open(mCameraId, &mem_hooks); in QCameraHardwareInterface()
1137 ALOGE("startCamera: cam_ops_open failed: id = %d", mCameraId); in QCameraHardwareInterface()