Home
last modified time | relevance | path

Searched refs:FLOAT (Results 1 – 25 of 113) sorted by relevance

12345

/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_external.cpp145 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment()
146 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment()
157 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
158 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
160 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); 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.cpp146 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment()
147 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment()
158 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
159 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
161 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
162 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
Dhwc_color_manager.cpp184 FLOAT(solid_fill_params_.rect.x), FLOAT(solid_fill_params_.rect.y), in SetSolidFill()
185 FLOAT(solid_fill_params_.rect.x) + FLOAT(solid_fill_params_.rect.width), in SetSolidFill()
186 FLOAT(solid_fill_params_.rect.y) + FLOAT(solid_fill_params_.rect.height), in SetSolidFill()
/hardware/qcom/display/msm8996/sdm/include/utils/
Dconstants.h36 #define FLOAT(exp) static_cast<float>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp180 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment()
182 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment()
197 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
198 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
200 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
201 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8998/sdm/include/utils/
Dconstants.h36 #define FLOAT(exp) static_cast<float>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/sdm845/display/sdm/include/utils/
Dconstants.h36 #define FLOAT(exp) static_cast<float>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8909w_3100/sdm/include/utils/
Dconstants.h36 #define FLOAT(exp) static_cast<float>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8909/sdm/include/utils/
Dconstants.h36 #define FLOAT(exp) static_cast<float>(exp) macro
47 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
48 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/sm8150/display/sdm/include/utils/
Dconstants.h40 #define FLOAT(exp) static_cast<float>(exp) macro
51 #define ROUND_UP_ALIGN_DOWN(value, a) FLOAT(FloorToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
52 #define ROUND_UP_ALIGN_UP(value, a) FLOAT(CeilToMultipleOf(UINT32(value + 0.5f), UINT32(a)))
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_external.cpp147 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment()
148 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment()
159 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
160 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
162 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); 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.cpp147 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment()
148 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment()
159 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
160 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
162 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
163 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp192 display_attributes_.x_dpi = (FLOAT(mode.hdisplay) * 25.4f) / FLOAT(mm_width); in PopulateDisplayAttributes()
193 display_attributes_.y_dpi = (FLOAT(mode.vdisplay) * 25.4f) / FLOAT(mm_height); in PopulateDisplayAttributes()
751 float mixer_aspect_ratio = FLOAT(mixer_attributes.width) / FLOAT(mixer_attributes.height); in SetMixerAttributes()
753 FLOAT(display_attributes_.x_pixels) / FLOAT(display_attributes_.y_pixels); in SetMixerAttributes()
761 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); in SetMixerAttributes()
762 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes()
772 float mixer_split_ratio = FLOAT(mixer_attributes_.split_left) / FLOAT(mixer_attributes_.width); in SetMixerAttributes()
777 mixer_attributes_.split_left = UINT32(FLOAT(mixer_attributes.width) * mixer_split_ratio); in SetMixerAttributes()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_external.cpp157 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment()
158 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment()
169 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
170 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
172 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
173 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/sdm845/display/sdm/libs/core/
Dstrategy.cpp139 float layer_mixer_width = FLOAT(mixer_attributes_.width); in GetNextStrategy()
140 float layer_mixer_height = FLOAT(mixer_attributes_.height); in GetNextStrategy()
141 float fb_width = FLOAT(fb_config_.x_pixels); in GetNextStrategy()
142 float fb_height = FLOAT(fb_config_.y_pixels); in GetNextStrategy()
173 float left_split = FLOAT(mixer_attributes_.split_left); in GenerateROI()
/hardware/qcom/display/msm8909/sdm/libs/core/
Dstrategy.cpp151 float layer_mixer_width = FLOAT(mixer_attributes_.width); in GetNextStrategy()
152 float layer_mixer_height = FLOAT(mixer_attributes_.height); in GetNextStrategy()
153 float fb_width = FLOAT(fb_config_.x_pixels); in GetNextStrategy()
154 float fb_height = FLOAT(fb_config_.y_pixels); in GetNextStrategy()
188 float left_split = FLOAT(mixer_attributes_.split_left); in GenerateROI()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dstrategy.cpp151 float layer_mixer_width = FLOAT(mixer_attributes_.width); in GetNextStrategy()
152 float layer_mixer_height = FLOAT(mixer_attributes_.height); in GetNextStrategy()
153 float fb_width = FLOAT(fb_config_.x_pixels); in GetNextStrategy()
154 float fb_height = FLOAT(fb_config_.y_pixels); in GetNextStrategy()
188 float left_split = FLOAT(mixer_attributes_.split_left); in GenerateROI()
/hardware/qcom/display/msm8998/sdm/libs/core/
Dstrategy.cpp151 float layer_mixer_width = FLOAT(mixer_attributes_.width); in GetNextStrategy()
152 float layer_mixer_height = FLOAT(mixer_attributes_.height); in GetNextStrategy()
153 float fb_width = FLOAT(fb_config_.x_pixels); in GetNextStrategy()
154 float fb_height = FLOAT(fb_config_.y_pixels); in GetNextStrategy()
188 float left_split = FLOAT(mixer_attributes_.split_left); in GenerateROI()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp184 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment()
186 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment()
201 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
202 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
204 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); 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.cpp184 float width_ratio = FLOAT(width) / 100.0f; in ApplyScanAdjustment()
186 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment()
201 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
202 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
204 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
205 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/sm8150/display/sdm/libs/core/
Dstrategy.cpp148 float layer_mixer_width = FLOAT(mixer_attributes_.width); in GetNextStrategy()
149 float layer_mixer_height = FLOAT(mixer_attributes_.height); in GetNextStrategy()
150 float fb_width = FLOAT(fb_config_.x_pixels); in GetNextStrategy()
151 float fb_height = FLOAT(fb_config_.y_pixels); in GetNextStrategy()
187 float left_split = FLOAT(mixer_attributes_.split_left); in GenerateROI()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable.cpp166 float width_ratio = FLOAT(underscan_width_) / 100.0f; in ApplyScanAdjustment()
167 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment()
178 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment()
179 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()
181 int x_offset = INT((FLOAT(mixer_width) * width_ratio) / 2.0f); in ApplyScanAdjustment()
182 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
/hardware/qcom/display/msm8996/sdm/libs/utils/
Drect.cpp88 res.left = rect.left + FLOAT(x_offset); in Reposition()
89 res.top = rect.top + FLOAT(y_offset); in Reposition()
90 res.right = rect.right + FLOAT(x_offset); in Reposition()
91 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
147 float aligned_width = FLOAT(CeilToMultipleOf(split_width, align_x)); in SplitLeftRight()
177 float aligned_height = FLOAT(CeilToMultipleOf(split_height, align_y)); in SplitTopBottom()
/hardware/qcom/display/msm8998/sdm/libs/utils/
Drect.cpp88 res.left = rect.left + FLOAT(x_offset); in Reposition()
89 res.top = rect.top + FLOAT(y_offset); in Reposition()
90 res.right = rect.right + FLOAT(x_offset); in Reposition()
91 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
147 float aligned_width = FLOAT(CeilToMultipleOf(split_width, align_x)); in SplitLeftRight()
177 float aligned_height = FLOAT(CeilToMultipleOf(split_height, align_y)); in SplitTopBottom()
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/
Drect.cpp88 res.left = rect.left + FLOAT(x_offset); in Reposition()
89 res.top = rect.top + FLOAT(y_offset); in Reposition()
90 res.right = rect.right + FLOAT(x_offset); in Reposition()
91 res.bottom = rect.bottom + FLOAT(y_offset); in Reposition()
147 float aligned_width = FLOAT(CeilToMultipleOf(split_width, align_x)); in SplitLeftRight()
177 float aligned_height = FLOAT(CeilToMultipleOf(split_height, align_y)); in SplitTopBottom()

12345