Home
last modified time | relevance | path

Searched refs:x_pixels (Results 1 – 25 of 132) sorted by relevance

123456

/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_virtual.cpp54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes()
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_virtual.cpp54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes()
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes()
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_virtual.cpp54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes()
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_virtual.cpp54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes()
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes()
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_virtual.cpp54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
57 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes()
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
69 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_null.h61 virtual int SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { return 0; } in SetFrameBufferResolution() argument
63 virtual void GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetFrameBufferResolution() argument
64 *x_pixels = x_res_; in GetFrameBufferResolution()
68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetPanelResolution() argument
69 *x_pixels = x_res_; in GetPanelResolution()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_null.h61 virtual int SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { return 0; } in SetFrameBufferResolution() argument
63 virtual void GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetFrameBufferResolution() argument
64 *x_pixels = x_res_; in GetFrameBufferResolution()
68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetPanelResolution() argument
69 *x_pixels = x_res_; in GetPanelResolution()
Dhwc_display.cpp235 values[i] = INT32(variable_config.x_pixels); in GetDisplayAttributes()
381 uint32_t x_pixels; in PrepareLayerParams() local
395 GetFrameBufferResolution(&x_pixels, &y_pixels); in PrepareLayerParams()
397 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, in PrepareLayerParams()
1036 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in SetFrameBufferResolution() argument
1044 fb_config.x_pixels = x_pixels; in SetFrameBufferResolution()
1053 DLOGI("New framebuffer resolution (%dx%d)", x_pixels, y_pixels); in SetFrameBufferResolution()
1058 void HWCDisplay::GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetFrameBufferResolution() argument
1062 *x_pixels = fb_config.x_pixels; in GetFrameBufferResolution()
1066 DisplayError HWCDisplay::GetMixerResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetMixerResolution() argument
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_null.h61 virtual int SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { return 0; } in SetFrameBufferResolution() argument
63 virtual void GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetFrameBufferResolution() argument
64 *x_pixels = x_res_; in GetFrameBufferResolution()
68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetPanelResolution() argument
69 *x_pixels = x_res_; in GetPanelResolution()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_virtual.cpp82 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
85 (display_attributes_.x_pixels / 2) : mixer_attributes_.width; in GetMixerAttributes()
91 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
97 if (display_attributes_.x_pixels > hw_resource_.max_mixer_width) { in SetDisplayAttributes()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp71 dst.right = display_attributes_[current_mode_index_].x_pixels; in ConfigureWbConnectorDestRect()
93 UINT16(display_attributes.x_pixels); in SetWbConfigs()
158 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
177 DLOGE("Mode not found for resolution %dx%d fps %d", display_attributes.x_pixels, in SetDisplayAttributes()
188 DLOGI("New WB Resolution: %dx%d cur_mode_index %d", display_attributes.x_pixels, in SetDisplayAttributes()
201 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_virtual.cpp107 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
128 if (fb_config.x_pixels == 0 || fb_config.y_pixels == 0) { in SetActiveConfig()
149 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig()
Ddisplay_hdmi.cpp105 uint32_t display_width = display_attributes_.x_pixels; in Prepare()
192 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
194 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_virtual.cpp107 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
128 if (fb_config.x_pixels == 0 || fb_config.y_pixels == 0) { in SetActiveConfig()
149 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig()
Ddisplay_hdmi.cpp109 uint32_t display_width = display_attributes_.x_pixels; in Prepare()
195 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
197 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp72 dst.right = display_attributes_[current_mode_index_].x_pixels; in ConfigureWbConnectorDestRect()
94 UINT16(display_attributes.x_pixels); in SetWbConfigs()
172 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
196 DLOGE("Mode not found for resolution %dx%d fps %d", display_attributes.x_pixels, in SetDisplayAttributes()
207 DLOGI("New WB Resolution: %dx%d cur_mode_index %d", display_attributes.x_pixels, in SetDisplayAttributes()
220 if (display_attributes.x_pixels == connector_info_.modes[i].mode.hdisplay && in GetModeIndex()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_virtual.cpp109 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
130 if (fb_config.x_pixels == 0 || fb_config.y_pixels == 0) { in SetActiveConfig()
153 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_virtual.cpp91 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
124 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig()
Ddisplay_hdmi.cpp105 uint32_t display_width = display_attributes_.x_pixels; in Prepare()
192 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
194 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_virtual.cpp90 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
123 DLOGI("Virtual display resolution changed to[%dx%d]", display_attributes_.x_pixels, in SetActiveConfig()
Ddisplay_hdmi.cpp104 uint32_t display_width = display_attributes_.x_pixels; in Prepare()
191 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
193 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_virtual.cpp102 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
121 fb_config.x_pixels = mixer_attributes.width; in SetActiveConfig()
Ddisplay_hdmi.cpp115 uint32_t display_width = display_attributes_.x_pixels; in Prepare()
199 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
201 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp542 width != variable_config.x_pixels || height != variable_config.y_pixels) { in BuildLayerStack()
584 *out_value = INT32(variable_config.x_pixels); in BuildLayerStack()
1289 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in BuildLayerStack() argument
1290 if (x_pixels <= 0 || y_pixels <= 0) { in BuildLayerStack()
1291 DLOGW("Unsupported config: x_pixels=%d, y_pixels=%d", x_pixels, y_pixels); in BuildLayerStack()
1302 fb_config.x_pixels = x_pixels; in BuildLayerStack()
1312 LayerRect crop = LayerRect(0, 0, FLOAT(x_pixels), FLOAT(y_pixels)); in BuildLayerStack()
1313 LayerRect dst = LayerRect(0, 0, FLOAT(fb_config.x_pixels), FLOAT(fb_config.y_pixels)); in BuildLayerStack()
1325 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, in BuildLayerStack()
1328 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, in BuildLayerStack()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp166 display_attributes_.x_pixels = mode.hdisplay; in PopulateDisplayAttributes()
203 hw_panel_info_.split_info.left_split = display_attributes_.x_pixels; in PopulateHWPanelInfo()
206 display_attributes_.x_pixels / 2; in PopulateHWPanelInfo()
732 if (mixer_attributes.width > display_attributes_.x_pixels || in SetMixerAttributes()
735 mixer_attributes.width, mixer_attributes.height, display_attributes_.x_pixels, in SetMixerAttributes()
753 FLOAT(display_attributes_.x_pixels) / FLOAT(display_attributes_.y_pixels); in SetMixerAttributes()
757 mixer_attributes.height, display_attributes_.x_pixels, display_attributes_.y_pixels); in SetMixerAttributes()
761 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); in SetMixerAttributes()
788 mixer_attributes_.width = display_attributes_.x_pixels; in GetMixerAttributes()
799 mixer_attributes_.width = display_attributes_.x_pixels; in UpdateMixerAttributes()

123456