Home
last modified time | relevance | path

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

/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/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/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/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/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/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/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.cpp1937 uint32_t height_ratio; in configureStreamsPerfLocked() local
2060 height_ratio = CEIL_DIVISION(gCamCapability[mCameraId]->active_array_size.height, in configureStreamsPerfLocked()
2065 (height_ratio > gCamCapability[mCameraId]->max_downscale_factor)) { in configureStreamsPerfLocked()