Home
last modified time | relevance | path

Searched refs:display_attributes (Results 1 – 25 of 146) sorted by relevance

123456

/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp88 DisplayError HWVirtualDRM::SetWbConfigs(const HWDisplayAttributes &display_attributes) { in SetWbConfigs() argument
93 UINT16(display_attributes.x_pixels); in SetWbConfigs()
95 UINT16(display_attributes.y_pixels); in SetWbConfigs()
96 mode.vrefresh = UINT32(display_attributes.fps); in SetWbConfigs()
157 DisplayError HWVirtualDRM::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
158 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
163 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
166 DisplayError error = SetWbConfigs(display_attributes); in SetDisplayAttributes()
174 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
177 DLOGE("Mode not found for resolution %dx%d fps %d", display_attributes.x_pixels, in SetDisplayAttributes()
[all …]
Dhw_virtual_drm.h49 virtual DisplayError SetDisplayAttributes(const HWDisplayAttributes &display_attributes);
62 DisplayError SetWbConfigs(const HWDisplayAttributes &display_attributes);
63 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
Dhw_virtual.h40 virtual DisplayError SetDisplayAttributes(const HWDisplayAttributes &display_attributes);
42 HWDisplayAttributes *display_attributes);
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_virtual.cpp62 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
63 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
67 display_attributes_ = display_attributes; in SetDisplayAttributes()
77 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
78 display_attributes->fps = 60; in GetDisplayAttributes()
Dhw_virtual.h40 virtual DisplayError SetDisplayAttributes(const HWDisplayAttributes &display_attributes);
42 HWDisplayAttributes *display_attributes);
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_virtual.cpp87 HWDisplayAttributes display_attributes; in SetActiveConfig() local
90 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
91 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
92 display_attributes.fps = variable_info->fps; in SetActiveConfig()
94 if (display_attributes == display_attributes_) { in SetActiveConfig()
98 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
114 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info_, in SetActiveConfig()
120 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_virtual.cpp88 HWDisplayAttributes display_attributes; in SetActiveConfig() local
91 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
92 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
93 display_attributes.fps = variable_info->fps; in SetActiveConfig()
95 if (display_attributes == display_attributes_) { in SetActiveConfig()
99 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
115 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info_, in SetActiveConfig()
121 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_virtual.cpp102 HWDisplayAttributes display_attributes; in SetActiveConfig() local
107 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
108 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
109 display_attributes.fps = variable_info->fps; in SetActiveConfig()
111 if (display_attributes == display_attributes_) { in SetActiveConfig()
115 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
129 fb_config = display_attributes; in SetActiveConfig()
138 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info, in SetActiveConfig()
144 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_virtual.cpp98 HWDisplayAttributes display_attributes; in SetActiveConfig() local
102 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
103 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
104 display_attributes.fps = variable_info->fps; in SetActiveConfig()
106 if (display_attributes == display_attributes_) { in SetActiveConfig()
110 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
130 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info_, in SetActiveConfig()
136 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_virtual.cpp102 HWDisplayAttributes display_attributes; in SetActiveConfig() local
107 display_attributes.x_pixels = variable_info->x_pixels; in SetActiveConfig()
108 display_attributes.y_pixels = variable_info->y_pixels; in SetActiveConfig()
109 display_attributes.fps = variable_info->fps; in SetActiveConfig()
111 if (display_attributes == display_attributes_) { in SetActiveConfig()
115 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
129 fb_config = display_attributes; in SetActiveConfig()
138 error = comp_manager_->RegisterDisplay(display_type_, display_attributes, hw_panel_info, in SetActiveConfig()
144 display_attributes_ = display_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8996/sdm/include/private/
Dhw_info_types.h451 bool operator !=(const HWDisplayAttributes &display_attributes) {
452 return ((is_device_split != display_attributes.is_device_split) ||
453 (x_pixels != display_attributes.x_pixels) ||
454 (y_pixels != display_attributes.y_pixels) ||
455 (x_dpi != display_attributes.x_dpi) ||
456 (y_dpi != display_attributes.y_dpi) ||
457 (fps != display_attributes.fps) ||
458 (vsync_period_ns != display_attributes.vsync_period_ns) ||
459 (v_front_porch != display_attributes.v_front_porch) ||
460 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/sdm845/display/sdm/include/private/
Dhw_info_types.h571 bool operator !=(const HWDisplayAttributes &display_attributes) {
572 return ((is_device_split != display_attributes.is_device_split) ||
573 (x_pixels != display_attributes.x_pixels) ||
574 (y_pixels != display_attributes.y_pixels) ||
575 (x_dpi != display_attributes.x_dpi) ||
576 (y_dpi != display_attributes.y_dpi) ||
577 (fps != display_attributes.fps) ||
578 (vsync_period_ns != display_attributes.vsync_period_ns) ||
579 (v_front_porch != display_attributes.v_front_porch) ||
580 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8998/sdm/include/private/
Dhw_info_types.h507 bool operator !=(const HWDisplayAttributes &display_attributes) {
508 return ((is_device_split != display_attributes.is_device_split) ||
509 (x_pixels != display_attributes.x_pixels) ||
510 (y_pixels != display_attributes.y_pixels) ||
511 (x_dpi != display_attributes.x_dpi) ||
512 (y_dpi != display_attributes.y_dpi) ||
513 (fps != display_attributes.fps) ||
514 (vsync_period_ns != display_attributes.vsync_period_ns) ||
515 (v_front_porch != display_attributes.v_front_porch) ||
516 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/include/private/
Dhw_info_types.h515 bool operator !=(const HWDisplayAttributes &display_attributes) {
516 return ((is_device_split != display_attributes.is_device_split) ||
517 (x_pixels != display_attributes.x_pixels) ||
518 (y_pixels != display_attributes.y_pixels) ||
519 (x_dpi != display_attributes.x_dpi) ||
520 (y_dpi != display_attributes.y_dpi) ||
521 (fps != display_attributes.fps) ||
522 (vsync_period_ns != display_attributes.vsync_period_ns) ||
523 (v_front_porch != display_attributes.v_front_porch) ||
524 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8909/sdm/include/private/
Dhw_info_types.h516 bool operator !=(const HWDisplayAttributes &display_attributes) {
517 return ((is_device_split != display_attributes.is_device_split) ||
518 (x_pixels != display_attributes.x_pixels) ||
519 (y_pixels != display_attributes.y_pixels) ||
520 (x_dpi != display_attributes.x_dpi) ||
521 (y_dpi != display_attributes.y_dpi) ||
522 (fps != display_attributes.fps) ||
523 (vsync_period_ns != display_attributes.vsync_period_ns) ||
524 (v_front_porch != display_attributes.v_front_porch) ||
525 (v_back_porch != display_attributes.v_back_porch) ||
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_virtual.cpp90 DisplayError HWVirtual::SetDisplayAttributes(const HWDisplayAttributes &display_attributes) { in SetDisplayAttributes() argument
91 if (display_attributes.x_pixels == 0 || display_attributes.y_pixels == 0) { in SetDisplayAttributes()
95 display_attributes_ = display_attributes; in SetDisplayAttributes()
Dhw_hdmi.cpp221 HWDisplayAttributes *display_attributes) { in GetDisplayAttributes() argument
237 display_attributes->x_pixels = timing_mode->active_h; in GetDisplayAttributes()
238 display_attributes->y_pixels = timing_mode->active_v; in GetDisplayAttributes()
239 display_attributes->v_front_porch = timing_mode->front_porch_v; in GetDisplayAttributes()
240 display_attributes->v_back_porch = timing_mode->back_porch_v; in GetDisplayAttributes()
241 display_attributes->v_pulse_width = timing_mode->pulse_width_v; in GetDisplayAttributes()
244 display_attributes->h_total = timing_mode->active_h + h_blanking; in GetDisplayAttributes()
245 display_attributes->x_dpi = 0; in GetDisplayAttributes()
246 display_attributes->y_dpi = 0; in GetDisplayAttributes()
247 display_attributes->fps = timing_mode->refresh_rate / 1000; in GetDisplayAttributes()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_null.cpp100 int HWCDisplayNull::GetDisplayAttributes(uint32_t config, const uint32_t *display_attributes, in GetDisplayAttributes() argument
102 for (int i = 0; display_attributes[i] != HWC_DISPLAY_NO_ATTRIBUTE; i++) { in GetDisplayAttributes()
105 switch (display_attributes[i]) { in GetDisplayAttributes()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_null.cpp100 int HWCDisplayNull::GetDisplayAttributes(uint32_t config, const uint32_t *display_attributes, in GetDisplayAttributes() argument
102 for (int i = 0; display_attributes[i] != HWC_DISPLAY_NO_ATTRIBUTE; i++) { in GetDisplayAttributes()
105 switch (display_attributes[i]) { in GetDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_null.cpp100 int HWCDisplayNull::GetDisplayAttributes(uint32_t config, const uint32_t *display_attributes, in GetDisplayAttributes() argument
102 for (int i = 0; display_attributes[i] != HWC_DISPLAY_NO_ATTRIBUTE; i++) { in GetDisplayAttributes()
105 switch (display_attributes[i]) { in GetDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session_services.cpp238 IDisplayConfig::DisplayAttributes display_attributes = {}; in getDisplayAttributes() local
248 display_attributes.vsyncPeriod = hwc_display_attributes.vsync_period_ns; in getDisplayAttributes()
249 display_attributes.xRes = hwc_display_attributes.x_pixels; in getDisplayAttributes()
250 display_attributes.yRes = hwc_display_attributes.y_pixels; in getDisplayAttributes()
251 display_attributes.xDpi = hwc_display_attributes.x_dpi; in getDisplayAttributes()
252 display_attributes.yDpi = hwc_display_attributes.y_dpi; in getDisplayAttributes()
253 display_attributes.panelType = IDisplayConfig::DisplayPortType::DISPLAY_PORT_DEFAULT; in getDisplayAttributes()
254 display_attributes.isYuv = hwc_display_attributes.is_yuv; in getDisplayAttributes()
258 _hidl_cb(error, display_attributes); in getDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session_services.cpp228 IDisplayConfig::DisplayAttributes display_attributes = {}; in getDisplayAttributes() local
236 display_attributes.vsyncPeriod = hwc_display_attributes.vsync_period_ns; in getDisplayAttributes()
237 display_attributes.xRes = hwc_display_attributes.x_pixels; in getDisplayAttributes()
238 display_attributes.yRes = hwc_display_attributes.y_pixels; in getDisplayAttributes()
239 display_attributes.xDpi = hwc_display_attributes.x_dpi; in getDisplayAttributes()
240 display_attributes.yDpi = hwc_display_attributes.y_dpi; in getDisplayAttributes()
241 display_attributes.panelType = IDisplayConfig::DisplayPortType::DISPLAY_PORT_DEFAULT; in getDisplayAttributes()
242 display_attributes.isYuv = hwc_display_attributes.is_yuv; in getDisplayAttributes()

123456