Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp182 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local
184 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()
198 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
201 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_external.cpp146 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local
158 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
161 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_external.cpp147 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local
159 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
162 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp186 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local
188 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()
202 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
205 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external.cpp186 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local
188 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()
202 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
205 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_external.cpp148 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local
160 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
163 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_external.cpp148 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local
160 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
163 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_external.cpp158 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local
170 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
173 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable.cpp167 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local
179 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
182 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp214 float height_ratio = dst_domain_height / src_domain_height; in ScaleRect() local
217 out_rect->top = height_ratio * in_rect.top; in ScaleRect()
219 out_rect->bottom = height_ratio * in_rect.bottom; in ScaleRect()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp218 float height_ratio = dst_domain_height / src_domain_height; in MapRect() local
221 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
223 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp218 float height_ratio = dst_domain_height / src_domain_height; in MapRect() local
221 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
223 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
/hardware/qcom/display/msm8909/sdm/libs/utils/
Drect.cpp223 float height_ratio = dst_domain_height / src_domain_height; in MapRect() local
226 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
228 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp223 float height_ratio = dst_domain_height / src_domain_height; in MapRect() local
226 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
228 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp264 float height_ratio = dst_domain_height / src_domain_height; in MapRect() local
267 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()
269 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraParameters.cpp13481 uint32_t height_ratio; in setSmallJpegSize() local
13485 height_ratio = CEIL_DIVISION(sensor_dim.height,snap_dim.height); in setSmallJpegSize()
13489 (height_ratio > m_pCapability->max_downscale_factor)) { in setSmallJpegSize()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp1859 uint32_t height_ratio; in validateStreamCombination() local
1994 height_ratio = CEIL_DIVISION(gCamCapability[cameraId]->active_array_size.height, in validateStreamCombination()
1999 (height_ratio > gCamCapability[cameraId]->max_downscale_factor)) { in validateStreamCombination()