Searched refs:y_pixels (Results 1 - 25 of 59) sorted by relevance

123

/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dhwc_display_null.h61 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 Dhwc_display.cpp238 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 Dhwc_display.h74 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 Dhwc_display_virtual.cpp240 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 Dhwc_display_null.h61 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 Dhwc_display.cpp319 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 Dhwc_display_virtual.cpp240 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 Dhw_virtual.cpp83 mixer_attributes->height = display_attributes_.y_pixels;
91 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) {
H A Dhw_primary.cpp179 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 Dhw_virtual.cpp55 mixer_attributes->height = display_attributes_.y_pixels;
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) {
H A Dhw_primary.cpp171 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 Dhw_virtual.cpp55 mixer_attributes->height = display_attributes_.y_pixels;
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) {
H A Dhw_primary.cpp171 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 Ddisplay_virtual.cpp103 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 Ddisplay_hdmi.cpp116 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 Ddisplay_base.cpp70 // 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 Ddisplay_virtual.cpp91 display_attributes.y_pixels = variable_info->y_pixels;
124 display_attributes_.y_pixels);
H A Ddisplay_hdmi.cpp105 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 Ddisplay_virtual.cpp92 display_attributes.y_pixels = variable_info->y_pixels;
125 display_attributes_.y_pixels);
H A Ddisplay_hdmi.cpp108 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 Dhw_virtual_drm.cpp151 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 Dhwc_display.cpp714 } 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 Dhwc_display.cpp704 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 Dhwc_display.cpp531 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 Dhw_device_drm.cpp167 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;

Completed in 159 milliseconds

123