Home
last modified time | relevance | path

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

123456

/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()
/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()
/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/sdm845/display/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/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/sm8150/display/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/
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()
/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()
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()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_virtual.cpp105 HWMixerAttributes mixer_attributes; in SetActiveConfig() local
124 error = hw_intf_->GetMixerAttributes(&mixer_attributes); in SetActiveConfig()
137 hw_panel_info, mixer_attributes, fb_config, in SetActiveConfig()
141 mixer_attributes, fb_config, in SetActiveConfig()
149 mixer_attributes_ = mixer_attributes; in SetActiveConfig()
Dstrategy.cpp38 const HWPanelInfo &hw_panel_info, const HWMixerAttributes &mixer_attributes, in Strategy() argument
46 mixer_attributes_(mixer_attributes), in Strategy()
201 const HWMixerAttributes &mixer_attributes, in Reconfigure() argument
217 mixer_attributes, display_attributes, fb_config, in Reconfigure()
220 error = strategy_intf_->Reconfigure(hw_panel_info, hw_resource_info_, mixer_attributes, in Reconfigure()
228 mixer_attributes_ = mixer_attributes; in Reconfigure()
/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/sdm845/display/sdm/libs/core/
Dstrategy.cpp38 const HWMixerAttributes &mixer_attributes, in Strategy() argument
42 hw_panel_info_(hw_panel_info), mixer_attributes_(mixer_attributes), in Strategy()
187 const HWMixerAttributes &mixer_attributes, in Reconfigure() argument
203 mixer_attributes, display_attributes, fb_config, in Reconfigure()
206 error = strategy_intf_->Reconfigure(hw_panel_info, hw_resource_info_, mixer_attributes, in Reconfigure()
214 mixer_attributes_ = mixer_attributes; in Reconfigure()
Ddisplay_virtual.cpp103 HWMixerAttributes mixer_attributes; in SetActiveConfig() local
122 error = hw_intf_->GetMixerAttributes(&mixer_attributes); in SetActiveConfig()
139 mixer_attributes, fb_config, &display_comp_ctx_); in SetActiveConfig()
145 mixer_attributes_ = mixer_attributes; in SetActiveConfig()
/hardware/qcom/display/msm8909/sdm/libs/core/
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()
Ddisplay_virtual.cpp103 HWMixerAttributes mixer_attributes; in SetActiveConfig() local
122 error = hw_intf_->GetMixerAttributes(&mixer_attributes); in SetActiveConfig()
139 mixer_attributes, fb_config, &display_comp_ctx_); in SetActiveConfig()
145 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()
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 …]

123456