Lines Matching refs:gCamCapability

144 cam_capability_t *gCamCapability[MM_CAMERA_MAX_NUM_SENSORS];  variable
563 mCommon.init(gCamCapability[cameraId]); in QCamera3HardwareInterface()
573 gCamCapability[cameraId]->version = CAM_HAL_V3; in QCamera3HardwareInterface()
576 gCamCapability[cameraId]->min_num_pp_bufs = 3; in QCamera3HardwareInterface()
644 mPDIndex = getPDStatIndex(gCamCapability[cameraId]); in QCamera3HardwareInterface()
1269 auto pDIndex = getPDStatIndex(gCamCapability[cameraId]); in validateStreamDimensions()
1272 depthWidth = gCamCapability[cameraId]->raw_meta_dim[pDIndex].width; in validateStreamDimensions()
1273 depthHeight = gCamCapability[cameraId]->raw_meta_dim[pDIndex].height; in validateStreamDimensions()
1322 count = MIN(gCamCapability[cameraId]->supported_raw_dim_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
1324 if ((gCamCapability[cameraId]->raw_dim[i].width == (int32_t)rotatedWidth) && in validateStreamDimensions()
1325 (gCamCapability[cameraId]->raw_dim[i].height == (int32_t)rotatedHeight)) { in validateStreamDimensions()
1342 count = MIN(gCamCapability[cameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in validateStreamDimensions()
1346 gCamCapability[cameraId]->picture_sizes_tbl[i].width) && in validateStreamDimensions()
1348 gCamCapability[cameraId]->picture_sizes_tbl[i].height)) { in validateStreamDimensions()
1362 gCamCapability[cameraId]->active_array_size.width) && in validateStreamDimensions()
1364 gCamCapability[cameraId]->active_array_size.height)) { in validateStreamDimensions()
1375 count = MIN(gCamCapability[cameraId]->picture_sizes_tbl_cnt, in validateStreamDimensions()
1379 gCamCapability[cameraId]->picture_sizes_tbl[i].width) && in validateStreamDimensions()
1381 gCamCapability[cameraId]->picture_sizes_tbl[i].height)) { in validateStreamDimensions()
1393 gCamCapability[cameraId]->active_array_size.width, in validateStreamDimensions()
1394 gCamCapability[cameraId]->active_array_size.height); in validateStreamDimensions()
1432 if (gCamCapability[cameraId]->position == CAM_POSITION_FRONT || in validateUsageFlags()
1715 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in addToPPFeatureMask()
1719 if ((m_bIsVideo) && (gCamCapability[mCameraId]->qcom_supported_feature_mask & in addToPPFeatureMask()
1913 count = MIN(gCamCapability[cameraId]->supported_is_types_cnt, count); in validateStreamCombination()
1915 if ((gCamCapability[cameraId]->supported_is_types[i] == IS_TYPE_EIS_2_0) || in validateStreamCombination()
1916 (gCamCapability[cameraId]->supported_is_types[i] == IS_TYPE_EIS_3_0)) { in validateStreamCombination()
1927 status->maxViewfinderSize = gCamCapability[cameraId]->max_viewfinder_size; in validateStreamCombination()
1993 width_ratio = CEIL_DIVISION(gCamCapability[cameraId]->active_array_size.width, in validateStreamCombination()
1995 height_ratio = CEIL_DIVISION(gCamCapability[cameraId]->active_array_size.height, in validateStreamCombination()
1997 FATAL_IF(gCamCapability[cameraId]->max_downscale_factor == 0, in validateStreamCombination()
1999 if ( (width_ratio > gCamCapability[cameraId]->max_downscale_factor) || in validateStreamCombination()
2000 (height_ratio > gCamCapability[cameraId]->max_downscale_factor)) { in validateStreamCombination()
2235 cam_padding_info_t padding_info = gCamCapability[mCameraId]->padding_info; in configureStreamsPerfLocked()
2261 (gCamCapability[mCameraId]->position == CAM_POSITION_BACK || in configureStreamsPerfLocked()
2262 gCamCapability[mCameraId]->position == CAM_POSITION_BACK_AUX); in configureStreamsPerfLocked()
2412 gCamCapability[mCameraId]->position == CAM_POSITION_BACK; in configureStreamsPerfLocked()
2414 gCamCapability[mCameraId]->position == CAM_POSITION_BACK; in configureStreamsPerfLocked()
2422 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
2452 bool isFront = gCamCapability[mCameraId]->position == CAM_POSITION_FRONT; in configureStreamsPerfLocked()
2602 if (!(gCamCapability[mCameraId]->qcom_supported_feature_mask & in configureStreamsPerfLocked()
2651 gCamCapability[mCameraId]->sub_fmt[mPDIndex]; in configureStreamsPerfLocked()
2653 gCamCapability[mCameraId]->supported_meta_raw_fmts[mPDIndex]; in configureStreamsPerfLocked()
2655 gCamCapability[mCameraId]->dt[mPDIndex]; in configureStreamsPerfLocked()
2657 gCamCapability[mCameraId]->vc[mPDIndex]; in configureStreamsPerfLocked()
2670 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
2720 setBufferErrorStatus, &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
2760 setBufferErrorStatus, &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
2889 if (gCamCapability[mCameraId]->position == CAM_POSITION_FRONT || in configureStreamsPerfLocked()
2911 padding_info = gCamCapability[mCameraId]->padding_info; in configureStreamsPerfLocked()
2943 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
2962 gCamCapability[mCameraId]->color_arrangement, in configureStreamsPerfLocked()
2980 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3012 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3029 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3037 if (gCamCapability[mCameraId]->color_arrangement != CAM_FILTER_ARRANGEMENT_Y) { in configureStreamsPerfLocked()
3045 &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
3051 gCamCapability[mCameraId]->color_arrangement, in configureStreamsPerfLocked()
3069 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3084 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3096 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3108 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3112 setBufferErrorStatus, &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
3134 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3231 count = MIN(gCamCapability[mCameraId]->supported_is_types_cnt, count); in configureStreamsPerfLocked()
3233 if (gCamCapability[mCameraId]->supported_is_types[i] == IS_TYPE_EIS_3_0) { in configureStreamsPerfLocked()
3552 size_t count = MIN(gCamCapability[mCameraId]->supported_raw_dim_cnt, in deriveMinFrameDuration()
3563 int32_t dimension = gCamCapability[mCameraId]->raw_dim[i].width * in deriveMinFrameDuration()
3564 gCamCapability[mCameraId]->raw_dim[i].height; in deriveMinFrameDuration()
3572 if (maxRawDim == gCamCapability[mCameraId]->raw_dim[i].width * in deriveMinFrameDuration()
3573 gCamCapability[mCameraId]->raw_dim[i].height) { in deriveMinFrameDuration()
3574 mMinRawFrameDuration = gCamCapability[mCameraId]->raw_min_duration[i]; in deriveMinFrameDuration()
3578 count = MIN(gCamCapability[mCameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in deriveMinFrameDuration()
3581 gCamCapability[mCameraId]->picture_sizes_tbl[i].width * in deriveMinFrameDuration()
3582 gCamCapability[mCameraId]->picture_sizes_tbl[i].height) { in deriveMinFrameDuration()
3583 mMinProcessedFrameDuration = gCamCapability[mCameraId]->picture_min_duration[i]; in deriveMinFrameDuration()
3584 mMinJpegFrameDuration = gCamCapability[mCameraId]->picture_min_duration[i]; in deriveMinFrameDuration()
3984 if (!gCamCapability[mCameraId]->timestamp_calibrated) { in handleMetadataWithLock()
4208 gCamCapability[mCameraId]->active_array_size.width, in handleMetadataWithLock()
4209 gCamCapability[mCameraId]->active_array_size.height, in handleMetadataWithLock()
5385 mCropRegionMapper.update(gCamCapability[mCameraId]->active_array_size.width, in processCaptureRequest()
5386 gCamCapability[mCameraId]->active_array_size.height, in processCaptureRequest()
7496 if (!gCamCapability[mCameraId]->flash_available) { in translateFromHalMetadata()
7559 gCamCapability[mCameraId]->color_arrangement); in translateFromHalMetadata()
7585 &gCamCapability[mCameraId]->white_level, 1); in translateFromHalMetadata()
7627 double noise_profile[2 * gCamCapability[mCameraId]->num_color_channels]; in translateFromHalMetadata()
7628 for (int i = 0; i < 2 * gCamCapability[mCameraId]->num_color_channels; i += 2) { in translateFromHalMetadata()
7635 (size_t) (2 * gCamCapability[mCameraId]->num_color_channels)); in translateFromHalMetadata()
7884 size_t map_height = MIN((size_t)gCamCapability[mCameraId]->lens_shading_map_size.height, in translateFromHalMetadata()
7886 size_t map_width = MIN((size_t)gCamCapability[mCameraId]->lens_shading_map_size.width, in translateFromHalMetadata()
7992 switch (gCamCapability[mCameraId]->color_arrangement) { in translateFromHalMetadata()
8005 gCamCapability[mCameraId]->color_arrangement); in translateFromHalMetadata()
8383 if (gCamCapability[mCameraId]->aberration_modes_count == 0) { in translateFromHalMetadata()
9467 gCamCapability[cameraId] = getCapabilities(cameraHandle->ops, handle); in initCapabilities()
9468 if (gCamCapability[cameraId] == NULL) { in initCapabilities()
9473 gCamCapability[cameraId]->camera_index = cameraId; in initCapabilities()
9476 gCamCapability[cameraId]->aux_cam_cap = in initCapabilities()
9478 if (gCamCapability[cameraId]->aux_cam_cap == NULL) { in initCapabilities()
9480 free(gCamCapability[cameraId]); in initCapabilities()
9485 gCamCapability[cameraId]->main_cam_cap = in initCapabilities()
9487 if (gCamCapability[cameraId]->main_cam_cap == NULL) { in initCapabilities()
9492 memcpy(gCamCapability[cameraId]->main_cam_cap, gCamCapability[cameraId], in initCapabilities()
9516 if(gCamCapability[mCameraId]) in get3AVersion()
9517 sw_version = gCamCapability[mCameraId]->q3a_version; in get3AVersion()
9607 size_t count = MIN(gCamCapability[camera_id]->picture_sizes_tbl_cnt, in calcMaxJpegSize()
9610 temp_width = (size_t)gCamCapability[camera_id]->picture_sizes_tbl[i].width; in calcMaxJpegSize()
9611 temp_height = (size_t)gCamCapability[camera_id]->picture_sizes_tbl[i].height; in calcMaxJpegSize()
9635 for (size_t i = 0; i < gCamCapability[camera_id]->supported_raw_dim_cnt; i++) { in getMaxRawSize()
9636 if (max_width < gCamCapability[camera_id]->raw_dim[i].width) { in getMaxRawSize()
9637 max_width = gCamCapability[camera_id]->raw_dim[i].width; in getMaxRawSize()
9638 maxRawSize = gCamCapability[camera_id]->raw_dim[i]; in getMaxRawSize()
9662 for (size_t i = 0; i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt; i++) { in calcMaxJpegDim()
9663 curr_jpeg_dim.width = gCamCapability[mCameraId]->picture_sizes_tbl[i].width; in calcMaxJpegDim()
9664 curr_jpeg_dim.height = gCamCapability[mCameraId]->picture_sizes_tbl[i].height; in calcMaxJpegDim()
9714 if (gCamCapability[cameraId]->picture_min_duration[0] > fullResDurationBound) { in supportBurstCapture()
9720 if (gCamCapability[cameraId]->picture_min_duration[0] <= highResDurationBound) { in supportBurstCapture()
9727 size_t totalCnt = MIN(gCamCapability[cameraId]->picture_sizes_tbl_cnt, in supportBurstCapture()
9731 (gCamCapability[cameraId]->picture_sizes_tbl[highRes+1].width * in supportBurstCapture()
9732 gCamCapability[cameraId]->picture_sizes_tbl[highRes+1].height >= in supportBurstCapture()
9736 if (gCamCapability[cameraId]->picture_min_duration[highRes] <= highResDurationBound) { in supportBurstCapture()
9799 limitedDevice = gCamCapability[cameraId]->no_per_frame_control_support || in initStaticMetadata()
9800 (CAM_SENSOR_YUV == gCamCapability[cameraId]->sensor_type.sens_type) || in initStaticMetadata()
9801 (CAM_SENSOR_MONO == gCamCapability[cameraId]->sensor_type.sens_type) || in initStaticMetadata()
9817 if ((gCamCapability[cameraId]->position == CAM_POSITION_BACK) || in initStaticMetadata()
9818 (gCamCapability[cameraId]->position == CAM_POSITION_BACK_AUX)) { in initStaticMetadata()
9823 &gCamCapability[cameraId]->min_focus_distance, 1); in initStaticMetadata()
9826 &gCamCapability[cameraId]->hyper_focal_distance, 1); in initStaticMetadata()
9830 &gCamCapability[cameraId]->focal_length, in initStaticMetadata()
9834 gCamCapability[cameraId]->apertures, in initStaticMetadata()
9835 MIN(CAM_APERTURES_MAX, gCamCapability[cameraId]->apertures_count)); in initStaticMetadata()
9838 gCamCapability[cameraId]->filter_densities, in initStaticMetadata()
9839 MIN(CAM_FILTER_DENSITIES_MAX, gCamCapability[cameraId]->filter_densities_count)); in initStaticMetadata()
9844 MIN((size_t)CAM_OPT_STAB_MAX, gCamCapability[cameraId]->optical_stab_modes_count); in initStaticMetadata()
9846 available_opt_stab_modes[i] = gCamCapability[cameraId]->optical_stab_modes[i]; in initStaticMetadata()
9852 MIN(CAM_MAX_SHADING_MAP_WIDTH, gCamCapability[cameraId]->lens_shading_map_size.width), in initStaticMetadata()
9853 … MIN(CAM_MAX_SHADING_MAP_HEIGHT, gCamCapability[cameraId]->lens_shading_map_size.height)}; in initStaticMetadata()
9869 gCamCapability[cameraId]->active_array_size.width, in initStaticMetadata()
9887 gCamCapability[cameraId]->sensor_physical_size, SENSOR_PHYSICAL_SIZE_CNT); in initStaticMetadata()
9890 gCamCapability[cameraId]->exposure_time_range, EXPOSURE_TIME_RANGE_CNT); in initStaticMetadata()
9893 &gCamCapability[cameraId]->max_frame_duration, 1); in initStaticMetadata()
9896 gCamCapability[cameraId]->base_gain_factor.numerator, in initStaticMetadata()
9897 gCamCapability[cameraId]->base_gain_factor.denominator}; in initStaticMetadata()
9902 (uint8_t *)&gCamCapability[cameraId]->color_arrangement, 1); in initStaticMetadata()
9904 int32_t pixel_array_size[] = {gCamCapability[cameraId]->pixel_array_size.width, in initStaticMetadata()
9905 gCamCapability[cameraId]->pixel_array_size.height}; in initStaticMetadata()
9909 int32_t active_array_size[] = {gCamCapability[cameraId]->active_array_size.left, in initStaticMetadata()
9910 gCamCapability[cameraId]->active_array_size.top, in initStaticMetadata()
9911 gCamCapability[cameraId]->active_array_size.width, in initStaticMetadata()
9912 gCamCapability[cameraId]->active_array_size.height}; in initStaticMetadata()
9917 &gCamCapability[cameraId]->white_level, 1); in initStaticMetadata()
9920 adjustBlackLevelForCFA(gCamCapability[cameraId]->black_level_pattern, adjusted_bl_per_cfa, in initStaticMetadata()
9921 gCamCapability[cameraId]->color_arrangement); in initStaticMetadata()
9927 if (gCamCapability[cameraId]->optical_black_region_count > MAX_OPTICAL_BLACK_REGIONS) { in initStaticMetadata()
9929 gCamCapability[cameraId]->optical_black_region_count, MAX_OPTICAL_BLACK_REGIONS); in initStaticMetadata()
9930 gCamCapability[cameraId]->optical_black_region_count = MAX_OPTICAL_BLACK_REGIONS; in initStaticMetadata()
9932 if (gCamCapability[cameraId]->optical_black_region_count != 0) { in initStaticMetadata()
9934 for (size_t i = 0; i < gCamCapability[cameraId]->optical_black_region_count * 4; i++) { in initStaticMetadata()
9935 opticalBlackRegions[i] = gCamCapability[cameraId]->optical_black_regions[i]; in initStaticMetadata()
9938 opticalBlackRegions, gCamCapability[cameraId]->optical_black_region_count * 4); in initStaticMetadata()
9943 &gCamCapability[cameraId]->flash_charge_duration, 1); in initStaticMetadata()
9946 &gCamCapability[cameraId]->max_tone_map_curve_points, 1); in initStaticMetadata()
9948 uint8_t timestampSource = (gCamCapability[cameraId]->timestamp_calibrated ? in initStaticMetadata()
9956 &gCamCapability[cameraId]->histogram_size, 1); in initStaticMetadata()
9959 &gCamCapability[cameraId]->max_histogram_count, 1); in initStaticMetadata()
9964 int32_t maxHistBins = gCamCapability[cameraId]->max_histogram_count; in initStaticMetadata()
9978 gCamCapability[cameraId]->sharpness_map_size.width, in initStaticMetadata()
9979 gCamCapability[cameraId]->sharpness_map_size.height}; in initStaticMetadata()
9985 &gCamCapability[cameraId]->max_sharpness_map_value, 1); in initStaticMetadata()
9987 int32_t indexPD = getPDStatIndex(gCamCapability[cameraId]); in initStaticMetadata()
9991 gCamCapability[cameraId]->raw_meta_dim[indexPD].width; in initStaticMetadata()
9993 gCamCapability[cameraId]->raw_meta_dim[indexPD].height; in initStaticMetadata()
9995 gCamCapability[cameraId]->raw_meta_dim[indexPD].width * 2; in initStaticMetadata()
10044 reinterpret_cast<uint8_t *>(gCamCapability[cameraId]->pdaf_cal.right_gain_map), in initStaticMetadata()
10045 sizeof(gCamCapability[cameraId]->pdaf_cal.right_gain_map)); in initStaticMetadata()
10049 reinterpret_cast<uint8_t *>(gCamCapability[cameraId]->pdaf_cal.left_gain_map), in initStaticMetadata()
10050 sizeof(gCamCapability[cameraId]->pdaf_cal.left_gain_map)); in initStaticMetadata()
10054 reinterpret_cast<uint8_t *>(gCamCapability[cameraId]->pdaf_cal.conversion_coeff), in initStaticMetadata()
10055 sizeof(gCamCapability[cameraId]->pdaf_cal.conversion_coeff)); in initStaticMetadata()
10061 &(gCamCapability[cameraId]->wb_cal.num_lights), 1); in initStaticMetadata()
10064 const int32_t num_lights = gCamCapability[cameraId]->wb_cal.num_lights; in initStaticMetadata()
10066 gCamCapability[cameraId]->wb_cal.r_over_g, num_lights); in initStaticMetadata()
10070 gCamCapability[cameraId]->wb_cal.b_over_g, num_lights); in initStaticMetadata()
10074 &(gCamCapability[cameraId]->wb_cal.gr_over_gb), 1); in initStaticMetadata()
10090 count = MIN(gCamCapability[cameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in initStaticMetadata()
10091 makeTable(gCamCapability[cameraId]->picture_sizes_tbl, in initStaticMetadata()
10097 count = MIN(gCamCapability[cameraId]->supported_raw_dim_cnt, MAX_SIZES_CNT); in initStaticMetadata()
10098 makeTable(gCamCapability[cameraId]->raw_dim, in initStaticMetadata()
10104 count = MIN(gCamCapability[cameraId]->fps_ranges_tbl_cnt, MAX_SIZES_CNT); in initStaticMetadata()
10105 makeFPSTable(gCamCapability[cameraId]->fps_ranges_tbl, in initStaticMetadata()
10111 gCamCapability[cameraId]->exp_compensation_step.numerator, in initStaticMetadata()
10112 gCamCapability[cameraId]->exp_compensation_step.denominator}; in initStaticMetadata()
10124 count = MIN(gCamCapability[cameraId]->supported_is_types_cnt, count); in initStaticMetadata()
10126 if ((gCamCapability[cameraId]->supported_is_types[i] == IS_TYPE_EIS_2_0) || in initStaticMetadata()
10127 (gCamCapability[cameraId]->supported_is_types[i] == IS_TYPE_EIS_3_0)) { in initStaticMetadata()
10139 uint32_t zoomSteps = gCamCapability[cameraId]->zoom_ratio_tbl_cnt; in initStaticMetadata()
10140 uint32_t maxZoomStep = gCamCapability[cameraId]->zoom_ratio_tbl[zoomSteps - 1]; in initStaticMetadata()
10149 gCamCapability[cameraId]->max_zoom = maxZoom; in initStaticMetadata()
10155 if (gCamCapability[cameraId]->supported_focus_modes_cnt == 1) in initStaticMetadata()
10167 int32_t maxFaces = gCamCapability[cameraId]->max_num_roi; in initStaticMetadata()
10189 uint8_t face_bsgc = gCamCapability[cameraId]->face_bsgc; in initStaticMetadata()
10194 gCamCapability[cameraId]->exposure_compensation_min, in initStaticMetadata()
10195 gCamCapability[cameraId]->exposure_compensation_max}; in initStaticMetadata()
10209 count = MIN(gCamCapability[cameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in initStaticMetadata()
10220 active_array_dim.width = gCamCapability[cameraId]->active_array_size.width; in initStaticMetadata()
10221 active_array_dim.height = gCamCapability[cameraId]->active_array_size.height; in initStaticMetadata()
10257 gCamCapability[cameraId]->supported_raw_dim_cnt); i++) { in initStaticMetadata()
10259 gCamCapability[cameraId]->raw_dim[i], in initStaticMetadata()
10261 config_entry entry(gCamCapability[cameraId]->raw_dim[i].width, in initStaticMetadata()
10262 gCamCapability[cameraId]->raw_dim[i].height, scalar_formats[j], in initStaticMetadata()
10273 gCamCapability[cameraId]->picture_sizes_tbl_cnt); i++) { in initStaticMetadata()
10275 gCamCapability[cameraId]->picture_sizes_tbl[i], in initStaticMetadata()
10278 gCamCapability[cameraId]->picture_sizes_tbl[i].width, in initStaticMetadata()
10279 gCamCapability[cameraId]->picture_sizes_tbl[i].height, in initStaticMetadata()
10282 config_entry entry(gCamCapability[cameraId]->picture_sizes_tbl[i].width, in initStaticMetadata()
10283 gCamCapability[cameraId]->picture_sizes_tbl[i].height, scalar_formats[j], in initStaticMetadata()
10295 gCamCapability[cameraId]->picture_sizes_tbl_cnt); i++) { in initStaticMetadata()
10297 gCamCapability[cameraId]->picture_sizes_tbl[i], in initStaticMetadata()
10299 config_entry entry(gCamCapability[cameraId]->picture_sizes_tbl[i].width, in initStaticMetadata()
10300 gCamCapability[cameraId]->picture_sizes_tbl[i].height, in initStaticMetadata()
10309 if ((gCamCapability[cameraId]->picture_sizes_tbl[i].width in initStaticMetadata()
10310 >= minInputSize.width) || (gCamCapability[cameraId]-> in initStaticMetadata()
10313 gCamCapability[cameraId]->picture_sizes_tbl[i], in initStaticMetadata()
10316 gCamCapability[cameraId]->picture_sizes_tbl[i].width, in initStaticMetadata()
10317 gCamCapability[cameraId]->picture_sizes_tbl[i].height, in initStaticMetadata()
10334 for (size_t i = 0; i < gCamCapability[cameraId]->preview_sizes_tbl_cnt; i++) { in initStaticMetadata()
10336 config_entry entry(gCamCapability[cameraId]->preview_sizes_tbl[i].width, in initStaticMetadata()
10337 gCamCapability[cameraId]->preview_sizes_tbl[i].height, in initStaticMetadata()
10349 for (size_t i = 0; i < gCamCapability[cameraId]->video_sizes_tbl_cnt; i++) { in initStaticMetadata()
10351 config_entry entry(gCamCapability[cameraId]->video_sizes_tbl[i].width, in initStaticMetadata()
10352 gCamCapability[cameraId]->video_sizes_tbl[i].height, in initStaticMetadata()
10364 for (size_t i = 0; i < gCamCapability[cameraId]->livesnapshot_sizes_tbl_cnt; i++) { in initStaticMetadata()
10365 config_entry entry(gCamCapability[cameraId]->livesnapshot_sizes_tbl[i].width, in initStaticMetadata()
10366 gCamCapability[cameraId]->livesnapshot_sizes_tbl[i].height, in initStaticMetadata()
10396 gCamCapability[cameraId]->supported_raw_dim_cnt); i++) { in initStaticMetadata()
10398 available_min_durations.add(gCamCapability[cameraId]->raw_dim[i].width); in initStaticMetadata()
10399 available_min_durations.add(gCamCapability[cameraId]->raw_dim[i].height); in initStaticMetadata()
10400 available_min_durations.add(gCamCapability[cameraId]->raw_min_duration[i]); in initStaticMetadata()
10405 gCamCapability[cameraId]->picture_sizes_tbl_cnt); i++) { in initStaticMetadata()
10407 available_min_durations.add(gCamCapability[cameraId]->picture_sizes_tbl[i].width); in initStaticMetadata()
10408 available_min_durations.add(gCamCapability[cameraId]->picture_sizes_tbl[i].height); in initStaticMetadata()
10409 available_min_durations.add(gCamCapability[cameraId]->picture_min_duration[i]); in initStaticMetadata()
10418 for (size_t i = 0; i < gCamCapability[cameraId]->hfr_tbl_cnt; i++) { in initStaticMetadata()
10420 switch (gCamCapability[cameraId]->hfr_tbl[i].mode) { in initStaticMetadata()
10461 for (size_t j = 0; j < gCamCapability[cameraId]->hfr_tbl[i].dim_cnt && in initStaticMetadata()
10464 gCamCapability[cameraId]->hfr_tbl[i].dim[j].width); in initStaticMetadata()
10466 gCamCapability[cameraId]->hfr_tbl[i].dim[j].height); in initStaticMetadata()
10473 gCamCapability[cameraId]->hfr_tbl[i].dim[j].width); in initStaticMetadata()
10475 gCamCapability[cameraId]->hfr_tbl[i].dim[j].height); in initStaticMetadata()
10500 count = MIN(gCamCapability[cameraId]->supported_effects_cnt, count); in initStaticMetadata()
10503 gCamCapability[cameraId]->supported_effects[i]); in initStaticMetadata()
10517 count = MIN(gCamCapability[cameraId]->supported_scene_modes_cnt, count); in initStaticMetadata()
10519 if (gCamCapability[cameraId]->supported_scene_modes[i] != in initStaticMetadata()
10523 gCamCapability[cameraId]->supported_scene_modes[i]); in initStaticMetadata()
10537 makeOverridesList(gCamCapability[cameraId]->scene_mode_overrides, in initStaticMetadata()
10562 count = MIN(gCamCapability[cameraId]->supported_antibandings_cnt, count); in initStaticMetadata()
10565 gCamCapability[cameraId]->supported_antibandings[i]); in initStaticMetadata()
10581 count = MIN(gCamCapability[cameraId]->aberration_modes_count, count); in initStaticMetadata()
10598 count = MIN(gCamCapability[cameraId]->supported_focus_modes_cnt, count); in initStaticMetadata()
10601 gCamCapability[cameraId]->supported_focus_modes[i]); in initStaticMetadata()
10614 count = MIN(gCamCapability[cameraId]->supported_white_balances_cnt, count); in initStaticMetadata()
10618 gCamCapability[cameraId]->supported_white_balances[i]); in initStaticMetadata()
10630 count = MIN(gCamCapability[cameraId]->supported_flash_firing_level_cnt, in initStaticMetadata()
10634 gCamCapability[cameraId]->supported_firing_levels[i]; in initStaticMetadata()
10640 if (gCamCapability[cameraId]->flash_available) in initStaticMetadata()
10649 count = MIN(gCamCapability[cameraId]->supported_ae_modes_cnt, count); in initStaticMetadata()
10651 uint8_t aeMode = gCamCapability[cameraId]->supported_ae_modes[i]; in initStaticMetadata()
10666 sensitivity_range[0] = gCamCapability[cameraId]->sensitivity_range.min_sensitivity; in initStaticMetadata()
10667 sensitivity_range[1] = gCamCapability[cameraId]->sensitivity_range.max_sensitivity; in initStaticMetadata()
10673 &gCamCapability[cameraId]->max_analog_sensitivity, in initStaticMetadata()
10676 int32_t sensor_orientation = (int32_t)gCamCapability[cameraId]->sensor_mount_angle; in initStaticMetadata()
10695 gCamCapability[cameraId]->focus_dist_calibrated); in initStaticMetadata()
10704 count = MIN(gCamCapability[cameraId]->supported_test_pattern_modes_cnt, in initStaticMetadata()
10708 gCamCapability[cameraId]->supported_test_pattern_modes[i]); in initStaticMetadata()
10746 if (CAM_SENSOR_YUV != gCamCapability[cameraId]->sensor_type.sens_type) { in initStaticMetadata()
10760 uint8_t aeLockAvailable = (gCamCapability[cameraId]->sensor_type.sens_type == CAM_SENSOR_RAW) ? in initStaticMetadata()
10768 uint8_t awbLockAvailable = (gCamCapability[cameraId]->sensor_type.sens_type == CAM_SENSOR_RAW) ? in initStaticMetadata()
10801 gCamCapability[cameraId]->isp_sensitivity_range.min_sensitivity; in initStaticMetadata()
10803 gCamCapability[cameraId]->isp_sensitivity_range.max_sensitivity; in initStaticMetadata()
10858 gCamCapability[cameraId]->reference_illuminant1); in initStaticMetadata()
10865 gCamCapability[cameraId]->reference_illuminant2); in initStaticMetadata()
10872 (void *)gCamCapability[cameraId]->forward_matrix1, in initStaticMetadata()
10876 (void *)gCamCapability[cameraId]->forward_matrix2, in initStaticMetadata()
10880 (void *)gCamCapability[cameraId]->color_transform1, in initStaticMetadata()
10884 (void *)gCamCapability[cameraId]->color_transform2, in initStaticMetadata()
10888 (void *)gCamCapability[cameraId]->calibration_transform1, in initStaticMetadata()
10892 (void *)gCamCapability[cameraId]->calibration_transform2, in initStaticMetadata()
10971 if (gCamCapability[cameraId]->supported_focus_modes_cnt > 1) { in initStaticMetadata()
11123 if (gCamCapability[cameraId]->supported_focus_modes_cnt > 1) { in initStaticMetadata()
11126 if (CAM_SENSOR_RAW == gCamCapability[cameraId]->sensor_type.sens_type) { in initStaticMetadata()
11265 gCamCapability[cameraId]->picture_sizes_tbl_cnt); i++) { in initStaticMetadata()
11267 available_stall_durations.add(gCamCapability[cameraId]->picture_sizes_tbl[i].width); in initStaticMetadata()
11268 … available_stall_durations.add(gCamCapability[cameraId]->picture_sizes_tbl[i].height); in initStaticMetadata()
11269 available_stall_durations.add(gCamCapability[cameraId]->jpeg_stall_durations[i]); in initStaticMetadata()
11273 gCamCapability[cameraId]->supported_raw_dim_cnt); i++) { in initStaticMetadata()
11275 available_stall_durations.add(gCamCapability[cameraId]->raw_dim[i].width); in initStaticMetadata()
11276 available_stall_durations.add(gCamCapability[cameraId]->raw_dim[i].height); in initStaticMetadata()
11277 available_stall_durations.add(gCamCapability[cameraId]->raw16_stall_durations[i]); in initStaticMetadata()
11288 switch (gCamCapability[cameraId]->opaque_raw_fmt) { in initStaticMetadata()
11290 if (gCamCapability[cameraId]->white_level == MAX_VALUE_8BIT) in initStaticMetadata()
11292 else if (gCamCapability[cameraId]->white_level == MAX_VALUE_10BIT) in initStaticMetadata()
11294 else if (gCamCapability[cameraId]->white_level == MAX_VALUE_12BIT) in initStaticMetadata()
11299 if (gCamCapability[cameraId]->white_level == MAX_VALUE_8BIT) in initStaticMetadata()
11301 else if (gCamCapability[cameraId]->white_level == MAX_VALUE_10BIT) in initStaticMetadata()
11303 else if (gCamCapability[cameraId]->white_level == MAX_VALUE_12BIT) in initStaticMetadata()
11309 gCamCapability[cameraId]->opaque_raw_fmt); in initStaticMetadata()
11316 gCamCapability[cameraId]->supported_raw_dim_cnt); i++) { in initStaticMetadata()
11318 strides.add(gCamCapability[cameraId]->raw_dim[i].width); in initStaticMetadata()
11319 strides.add(gCamCapability[cameraId]->raw_dim[i].height); in initStaticMetadata()
11321 mm_stream_calc_offset_raw(&info, &gCamCapability[cameraId]->raw_dim[i], in initStaticMetadata()
11322 &gCamCapability[cameraId]->padding_info, &buf_planes); in initStaticMetadata()
11333 gCamCapability[cameraId]->qcom_supported_feature_mask |= CAM_QCOM_FEATURE_ZIGZAG_HDR; in initStaticMetadata()
11335 if ((gCamCapability[cameraId]->qcom_supported_feature_mask) & in initStaticMetadata()
11349 (const uint8_t*)&gCamCapability[cameraId]->related_cam_calibration, in initStaticMetadata()
11350 sizeof(gCamCapability[cameraId]->related_cam_calibration)); in initStaticMetadata()
11353 (gCamCapability[cameraId]->color_arrangement == CAM_FILTER_ARRANGEMENT_Y); in initStaticMetadata()
11362 gCamCapability[cameraId]->supported_raw_dim_cnt); i++) { in initStaticMetadata()
11365 rc = mm_stream_calc_offset_raw(&info, &gCamCapability[cameraId]->raw_dim[i], in initStaticMetadata()
11366 &gCamCapability[cameraId]->padding_info, &buf_planes); in initStaticMetadata()
11369 opaque_size.add(gCamCapability[cameraId]->raw_dim[i].width); in initStaticMetadata()
11370 opaque_size.add(gCamCapability[cameraId]->raw_dim[i].height); in initStaticMetadata()
11386 if (gCamCapability[cameraId]->supported_ir_mode_cnt > 0) { in initStaticMetadata()
11390 count = MIN(gCamCapability[cameraId]->supported_ir_mode_cnt, count); in initStaticMetadata()
11393 gCamCapability[cameraId]->supported_ir_modes[i]); in initStaticMetadata()
11404 if (gCamCapability[cameraId]->supported_instant_aec_modes_cnt > 0) { in initStaticMetadata()
11408 count = MIN(gCamCapability[cameraId]->supported_instant_aec_modes_cnt, count); in initStaticMetadata()
11411 gCamCapability[cameraId]->supported_instant_aec_modes[i]); in initStaticMetadata()
11423 gCamCapability[cameraId]->sharpness_ctrl.min_value, in initStaticMetadata()
11424 gCamCapability[cameraId]->sharpness_ctrl.max_value}; in initStaticMetadata()
11427 if (gCamCapability[cameraId]->supported_binning_correction_mode_cnt > 0) { in initStaticMetadata()
11431 count = MIN(gCamCapability[cameraId]->supported_binning_correction_mode_cnt, count); in initStaticMetadata()
11435 gCamCapability[cameraId]->supported_binning_modes[i]); in initStaticMetadata()
11446 if (gCamCapability[cameraId]->supported_aec_modes_cnt > 0) { in initStaticMetadata()
11449 count = MIN(gCamCapability[cameraId]->supported_aec_modes_cnt, CAM_AEC_MODE_MAX); in initStaticMetadata()
11452 gCamCapability[cameraId]->supported_aec_modes[i]); in initStaticMetadata()
11461 if (gCamCapability[cameraId]->supported_iso_modes_cnt > 0) { in initStaticMetadata()
11464 count = MIN(gCamCapability[cameraId]->supported_iso_modes_cnt, CAM_ISO_MODE_MAX); in initStaticMetadata()
11467 gCamCapability[cameraId]->supported_iso_modes[i]); in initStaticMetadata()
11478 available_exp_time_range[i] = gCamCapability[cameraId]->exposure_time_range[i]; in initStaticMetadata()
11483 available_saturation_range[0] = gCamCapability[cameraId]->saturation_ctrl.min_value; in initStaticMetadata()
11484 available_saturation_range[1] = gCamCapability[cameraId]->saturation_ctrl.max_value; in initStaticMetadata()
11485 available_saturation_range[2] = gCamCapability[cameraId]->saturation_ctrl.def_value; in initStaticMetadata()
11486 available_saturation_range[3] = gCamCapability[cameraId]->saturation_ctrl.step; in initStaticMetadata()
11504 gCamCapability[cameraId]->eeprom_version_info), in initStaticMetadata()
11505 sizeof(gCamCapability[cameraId]->eeprom_version_info)); in initStaticMetadata()
11508 char *eepromInfo = reinterpret_cast<char *>(gCamCapability[cameraId]->eeprom_version_info); in initStaticMetadata()
11516 gCamCapability[cameraId]->eeprom_version_info, eepromLength); in initStaticMetadata()
11520 gCamCapability[cameraId]->eeprom_version_info, eepromLength); in initStaticMetadata()
11608 focus_count = MIN(gCamCapability[camera_id]->supported_focus_modes_cnt, in makeOverridesList()
11613 overridesList[j] = gCamCapability[camera_id]->flash_available ? in makeOverridesList()
11623 if (gCamCapability[camera_id]->supported_focus_modes[k] == focus_override) { in makeOverridesList()
11688 double s = gCamCapability[mCameraId]->gradient_S * sens + in computeNoiseModelEntryS()
11689 gCamCapability[mCameraId]->offset_S; in computeNoiseModelEntryS()
11705 int32_t max_analog_sens = gCamCapability[mCameraId]->max_analog_sensitivity; in computeNoiseModelEntryO()
11708 double o = gCamCapability[mCameraId]->gradient_O * sens * sens + in computeNoiseModelEntryO()
11709 gCamCapability[mCameraId]->offset_O * digital_gain * digital_gain; in computeNoiseModelEntryO()
11814 if (NULL == gCamCapability[cameraId]) { in isStreamCombinationSupported()
11875 if (NULL == gCamCapability[cameraId]) { in getCamInfo()
11891 switch(gCamCapability[cameraId]->position) { in getCamInfo()
11904 gCamCapability[cameraId]->position, cameraId); in getCamInfo()
11910 info->orientation = (int)gCamCapability[cameraId]->sensor_mount_angle; in getCamInfo()
11927 i < gCamCapability[cameraId]->fps_ranges_tbl_cnt; i++) { in getCamInfo()
11928 if (max_fps < gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps) in getCamInfo()
11929 max_fps = gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps; in getCamInfo()
11932 gCamCapability[cameraId]->active_array_size.width * in getCamInfo()
11933 gCamCapability[cameraId]->active_array_size.height * max_fps / in getCamInfo()
11934 gCamCapability[cameraId]->max_pixel_bandwidth; in getCamInfo()
12029 for (size_t i = 0; i < gCamCapability[mCameraId]->aberration_modes_count; i++) { in translateCapabilityToMetadata()
12030 if (gCamCapability[mCameraId]->aberration_modes[i] == in translateCapabilityToMetadata()
12033 } else if (gCamCapability[mCameraId]->aberration_modes[i] == in translateCapabilityToMetadata()
12043 if (CAM_SENSOR_RAW == gCamCapability[mCameraId]->sensor_type.sens_type) { in translateCapabilityToMetadata()
12109 if (gCamCapability[mCameraId]->aberration_modes_count == 0) { in translateCapabilityToMetadata()
12115 if (gCamCapability[mCameraId]->supported_focus_modes_cnt == 1) { in translateCapabilityToMetadata()
12122 if (gCamCapability[mCameraId]->optical_stab_modes_count == 1 && in translateCapabilityToMetadata()
12123 gCamCapability[mCameraId]->optical_stab_modes[0] == CAM_OPT_STAB_ON) in translateCapabilityToMetadata()
12125 else if ((gCamCapability[mCameraId]->optical_stab_modes_count == 1 && in translateCapabilityToMetadata()
12126 gCamCapability[mCameraId]->optical_stab_modes[0] == CAM_OPT_STAB_OFF) in translateCapabilityToMetadata()
12133 &gCamCapability[mCameraId]->exposure_compensation_default, 1); in translateCapabilityToMetadata()
12165 float default_aperture = gCamCapability[mCameraId]->apertures[0]; in translateCapabilityToMetadata()
12168 if (gCamCapability[mCameraId]->filter_densities_count) { in translateCapabilityToMetadata()
12169 float default_filter_density = gCamCapability[mCameraId]->filter_densities[0]; in translateCapabilityToMetadata()
12171 gCamCapability[mCameraId]->filter_densities_count); in translateCapabilityToMetadata()
12174 float default_focal_length = gCamCapability[mCameraId]->focal_length; in translateCapabilityToMetadata()
12201 int64_t default_exposure_time = gCamCapability[mCameraId]->exposure_time_range[0]; in translateCapabilityToMetadata()
12213 gCamCapability[mCameraId]->isp_sensitivity_range.min_sensitivity; in translateCapabilityToMetadata()
12239 scaler_crop_region[2] = gCamCapability[mCameraId]->active_array_size.width; in translateCapabilityToMetadata()
12240 scaler_crop_region[3] = gCamCapability[mCameraId]->active_array_size.height; in translateCapabilityToMetadata()
12258 for (uint32_t i = 0; i < gCamCapability[mCameraId]->fps_ranges_tbl_cnt; in translateCapabilityToMetadata()
12260 if (gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps > in translateCapabilityToMetadata()
12264 float range = gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps - in translateCapabilityToMetadata()
12265 gCamCapability[mCameraId]->fps_ranges_tbl[i].min_fps; in translateCapabilityToMetadata()
12271 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].min_fps; in translateCapabilityToMetadata()
12273 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
12278 gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps) { in translateCapabilityToMetadata()
12280 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].min_fps; in translateCapabilityToMetadata()
12282 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
12283 max_fixed_fps = gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
12299 gCamCapability[mCameraId]->active_array_size.left, in translateCapabilityToMetadata()
12300 gCamCapability[mCameraId]->active_array_size.top, in translateCapabilityToMetadata()
12301 gCamCapability[mCameraId]->active_array_size.left + in translateCapabilityToMetadata()
12302 gCamCapability[mCameraId]->active_array_size.width, in translateCapabilityToMetadata()
12303 gCamCapability[mCameraId]->active_array_size.top + in translateCapabilityToMetadata()
12304 gCamCapability[mCameraId]->active_array_size.height, in translateCapabilityToMetadata()
13111 for (size_t i = 0; i < gCamCapability[mCameraId]->aberration_modes_count; i++) { in translateFwkMetadataToHalMetadata()
13112 if (gCamCapability[mCameraId]->aberration_modes[i] == cacMode) { in translateFwkMetadataToHalMetadata()
13122 if (gCamCapability[mCameraId]->aberration_modes_count == 0) { in translateFwkMetadataToHalMetadata()
13205 if (expCompensation < gCamCapability[mCameraId]->exposure_compensation_min) in translateFwkMetadataToHalMetadata()
13206 expCompensation = gCamCapability[mCameraId]->exposure_compensation_min; in translateFwkMetadataToHalMetadata()
13207 if (expCompensation > gCamCapability[mCameraId]->exposure_compensation_max) in translateFwkMetadataToHalMetadata()
13208 expCompensation = gCamCapability[mCameraId]->exposure_compensation_max; in translateFwkMetadataToHalMetadata()
13334 gCamCapability[mCameraId]->sharpness_ctrl.def_value; //default in translateFwkMetadataToHalMetadata()
13338 if (sharpness >= gCamCapability[mCameraId]->sharpness_ctrl.min_value && in translateFwkMetadataToHalMetadata()
13339 sharpness <= gCamCapability[mCameraId]->sharpness_ctrl.max_value) { in translateFwkMetadataToHalMetadata()
13483 gCamCapability[mCameraId]->max_zoom); in translateFwkMetadataToHalMetadata()
13512 if (sensorFrameDuration > gCamCapability[mCameraId]->max_frame_duration) in translateFwkMetadataToHalMetadata()
13513 sensorFrameDuration = gCamCapability[mCameraId]->max_frame_duration; in translateFwkMetadataToHalMetadata()
13523 if (sensorSensitivity < gCamCapability[mCameraId]->sensitivity_range.min_sensitivity) in translateFwkMetadataToHalMetadata()
13524 sensorSensitivity = gCamCapability[mCameraId]->sensitivity_range.min_sensitivity; in translateFwkMetadataToHalMetadata()
13525 if (sensorSensitivity > gCamCapability[mCameraId]->sensitivity_range.max_sensitivity) in translateFwkMetadataToHalMetadata()
13526 sensorSensitivity = gCamCapability[mCameraId]->sensitivity_range.max_sensitivity; in translateFwkMetadataToHalMetadata()
13539 gCamCapability[mCameraId]->isp_sensitivity_range.min_sensitivity) { in translateFwkMetadataToHalMetadata()
13541 gCamCapability[mCameraId]->isp_sensitivity_range.min_sensitivity; in translateFwkMetadataToHalMetadata()
13545 gCamCapability[mCameraId]->isp_sensitivity_range.max_sensitivity) { in translateFwkMetadataToHalMetadata()
13547 gCamCapability[mCameraId]->isp_sensitivity_range.max_sensitivity; in translateFwkMetadataToHalMetadata()
13862 switch (gCamCapability[mCameraId]->color_arrangement) { in translateFwkMetadataToHalMetadata()
13875 gCamCapability[mCameraId]->color_arrangement); in translateFwkMetadataToHalMetadata()
14022 gCamCapability[mCameraId]->exp_compensation_step)) { in translateFwkMetadataToHalMetadata()
14593 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in setSensorHDR()
14600 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in setSensorHDR()
14607 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in setSensorHDR()
14647 if ((gCamCapability[mCameraId]->qcom_supported_feature_mask & CAM_QCOM_FEATURE_ROTATION) > 0) { in needRotationReprocess()
14668 if (gCamCapability[mCameraId]->qcom_supported_feature_mask > 0) { in needReprocess()
14695 if (!(gCamCapability[mCameraId]->qcom_supported_feature_mask & CAM_QCOM_FEATURE_ROTATION)) { in needJpegExifRotation()
14741 if (gCamCapability[mCameraId]->qcom_supported_feature_mask in addOfflineReprocChannel()
14747 if (!(gCamCapability[mCameraId]->qcom_supported_feature_mask & CAM_QCOM_FEATURE_ROTATION)) { in addOfflineReprocChannel()
14937 cam_capability_t* camCapability = gCamCapability[cameraId]; in getFlashInfo()
14961 return (const char *)&gCamCapability[mCameraId]->eeprom_version_info[0]; in getEepromVersionInfo()
15561 return gCamCapability[mCameraId]->sensor_mount_angle; in getSensorMountAngle()
15576 &(gCamCapability[mCameraId]->related_cam_calibration); in getRelatedCalibrationData()
15980 zoomRatio = MIN(MAX(zoomRatioEntry.data.f[0], 1.0f), gCamCapability[mCameraId]->max_zoom); in trySubmittingHdrPlusRequestLocked()
15987 int32_t scalerRegion[4] = {0, 0, gCamCapability[mCameraId]->active_array_size.width, in trySubmittingHdrPlusRequestLocked()
15988 gCamCapability[mCameraId]->active_array_size.height}; in trySubmittingHdrPlusRequestLocked()
16012 gCamCapability[mCameraId]->active_array_size.width, in trySubmittingHdrPlusRequestLocked()
16013 gCamCapability[mCameraId]->active_array_size.height)) { in trySubmittingHdrPlusRequestLocked()