Home
last modified time | relevance | path

Searched refs:new_mixer_width (Results 1 – 25 of 33) sorted by relevance

12

/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_external.cpp157 uint32_t new_mixer_width = UINT32(FLOAT(mixer_width) * (1.0f - width_ratio)); in ApplyScanAdjustment() local
163 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
167 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_external.cpp158 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment() local
164 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
168 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp197 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment() local
203 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
207 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_external.cpp159 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment() local
165 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
169 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_external.cpp159 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment() local
165 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
169 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_primary.cpp97 uint32_t new_mixer_width = 0; in Prepare() local
102 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
103 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_hdmi.cpp113 uint32_t new_mixer_width = 0; in Prepare() local
118 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
119 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_base.h123 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external.cpp201 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment() local
207 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
211 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp201 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment() local
207 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
211 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_primary.cpp86 uint32_t new_mixer_width = 0; in Prepare() local
91 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
92 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_hdmi.cpp103 uint32_t new_mixer_width = 0; in Prepare() local
108 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
109 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_base.h130 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_primary.cpp86 uint32_t new_mixer_width = 0; in Prepare() local
91 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
92 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_hdmi.cpp103 uint32_t new_mixer_width = 0; in Prepare() local
108 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
109 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_base.h130 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_hdmi.cpp102 uint32_t new_mixer_width = 0; in Prepare() local
107 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
108 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_primary.cpp85 uint32_t new_mixer_width = 0; in Prepare() local
116 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
117 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_base.h130 bool NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width,
/hardware/qcom/sm7250/display/composer/
Dhwc_display_pluggable.cpp180 uint32_t new_mixer_width = UINT32(mixer_width * FLOAT(1.0f - width_ratio)); in ApplyScanAdjustment() local
186 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
190 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable.cpp178 uint32_t new_mixer_width = UINT32(FLOAT(mixer_width) * (1.0f - width_ratio)); in ApplyScanAdjustment() local
184 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment()
188 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_pluggable.cpp126 uint32_t new_mixer_width = 0; in Prepare() local
131 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
132 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_base.cpp1605 bool DisplayBase::NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width, in NeedsMixerReconfiguration() argument
1616 *new_mixer_width = req_mixer_width_; in NeedsMixerReconfiguration()
1671 *new_mixer_width = FloorToMultipleOf(UINT32((FLOAT(fb_width) / FLOAT(fb_height)) * in NeedsMixerReconfiguration()
1675 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration()
1679 *new_mixer_width = display_width; in NeedsMixerReconfiguration()
1682 if (*new_mixer_width > display_width || *new_mixer_height > display_height) { in NeedsMixerReconfiguration()
1683 *new_mixer_width = display_width; in NeedsMixerReconfiguration()
1686 return ((*new_mixer_width != mixer_width) || (*new_mixer_height != mixer_height)); in NeedsMixerReconfiguration()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.cpp145 uint32_t new_mixer_width = 0; in Prepare() local
150 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare()
151 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
Ddisplay_base.cpp1326 bool DisplayBase::NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width, in NeedsMixerReconfiguration() argument
1335 *new_mixer_width = req_mixer_width_; in NeedsMixerReconfiguration()
1392 *new_mixer_width = FloorToMultipleOf(UINT32((FLOAT(fb_width) / FLOAT(fb_height)) * in NeedsMixerReconfiguration()
1396 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration()
1400 *new_mixer_width = display_width; in NeedsMixerReconfiguration()
1403 if (*new_mixer_width > display_width || *new_mixer_height > display_height) { in NeedsMixerReconfiguration()
1404 *new_mixer_width = display_width; in NeedsMixerReconfiguration()
1407 return ((*new_mixer_width != mixer_width) || (*new_mixer_height != mixer_height)); in NeedsMixerReconfiguration()

12