/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 54 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/core/fb/ |
D | hw_virtual.cpp | 54 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()
|
D | hw_primary.cpp | 170 config.x_pixels = UINT32(atoi(line.c_str() + xpos + 1)); in InitializeConfigs() 172 DLOGI("Found mode %d x %d", config.x_pixels, config.y_pixels); in InitializeConfigs() 176 if (curr_x_pixels == config.x_pixels && curr_y_pixels == config.y_pixels) { in InitializeConfigs() 206 display_attributes->x_pixels = display_configs_.at(index).x_pixels; in GetDisplayAttributes() 239 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 670 mixer_attributes_.width = display_attributes_.x_pixels; in UpdateMixerAttributes()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 54 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()
|
D | hw_primary.cpp | 170 config.x_pixels = UINT32(atoi(line.c_str() + xpos + 1)); in InitializeConfigs() 172 DLOGI("Found mode %d x %d", config.x_pixels, config.y_pixels); in InitializeConfigs() 176 if (curr_x_pixels == config.x_pixels && curr_y_pixels == config.y_pixels) { in InitializeConfigs() 206 display_attributes->x_pixels = display_configs_.at(index).x_pixels; in GetDisplayAttributes() 239 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 662 mixer_attributes_.width = display_attributes_.x_pixels; in UpdateMixerAttributes()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_null.h | 61 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()
|
D | hwc_display.cpp | 316 values[i] = INT32(variable_config.x_pixels); in GetDisplayAttributes() 477 uint32_t x_pixels; in PrepareLayerParams() local 492 GetFrameBufferResolution(&x_pixels, &y_pixels); in PrepareLayerParams() 494 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, in PrepareLayerParams() 498 layer_buffer.unaligned_width = x_pixels; in PrepareLayerParams() 1141 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in SetFrameBufferResolution() argument 1149 fb_config.x_pixels = x_pixels; in SetFrameBufferResolution() 1158 DLOGI("New framebuffer resolution (%dx%d)", x_pixels, y_pixels); in SetFrameBufferResolution() 1163 void HWCDisplay::GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetFrameBufferResolution() argument 1167 *x_pixels = fb_config.x_pixels; in GetFrameBufferResolution() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_display_null.h | 61 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()
|
D | hwc_display.cpp | 235 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/msm8909/sdm/libs/hwc/ |
D | hwc_display_null.h | 61 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()
|
D | hwc_display.cpp | 316 values[i] = INT32(variable_config.x_pixels); in GetDisplayAttributes() 477 uint32_t x_pixels; in PrepareLayerParams() local 492 GetFrameBufferResolution(&x_pixels, &y_pixels); in PrepareLayerParams() 494 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, in PrepareLayerParams() 498 layer_buffer.unaligned_width = x_pixels; in PrepareLayerParams() 1141 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in SetFrameBufferResolution() argument 1149 fb_config.x_pixels = x_pixels; in SetFrameBufferResolution() 1158 DLOGI("New framebuffer resolution (%dx%d)", x_pixels, y_pixels); in SetFrameBufferResolution() 1163 void HWCDisplay::GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetFrameBufferResolution() argument 1167 *x_pixels = fb_config.x_pixels; in GetFrameBufferResolution() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 82 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()
|
D | hw_primary.cpp | 178 config.x_pixels = UINT32(atoi(line.c_str() + xpos + 1)); in InitializeConfigs() 180 DLOGI("Found mode %d x %d", config.x_pixels, config.y_pixels); in InitializeConfigs() 184 if (curr_x_pixels == config.x_pixels && curr_y_pixels == config.y_pixels) { in InitializeConfigs() 218 display_attributes->x_pixels = display_configs_.at(index).x_pixels; in GetDisplayAttributes() 250 display_attributes_.x_pixels = var_screeninfo.xres; in PopulateDisplayAttributes() 645 mixer_attributes_.width = display_attributes_.x_pixels; in UpdateMixerAttributes()
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | display_virtual.cpp | 90 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()
|
D | display_hdmi.cpp | 104 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/msm8909w_3100/sdm/libs/core/ |
D | display_virtual.cpp | 91 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()
|
D | display_hdmi.cpp | 105 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/msm8909/sdm/libs/core/ |
D | display_virtual.cpp | 91 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()
|
D | display_hdmi.cpp | 105 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/msm8996/sdm/libs/core/ |
D | display_virtual.cpp | 102 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig() 121 fb_config.x_pixels = mixer_attributes.width; in SetActiveConfig()
|
D | display_hdmi.cpp | 115 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/ |
D | hwc_display.cpp | 532 width != variable_config.x_pixels || height != variable_config.y_pixels) { in BuildLayerStack() 574 *out_value = INT32(variable_config.x_pixels); in BuildLayerStack() 1277 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in BuildLayerStack() argument 1278 if (x_pixels <= 0 || y_pixels <= 0) { in BuildLayerStack() 1279 DLOGW("Unsupported config: x_pixels=%d, y_pixels=%d", x_pixels, y_pixels); in BuildLayerStack() 1290 fb_config.x_pixels = x_pixels; in BuildLayerStack() 1300 LayerRect crop = LayerRect(0, 0, FLOAT(x_pixels), FLOAT(y_pixels)); in BuildLayerStack() 1301 LayerRect dst = LayerRect(0, 0, FLOAT(fb_config.x_pixels), FLOAT(fb_config.y_pixels)); in BuildLayerStack() 1313 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, in BuildLayerStack() 1316 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, in BuildLayerStack() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 166 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()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.cpp | 721 width != variable_config.x_pixels || height != variable_config.y_pixels) { in BuildLayerStack() 765 *out_value = INT32(variable_config.x_pixels); in BuildLayerStack() 1493 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in BuildLayerStack() argument 1494 if (x_pixels <= 0 || y_pixels <= 0) { in BuildLayerStack() 1495 DLOGW("Unsupported config: x_pixels=%d, y_pixels=%d", x_pixels, y_pixels); in BuildLayerStack() 1506 fb_config.x_pixels = x_pixels; in BuildLayerStack() 1516 LayerRect crop = LayerRect(0, 0, FLOAT(x_pixels), FLOAT(y_pixels)); in BuildLayerStack() 1517 LayerRect dst = LayerRect(0, 0, FLOAT(fb_config.x_pixels), FLOAT(fb_config.y_pixels)); in BuildLayerStack() 1538 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, in BuildLayerStack() 1541 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, in BuildLayerStack() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display.cpp | 809 *out_value = INT32(variable_config.x_pixels); in BuildLayerStack() 1572 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in BuildLayerStack() argument 1573 if (x_pixels <= 0 || y_pixels <= 0) { in BuildLayerStack() 1574 DLOGW("Unsupported config: x_pixels=%d, y_pixels=%d", x_pixels, y_pixels); in BuildLayerStack() 1585 fb_config.x_pixels = x_pixels; in BuildLayerStack() 1595 LayerRect crop = LayerRect(0, 0, FLOAT(x_pixels), FLOAT(y_pixels)); in BuildLayerStack() 1596 hwc_rect_t scaled_display_frame = {0, 0, INT(x_pixels), INT(y_pixels)}; in BuildLayerStack() 1619 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, in BuildLayerStack() 1622 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, in BuildLayerStack() 1631 client_target_layer->input_buffer.unaligned_width = x_pixels; in BuildLayerStack() [all …]
|