Home | History | Annotate | Download | only in camera

Lines Matching full:crop

159 void  (**LINK_mmcamera_shutter_callback)(common_crop_t *crop);
196 extern void (*mmcamera_shutter_callback)(common_crop_t *crop);
1330 static void receive_shutter_callback(common_crop_t *crop);
1347 * will be used at HAL and by surface flinger only when crop information
1349 * 3. When there is no crop information, there will be no call to MDP zoom,
1351 * 4. With crop information present, MDP zoom will be called, and the final
2972 common_crop_t *crop = (common_crop_t *) (frame->cropinfo);
2997 if (crop->in1_w != 0 && crop->in1_h != 0) {
2998 zoomCropInfo.left = (crop->out1_w - crop->in1_w + 1) / 2 - 1;
2999 zoomCropInfo.top = (crop->out1_h - crop->in1_h + 1) / 2 - 1;
3006 zoomCropInfo.right = zoomCropInfo.left + crop->in1_w;
3007 zoomCropInfo.bottom = zoomCropInfo.top + crop->in1_h;
3014 * no crop information, setCrop will be called
3015 * with zero crop values.
3024 zoomCropInfo.right = crop->in1_w;
3025 zoomCropInfo.bottom = crop->in1_h;
3027 * to use the old crop information for these preview
6644 bool QualcommCameraHardware::native_zoom_image(int fd, int srcOffset, int dstOffSet, common_crop_t *crop)
6669 if (crop->in1_w != 0 && crop->in1_h != 0) {
6670 e->src_rect.x = (crop->out1_w - crop->in1_w + 1) / 2 - 1;
6671 e->src_rect.y = (crop->out1_h - crop->in1_h + 1) / 2 - 1;
6672 e->src_rect.w = crop->in1_w;
6673 e->src_rect.h = crop->in1_h;
7402 if (crop != NULL && (crop->in1_w != 0 && crop->in1_h != 0)) {
7403 size.width = crop->in1_w;
7404 size.height = crop->in1_h;
7429 static void receive_shutter_callback(common_crop_t *crop)
7440 // Crop the picture in place.
7491 ALOGV("crop yuv Y destination position follows source position");
7533 ALOGV("crop yuv Chroma destination position follows source position");
7604 common_crop_t *crop = (common_crop_t *)cropp;
7605 if (crop->in1_w != 0 && crop->in1_h != 0) {
7606 zoomCropInfo.left = (crop->out1_w - crop->in1_w + 1) / 2 - 1;
7607 zoomCropInfo.top = (crop->out1_h - crop->in1_h + 1) / 2 - 1;
7610 zoomCropInfo.right = zoomCropInfo.left + crop->in1_w;
7611 zoomCropInfo.bottom = zoomCropInfo.top + crop->in1_h;
8887 // output) because VFE can only crop and cannot upscale. If the preview size
9802 ALOGE("zoomCropInfo non-zero, setting crop ");