Lines Matching refs:crop_h
2495 int *crop_w, int *crop_h, in m_getRatioSize() argument
2499 *crop_h = src_h; in m_getRatioSize()
2516 *crop_h = src_h; in m_getRatioSize()
2520 *crop_h = src_w / dst_ratio; in m_getRatioSize()
2526 *crop_h = src_h; in m_getRatioSize()
2530 *crop_h = src_w / dst_ratio; in m_getRatioSize()
2538 *crop_h = (int)((float)*crop_h / zoomLevel); in m_getRatioSize()
2553 unsigned int h_align = (*crop_h & (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - 1)); in m_getRatioSize()
2556 && *crop_h + (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - h_align) <= dst_h) { in m_getRatioSize()
2557 *crop_h += (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - h_align); in m_getRatioSize()
2560 *crop_h -= h_align; in m_getRatioSize()
2564 *crop_y = (src_h - *crop_h) >> 1; in m_getRatioSize()
3178 int crop_x = 0, crop_y = 0, crop_w = 0, crop_h = 0; in m_sensorThreadFunc() local
3183 &crop_w, &crop_h, in m_sensorThreadFunc()
3196 zoomTop = (crop_h - zoomHeight) / 2; in m_sensorThreadFunc()