Searched refs:CAMERA_CROP_WIDTH_RESTRAIN_NUM (Results 1 – 3 of 3) sorted by relevance
4085 #define CAMERA_CROP_WIDTH_RESTRAIN_NUM (0x2) in m_getRatioSize() macro4086 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); 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()4110 if (*crop_x & (CAMERA_CROP_WIDTH_RESTRAIN_NUM >> 1)) in m_getRatioSize()
3626 #define CAMERA_CROP_WIDTH_RESTRAIN_NUM (0x10) // 16 in m_getCropRect() macro3627 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); 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()
2541 #define CAMERA_CROP_WIDTH_RESTRAIN_NUM (0x2) in m_getRatioSize() macro2542 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); 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()2566 if (*crop_x & (CAMERA_CROP_WIDTH_RESTRAIN_NUM >> 1)) in m_getRatioSize()