Home
last modified time | relevance | path

Searched refs:mode_string (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/sm7250/display/composer/
Dhwc_display.cpp146 auto mode_string = color_mode_map_[mode][intent][kSdrType]; in SetColorModeWithRenderIntent() local
147 DisplayError error = display_intf_->SetColorMode(mode_string); in SetColorModeWithRenderIntent()
149 DLOGE("failed for mode = %d intent = %d name = %s", mode, intent, mode_string.c_str()); in SetColorModeWithRenderIntent()
158 mode_string.c_str()); in SetColorModeWithRenderIntent()
194 std::string mode_string = preferred_mode_[current_color_mode_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent() local
195 if (mode_string.empty()) { in ApplyCurrentColorModeWithRenderIntent()
196 mode_string = color_mode_map_[current_color_mode_][current_render_intent_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent()
197 if (mode_string.empty() && hdr_present) { in ApplyCurrentColorModeWithRenderIntent()
199 mode_string = color_mode_map_[current_color_mode_][RenderIntent::COLORIMETRIC][kHdrType]; in ApplyCurrentColorModeWithRenderIntent()
201 if (mode_string.empty() && in ApplyCurrentColorModeWithRenderIntent()
[all …]
Dhwc_display.h112 HWC2::Error SetColorModeFromClientApi(std::string mode_string);
129 HWC2::Error SetPreferredColorModeInternal(const std::string &mode_string, bool from_client,
Dhwc_display_builtin.cpp701 std::string mode_string; in SetColorModeFromClientApi() local
703 error = display_intf_->GetColorModeName(color_mode_id, &mode_string); in SetColorModeFromClientApi()
709 auto status = color_mode_->SetColorModeFromClientApi(mode_string); in SetColorModeFromClientApi()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp143 auto mode_string = color_mode_map_[mode][intent][kSdrType]; in SetColorModeWithRenderIntent() local
144 DisplayError error = display_intf_->SetColorMode(mode_string); in SetColorModeWithRenderIntent()
146 DLOGE("failed for mode = %d intent = %d name = %s", mode, intent, mode_string.c_str()); in SetColorModeWithRenderIntent()
155 mode_string.c_str()); in SetColorModeWithRenderIntent()
187 std::string mode_string = preferred_mode_[current_color_mode_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent() local
188 if (mode_string.empty()) { in ApplyCurrentColorModeWithRenderIntent()
189 mode_string = color_mode_map_[current_color_mode_][current_render_intent_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent()
190 if (mode_string.empty() && hdr_present) { in ApplyCurrentColorModeWithRenderIntent()
192 mode_string = in ApplyCurrentColorModeWithRenderIntent()
195 if (mode_string.empty() && in ApplyCurrentColorModeWithRenderIntent()
[all …]
Dhwc_display_builtin.cpp429 std::string mode_string; in SetColorModeFromClientApi() local
431 error = display_intf_->GetColorModeName(color_mode_id, &mode_string); in SetColorModeFromClientApi()
437 auto status = color_mode_->SetColorModeFromClientApi(mode_string); in SetColorModeFromClientApi()
Dhwc_display.h87 HWC2::Error SetColorModeFromClientApi(std::string mode_string);
105 HWC2::Error SetPreferredColorModeInternal(const std::string &mode_string, bool from_client,
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.cpp214 std::string &mode_string = color_modes.at(i); in PopulateColorModes() local
215 DLOGV_IF(kTagQDCM, "Color Mode[%d] = %s", i, mode_string.c_str()); in PopulateColorModes()
217 error = display_intf_->GetColorModeAttr(mode_string, &attr); in PopulateColorModes()
234 PopulateTransform(HAL_COLOR_MODE_NATIVE, mode_string, color_transform); in PopulateColorModes()
237 PopulateTransform(HAL_COLOR_MODE_SRGB, mode_string, color_transform); in PopulateColorModes()
240 PopulateTransform(HAL_COLOR_MODE_DISPLAY_P3, mode_string, color_transform); in PopulateColorModes()
243 PopulateTransform(HAL_COLOR_MODE_DISPLAY_P3, mode_string, color_transform); in PopulateColorModes()
249 if (mode_string.find("hal_native") != std::string::npos) { in PopulateColorModes()
250 PopulateTransform(HAL_COLOR_MODE_NATIVE, mode_string, mode_string); in PopulateColorModes()
251 } else if (mode_string.find("hal_srgb") != std::string::npos) { in PopulateColorModes()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.cpp211 std::string &mode_string = color_modes.at(i); in PopulateColorModes() local
212 DLOGV_IF(kTagQDCM, "Color Mode[%d] = %s", i, mode_string.c_str()); in PopulateColorModes()
214 error = display_intf_->GetColorModeAttr(mode_string, &attr); in PopulateColorModes()
231 PopulateTransform(HAL_COLOR_MODE_NATIVE, mode_string, color_transform); in PopulateColorModes()
234 PopulateTransform(HAL_COLOR_MODE_SRGB, mode_string, color_transform); in PopulateColorModes()
237 PopulateTransform(HAL_COLOR_MODE_DISPLAY_P3, mode_string, color_transform); in PopulateColorModes()
240 PopulateTransform(HAL_COLOR_MODE_DISPLAY_P3, mode_string, color_transform); in PopulateColorModes()
246 if (mode_string.find("hal_native") != std::string::npos) { in PopulateColorModes()
247 PopulateTransform(HAL_COLOR_MODE_NATIVE, mode_string, mode_string); in PopulateColorModes()
248 } else if (mode_string.find("hal_srgb") != std::string::npos) { in PopulateColorModes()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.cpp218 std::string &mode_string = color_modes.at(i); in PopulateColorModes() local
219 DLOGV_IF(kTagClient, "Color Mode[%d] = %s", i, mode_string.c_str()); in PopulateColorModes()
221 error = display_intf_->GetColorModeAttr(mode_string, &attr); in PopulateColorModes()
242 PopulateTransform(HAL_COLOR_MODE_NATIVE, mode_string, color_transform); in PopulateColorModes()
245 PopulateTransform(HAL_COLOR_MODE_SRGB, mode_string, color_transform); in PopulateColorModes()
248 PopulateTransform(HAL_COLOR_MODE_DISPLAY_P3, mode_string, color_transform); in PopulateColorModes()
251 PopulateTransform(HAL_COLOR_MODE_DISPLAY_P3, mode_string, color_transform); in PopulateColorModes()
257 if (mode_string.find("hal_native") != std::string::npos) { in PopulateColorModes()
258 PopulateTransform(HAL_COLOR_MODE_NATIVE, mode_string, mode_string); in PopulateColorModes()
259 } else if (mode_string.find("hal_srgb") != std::string::npos) { in PopulateColorModes()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display.cpp117 auto mode_string = color_mode_map_[mode][intent]; in SetColorModeWithRenderIntent() local
118 DisplayError error = display_intf_->SetColorMode(mode_string); in SetColorModeWithRenderIntent()
120 DLOGE("failed for mode = %d intent = %d name = %s", mode, intent, mode_string.c_str()); in SetColorModeWithRenderIntent()
131 mode_string.c_str()); in SetColorModeWithRenderIntent()
381 void HWCColorMode::FindRenderIntent(const ColorMode &mode, const std::string &mode_string) { in FindRenderIntent() argument
383 if (mode_string.find("enhanced") != std::string::npos) { in FindRenderIntent()
386 color_mode_map_[mode][intent] = mode_string; in FindRenderIntent()
404 std::string &mode_string = color_modes.at(i); in PopulateColorModes() local
405 DLOGV_IF(kTagClient, "Color Mode[%d] = %s", i, mode_string.c_str()); in PopulateColorModes()
407 error = display_intf_->GetColorModeAttr(mode_string, &attr); in PopulateColorModes()
[all …]
Dhwc_display.h179 void FindRenderIntent(const ColorMode &mode, const std::string &mode_string);
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp185 std::string &mode_string = color_modes.at(i); in PopulateColorModes() local
186 DLOGV_IF(kTagQDCM, "Color Mode[%d] = %s", i, mode_string.c_str()); in PopulateColorModes()
187 if (mode_string.find("hal_native") != std::string::npos) { in PopulateColorModes()
188 PopulateTransform(HAL_COLOR_MODE_NATIVE, mode_string); in PopulateColorModes()
189 } else if (mode_string.find("hal_srgb") != std::string::npos) { in PopulateColorModes()
190 PopulateTransform(HAL_COLOR_MODE_SRGB, mode_string); in PopulateColorModes()