Lines Matching refs:mJpegSettings
165 mJpegSettings(NULL),
223 if (mJpegSettings != NULL) {
224 free(mJpegSettings);
225 mJpegSettings = NULL;
938 rc = channel->request(output.buffer, frameNumber, mJpegSettings,
3192 if (mJpegSettings) {
3193 if (mJpegSettings->gps_timestamp) {
3194 free(mJpegSettings->gps_timestamp);
3195 mJpegSettings->gps_timestamp = NULL;
3197 if (mJpegSettings->gps_coordinates) {
3199 free(mJpegSettings->gps_coordinates[i]);
3200 mJpegSettings->gps_coordinates[i] = NULL;
3203 free(mJpegSettings);
3204 mJpegSettings = NULL;
3206 mJpegSettings = (jpeg_settings_t*) malloc(sizeof(jpeg_settings_t));
3211 mJpegSettings->jpeg_orientation =
3214 mJpegSettings->jpeg_orientation = 0;
3217 mJpegSettings->jpeg_quality =
3220 mJpegSettings->jpeg_quality = 85;
3223 mJpegSettings->thumbnail_size.width =
3225 mJpegSettings->thumbnail_size.height =
3228 mJpegSettings->thumbnail_size.width = 0;
3229 mJpegSettings->thumbnail_size.height = 0;
3233 mJpegSettings->gps_coordinates[i] = (double*)malloc(sizeof(double*));
3234 *(mJpegSettings->gps_coordinates[i]) =
3239 mJpegSettings->gps_coordinates[i] = NULL;
3244 mJpegSettings->gps_timestamp = (int64_t*)malloc(sizeof(int64_t*));
3245 *(mJpegSettings->gps_timestamp) =
3248 mJpegSettings->gps_timestamp = NULL;
3254 mJpegSettings->gps_processing_method[i] =
3257 if (mJpegSettings->gps_processing_method[len-1] != '\0') {
3258 mJpegSettings->gps_processing_method[len] = '\0';
3261 mJpegSettings->gps_processing_method[0] = '\0';
3264 mJpegSettings->sensor_sensitivity = mMetadataResponse.iso_speed;
3266 mJpegSettings->sensor_exposure_time = mMetadataResponse.exposure_time;
3269 mJpegSettings->lens_focal_length =
3273 mJpegSettings->exposure_compensation =
3276 mJpegSettings->exposure_comp_step = gCamCapability[mCameraId]->exp_compensation_step;
3277 mJpegSettings->max_jpeg_size = calcMaxJpegSize();
3278 mJpegSettings->is_jpeg_format = true;
3279 mJpegSettings->min_required_pp_mask = gCamCapability[mCameraId]->min_required_pp_mask;
3577 if (!mJpegSettings->is_jpeg_format) {
3583 mJpegSettings->jpeg_orientation > 0) {
3604 if (!mJpegSettings->is_jpeg_format) {
3609 if ((mJpegSettings->min_required_pp_mask > 0) ||
3674 int rotation = mJpegSettings->jpeg_orientation;