/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | display_base.h | 97 virtual DisplayError GetColorModeAttr(const std::string &color_mode, AttrVal *attr); 98 virtual DisplayError SetColorMode(const std::string &color_mode); 100 virtual DisplayError GetDefaultColorMode(std::string *color_mode); 135 DisplayError SetColorModeInternal(const std::string &color_mode); 138 DisplayError GetHdrColorMode(std::string *color_mode, bool *found_hdr); 139 bool IsSupportColorModeAttribute(const std::string &color_mode);
|
D | display_base.cpp | 713 DisplayError DisplayBase::GetColorModeAttr(const std::string &color_mode, AttrVal *attr) { in GetColorModeAttr() argument 723 auto it = color_mode_attr_map_.find(color_mode); in GetColorModeAttr() 725 DLOGE("Failed: Mode %s without attribute", color_mode.c_str()); in GetColorModeAttr() 733 DisplayError DisplayBase::SetColorMode(const std::string &color_mode) { in SetColorMode() argument 740 if (IsSupportColorModeAttribute(color_mode)) { in SetColorMode() 741 auto it_mode = color_mode_attr_map_.find(color_mode); in SetColorMode() 750 if (color_mode.find("hal_hdr") != std::string::npos) { in SetColorMode() 759 error = SetColorModeInternal(color_mode); in SetColorMode() 765 current_color_mode_ = color_mode; in SetColorMode() 774 error = SetColorModeInternal(color_mode); in SetColorMode() [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | display_base.h | 97 virtual DisplayError GetColorModeAttr(const std::string &color_mode, AttrVal *attr); 98 virtual DisplayError SetColorMode(const std::string &color_mode); 100 virtual DisplayError GetDefaultColorMode(std::string *color_mode); 138 DisplayError SetColorModeInternal(const std::string &color_mode); 141 DisplayError GetHdrColorMode(std::string *color_mode, bool *found_hdr); 142 bool IsSupportColorModeAttribute(const std::string &color_mode);
|
D | display_base.cpp | 731 DisplayError DisplayBase::GetColorModeAttr(const std::string &color_mode, AttrVal *attr) { in GetColorModeAttr() argument 741 auto it = color_mode_attr_map_.find(color_mode); in GetColorModeAttr() 743 DLOGE("Failed: Mode %s without attribute", color_mode.c_str()); in GetColorModeAttr() 751 DisplayError DisplayBase::SetColorMode(const std::string &color_mode) { in SetColorMode() argument 758 if (IsSupportColorModeAttribute(color_mode)) { in SetColorMode() 759 auto it_mode = color_mode_attr_map_.find(color_mode); in SetColorMode() 768 if (color_mode.find("hal_hdr") != std::string::npos) { in SetColorMode() 777 error = SetColorModeInternal(color_mode); in SetColorMode() 783 current_color_mode_ = color_mode; in SetColorMode() 792 error = SetColorModeInternal(color_mode); in SetColorMode() [all …]
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
D | display_base.h | 96 virtual DisplayError GetColorModeAttr(const std::string &color_mode, AttrVal *attr); 97 virtual DisplayError SetColorMode(const std::string &color_mode); 100 virtual DisplayError GetDefaultColorMode(std::string *color_mode); 135 DisplayError SetColorModeInternal(const std::string &color_mode); 138 DisplayError GetHdrColorMode(std::string *color_mode, bool *found_hdr); 139 bool IsSupportColorModeAttribute(const std::string &color_mode);
|
D | display_base.cpp | 729 DisplayError DisplayBase::GetColorModeAttr(const std::string &color_mode, AttrVal *attr) { in GetColorModeAttr() argument 739 auto it = color_mode_attr_map_.find(color_mode); in GetColorModeAttr() 741 DLOGI("Mode %s has no attribute", color_mode.c_str()); in GetColorModeAttr() 749 DisplayError DisplayBase::SetColorMode(const std::string &color_mode) { in SetColorMode() argument 756 if (IsSupportColorModeAttribute(color_mode)) { in SetColorMode() 757 auto it_mode = color_mode_attr_map_.find(color_mode); in SetColorMode() 766 if (color_mode.find("hal_hdr") != std::string::npos) { in SetColorMode() 775 error = SetColorModeInternal(color_mode); in SetColorMode() 781 current_color_mode_ = color_mode; in SetColorMode() 790 error = SetColorModeInternal(color_mode); in SetColorMode() [all …]
|
/hardware/qcom/display/msm8998/sdm/include/core/ |
D | display_interface.h | 531 virtual DisplayError GetColorModeAttr(const std::string &color_mode, 540 virtual DisplayError SetColorMode(const std::string &color_mode) = 0; 564 virtual DisplayError GetDefaultColorMode(std::string *color_mode) = 0;
|
/hardware/qcom/display/msm8909w_3100/sdm/include/core/ |
D | display_interface.h | 540 virtual DisplayError GetColorModeAttr(const std::string &color_mode, 549 virtual DisplayError SetColorMode(const std::string &color_mode) = 0; 566 virtual DisplayError GetDefaultColorMode(std::string *color_mode) = 0;
|
/hardware/qcom/display/msm8909/sdm/include/core/ |
D | display_interface.h | 540 virtual DisplayError GetColorModeAttr(const std::string &color_mode, 549 virtual DisplayError SetColorMode(const std::string &color_mode) = 0; 566 virtual DisplayError GetDefaultColorMode(std::string *color_mode) = 0;
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.cpp | 262 const std::string &color_mode, in PopulateTransform() argument 266 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_IDENTITY] = color_mode; in PopulateTransform() 270 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_VALUE_INVERSE] = color_mode; in PopulateTransform() 272 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_GRAYSCALE] = color_mode; in PopulateTransform() 274 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_CORRECT_PROTANOPIA] = color_mode; in PopulateTransform() 276 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_CORRECT_DEUTERANOPIA] = color_mode; in PopulateTransform() 278 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_CORRECT_TRITANOPIA] = color_mode; in PopulateTransform() 280 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_IDENTITY] = color_mode; in PopulateTransform() 285 android_color_mode_t color_mode = HAL_COLOR_MODE_NATIVE; in ApplyDefaultColorMode() local 287 color_mode = color_mode_transform_map_.begin()->first; in ApplyDefaultColorMode() [all …]
|
D | hwc_display.h | 73 const std::string &color_mode, const std::string &color_transform);
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display.cpp | 273 const std::string &color_mode, in PopulateTransform() argument 277 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_IDENTITY] = color_mode; in PopulateTransform() 281 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_VALUE_INVERSE] = color_mode; in PopulateTransform() 283 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_GRAYSCALE] = color_mode; in PopulateTransform() 285 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_CORRECT_PROTANOPIA] = color_mode; in PopulateTransform() 287 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_CORRECT_DEUTERANOPIA] = color_mode; in PopulateTransform() 289 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_CORRECT_TRITANOPIA] = color_mode; in PopulateTransform() 291 color_mode_transform_map_[mode][HAL_COLOR_TRANSFORM_IDENTITY] = color_mode; in PopulateTransform() 296 android_color_mode_t color_mode = HAL_COLOR_MODE_NATIVE; in ApplyDefaultColorMode() local 298 color_mode = color_mode_transform_map_.begin()->first; in ApplyDefaultColorMode() [all …]
|
D | hwc_display.h | 74 const std::string &color_mode, const std::string &color_transform);
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display.cpp | 69 int HWCColorMode::SetColorMode(const std::string &color_mode) { in SetColorMode() argument 76 color_mode); in SetColorMode() 78 DLOGE("Invalid colorMode request: %s", color_mode.c_str()); in SetColorMode() 82 DisplayError error = display_intf_->SetColorMode(color_mode); in SetColorMode() 84 DLOGE("Failed to set color_mode = %s", color_mode.c_str()); in SetColorMode() 87 current_color_mode_ = color_mode; in SetColorMode()
|
D | hwc_display.h | 57 int SetColorMode(const std::string &color_mode);
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display.cpp | 69 int HWCColorMode::SetColorMode(const std::string &color_mode) { in SetColorMode() argument 76 color_mode); in SetColorMode() 78 DLOGE("Invalid colorMode request: %s", color_mode.c_str()); in SetColorMode() 82 DisplayError error = display_intf_->SetColorMode(color_mode); in SetColorMode() 84 DLOGE("Failed to set color_mode = %s", color_mode.c_str()); in SetColorMode() 87 current_color_mode_ = color_mode; in SetColorMode()
|
D | hwc_display.h | 57 int SetColorMode(const std::string &color_mode);
|
/hardware/qcom/display/msm8996/sdm/include/core/ |
D | display_interface.h | 500 virtual DisplayError SetColorMode(const std::string &color_mode) = 0;
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
D | display_base.h | 97 virtual DisplayError SetColorMode(const std::string &color_mode);
|
D | display_base.cpp | 764 DisplayError DisplayBase::SetColorMode(const std::string &color_mode) { in SetColorMode() argument 770 DLOGV_IF(kTagQDCM, "Color Mode = %s", color_mode.c_str()); in SetColorMode() 772 ColorModeMap::iterator it = color_mode_map_.find(color_mode); in SetColorMode() 774 DLOGE("Failed: Unknown Mode : %s", color_mode.c_str()); in SetColorMode()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_display.h | 69 void PopulateTransform(const android_color_mode_t &mode, const std::string &color_mode);
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_display.h | 73 const std::string &color_mode, const std::string &color_transform);
|