/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display.cpp | 143 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 …]
|
D | hwc_display_builtin.cpp | 429 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()
|
D | hwc_display.h | 87 HWC2::Error SetColorModeFromClientApi(std::string mode_string); 105 HWC2::Error SetPreferredColorModeInternal(const std::string &mode_string, bool from_client,
|
/hardware/qcom/sm7250/display/composer/ |
D | hwc_display.cpp | 146 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 …]
|
D | hwc_display.h | 149 HWC2::Error SetColorModeFromClientApi(std::string mode_string); 166 HWC2::Error SetPreferredColorModeInternal(const std::string &mode_string, bool from_client,
|
D | hwc_display_builtin.cpp | 744 std::string mode_string; in SetColorModeFromClientApi() local 746 error = display_intf_->GetColorModeName(color_mode_id, &mode_string); in SetColorModeFromClientApi() 752 auto status = color_mode_->SetColorModeFromClientApi(mode_string); in SetColorModeFromClientApi()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.cpp | 211 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/msm8998/sdm/libs/hwc2/ |
D | hwc_display.cpp | 214 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/msm8909/sdm/libs/hwc2/ |
D | hwc_display.cpp | 218 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/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.cpp | 185 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()
|