/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 226 : mCameraId(cameraId), in QCamera3HardwareInterface() 408 mCameraHandle = camera_open(mCameraId); in openCamera() 524 i < gCamCapability[mCameraId]->supported_raw_dim_cnt; i++){ in validateStreamDimensions() 525 if (gCamCapability[mCameraId]->raw_dim[i].width in validateStreamDimensions() 527 && gCamCapability[mCameraId]->raw_dim[i].height in validateStreamDimensions() 535 i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt;i++){ in validateStreamDimensions() 537 gCamCapability[mCameraId] in validateStreamDimensions() 540 gCamCapability[mCameraId] in validateStreamDimensions() 554 gCamCapability[mCameraId]->active_array_size.width in validateStreamDimensions() 556 gCamCapability[mCameraId]->active_array_size.height) { in validateStreamDimensions() [all …]
|
D | QCamera3HWI.h | 205 uint8_t mCameraId; variable
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 244 : mCameraId(cameraId), in QCamera3HardwareInterface() 495 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera() 499 mCameraId); in openCamera() 503 mCameraHandle = camera_open(mCameraId); in openCamera() 554 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera() 557 mCameraId); in closeCamera() 647 i < gCamCapability[mCameraId]->supported_raw_dim_cnt; i++){ in validateStreamDimensions() 648 if (gCamCapability[mCameraId]->raw_dim[i].width in validateStreamDimensions() 650 && gCamCapability[mCameraId]->raw_dim[i].height in validateStreamDimensions() 659 makeTable(gCamCapability[mCameraId]->picture_sizes_tbl, in validateStreamDimensions() [all …]
|
D | QCamera3HWI.h | 242 uint8_t mCameraId; variable
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 154 : mCameraId(cameraId), in QCamera3HardwareInterface() 317 mCameraHandle = camera_open(mCameraId); in openCamera() 512 &gCamCapability[mCameraId]->padding_info, this); in configureStreams() 563 &gCamCapability[mCameraId]->padding_info, this, newStream, in configureStreams() 568 &gCamCapability[mCameraId]->padding_info, this, newStream); in configureStreams() 581 &gCamCapability[mCameraId]->padding_info, this, newStream); in configureStreams() 1288 if (gCamCapability[mCameraId]->position == CAM_POSITION_FRONT && in translateCbMetadataToResultMetadata() 1438 int map_height = gCamCapability[mCameraId]->lens_shading_map_size.height; in translateCbMetadataToResultMetadata() 1439 int map_width = gCamCapability[mCameraId]->lens_shading_map_size.width; in translateCbMetadataToResultMetadata() 1745 for (int i = 0; i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt; i++) { in calcMaxJpegSize() [all …]
|
D | QCamera3HWI.h | 173 uint8_t mCameraId; variable
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 1028 : 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 …]
|
D | QCamera2HWI.h | 503 uint8_t mCameraId; variable
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 921 : mCameraId(cameraId), in QCamera2HardwareInterface() 1026 mCameraHandle = camera_open(mCameraId); in openCamera() 1045 if (gCamCapability[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera() 1046 gCamCapability[mCameraId]->padding_info.width_padding = padding_info.width_padding; in openCamera() 1048 if (gCamCapability[mCameraId]->padding_info.height_padding < padding_info.height_padding) { in openCamera() 1049 gCamCapability[mCameraId]->padding_info.height_padding = padding_info.height_padding; in openCamera() 1051 if (gCamCapability[mCameraId]->padding_info.plane_padding < padding_info.plane_padding) { in openCamera() 1052 gCamCapability[mCameraId]->padding_info.plane_padding = padding_info.plane_padding; in openCamera() 1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera() 2708 &gCamCapability[mCameraId]->padding_info, in addStreamToChannel() [all …]
|
D | QCamera2HWI.h | 388 uint8_t mCameraId; variable
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 921 : mCameraId(cameraId), in QCamera2HardwareInterface() 1026 mCameraHandle = camera_open(mCameraId); in openCamera() 1045 if (gCamCapability[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera() 1046 gCamCapability[mCameraId]->padding_info.width_padding = padding_info.width_padding; in openCamera() 1048 if (gCamCapability[mCameraId]->padding_info.height_padding < padding_info.height_padding) { in openCamera() 1049 gCamCapability[mCameraId]->padding_info.height_padding = padding_info.height_padding; in openCamera() 1051 if (gCamCapability[mCameraId]->padding_info.plane_padding < padding_info.plane_padding) { in openCamera() 1052 gCamCapability[mCameraId]->padding_info.plane_padding = padding_info.plane_padding; in openCamera() 1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera() 2708 &gCamCapability[mCameraId]->padding_info, in addStreamToChannel() [all …]
|
D | QCamera2HWI.h | 388 uint8_t mCameraId; variable
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraHWI.cpp | 264 : mCameraId(cameraId) in QCameraHardwareInterface() 275 mCameraHandle=camera_open(mCameraId, &mMemHooks); in QCameraHardwareInterface() 278 ALOGE("startCamera: cam_ops_open failed: id = %d", mCameraId); in QCameraHardwareInterface()
|
D | QCameraStream_Preview.cpp | 439 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/ |
D | QCameraHWI.h | 850 int mCameraId;
|
/device/moto/shamu/camera/QCamera/HAL/core/inc/ |
D | QCameraHWI.h | 748 int mCameraId; variable
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI.cpp | 1041 : 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()
|