Home | History | Annotate | Download | only in src

Lines Matching refs:dimension

422     /* set_parm will return corrected dimension based on aspect ratio and
964 LOGD("%s: Get current dimension", __func__);
965 /* Query mm_camera to get current dimension */
970 LOGE("%s: error - can't get preview dimension!", __func__);
986 LOGI("%s: Configure Snapshot Dimension", __func__);
989 LOGE("%s: Setting snapshot dimension failed", __func__);
1053 /* For raw snapshot, we do not know the dimension as it
1059 LOGE("%s: error - can't get dimension!", __func__);
1063 LOGD("%s: Raw Snapshot dimension: %dx%d", __func__,
1099 LOGE("%s: error - can't get dimension!", __func__);
1158 LOGD("%s: Get current dimension", __func__);
1159 /* Query mm_camera to get current dimension */
1164 LOGE("%s: error - can't get preview dimension!", __func__);
1170 LOGD("%s: Configure Snapshot Dimension", __func__);
1173 LOGE("%s: Setting snapshot dimension failed", __func__);
1437 cam_ctrl_dimension_t dimension;
1474 cam_config_get_parm(mHalCamCtrl->mCameraId, MM_CAMERA_PARM_DIMENSION, &dimension);
1475 LOGD("%s: main_fmt =%d, tb_fmt =%d", __func__, dimension.main_img_format, dimension.thumb_format);
1481 encode_params.dimension = &dimension;
1507 cam_config_get_parm(mHalCamCtrl->mCameraId, MM_CAMERA_PARM_DIMENSION, &dimension);
1508 LOGD("%s: main_fmt =%d, tb_fmt =%d", __func__, dimension.main_img_format, dimension.thumb_format);
1510 dimension.orig_picture_dx = mPictureWidth;
1511 dimension.orig_picture_dy = mPictureHeight;
1517 dimension.thumbnail_width = width = mHalCamCtrl->mPreviewWidth;
1518 dimension.thumbnail_height = height = mHalCamCtrl->mPreviewHeight;
1520 dimension.thumbnail_width = width = mThumbnailWidth;
1521 dimension.thumbnail_height = height = mThumbnailHeight;
1524 dimension.thumbnail_width = width = 0;
1525 dimension.thumbnail_height = height = 0;
1527 dimension.main_img_format = mPictureFormat;
1528 dimension.thumb_format = mThumbnailFormat;
1541 LOGE("%s: Dimension to encode: main: %dx%d thumbnail: %dx%d", __func__,
1542 dimension.orig_picture_dx, dimension.orig_picture_dy,
1543 dimension.thumbnail_width, dimension.thumbnail_height);
1554 crop.in2_w=mCrop.snapshot.main_crop.width;// dimension.picture_width
1555 crop.in2_h=mCrop.snapshot.main_crop.height;// dimension.picture_height;
1570 crop.in1_w=mCrop.snapshot.thumbnail_crop.width; //dimension.thumbnail_width;
1571 crop.in1_h=mCrop.snapshot.thumbnail_crop.height; // dimension.thumbnail_height;
1587 encode_params.dimension = (const cam_ctrl_dimension_t *)&dimension;
1612 encode_params.main_format = dimension.main_img_format;
1613 encode_params.thumbnail_format = dimension.thumb_format;
2450 LOGE("%s: error - can't get dimension!", __func__);