Home
last modified time | relevance | path

Searched refs:width_ratio (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp180 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment() local
184 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()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_external.cpp146 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local
158 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()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_external.cpp145 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local
157 uint32_t new_mixer_width = UINT32(FLOAT(mixer_width) * (1.0f - width_ratio)); in ApplyScanAdjustment()
160 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external.cpp184 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment() local
188 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()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp184 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment() local
188 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()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_external.cpp147 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local
159 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()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_external.cpp147 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local
159 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()
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp213 float width_ratio = dst_domain_width / src_domain_width; in ScaleRect() local
216 out_rect->left = width_ratio * in_rect.left; in ScaleRect()
218 out_rect->right = width_ratio * in_rect.right; in ScaleRect()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable.cpp166 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local
178 uint32_t new_mixer_width = UINT32(FLOAT(mixer_width) * (1.0f - width_ratio)); in ApplyScanAdjustment()
181 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/sm7250/display/composer/
Dhwc_display_pluggable.cpp168 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment() local
180 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
183 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp217 float width_ratio = dst_domain_width / src_domain_width; in MapRect() local
220 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()
/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp222 float width_ratio = dst_domain_width / src_domain_width; in MapRect() local
225 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()
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp217 float width_ratio = dst_domain_width / src_domain_width; in MapRect() local
220 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()
/hardware/qcom/sm7250/display/sdm/libs/utils/
Drect.cpp263 double width_ratio = DOUBLE(dst_domain_width / src_domain_width); in MapRect() local
267 out_rect->left = floor(dst_domain.left + (width_ratio * modified_in_rect.left)); in MapRect()
269 out_rect->right = floor(dst_domain.left + (width_ratio * modified_in_rect.right)); in MapRect()
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp263 float width_ratio = dst_domain_width / src_domain_width; in MapRect() local
266 out_rect->left = dst_domain.left + (width_ratio * modified_in_rect.left); in MapRect()
268 out_rect->right = dst_domain.left + (width_ratio * modified_in_rect.right); in MapRect()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraParameters.cpp13480 uint32_t width_ratio; in setSmallJpegSize() local
13484 width_ratio = CEIL_DIVISION(sensor_dim.width,snap_dim.width); in setSmallJpegSize()
13488 if ( (width_ratio > m_pCapability->max_downscale_factor) || in setSmallJpegSize()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp1859 uint32_t width_ratio; in validateStreamCombination() local
1993 width_ratio = CEIL_DIVISION(gCamCapability[cameraId]->active_array_size.width, in validateStreamCombination()
1999 if ( (width_ratio > gCamCapability[cameraId]->max_downscale_factor) || in validateStreamCombination()