Home | History | Annotate | Download | only in HAL3

Lines Matching refs:mJpegSettings

178       mJpegSettings(NULL),
257 if (mJpegSettings != NULL) {
258 free(mJpegSettings);
259 mJpegSettings = NULL;
1522 pendingRequest.input_jpeg_settings = *mJpegSettings;
1577 rc = channel->request(output.buffer, frameNumber, mJpegSettings,
1783 if (strlen(mJpegSettings->gps_processing_method) > 0) {
4021 if (mJpegSettings) {
4022 if (mJpegSettings->gps_timestamp) {
4023 free(mJpegSettings->gps_timestamp);
4024 mJpegSettings->gps_timestamp = NULL;
4026 if (mJpegSettings->gps_coordinates) {
4028 free(mJpegSettings->gps_coordinates[i]);
4029 mJpegSettings->gps_coordinates[i] = NULL;
4032 free(mJpegSettings);
4033 mJpegSettings = NULL;
4035 mJpegSettings = (jpeg_settings_t*) malloc(sizeof(jpeg_settings_t));
4040 mJpegSettings->jpeg_orientation =
4043 mJpegSettings->jpeg_orientation = 0;
4046 mJpegSettings->jpeg_quality =
4049 mJpegSettings->jpeg_quality = 85;
4052 mJpegSettings->thumbnail_size.width =
4054 mJpegSettings->thumbnail_size.height =
4057 mJpegSettings->thumbnail_size.width = 0;
4058 mJpegSettings->thumbnail_size.height = 0;
4062 mJpegSettings->gps_coordinates[i] = (double*)malloc(sizeof(double*));
4063 *(mJpegSettings->gps_coordinates[i]) =
4068 mJpegSettings->gps_coordinates[i] = NULL;
4073 mJpegSettings->gps_timestamp = (int64_t*)malloc(sizeof(int64_t*));
4074 *(mJpegSettings->gps_timestamp) =
4077 mJpegSettings->gps_timestamp = NULL;
4083 mJpegSettings->gps_processing_method[i] =
4086 if (mJpegSettings->gps_processing_method[len-1] != '\0') {
4087 mJpegSettings->gps_processing_method[len] = '\0';
4090 mJpegSettings->gps_processing_method[0] = '\0';
4094 mJpegSettings->sensor_sensitivity =
4097 mJpegSettings->sensor_sensitivity = mMetadataResponse.iso_speed;
4100 mJpegSettings->sensor_exposure_time = mMetadataResponse.exposure_time;
4103 mJpegSettings->lens_focal_length =
4107 mJpegSettings->exposure_compensation =
4110 mJpegSettings->sharpness = 10; //default value
4114 mJpegSettings->sharpness = 0;
4117 mJpegSettings->exposure_comp_step = gCamCapability[mCameraId]->exp_compensation_step;
4118 mJpegSettings->max_jpeg_size = calcMaxJpegSize();
4119 mJpegSettings->is_jpeg_format = true;
4120 mJpegSettings->min_required_pp_mask = gCamCapability[mCameraId]->min_required_pp_mask;
4446 if (!mJpegSettings->is_jpeg_format) {
4452 mJpegSettings->jpeg_orientation > 0) {
4473 if (!mJpegSettings->is_jpeg_format) {
4478 if ((mJpegSettings->min_required_pp_mask > 0) ||
4533 pp_config.sharpness = mJpegSettings->sharpness;
4543 int rotation = mJpegSettings->jpeg_orientation;