Searched refs:width_ratio (Results 1 – 12 of 12) sorted by relevance
149 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment() local153 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()166 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()169 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
180 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment() local184 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()197 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()200 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
146 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local158 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()161 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
184 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment() local188 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()201 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()204 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
147 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local159 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()162 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
213 float width_ratio = dst_domain_width / src_domain_width; in ScaleRect() local216 out_rect->left = width_ratio * in_rect.left; in ScaleRect()218 out_rect->right = width_ratio * in_rect.right; in ScaleRect()
217 float width_ratio = dst_domain_width / src_domain_width; in MapRect() local220 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect()222 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect()
222 float width_ratio = dst_domain_width / src_domain_width; in MapRect() local225 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect()227 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect()
13480 uint32_t width_ratio; in setSmallJpegSize() local13484 width_ratio = CEIL_DIVISION(sensor_dim.width,snap_dim.width); in setSmallJpegSize()13488 if ( (width_ratio > m_pCapability->max_downscale_factor) || in setSmallJpegSize()
1936 uint32_t width_ratio; in configureStreamsPerfLocked() local2058 width_ratio = CEIL_DIVISION(gCamCapability[mCameraId]->active_array_size.width, in configureStreamsPerfLocked()2064 if ( (width_ratio > gCamCapability[mCameraId]->max_downscale_factor) || in configureStreamsPerfLocked()