Lines Matching full:crop
1605 common_crop_t crop;
1742 memset(&crop,0,sizeof(common_crop_t));
1746 /* Setting crop info */
1749 crop.in2_w=mCrop.snapshot.main_crop.width;// dimension.picture_width
1750 crop.in2_h=mCrop.snapshot.main_crop.height;// dimension.picture_height;
1752 crop.out2_w = mPictureWidth;
1753 crop.out2_h = mPictureHeight;
1755 crop.out2_w = mActualPictureWidth;
1756 crop.out2_h = mActualPictureHeight;
1757 if (!crop.in2_w || !crop.in2_h) {
1758 crop.in2_w = mPictureWidth;
1759 crop.in2_h = mPictureHeight;
1765 crop.in1_w=mCrop.snapshot.thumbnail_crop.width; //dimension.thumbnail_width;
1766 crop.in1_h=mCrop.snapshot.thumbnail_crop.height; // dimension.thumbnail_height;
1768 crop.out1_w= mHalCamCtrl->thumbnailWidth;
1769 crop.out1_h= mHalCamCtrl->thumbnailHeight;
1770 ALOGV("Thumbnail width= %d height= %d for livesnapshot", crop.out1_w, crop.out1_h);
1772 crop.out1_w = width;
1773 crop.out1_h = height;
1778 if (crop.out1_w > crop.out2_w || crop.out1_h > crop.out2_h) {
1779 crop.out1_w = crop.out2_w;
1780 crop.out1_h = crop.out2_h;
1796 encode_params.scaling_params = &crop;
1833 void QCameraStream_Snapshot::notifyShutter(common_crop_t *crop,
1919 common_crop_t crop;
1953 notifyShutter(&crop, true);
1955 notifyShutter(&crop, false);
1982 memset(&crop, 0, sizeof(common_crop_t));
2087 notifyShutter(&crop, true);
2089 notifyShutter(&crop, false);