Searched refs:w_align (Results 1 – 3 of 3) sorted by relevance
3627 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); in m_getCropRect() local3628 if (w_align != 0) { in m_getCropRect()3629 if ( (CAMERA_CROP_WIDTH_RESTRAIN_NUM >> 1) <= w_align in m_getCropRect()3630 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getCropRect()3631 *crop_w += (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align); in m_getCropRect()3634 *crop_w -= w_align; in m_getCropRect()
4086 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); in m_getRatioSize() local4087 if (w_align != 0) { in m_getRatioSize()4088 if ( (CAMERA_CROP_WIDTH_RESTRAIN_NUM >> 1) <= w_align in m_getRatioSize()4089 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getRatioSize()4090 *crop_w += (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align); in m_getRatioSize()4093 *crop_w -= w_align; in m_getRatioSize()
2542 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); in m_getRatioSize() local2543 if (w_align != 0) { in m_getRatioSize()2544 if ( (CAMERA_CROP_WIDTH_RESTRAIN_NUM >> 1) <= w_align in m_getRatioSize()2545 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getRatioSize()2546 *crop_w += (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align); in m_getRatioSize()2549 *crop_w -= w_align; in m_getRatioSize()