Home
last modified time | relevance | path

Searched refs:gCamCapability (Results 1 – 2 of 2) sorted by relevance

/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HWI.cpp114 cam_capability_t *gCamCapability[MM_CAMERA_MAX_NUM_SENSORS]; variable
415 mCommon.init(gCamCapability[cameraId]); in QCamera3HardwareInterface()
421 gCamCapability[cameraId]->version = CAM_HAL_V3; in QCamera3HardwareInterface()
424 gCamCapability[cameraId]->min_num_pp_bufs = 3; in QCamera3HardwareInterface()
1007 count = MIN(gCamCapability[cameraId]->supported_raw_dim_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
1009 if ((gCamCapability[cameraId]->raw_dim[i].width == (int32_t)rotatedWidth) && in validateStreamDimensions()
1010 (gCamCapability[cameraId]->raw_dim[i].height == (int32_t)rotatedHeight)) { in validateStreamDimensions()
1017 count = MIN(gCamCapability[cameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
1021 gCamCapability[cameraId]->picture_sizes_tbl[i].width) && in validateStreamDimensions()
1023 gCamCapability[cameraId]->picture_sizes_tbl[i].height)) { in validateStreamDimensions()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWI.cpp79 extern cam_capability_t *gCamCapability[MM_CAMERA_MAX_NUM_SENSORS];
1885 if (gCamCapability[mCameraId] != NULL) { in openCamera()
1894 gCamCapability[mCameraId]->padding_info.plane_padding; in openCamera()
2347 gCamCapability[cameraId] = in initCapabilities()
2350 if (!gCamCapability[cameraId]) { in initCapabilities()
2354 memcpy(gCamCapability[cameraId], DATA_PTR(capabilityHeap,0), in initCapabilities()
2360 &gCamCapability[cameraId]->analysis_info[index]; in initCapabilities()
2418 return gCamCapability[mCameraId]; in getCamHalCapabilities()
3136 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in allocateStreamInfoBuf()
3139 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in allocateStreamInfoBuf()
[all …]