/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_display_null.h | 61 virtual int SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { return 0; } argument 63 virtual void GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { argument 65 *y_pixels = y_res_; 68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { argument 70 *y_pixels = y_res_;
|
H A D | hwc_display.cpp | 238 values[i] = INT32(variable_config.y_pixels); 382 uint32_t y_pixels; local 395 GetFrameBufferResolution(&x_pixels, &y_pixels); 397 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, 1036 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { argument 1045 fb_config.y_pixels = y_pixels; 1053 DLOGI("New framebuffer resolution (%dx%d)", x_pixels, y_pixels); 1058 void HWCDisplay::GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { argument 1063 *y_pixels 1066 GetMixerResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1071 GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument [all...] |
H A D | hwc_display.h | 74 virtual int SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels); 75 virtual void GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels);
|
H A D | hwc_display_virtual.cpp | 240 variable_info.y_pixels = UINT32(meta_data->bufferDim.sliceHeight); 243 variable_info.y_pixels = UINT32(fbt_height);
|
/hardware/qcom/display/sdm845/sdm/libs/hwc/ |
H A D | hwc_display_null.h | 61 virtual int SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { return 0; } argument 63 virtual void GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { argument 65 *y_pixels = y_res_; 68 virtual void GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) { argument 70 *y_pixels = y_res_;
|
H A D | hwc_display.cpp | 319 values[i] = INT32(variable_config.y_pixels); 478 uint32_t y_pixels; local 492 GetFrameBufferResolution(&x_pixels, &y_pixels); 494 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, 499 layer_buffer.unaligned_height = y_pixels; 1141 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { argument 1150 fb_config.y_pixels = y_pixels; 1158 DLOGI("New framebuffer resolution (%dx%d)", x_pixels, y_pixels); 1163 void HWCDisplay::GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) { argument 1171 GetMixerResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1176 GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument [all...] |
H A D | hwc_display_virtual.cpp | 240 variable_info.y_pixels = UINT32(meta_data->bufferDim.sliceHeight); 243 variable_info.y_pixels = UINT32(fbt_height);
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
H A D | hw_virtual.cpp | 83 mixer_attributes->height = display_attributes_.y_pixels; 91 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) {
|
H A D | hw_primary.cpp | 179 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 1)); 180 DLOGI("Found mode %d x %d", config.x_pixels, config.y_pixels); 184 if (curr_x_pixels == config.x_pixels && curr_y_pixels == config.y_pixels) { 219 display_attributes->y_pixels = display_configs_.at(index).y_pixels; 251 display_attributes_.y_pixels = var_screeninfo.yres; 646 mixer_attributes_.height = display_attributes_.y_pixels;
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
H A D | hw_virtual.cpp | 55 mixer_attributes->height = display_attributes_.y_pixels; 63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) {
|
H A D | hw_primary.cpp | 171 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 1)); 172 DLOGI("Found mode %d x %d", config.x_pixels, config.y_pixels); 176 if (curr_x_pixels == config.x_pixels && curr_y_pixels == config.y_pixels) { 207 display_attributes->y_pixels = display_configs_.at(index).y_pixels; 240 display_attributes_.y_pixels = var_screeninfo.yres; 663 mixer_attributes_.height = display_attributes_.y_pixels;
|
/hardware/qcom/display/sdm845/sdm/libs/core/fb/ |
H A D | hw_virtual.cpp | 55 mixer_attributes->height = display_attributes_.y_pixels; 63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) {
|
H A D | hw_primary.cpp | 171 config.y_pixels = UINT32(atoi(line.c_str() + ypos + 1)); 172 DLOGI("Found mode %d x %d", config.x_pixels, config.y_pixels); 176 if (curr_x_pixels == config.x_pixels && curr_y_pixels == config.y_pixels) { 207 display_attributes->y_pixels = display_configs_.at(index).y_pixels; 240 display_attributes_.y_pixels = var_screeninfo.yres; 663 mixer_attributes_.height = display_attributes_.y_pixels;
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
H A D | display_virtual.cpp | 103 display_attributes.y_pixels = variable_info->y_pixels; 120 // Override x_pixels and y_pixels of frame buffer with mixer width and height 122 fb_config.y_pixels = mixer_attributes.height;
|
H A D | display_hdmi.cpp | 116 uint32_t display_height = display_attributes_.y_pixels; 197 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { 199 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) {
|
H A D | display_base.cpp | 70 // Override x_pixels and y_pixels of frame buffer with mixer width and height 72 fb_config_.y_pixels = mixer_attributes_.height; 184 float fb_height = FLOAT(fb_config_.y_pixels); 552 "vsync period: %u", info.x_pixels, info.y_pixels, info.x_dpi, 947 uint32_t fb_height = fb_config_.y_pixels; 1013 uint32_t height = variable_info.y_pixels; 1039 fb_config_.y_pixels = height; 1041 DLOGI("New framebuffer resolution (%dx%d)", fb_config_.x_pixels, fb_config_.y_pixels);
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
H A D | display_virtual.cpp | 91 display_attributes.y_pixels = variable_info->y_pixels; 124 display_attributes_.y_pixels);
|
H A D | display_hdmi.cpp | 105 uint32_t display_height = display_attributes_.y_pixels; 189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { 191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) {
|
/hardware/qcom/display/sdm845/sdm/libs/core/ |
H A D | display_virtual.cpp | 92 display_attributes.y_pixels = variable_info->y_pixels; 125 display_attributes_.y_pixels);
|
H A D | display_hdmi.cpp | 108 uint32_t display_height = display_attributes_.y_pixels; 195 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { 197 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) {
|
/hardware/qcom/display/sdm845/sdm/libs/core/drm/ |
H A D | hw_virtual_drm.cpp | 151 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { 162 height_ = display_attributes_.y_pixels;
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 714 } else if (width != variable_config.x_pixels || height != variable_config.y_pixels) { 774 *out_value = INT32(variable_config.y_pixels); 1465 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { argument 1466 if (x_pixels <= 0 || y_pixels <= 0) { 1467 DLOGW("Unsupported config: x_pixels=%d, y_pixels=%d", x_pixels, y_pixels); 1479 fb_config.y_pixels = y_pixels; 1488 LayerRect crop = LayerRect(0, 0, FLOAT(x_pixels), FLOAT(y_pixels)); 1489 LayerRect dst = LayerRect(0, 0, FLOAT(fb_config.x_pixels), FLOAT(fb_config.y_pixels)); 1528 GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1536 GetMixerResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1540 GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument [all...] |
/hardware/qcom/display/sdm845/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 704 width != variable_config.x_pixels || height != variable_config.y_pixels) { 753 *out_value = INT32(variable_config.y_pixels); 1440 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { argument 1441 if (x_pixels <= 0 || y_pixels <= 0) { 1442 DLOGW("Unsupported config: x_pixels=%d, y_pixels=%d", x_pixels, y_pixels); 1454 fb_config.y_pixels = y_pixels; 1463 LayerRect crop = LayerRect(0, 0, FLOAT(x_pixels), FLOAT(y_pixels)); 1464 LayerRect dst = LayerRect(0, 0, FLOAT(fb_config.x_pixels), FLOAT(fb_config.y_pixels)); 1503 GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1511 GetMixerResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1515 GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_display.cpp | 531 width != variable_config.x_pixels || height != variable_config.y_pixels) { 576 *out_value = INT32(variable_config.y_pixels); 1276 int HWCDisplay::SetFrameBufferResolution(uint32_t x_pixels, uint32_t y_pixels) { argument 1277 if (x_pixels <= 0 || y_pixels <= 0) { 1278 DLOGW("Unsupported config: x_pixels=%d, y_pixels=%d", x_pixels, y_pixels); 1290 fb_config.y_pixels = y_pixels; 1299 LayerRect crop = LayerRect(0, 0, FLOAT(x_pixels), FLOAT(y_pixels)); 1300 LayerRect dst = LayerRect(0, 0, FLOAT(fb_config.x_pixels), FLOAT(fb_config.y_pixels)); 1331 GetFrameBufferResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1339 GetMixerResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument 1343 GetPanelResolution(uint32_t *x_pixels, uint32_t *y_pixels) argument [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
H A D | hw_device_drm.cpp | 167 display_attributes_.y_pixels = mode.vdisplay; 733 mixer_attributes.height > display_attributes_.y_pixels) { 736 display_attributes_.y_pixels); 753 FLOAT(display_attributes_.x_pixels) / FLOAT(display_attributes_.y_pixels); 757 mixer_attributes.height, display_attributes_.x_pixels, display_attributes_.y_pixels); 762 float scale_y = FLOAT(display_attributes_.y_pixels) / FLOAT(mixer_attributes.height); 789 mixer_attributes_.height = display_attributes_.y_pixels; 800 mixer_attributes_.height = display_attributes_.y_pixels;
|