Home
last modified time | relevance | path

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

/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/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/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/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/msm8998/sdm/include/core/
Ddisplay_interface.h557 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/msm8909w_3100/sdm/include/core/
Ddisplay_interface.h558 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/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/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/sdm845/display/sdm/libs/core/
Ddisplay_base.h97 virtual DisplayError SetColorTransform(const uint32_t length, const double *color_transform);
Ddisplay_base.cpp876 DisplayError DisplayBase::SetColorTransform(const uint32_t length, const double *color_transform) { in SetColorTransform() argument
882 if (!color_transform) { in SetColorTransform()
886 return color_mgr_->ColorMgrSetColorTransform(length, color_transform); in SetColorTransform()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_intf.h531 cam_rational_type_t color_transform[3][3]; member