camera_get_display_mode(camera, &mode);
camera_get_display_rotation(camera, &rotation);
camera_is_display_visible(camera, &visible);
- camera_attr_get_display_roi_area(camera, &x, &y, &width, &height);
- LOGD("current setting : flip %d, mode %d, rotation %d, visible %d, roi %d,%d,%dx%d",
- flip, mode, rotation, visible, x, y, width, height);
+ LOGD("current setting : flip %d, mode %d, rotation %d, visible %d",
+ flip, mode, rotation, visible);
mm_ret = mm_display_interface_evas_set_flip(cb_info->dp_interface, flip);
mm_ret |= mm_display_interface_evas_set_mode(cb_info->dp_interface, mode);
mm_ret |= mm_display_interface_evas_set_rotation(cb_info->dp_interface, rotation);
mm_ret |= mm_display_interface_evas_set_visible(cb_info->dp_interface, visible);
- if (mode == CAMERA_DISPLAY_MODE_CUSTOM_ROI)
+ if (mode == CAMERA_DISPLAY_MODE_CUSTOM_ROI) {
+ camera_attr_get_display_roi_area(camera, &x, &y, &width, &height);
+ LOGD("current setting : roi %d,%d,%dx%d", x, y, width, height);
mm_ret |= mm_display_interface_evas_set_roi_area(cb_info->dp_interface, x, y, width, height);
+ }
//LCOV_EXCL_STOP
}
}