/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 65 *y_pixels = y_res_; in GetFrameBufferResolution() 68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetPanelResolution() argument 70 *y_pixels = y_res_; in GetPanelResolution()
|
D | hwc_display.cpp | 319 values[i] = INT32(variable_config.y_pixels); in GetDisplayAttributes() 478 uint32_t y_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() 499 layer_buffer.unaligned_height = y_pixels; in PrepareLayerParams() 1141 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in SetFrameBufferResolution() argument 1150 fb_config.y_pixels = y_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 1168 *y_pixels = fb_config.y_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 65 *y_pixels = y_res_; in GetFrameBufferResolution() 68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetPanelResolution() argument 70 *y_pixels = y_res_; in GetPanelResolution()
|
D | hwc_display.cpp | 238 values[i] = INT32(variable_config.y_pixels); in GetDisplayAttributes() 382 uint32_t y_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 1045 fb_config.y_pixels = y_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 1063 *y_pixels = fb_config.y_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 65 *y_pixels = y_res_; in GetFrameBufferResolution() 68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { in GetPanelResolution() argument 70 *y_pixels = y_res_; in GetPanelResolution()
|
D | hwc_display.cpp | 319 values[i] = INT32(variable_config.y_pixels); in GetDisplayAttributes() 478 uint32_t y_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() 499 layer_buffer.unaligned_height = y_pixels; in PrepareLayerParams() 1141 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { in SetFrameBufferResolution() argument 1150 fb_config.y_pixels = y_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 1168 *y_pixels = fb_config.y_pixels; in GetFrameBufferResolution() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | display_virtual.cpp | 91 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig() 124 display_attributes_.y_pixels); in SetActiveConfig()
|
D | display_hdmi.cpp | 105 uint32_t display_height = display_attributes_.y_pixels; in Prepare() 188 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig() 190 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | display_virtual.cpp | 92 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig() 125 display_attributes_.y_pixels); in SetActiveConfig()
|
D | display_hdmi.cpp | 106 uint32_t display_height = display_attributes_.y_pixels; in Prepare() 189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig() 191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | display_virtual.cpp | 92 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig() 125 display_attributes_.y_pixels); in SetActiveConfig()
|
D | display_hdmi.cpp | 106 uint32_t display_height = display_attributes_.y_pixels; in Prepare() 189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig() 191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | display_virtual.cpp | 103 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig() 122 fb_config.y_pixels = mixer_attributes.height; in SetActiveConfig()
|
D | display_hdmi.cpp | 116 uint32_t display_height = display_attributes_.y_pixels; in Prepare() 196 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig() 198 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
|
D | hw_primary.cpp | 171 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 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() 207 display_attributes->y_pixels = display_configs_.at(index).y_pixels; in GetDisplayAttributes() 240 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 671 mixer_attributes_.height = display_attributes_.y_pixels; in UpdateMixerAttributes()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
|
D | hw_primary.cpp | 171 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 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() 207 display_attributes->y_pixels = display_configs_.at(index).y_pixels; in GetDisplayAttributes() 240 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 663 mixer_attributes_.height = display_attributes_.y_pixels; in UpdateMixerAttributes()
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
D | hw_virtual.cpp | 83 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes() 91 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
|
D | hw_primary.cpp | 179 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 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() 219 display_attributes->y_pixels = display_configs_.at(index).y_pixels; in GetDisplayAttributes() 251 display_attributes_.y_pixels = var_screeninfo.yres; in PopulateDisplayAttributes() 646 mixer_attributes_.height = display_attributes_.y_pixels; in UpdateMixerAttributes()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.cpp | 532 width != variable_config.x_pixels || height != variable_config.y_pixels) { in BuildLayerStack() 577 *out_value = INT32(variable_config.y_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() 1291 fb_config.y_pixels = y_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/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.cpp | 721 width != variable_config.x_pixels || height != variable_config.y_pixels) { in BuildLayerStack() 768 *out_value = INT32(variable_config.y_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() 1507 fb_config.y_pixels = y_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 | 812 *out_value = INT32(variable_config.y_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() 1586 fb_config.y_pixels = y_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() 1632 client_target_layer->input_buffer.unaligned_height = y_pixels; in BuildLayerStack() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
D | hw_device_drm.cpp | 167 display_attributes_.y_pixels = mode.vdisplay; in PopulateDisplayAttributes() 733 mixer_attributes.height > display_attributes_.y_pixels) { in SetMixerAttributes() 736 display_attributes_.y_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() 762 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); in SetMixerAttributes() 789 mixer_attributes_.height = display_attributes_.y_pixels; in GetMixerAttributes() 800 mixer_attributes_.height = display_attributes_.y_pixels; in UpdateMixerAttributes()
|