Home | History | Annotate | Download | only in HAL3

Lines Matching refs:gCamCapability

53 cam_capability_t *gCamCapability[MM_CAMERA_MAX_NUM_SENSORS];
191 gCamCapability[cameraId]->version = CAM_HAL_V3;
194 gCamCapability[cameraId]->min_num_pp_bufs = 3;
565 &gCamCapability[mCameraId]->padding_info, this);
665 &gCamCapability[mCameraId]->padding_info, this, newStream,
670 &gCamCapability[mCameraId]->padding_info, this, newStream);
683 &gCamCapability[mCameraId]->padding_info, this, newStream);
914 mMinRawFrameDuration = gCamCapability[mCameraId]->raw_min_duration;
915 for (int i = 0; i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt; i++) {
917 gCamCapability[mCameraId]->picture_sizes_tbl[i].width *
918 gCamCapability[mCameraId]->picture_sizes_tbl[i].height) {
919 mMinProcessedFrameDuration = gCamCapability[mCameraId]->jpeg_min_duration[i];
920 mMinJpegFrameDuration = gCamCapability[mCameraId]->jpeg_min_duration[i];
2013 int map_height = gCamCapability[mCameraId]->lens_shading_map_size.height;
2014 int map_width = gCamCapability[mCameraId]->lens_shading_map_size.width;
2397 gCamCapability
2398 if (!gCamCapability[cameraId]) {
2402 memcpy(gCamCapability[cameraId], DATA_PTR(capabilityHeap,0),
2498 for (int i = 0; i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt; i++) {
2499 temp_width = gCamCapability[mCameraId]->picture_sizes_tbl[i].width;
2500 temp_height = gCamCapability[mCameraId]->picture_sizes_tbl[i].height;
2531 int facingBack = gCamCapability[cameraId]->position == CAM_POSITION_BACK;
2534 &gCamCapability[cameraId]->min_focus_distance, 1); */
2547 &gCamCapability[cameraId]->hyper_focal_distance, 1);
2551 &gCamCapability[cameraId]->focal_length,
2555 gCamCapability[cameraId]->apertures,
2556 gCamCapability[cameraId]->apertures_count);
2559 gCamCapability[cameraId]->filter_densities,
2560 gCamCapability[cameraId]->filter_densities_count);
2564 (uint8_t*)gCamCapability[cameraId]->optical_stab_modes,
2565 gCamCapability[cameraId]->optical_stab_modes_count);
2568 gCamCapability[cameraId]->lens_position,
2569 sizeof(gCamCapability[cameraId]->lens_position)/ sizeof(float));
2571 int32_t lens_shading_map_size[] = {gCamCapability[cameraId]->lens_shading_map_size.width,
2572 gCamCapability[cameraId]->lens_shading_map_size.height};
2577 int32_t geo_correction_map_size[] = {gCamCapability[cameraId]->geo_correction_map_size.width,
2578 gCamCapability[cameraId]->geo_correction_map_size.height};
2584 gCamCapability[cameraId]->geo_correction_map,
2585 sizeof(gCamCapability[cameraId]->geo_correction_map)/sizeof(float));
2588 gCamCapability[cameraId]->sensor_physical_size, 2);
2591 gCamCapability[cameraId]->exposure_time_range, 2);
2594 &gCamCapability[cameraId]->max_frame_duration, 1);
2597 gCamCapability[cameraId]->base_gain_factor.numerator,
2598 gCamCapability[cameraId]->base_gain_factor.denominator};
2603 (uint8_t*)&gCamCapability[cameraId]->color_arrangement, 1);
2605 int32_t pixel_array_size[] = {gCamCapability[cameraId]->pixel_array_size.width,
2606 gCamCapability[cameraId]->pixel_array_size.height};
2611 gCamCapability[cameraId]->active_array_size.width,
2612 gCamCapability[cameraId]->active_array_size.height};
2617 &gCamCapability[cameraId]->white_level, 1);
2620 gCamCapability[cameraId]->black_level_pattern, 4);
2623 &gCamCapability[cameraId]->flash_charge_duration, 1);
2626 &gCamCapability[cameraId]->max_tone_map_curve_points, 1);
2629 (int*)&gCamCapability[cameraId]->max_num_roi, 1);
2632 &gCamCapability[cameraId]->histogram_size, 1);
2635 &gCamCapability[cameraId]->max_histogram_count, 1);
2637 int32_t sharpness_map_size[] = {gCamCapability[cameraId]->sharpness_map_size.width,
2638 gCamCapability[cameraId]->sharpness_map_size.height};
2644 &gCamCapability[cameraId]->max_sharpness_map_value, 1);
2648 &gCamCapability[cameraId]->raw_min_duration,
2659 makeTable(gCamCapability[cameraId]->picture_sizes_tbl,
2660 gCamCapability[cameraId]->picture_sizes_tbl_cnt,
2664 (gCamCapability[cameraId]->picture_sizes_tbl_cnt) * 2);
2667 &gCamCapability[cameraId]->jpeg_min_duration[0],
2668 gCamCapability[cameraId]->picture_sizes_tbl_cnt);
2671 makeFPSTable(gCamCapability[cameraId]->fps_ranges_tbl,
2672 gCamCapability[cameraId]->fps_ranges_tbl_cnt,
2675 available_fps_ranges, (gCamCapability[cameraId]->fps_ranges_tbl_cnt*2) );
2678 gCamCapability[cameraId]->exp_compensation_step.numerator,
2679 gCamCapability[cameraId]->exp_compensation_step.denominator};
2709 int32_t exposureCompensationRange[] = {gCamCapability[cameraId]->exposure_compensation_min,
2710 gCamCapability[cameraId]->exposure_compensation_max};
2721 (gCamCapability[cameraId]->picture_sizes_tbl_cnt * 2));
2729 for (int i = 0; i < gCamCapability[cameraId]->picture_sizes_tbl_cnt; i++) {
2730 temp_width = gCamCapability[cameraId]->picture_sizes_tbl[i].width;
2731 temp_height = gCamCapability[cameraId]->picture_sizes_tbl[i].height;
2742 for (int i = 0; i < gCamCapability[cameraId]->supported_effects_cnt; i++) {
2745 gCamCapability[cameraId]->supported_effects[i]);
2758 for (int i = 0; i < gCamCapability[cameraId]->supported_scene_modes_cnt; i++) {
2761 gCamCapability[cameraId]->supported_scene_modes[i]);
2774 makeOverridesList(gCamCapability[cameraId]->scene_mode_overrides,
2785 for (int i = 0; i < gCamCapability[cameraId]->supported_antibandings_cnt; i++) {
2788 gCamCapability[cameraId]->supported_antibandings[i]);
2801 for (int i = 0; i < gCamCapability[cameraId]->supported_focus_modes_cnt; i++) {
2804 gCamCapability[cameraId]->supported_focus_modes[i]);
2816 for (int i = 0; i < gCamCapability[cameraId]->supported_white_balances_cnt; i++) {
2819 gCamCapability[cameraId]->supported_white_balances[i]);
2830 for (int i = 0; i < gCamCapability[cameraId]->supported_flash_firing_level_cnt; i++)
2831 available_flash_levels[i] = gCamCapability[cameraId]->supported_firing_levels[i];
2835 gCamCapability[cameraId]->supported_flash_firing_level_cnt);
2838 uint8_t flashAvailable = gCamCapability[cameraId]->flash_available;
2844 for (int i = 0; i < gCamCapability[cameraId]->supported_ae_modes_cnt; i++) {
2845 avail_ae_modes[i] = gCamCapability[cameraId]->supported_ae_modes[i];
2858 sensitivity_range[0] = gCamCapability[cameraId]->sensitivity_range.min_sensitivity;
2859 sensitivity_range[1] = gCamCapability[cameraId]->sensitivity_range.max_sensitivity;
2865 &gCamCapability[cameraId]->max_analog_sensitivity,
2869 &gCamCapability[cameraId]->jpeg_min_duration[0],
2870 gCamCapability[cameraId]->picture_sizes_tbl_cnt);
2872 int32_t sensor_orientation = (int32_t)gCamCapability[cameraId]->sensor_mount_angle;
2947 overridesList[j] = gCamCapability[camera_id]->flash_available ? ANDROID_CONTROL_AE_MODE_ON_AUTO_FLASH:ANDROID_CONTROL_AE_MODE_ON;
2952 for (int k = 0; k < gCamCapability[camera_id]->supported_focus_modes_cnt; k++) {
2953 if (gCamCapability[camera_id]->supported_focus_modes[k] == focus_override) {
3175 if (NULL == gCamCapability[cameraId]) {
3190 switch(gCamCapability[cameraId]->position) {
3206 info->orientation = gCamCapability[cameraId]->sensor_mount_angle;
3268 &gCamCapability[mCameraId]->exposure_compensation_default, 1);
3289 if (gCamCapability[mCameraId]->supported_focus_modes_cnt > 1) {
3308 float default_aperture = gCamCapability[mCameraId]->apertures[0];
3311 if (gCamCapability[mCameraId]->filter_densities_count) {
3312 float default_filter_density = gCamCapability[mCameraId]->filter_densities[0];
3314 gCamCapability[mCameraId]->filter_densities_count);
3317 float default_focal_length = gCamCapability[mCameraId]->focal_length;
3321 int64_t default_exposure_time = gCamCapability[mCameraId]->exposure_time_range[0];
3348 uint8_t edge_strength = (uint8_t)gCamCapability[mCameraId]->sharpness_ctrl.def_value;
3354 scaler_crop_region[2] = gCamCapability[mCameraId]->active_array_size.width;
3355 scaler_crop_region[3] = gCamCapability[mCameraId]->active_array_size.height;
3364 uint8_t opt_stab_mode = (gCamCapability[mCameraId]->optical_stab_modes_count == 2)?
3556 if (expCompensation < gCamCapability[mCameraId]->exposure_compensation_min)
3557 expCompensation = gCamCapability[mCameraId]->exposure_compensation_min;
3558 if (expCompensation > gCamCapability[mCameraId]->exposure_compensation_max)
3559 expCompensation = gCamCapability[mCameraId]->exposure_compensation_max;
3677 edge_application.sharpness = gCamCapability[mCameraId]->sharpness_ctrl.def_value; //default
3821 if (sensorFrameDuration > gCamCapability[mCameraId]->max_frame_duration)
3822 sensorFrameDuration = gCamCapability[mCameraId]->max_frame_duration;
3833 gCamCapability[mCameraId]->sensitivity_range.min_sensitivity)
3835 gCamCapability[mCameraId]->sensitivity_range.min_sensitivity;
3837 gCamCapability[mCameraId]->sensitivity_range.max_sensitivity)
3839 gCamCapability[mCameraId]->sensitivity_range.max_sensitivity;
4117 mJpegSettings->exposure_comp_step = gCamCapability[mCameraId]->exp_compensation_step;
4120 mJpegSettings->min_required_pp_mask = gCamCapability[mCameraId]->min_required_pp_mask;
4451 if ((gCamCapability[mCameraId]->qcom_supported_feature_mask & CAM_QCOM_FEATURE_ROTATION) > 0 &&
4531 if (gCamCapability[mCameraId]->min_required_pp_mask & CAM_QCOM_FEATURE_SHARPNESS) {
4568 return gCamCapability[mCameraId]->min_num_pp_bufs;
4572 return gCamCapability[mCameraId]->isWnrSupported;