/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_display_external.cpp | 158 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()
|
/aosp12/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_display_external.cpp | 157 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()
|
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_display_external.cpp | 197 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()
|
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_display_external.cpp | 159 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()
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_display_external.cpp | 159 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()
|
/aosp12/hardware/qcom/display/msm8996/sdm/libs/core/ |
H A D | display_primary.cpp | 97 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()
|
H A D | display_hdmi.cpp | 113 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()
|
/aosp12/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
H A D | hwc_display_external.cpp | 169 uint32_t new_mixer_width = UINT32(FLOAT(mixer_width) * (1.0f - width_ratio)); in ApplyScanAdjustment() local 175 display_frame->left = (display_frame->left * INT32(new_mixer_width) / INT32(mixer_width)) in ApplyScanAdjustment() 179 display_frame->right = ((display_frame->right * INT32(new_mixer_width)) / INT32(mixer_width)) + in ApplyScanAdjustment()
|
/aosp12/hardware/qcom/display/msm8909/sdm/libs/core/ |
H A D | display_primary.cpp | 86 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()
|
H A D | display_hdmi.cpp | 103 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()
|
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
H A D | hwc_display_external.cpp | 201 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()
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
H A D | display_primary.cpp | 86 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()
|
H A D | display_hdmi.cpp | 103 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()
|
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
H A D | hwc_display_external.cpp | 201 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()
|
/aosp12/hardware/qcom/display/msm8998/sdm/libs/core/ |
H A D | display_hdmi.cpp | 102 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()
|
H A D | display_primary.cpp | 85 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()
|
/aosp12/hardware/qcom/sdm845/display/sdm/libs/core/ |
H A D | display_hdmi.cpp | 107 uint32_t new_mixer_width = 0; in Prepare() local 112 if (NeedsMixerReconfiguration(layer_stack, &new_mixer_width, &new_mixer_height)) { in Prepare() 113 error = ReconfigureMixer(new_mixer_width, new_mixer_height); in Prepare()
|
H A D | display_primary.cpp | 107 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()
|
H A D | display_base.cpp | 1113 bool DisplayBase::NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width, in NeedsMixerReconfiguration() argument 1137 *new_mixer_width = req_mixer_width_; in NeedsMixerReconfiguration() 1175 *new_mixer_width = FloorToMultipleOf(UINT32((FLOAT(fb_width) / FLOAT(fb_height)) * in NeedsMixerReconfiguration() 1179 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() 1183 *new_mixer_width = display_width; in NeedsMixerReconfiguration() 1186 if (*new_mixer_width > display_width || *new_mixer_height > display_height) { in NeedsMixerReconfiguration() 1187 *new_mixer_width = display_width; in NeedsMixerReconfiguration()
|
/aosp12/hardware/qcom/sm7250/display/composer/ |
H A D | hwc_display_pluggable.cpp | 180 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()
|
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
H A D | hwc_display_pluggable.cpp | 178 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()
|
/aosp12/hardware/qcom/sm7250/display/sdm/libs/core/ |
H A D | display_pluggable.cpp | 126 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()
|
H A D | display_base.cpp | 1417 bool DisplayBase::NeedsMixerReconfiguration(LayerStack *layer_stack, uint32_t *new_mixer_width, in NeedsMixerReconfiguration() argument 1428 *new_mixer_width = req_mixer_width_; in NeedsMixerReconfiguration() 1483 *new_mixer_width = FloorToMultipleOf(UINT32((FLOAT(fb_width) / FLOAT(fb_height)) * in NeedsMixerReconfiguration() 1487 LayerRect dst_domain = {0.0f, 0.0f, FLOAT(*new_mixer_width), FLOAT(*new_mixer_height)}; in NeedsMixerReconfiguration() 1491 *new_mixer_width = display_width; in NeedsMixerReconfiguration() 1494 if (*new_mixer_width > display_width || *new_mixer_height > display_height) { in NeedsMixerReconfiguration() 1495 *new_mixer_width = display_width; in NeedsMixerReconfiguration() 1498 return ((*new_mixer_width != mixer_width) || (*new_mixer_height != mixer_height)); in NeedsMixerReconfiguration()
|
/aosp12/hardware/qcom/sm8150/display/sdm/libs/core/ |
H A D | display_pluggable.cpp | 145 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()
|
H A D | display_base.cpp | 1326 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()
|