Home
last modified time | relevance | path

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

/hardware/qcom/display/sdm845/sdm/libs/hwc2/
Dhwc_display_external.cpp153 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local
155 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()
169 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
172 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_external.cpp151 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local
153 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()
167 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
170 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/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.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/sdm845/sdm/libs/hwc/
Dhwc_display_external.cpp185 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local
187 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()
201 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
204 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/sdm845/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/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.cpp1899 uint32_t height_ratio; in configureStreamsPerfLocked() local
2020 height_ratio = CEIL_DIVISION(gCamCapability[mCameraId]->active_array_size.height, in configureStreamsPerfLocked()
2025 (height_ratio > gCamCapability[mCameraId]->max_downscale_factor)) { in configureStreamsPerfLocked()