Home
last modified time | relevance | path

Searched refs:color_transform (Results 1 – 25 of 28) sorted by relevance

12

/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.cpp196 const std::string &color_transform) { in PopulateTransform() argument
198 if (color_transform.find("identity") != std::string::npos) { in PopulateTransform()
199 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_IDENTITY] = color_transform; in PopulateTransform()
200 } else if (color_transform.find("arbitrary") != std::string::npos) { in PopulateTransform()
202 } else if (color_transform.find("inverse") != std::string::npos) { in PopulateTransform()
203 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_VALUE_INVERSE] = color_transform; in PopulateTransform()
204 } else if (color_transform.find("grayscale") != std::string::npos) { in PopulateTransform()
205 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_GRAYSCALE] = color_transform; in PopulateTransform()
206 } else if (color_transform.find("correct_protonopia") != std::string::npos) { in PopulateTransform()
207 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_CORRECT_PROTANOPIA] = color_transform; in PopulateTransform()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.cpp210 const std::string color_transform = "identity"; in PopulateColorModes() local
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()
266 const std::string &color_transform) { in PopulateTransform() argument
268 if (color_transform.find("identity") != std::string::npos) { in PopulateTransform()
270 } else if (color_transform.find("arbitrary") != std::string::npos) { in PopulateTransform()
272 } else if (color_transform.find("inverse") != std::string::npos) { in PopulateTransform()
274 } else if (color_transform.find("grayscale") != std::string::npos) { in PopulateTransform()
[all …]
Dhwc_display.h73 const std::string &color_mode, const std::string &color_transform);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.cpp207 const std::string color_transform = "identity"; in PopulateColorModes() local
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()
263 const std::string &color_transform) { in PopulateTransform() argument
265 if (color_transform.find("identity") != std::string::npos) { in PopulateTransform()
267 } else if (color_transform.find("arbitrary") != std::string::npos) { in PopulateTransform()
269 } else if (color_transform.find("inverse") != std::string::npos) { in PopulateTransform()
271 } else if (color_transform.find("grayscale") != std::string::npos) { in PopulateTransform()
[all …]
Dhwc_display.h73 const std::string &color_mode, const std::string &color_transform);
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_virtual.h69 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) { in SetColorTransform() argument
Ddisplay_pluggable.h56 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) { in SetColorTransform() argument
Ddisplay_base.h112 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform);
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.cpp214 const std::string color_transform = "identity"; in PopulateColorModes() local
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()
274 const std::string &color_transform) { in PopulateTransform() argument
276 if (color_transform.find("identity") != std::string::npos) { in PopulateTransform()
278 } else if (color_transform.find("arbitrary") != std::string::npos) { in PopulateTransform()
280 } else if (color_transform.find("inverse") != std::string::npos) { in PopulateTransform()
282 } else if (color_transform.find("grayscale") != std::string::npos) { in PopulateTransform()
[all …]
Dhwc_display.h74 const std::string &color_mode, const std::string &color_transform);
/hardware/qcom/display/msm8996/sdm/include/core/
Ddisplay_interface.h510 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) = 0;
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_base.h99 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform);
Ddisplay_base.cpp793 DisplayError DisplayBase::SetColorTransform(const uint32_t length, const double *color_transform) { in SetColorTransform() argument
799 if (!color_transform) { in SetColorTransform()
803 return color_mgr_->ColorMgrSetColorTransform(length, color_transform); in SetColorTransform()
/hardware/qcom/display/msm8909w_3100/sdm/include/core/
Ddisplay_interface.h558 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) = 0;
/hardware/qcom/display/msm8909/sdm/include/core/
Ddisplay_interface.h550 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) = 0;
/hardware/qcom/display/msm8998/sdm/include/core/
Ddisplay_interface.h557 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) = 0;
/hardware/qcom/sdm845/display/sdm/include/core/
Ddisplay_interface.h565 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) = 0;
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.h96 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform);
Ddisplay_base.cpp912 DisplayError DisplayBase::SetColorTransform(const uint32_t length, const double *color_transform) { in SetColorTransform() argument
918 if (!color_transform) { in SetColorTransform()
922 return color_mgr_->ColorMgrSetColorTransform(length, color_transform); in SetColorTransform()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.h99 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform);
Ddisplay_base.cpp890 DisplayError DisplayBase::SetColorTransform(const uint32_t length, const double *color_transform) { in SetColorTransform() argument
896 if (!color_transform) { in SetColorTransform()
900 return color_mgr_->ColorMgrSetColorTransform(length, color_transform); in SetColorTransform()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.h99 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform);
Ddisplay_base.cpp914 DisplayError DisplayBase::SetColorTransform(const uint32_t length, const double *color_transform) { in SetColorTransform() argument
920 if (!color_transform) { in SetColorTransform()
924 return color_mgr_->ColorMgrSetColorTransform(length, color_transform); in SetColorTransform()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.h97 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform);
/hardware/qcom/sm8150/display/sdm/include/core/
Ddisplay_interface.h622 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform) = 0;

12