Home
last modified time | relevance | path

Searched refs:mixer_attributes (Results 1 – 25 of 80) sorted by relevance

1234

/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_virtual.cpp99 HWMixerAttributes mixer_attributes; in SetActiveConfig() local
115 error = hw_intf_->GetMixerAttributes(&mixer_attributes); in SetActiveConfig()
121 fb_config.x_pixels = mixer_attributes.width; in SetActiveConfig()
122 fb_config.y_pixels = mixer_attributes.height; in SetActiveConfig()
131 mixer_attributes, fb_config, &display_comp_ctx_); in SetActiveConfig()
137 mixer_attributes_ = mixer_attributes; in SetActiveConfig()
Dstrategy.cpp36 const HWMixerAttributes &mixer_attributes, in Strategy() argument
40 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
196 const HWMixerAttributes &mixer_attributes, in Reconfigure() argument
200 mixer_attributes_ = mixer_attributes; in Reconfigure()
217 return strategy_intf_->Reconfigure(hw_panel_info_.mode, hw_panel_info_.s3d_mode, mixer_attributes, in Reconfigure()
Dstrategy.h37 const HWMixerAttributes &mixer_attributes, const HWDisplayAttributes &display_attributes,
49 const HWMixerAttributes &mixer_attributes,
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_virtual.cpp77 DisplayError HWVirtual::GetMixerAttributes(HWMixerAttributes *mixer_attributes) { in GetMixerAttributes() argument
78 if (!mixer_attributes) { in GetMixerAttributes()
82 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
83 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes()
Dhw_virtual.h38 virtual DisplayError SetMixerAttributes(const HWMixerAttributes &mixer_attributes) { in SetMixerAttributes() argument
41 virtual DisplayError GetMixerAttributes(HWMixerAttributes *mixer_attributes);
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_virtual.cpp53 DisplayError HWVirtual::GetMixerAttributes(HWMixerAttributes *mixer_attributes) { in GetMixerAttributes() argument
54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes()
Dhw_virtual.h36 virtual DisplayError SetMixerAttributes(const HWMixerAttributes &mixer_attributes) { in SetMixerAttributes() argument
39 virtual DisplayError GetMixerAttributes(HWMixerAttributes *mixer_attributes);
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_virtual.cpp53 DisplayError HWVirtual::GetMixerAttributes(HWMixerAttributes *mixer_attributes) { in GetMixerAttributes() argument
54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes()
Dhw_virtual.h36 virtual DisplayError SetMixerAttributes(const HWMixerAttributes &mixer_attributes) { in SetMixerAttributes() argument
39 virtual DisplayError GetMixerAttributes(HWMixerAttributes *mixer_attributes);
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_virtual.cpp53 DisplayError HWVirtual::GetMixerAttributes(HWMixerAttributes *mixer_attributes) { in GetMixerAttributes() argument
54 mixer_attributes->width = display_attributes_.x_pixels; in GetMixerAttributes()
55 mixer_attributes->height = display_attributes_.y_pixels; in GetMixerAttributes()
Dhw_virtual.h36 virtual DisplayError SetMixerAttributes(const HWMixerAttributes &mixer_attributes) { in SetMixerAttributes() argument
39 virtual DisplayError GetMixerAttributes(HWMixerAttributes *mixer_attributes);
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_virtual.cpp88 HWMixerAttributes mixer_attributes; in SetActiveConfig() local
103 error = hw_intf_->GetMixerAttributes(&mixer_attributes); in SetActiveConfig()
115 mixer_attributes, fb_config_, &display_comp_ctx_); in SetActiveConfig()
121 mixer_attributes_ = mixer_attributes; in SetActiveConfig()
Dcomp_manager.cpp37 const HWMixerAttributes &mixer_attributes) { in NeedsScaledComposition() argument
38 return ((fb_config.x_pixels != mixer_attributes.width) || in NeedsScaledComposition()
39 (fb_config.y_pixels != mixer_attributes.height)); in NeedsScaledComposition()
89 const HWMixerAttributes &mixer_attributes, in RegisterDisplay() argument
103 mixer_attributes, display_attributes, fb_config); in RegisterDisplay()
117 error = resource_intf_->RegisterDisplay(type, display_attributes, hw_panel_info, mixer_attributes, in RegisterDisplay()
138 display_comp_ctx->scaled_composition = NeedsScaledComposition(fb_config, mixer_attributes); in RegisterDisplay()
181 const HWMixerAttributes &mixer_attributes, in ReconfigureDisplay() argument
190 display_attributes, hw_panel_info, mixer_attributes); in ReconfigureDisplay()
197 mixer_attributes, fb_config); in ReconfigureDisplay()
[all …]
Dstrategy.h39 const HWMixerAttributes &mixer_attributes, const HWDisplayAttributes &display_attributes,
51 const HWMixerAttributes &mixer_attributes,
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_virtual.cpp89 HWMixerAttributes mixer_attributes; in SetActiveConfig() local
104 error = hw_intf_->GetMixerAttributes(&mixer_attributes); in SetActiveConfig()
116 mixer_attributes, fb_config_, &display_comp_ctx_); in SetActiveConfig()
122 mixer_attributes_ = mixer_attributes; in SetActiveConfig()
Dstrategy.cpp38 const HWMixerAttributes &mixer_attributes, in Strategy() argument
42 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
202 const HWMixerAttributes &mixer_attributes, in Reconfigure() argument
218 mixer_attributes, display_attributes, fb_config, in Reconfigure()
221 error = strategy_intf_->Reconfigure(hw_panel_info, hw_resource_info_, mixer_attributes, in Reconfigure()
229 mixer_attributes_ = mixer_attributes; in Reconfigure()
Dcomp_manager.cpp37 const HWMixerAttributes &mixer_attributes) { in NeedsScaledComposition() argument
38 return ((fb_config.x_pixels != mixer_attributes.width) || in NeedsScaledComposition()
39 (fb_config.y_pixels != mixer_attributes.height)); in NeedsScaledComposition()
89 const HWMixerAttributes &mixer_attributes, in RegisterDisplay() argument
103 mixer_attributes, display_attributes, fb_config); in RegisterDisplay()
117 error = resource_intf_->RegisterDisplay(type, display_attributes, hw_panel_info, mixer_attributes, in RegisterDisplay()
139 display_comp_ctx->scaled_composition = NeedsScaledComposition(fb_config, mixer_attributes); in RegisterDisplay()
182 const HWMixerAttributes &mixer_attributes, in ReconfigureDisplay() argument
191 display_attributes, hw_panel_info, mixer_attributes); in ReconfigureDisplay()
198 mixer_attributes, fb_config); in ReconfigureDisplay()
[all …]
Dstrategy.h39 const HWMixerAttributes &mixer_attributes, const HWDisplayAttributes &display_attributes,
51 const HWMixerAttributes &mixer_attributes,
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_virtual.cpp89 HWMixerAttributes mixer_attributes; in SetActiveConfig() local
104 error = hw_intf_->GetMixerAttributes(&mixer_attributes); in SetActiveConfig()
116 mixer_attributes, fb_config_, &display_comp_ctx_); in SetActiveConfig()
122 mixer_attributes_ = mixer_attributes; in SetActiveConfig()
Dstrategy.cpp38 const HWMixerAttributes &mixer_attributes, in Strategy() argument
42 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
202 const HWMixerAttributes &mixer_attributes, in Reconfigure() argument
218 mixer_attributes, display_attributes, fb_config, in Reconfigure()
221 error = strategy_intf_->Reconfigure(hw_panel_info, hw_resource_info_, mixer_attributes, in Reconfigure()
229 mixer_attributes_ = mixer_attributes; in Reconfigure()
Dcomp_manager.cpp37 const HWMixerAttributes &mixer_attributes) { in NeedsScaledComposition() argument
38 return ((fb_config.x_pixels != mixer_attributes.width) || in NeedsScaledComposition()
39 (fb_config.y_pixels != mixer_attributes.height)); in NeedsScaledComposition()
89 const HWMixerAttributes &mixer_attributes, in RegisterDisplay() argument
103 mixer_attributes, display_attributes, fb_config); in RegisterDisplay()
117 error = resource_intf_->RegisterDisplay(type, display_attributes, hw_panel_info, mixer_attributes, in RegisterDisplay()
139 display_comp_ctx->scaled_composition = NeedsScaledComposition(fb_config, mixer_attributes); in RegisterDisplay()
182 const HWMixerAttributes &mixer_attributes, in ReconfigureDisplay() argument
191 display_attributes, hw_panel_info, mixer_attributes); in ReconfigureDisplay()
198 mixer_attributes, fb_config); in ReconfigureDisplay()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_device_drm.cpp727 DisplayError HWDeviceDRM::SetMixerAttributes(const HWMixerAttributes &mixer_attributes) { in SetMixerAttributes() argument
732 if (mixer_attributes.width > display_attributes_.x_pixels || in SetMixerAttributes()
733 mixer_attributes.height > display_attributes_.y_pixels) { in SetMixerAttributes()
735 mixer_attributes.width, mixer_attributes.height, display_attributes_.x_pixels, in SetMixerAttributes()
745 if (mixer_attributes.width > max_input_width) { in SetMixerAttributes()
746 DLOGW("Input width exceeds width limit! input_width %d width_limit %d", mixer_attributes.width, in SetMixerAttributes()
751 float mixer_aspect_ratio = FLOAT(mixer_attributes.width) / FLOAT(mixer_attributes.height); in SetMixerAttributes()
756 DLOGW("Aspect ratio mismatch! input: res %dx%d display: res %dx%d", mixer_attributes.width, 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()
[all …]
/hardware/qcom/display/msm8996/sdm/include/private/
Dhw_info_types.h476 bool operator !=(const HWMixerAttributes &mixer_attributes) {
477 return ((width != mixer_attributes.width) ||
478 (height != mixer_attributes.height) ||
479 (output_format != mixer_attributes.output_format) ||
480 (split_left != mixer_attributes.split_left));
483 bool operator ==(const HWMixerAttributes &mixer_attributes) {
484 return !(operator !=(mixer_attributes));
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_device_drm.cpp977 DisplayError HWDeviceDRM::SetMixerAttributes(const HWMixerAttributes &mixer_attributes) { in SetMixerAttributes() argument
982 if (mixer_attributes.width > display_attributes_.x_pixels || in SetMixerAttributes()
983 mixer_attributes.height > display_attributes_.y_pixels) { in SetMixerAttributes()
985 mixer_attributes.width, mixer_attributes.height, display_attributes_.x_pixels, in SetMixerAttributes()
995 if (mixer_attributes.width > max_input_width) { in SetMixerAttributes()
996 DLOGW("Input width exceeds width limit! input_width %d width_limit %d", mixer_attributes.width, in SetMixerAttributes()
1001 float mixer_aspect_ratio = FLOAT(mixer_attributes.width) / FLOAT(mixer_attributes.height); in SetMixerAttributes()
1006 DLOGW("Aspect ratio mismatch! input: res %dx%d display: res %dx%d", mixer_attributes.width, in SetMixerAttributes()
1007 mixer_attributes.height, display_attributes_.x_pixels, display_attributes_.y_pixels); in SetMixerAttributes()
1011 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); in SetMixerAttributes()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_device_drm.cpp982 DisplayError HWDeviceDRM::SetMixerAttributes(const HWMixerAttributes &mixer_attributes) { in SetMixerAttributes() argument
987 if (mixer_attributes.width > display_attributes_.x_pixels || in SetMixerAttributes()
988 mixer_attributes.height > display_attributes_.y_pixels) { in SetMixerAttributes()
990 mixer_attributes.width, mixer_attributes.height, display_attributes_.x_pixels, in SetMixerAttributes()
1000 if (mixer_attributes.width > max_input_width) { in SetMixerAttributes()
1001 DLOGW("Input width exceeds width limit! input_width %d width_limit %d", mixer_attributes.width, in SetMixerAttributes()
1006 float mixer_aspect_ratio = FLOAT(mixer_attributes.width) / FLOAT(mixer_attributes.height); in SetMixerAttributes()
1011 DLOGW("Aspect ratio mismatch! input: res %dx%d display: res %dx%d", mixer_attributes.width, in SetMixerAttributes()
1012 mixer_attributes.height, display_attributes_.x_pixels, display_attributes_.y_pixels); in SetMixerAttributes()
1016 float scale_x = FLOAT(display_attributes_.x_pixels) / FLOAT(mixer_attributes.width); in SetMixerAttributes()
[all …]

1234