Lines Matching refs:crop_w
2491 int *crop_w, int *crop_h,
2494 *crop_w = src_w;
2511 *crop_w = src_h * dst_ratio;
2515 *crop_w = src_w;
2521 *crop_w = src_h * dst_ratio;
2525 *crop_w = src_w;
2533 *crop_w = (int)((float)*crop_w / zoomLevel);
2538 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1));
2541 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) {
2542 *crop_w += (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align);
2545 *crop_w -= w_align;
2559 *crop_x = (src_w - *crop_w) >> 1;
3174 int crop_x = 0, crop_y = 0, crop_w = 0, crop_h = 0;
3179 &crop_w, &crop_h,
3191 zoomLeft = (crop_w - zoomWidth) / 2;
3196 int cropCompensation = (new_cropRegion[0] * 2 + new_cropRegion[2]) - ALIGN(crop_w, 4);