Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_external.cpp149 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment() local
153 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()
/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/msm8998/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/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/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/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/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/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/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/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.cpp1936 uint32_t width_ratio; in configureStreamsPerfLocked() local
2058 width_ratio = CEIL_DIVISION(gCamCapability[mCameraId]->active_array_size.width, in configureStreamsPerfLocked()
2064 if ( (width_ratio > gCamCapability[mCameraId]->max_downscale_factor) || in configureStreamsPerfLocked()