• Home
  • Raw
  • Download

Lines Matching refs:mCameraId

475     : mCameraId(cameraId),  in QCamera3HardwareInterface()
932 mCameraId); in openCamera()
992 mCameraId, rc); in openCamera()
1019 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()
1022 mCameraId); in openCamera()
1026 rc = camera_open((uint8_t)mCameraId, &mCameraHandle); in openCamera()
1075 &sessionId[mCameraId]); in openCamera()
1108 LOGH("mCameraId=%d",mCameraId); in openCamera()
1131 mCameraId); in closeCamera()
1148 sessionId[mCameraId] = 0xDEADBEEF; in closeCamera()
1167 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera()
1169 mCameraId); in closeCamera()
1173 mCameraId, rc); in closeCamera()
1214 LOGI("E :mCameraId = %d mState = %d", mCameraId, mState); in initialize()
1720 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in addToPPFeatureMask()
1724 if ((m_bIsVideo) && (gCamCapability[mCameraId]->qcom_supported_feature_mask & in addToPPFeatureMask()
2162 auto rc = validateStreamCombination(mCameraId, streamList, &streamStatus); in configureStreamsPerfLocked()
2240 cam_padding_info_t padding_info = gCamCapability[mCameraId]->padding_info; in configureStreamsPerfLocked()
2266 (gCamCapability[mCameraId]->position == CAM_POSITION_BACK || in configureStreamsPerfLocked()
2267 gCamCapability[mCameraId]->position == CAM_POSITION_BACK_AUX); in configureStreamsPerfLocked()
2417 gCamCapability[mCameraId]->position == CAM_POSITION_BACK; in configureStreamsPerfLocked()
2419 gCamCapability[mCameraId]->position == CAM_POSITION_BACK; in configureStreamsPerfLocked()
2427 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
2457 bool isFront = gCamCapability[mCameraId]->position == CAM_POSITION_FRONT; in configureStreamsPerfLocked()
2496 p_info = get_cam_info(mCameraId, &mStreamConfigInfo.sync_type); in configureStreamsPerfLocked()
2607 if (!(gCamCapability[mCameraId]->qcom_supported_feature_mask & in configureStreamsPerfLocked()
2656 gCamCapability[mCameraId]->sub_fmt[mPDIndex]; in configureStreamsPerfLocked()
2658 gCamCapability[mCameraId]->supported_meta_raw_fmts[mPDIndex]; in configureStreamsPerfLocked()
2660 gCamCapability[mCameraId]->dt[mPDIndex]; in configureStreamsPerfLocked()
2662 gCamCapability[mCameraId]->vc[mPDIndex]; in configureStreamsPerfLocked()
2675 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
2725 setBufferErrorStatus, &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
2765 setBufferErrorStatus, &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
2894 if (gCamCapability[mCameraId]->position == CAM_POSITION_FRONT || in configureStreamsPerfLocked()
2916 padding_info = gCamCapability[mCameraId]->padding_info; in configureStreamsPerfLocked()
2948 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
2967 gCamCapability[mCameraId]->color_arrangement, in configureStreamsPerfLocked()
2981 rawDumpSize = getMaxRawSize(mCameraId); in configureStreamsPerfLocked()
2985 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3017 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3034 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3042 if (gCamCapability[mCameraId]->color_arrangement != CAM_FILTER_ARRANGEMENT_Y) { in configureStreamsPerfLocked()
3050 &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
3056 gCamCapability[mCameraId]->color_arrangement, in configureStreamsPerfLocked()
3074 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3080 rawSize = getMaxRawSize(mCameraId); in configureStreamsPerfLocked()
3089 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3095 rawSize = getMaxRawSize(mCameraId); in configureStreamsPerfLocked()
3101 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3113 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3117 setBufferErrorStatus, &gCamCapability[mCameraId]->padding_info, in configureStreamsPerfLocked()
3139 gCamCapability[mCameraId]->color_arrangement); in configureStreamsPerfLocked()
3236 count = MIN(gCamCapability[mCameraId]->supported_is_types_cnt, count); in configureStreamsPerfLocked()
3238 if (gCamCapability[mCameraId]->supported_is_types[i] == IS_TYPE_EIS_3_0) { in configureStreamsPerfLocked()
3557 size_t count = MIN(gCamCapability[mCameraId]->supported_raw_dim_cnt, in deriveMinFrameDuration()
3568 int32_t dimension = gCamCapability[mCameraId]->raw_dim[i].width * in deriveMinFrameDuration()
3569 gCamCapability[mCameraId]->raw_dim[i].height; in deriveMinFrameDuration()
3577 if (maxRawDim == gCamCapability[mCameraId]->raw_dim[i].width * in deriveMinFrameDuration()
3578 gCamCapability[mCameraId]->raw_dim[i].height) { in deriveMinFrameDuration()
3579 mMinRawFrameDuration = gCamCapability[mCameraId]->raw_min_duration[i]; in deriveMinFrameDuration()
3583 count = MIN(gCamCapability[mCameraId]->picture_sizes_tbl_cnt, MAX_SIZES_CNT); in deriveMinFrameDuration()
3586 gCamCapability[mCameraId]->picture_sizes_tbl[i].width * in deriveMinFrameDuration()
3587 gCamCapability[mCameraId]->picture_sizes_tbl[i].height) { in deriveMinFrameDuration()
3588 mMinProcessedFrameDuration = gCamCapability[mCameraId]->picture_min_duration[i]; in deriveMinFrameDuration()
3589 mMinJpegFrameDuration = gCamCapability[mCameraId]->picture_min_duration[i]; in deriveMinFrameDuration()
3989 if (!gCamCapability[mCameraId]->timestamp_calibrated) { in handleMetadataWithLock()
4213 gCamCapability[mCameraId]->active_array_size.width, in handleMetadataWithLock()
4214 gCamCapability[mCameraId]->active_array_size.height, in handleMetadataWithLock()
5366 mCropRegionMapper.update(gCamCapability[mCameraId]->active_array_size.width, in processCaptureRequest()
5367 gCamCapability[mCameraId]->active_array_size.height, in processCaptureRequest()
5475 LOGH("Dualcam: setting On=%d id =%d", mIsDeviceLinked, mCameraId); in processCaptureRequest()
5479 LOGH("Dualcam: Is this main camera = %d id =%d", mIsMainCamera, mCameraId); in processCaptureRequest()
5483 LOGH("Dualcam: Linked camera Id %d id =%d", mLinkedCameraId, mCameraId); in processCaptureRequest()
5486 (mLinkedCameraId != mCameraId) ) { in processCaptureRequest()
5488 mLinkedCameraId, mCameraId); in processCaptureRequest()
5495 LOGH("%s: Dualcam: id =%d, mIsDeviceLinked=%d", __func__,mCameraId, mIsDeviceLinked); in processCaptureRequest()
6448 rc = gEaselManagerClient->startMipi(mCameraId, mSensorModeInfo.op_pixel_clk, in startChannelLocked()
6452 mCameraId, mSensorModeInfo.op_pixel_clk); in startChannelLocked()
6479 int32_t rc = gEaselManagerClient->stopMipi(mCameraId); in stopChannelLocked()
7440 if (!gCamCapability[mCameraId]->flash_available) { in translateFromHalMetadata()
7503 gCamCapability[mCameraId]->color_arrangement); in translateFromHalMetadata()
7529 &gCamCapability[mCameraId]->white_level, 1); in translateFromHalMetadata()
7586 double noise_profile[2 * gCamCapability[mCameraId]->num_color_channels]; in translateFromHalMetadata()
7587 for (int i = 0; i < 2 * gCamCapability[mCameraId]->num_color_channels; i += 2) { in translateFromHalMetadata()
7594 (size_t) (2 * gCamCapability[mCameraId]->num_color_channels)); in translateFromHalMetadata()
7840 size_t map_height = MIN((size_t)gCamCapability[mCameraId]->lens_shading_map_size.height, in translateFromHalMetadata()
7842 size_t map_width = MIN((size_t)gCamCapability[mCameraId]->lens_shading_map_size.width, in translateFromHalMetadata()
7948 switch (gCamCapability[mCameraId]->color_arrangement) { in translateFromHalMetadata()
7961 gCamCapability[mCameraId]->color_arrangement); in translateFromHalMetadata()
8339 if (gCamCapability[mCameraId]->aberration_modes_count == 0) { in translateFromHalMetadata()
8549 if (mCameraId == 0) { in translateFromHalMetadata()
8550 const camera_metadata_t *staticInfo = gStaticMetadata[mCameraId]; in translateFromHalMetadata()
9471 if(gCamCapability[mCameraId]) in get3AVersion()
9472 sw_version = gCamCapability[mCameraId]->q3a_version; in get3AVersion()
9617 for (size_t i = 0; i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt; i++) { in calcMaxJpegDim()
9618 curr_jpeg_dim.width = gCamCapability[mCameraId]->picture_sizes_tbl[i].width; in calcMaxJpegDim()
9619 curr_jpeg_dim.height = gCamCapability[mCameraId]->picture_sizes_tbl[i].height; in calcMaxJpegDim()
11636 double s = gCamCapability[mCameraId]->gradient_S * sens + in computeNoiseModelEntryS()
11637 gCamCapability[mCameraId]->offset_S; in computeNoiseModelEntryS()
11653 int32_t max_analog_sens = gCamCapability[mCameraId]->max_analog_sensitivity; in computeNoiseModelEntryO()
11656 double o = gCamCapability[mCameraId]->gradient_O * sens * sens + in computeNoiseModelEntryO()
11657 gCamCapability[mCameraId]->offset_O * digital_gain * digital_gain; in computeNoiseModelEntryO()
11977 for (size_t i = 0; i < gCamCapability[mCameraId]->aberration_modes_count; i++) { in translateCapabilityToMetadata()
11978 if (gCamCapability[mCameraId]->aberration_modes[i] == in translateCapabilityToMetadata()
11981 } else if (gCamCapability[mCameraId]->aberration_modes[i] == in translateCapabilityToMetadata()
11991 if (CAM_SENSOR_RAW == gCamCapability[mCameraId]->sensor_type.sens_type) { in translateCapabilityToMetadata()
12057 if (gCamCapability[mCameraId]->aberration_modes_count == 0) { in translateCapabilityToMetadata()
12063 if (gCamCapability[mCameraId]->supported_focus_modes_cnt == 1) { in translateCapabilityToMetadata()
12070 if (gCamCapability[mCameraId]->optical_stab_modes_count == 1 && in translateCapabilityToMetadata()
12071 gCamCapability[mCameraId]->optical_stab_modes[0] == CAM_OPT_STAB_ON) in translateCapabilityToMetadata()
12073 else if ((gCamCapability[mCameraId]->optical_stab_modes_count == 1 && in translateCapabilityToMetadata()
12074 gCamCapability[mCameraId]->optical_stab_modes[0] == CAM_OPT_STAB_OFF) in translateCapabilityToMetadata()
12081 &gCamCapability[mCameraId]->exposure_compensation_default, 1); in translateCapabilityToMetadata()
12113 float default_aperture = gCamCapability[mCameraId]->apertures[0]; in translateCapabilityToMetadata()
12116 if (gCamCapability[mCameraId]->filter_densities_count) { in translateCapabilityToMetadata()
12117 float default_filter_density = gCamCapability[mCameraId]->filter_densities[0]; in translateCapabilityToMetadata()
12119 gCamCapability[mCameraId]->filter_densities_count); in translateCapabilityToMetadata()
12122 float default_focal_length = gCamCapability[mCameraId]->focal_length; in translateCapabilityToMetadata()
12149 int64_t default_exposure_time = gCamCapability[mCameraId]->exposure_time_range[0]; in translateCapabilityToMetadata()
12161 gCamCapability[mCameraId]->isp_sensitivity_range.min_sensitivity; in translateCapabilityToMetadata()
12187 scaler_crop_region[2] = gCamCapability[mCameraId]->active_array_size.width; in translateCapabilityToMetadata()
12188 scaler_crop_region[3] = gCamCapability[mCameraId]->active_array_size.height; in translateCapabilityToMetadata()
12203 for (uint32_t i = 0; i < gCamCapability[mCameraId]->fps_ranges_tbl_cnt; in translateCapabilityToMetadata()
12205 if (gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps > in translateCapabilityToMetadata()
12209 float range = gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps - in translateCapabilityToMetadata()
12210 gCamCapability[mCameraId]->fps_ranges_tbl[i].min_fps; in translateCapabilityToMetadata()
12216 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].min_fps; in translateCapabilityToMetadata()
12218 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
12223 gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps) { in translateCapabilityToMetadata()
12225 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].min_fps; in translateCapabilityToMetadata()
12227 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
12228 max_fixed_fps = gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
12244 gCamCapability[mCameraId]->active_array_size.left, in translateCapabilityToMetadata()
12245 gCamCapability[mCameraId]->active_array_size.top, in translateCapabilityToMetadata()
12246 gCamCapability[mCameraId]->active_array_size.left + in translateCapabilityToMetadata()
12247 gCamCapability[mCameraId]->active_array_size.width, in translateCapabilityToMetadata()
12248 gCamCapability[mCameraId]->active_array_size.top + in translateCapabilityToMetadata()
12249 gCamCapability[mCameraId]->active_array_size.height, in translateCapabilityToMetadata()
12317 uint8_t related_camera_id = mCameraId; in translateCapabilityToMetadata()
12350 if (mCameraId == 0) { in translateCapabilityToMetadata()
12774 crop_meta.crop.width, crop_meta.crop.height, mCameraId); in setReprocParameters()
12777 crop_meta.roi_map.width, crop_meta.roi_map.height, mCameraId); in setReprocParameters()
12790 scale_dim.width, scale_dim.height, mCameraId); in setReprocParameters()
13056 for (size_t i = 0; i < gCamCapability[mCameraId]->aberration_modes_count; i++) { in translateFwkMetadataToHalMetadata()
13057 if (gCamCapability[mCameraId]->aberration_modes[i] == cacMode) { in translateFwkMetadataToHalMetadata()
13067 if (gCamCapability[mCameraId]->aberration_modes_count == 0) { in translateFwkMetadataToHalMetadata()
13150 if (expCompensation < gCamCapability[mCameraId]->exposure_compensation_min) in translateFwkMetadataToHalMetadata()
13151 expCompensation = gCamCapability[mCameraId]->exposure_compensation_min; in translateFwkMetadataToHalMetadata()
13152 if (expCompensation > gCamCapability[mCameraId]->exposure_compensation_max) in translateFwkMetadataToHalMetadata()
13153 expCompensation = gCamCapability[mCameraId]->exposure_compensation_max; in translateFwkMetadataToHalMetadata()
13279 gCamCapability[mCameraId]->sharpness_ctrl.def_value; //default in translateFwkMetadataToHalMetadata()
13283 if (sharpness >= gCamCapability[mCameraId]->sharpness_ctrl.min_value && in translateFwkMetadataToHalMetadata()
13284 sharpness <= gCamCapability[mCameraId]->sharpness_ctrl.max_value) { in translateFwkMetadataToHalMetadata()
13450 if (sensorFrameDuration > gCamCapability[mCameraId]->max_frame_duration) in translateFwkMetadataToHalMetadata()
13451 sensorFrameDuration = gCamCapability[mCameraId]->max_frame_duration; in translateFwkMetadataToHalMetadata()
13461 if (sensorSensitivity < gCamCapability[mCameraId]->sensitivity_range.min_sensitivity) in translateFwkMetadataToHalMetadata()
13462 sensorSensitivity = gCamCapability[mCameraId]->sensitivity_range.min_sensitivity; in translateFwkMetadataToHalMetadata()
13463 if (sensorSensitivity > gCamCapability[mCameraId]->sensitivity_range.max_sensitivity) in translateFwkMetadataToHalMetadata()
13464 sensorSensitivity = gCamCapability[mCameraId]->sensitivity_range.max_sensitivity; in translateFwkMetadataToHalMetadata()
13477 gCamCapability[mCameraId]->isp_sensitivity_range.min_sensitivity) { in translateFwkMetadataToHalMetadata()
13479 gCamCapability[mCameraId]->isp_sensitivity_range.min_sensitivity; in translateFwkMetadataToHalMetadata()
13483 gCamCapability[mCameraId]->isp_sensitivity_range.max_sensitivity) { in translateFwkMetadataToHalMetadata()
13485 gCamCapability[mCameraId]->isp_sensitivity_range.max_sensitivity; in translateFwkMetadataToHalMetadata()
13799 switch (gCamCapability[mCameraId]->color_arrangement) { in translateFwkMetadataToHalMetadata()
13812 gCamCapability[mCameraId]->color_arrangement); in translateFwkMetadataToHalMetadata()
13959 gCamCapability[mCameraId]->exp_compensation_step)) { in translateFwkMetadataToHalMetadata()
14332 LOGI("[KPI Perf]: E camera id %d", hw->mCameraId); in close_camera_device()
14530 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in setSensorHDR()
14537 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in setSensorHDR()
14544 if (gCamCapability[mCameraId]->qcom_supported_feature_mask & in setSensorHDR()
14584 if ((gCamCapability[mCameraId]->qcom_supported_feature_mask & CAM_QCOM_FEATURE_ROTATION) > 0) { in needRotationReprocess()
14605 if (gCamCapability[mCameraId]->qcom_supported_feature_mask > 0) { in needReprocess()
14632 if (!(gCamCapability[mCameraId]->qcom_supported_feature_mask & CAM_QCOM_FEATURE_ROTATION)) { in needJpegExifRotation()
14678 if (gCamCapability[mCameraId]->qcom_supported_feature_mask in addOfflineReprocChannel()
14684 if (!(gCamCapability[mCameraId]->qcom_supported_feature_mask & CAM_QCOM_FEATURE_ROTATION)) { in addOfflineReprocChannel()
14898 return (const char *)&gCamCapability[mCameraId]->eeprom_version_info[0]; in getEepromVersionInfo()
15472 return gCamCapability[mCameraId]->sensor_mount_angle; in getSensorMountAngle()
15487 &(gCamCapability[mCameraId]->related_cam_calibration); in getRelatedCalibrationData()
15889 int32_t scalerRegion[4] = {0, 0, gCamCapability[mCameraId]->active_array_size.width, in trySubmittingHdrPlusRequestLocked()
15890 gCamCapability[mCameraId]->active_array_size.height}; in trySubmittingHdrPlusRequestLocked()
15907 gCamCapability[mCameraId]->active_array_size.width, in trySubmittingHdrPlusRequestLocked()
15908 gCamCapability[mCameraId]->active_array_size.height)) { in trySubmittingHdrPlusRequestLocked()
16044 inputConfig.sensorMode.cameraId = mCameraId; in configureHdrPlusStreamsLocked()
16170 status_t res = gHdrPlusClient->setStaticMetadata(*gStaticMetadata[mCameraId]); in onOpened()