Home
last modified time | relevance | path

Searched refs:color_mode_map_ (Results 1 – 19 of 19) sorted by relevance

/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp79 color_mode_map_.clear(); in DeInit()
84 uint32_t count = UINT32(color_mode_map_.size()); in GetColorModeCount()
90 uint32_t count = UINT32(color_mode_map_[mode].size()); in GetRenderIntentCount()
96 auto it = color_mode_map_.begin(); in GetColorModes()
97 *out_num_modes = std::min(*out_num_modes, UINT32(color_mode_map_.size())); in GetColorModes()
106 if (color_mode_map_.find(mode) == color_mode_map_.end()) { in GetRenderIntents()
109 auto it = color_mode_map_[mode].begin(); in GetRenderIntents()
110 *out_num_intents = std::min(*out_num_intents, UINT32(color_mode_map_[mode].size())); in GetRenderIntents()
122 if (color_mode_map_.find(mode) == color_mode_map_.end()) { in ValidateColorModeWithRenderIntent()
125 if (color_mode_map_[mode].find(intent) == color_mode_map_[mode].end()) { in ValidateColorModeWithRenderIntent()
[all …]
Dhwc_display.h116 std::map<ColorMode, RenderIntentMap> color_mode_map_ = {}; variable
/hardware/qcom/sm7250/display/composer/
Dhwc_display.cpp78 color_mode_map_.clear(); in DeInit()
83 uint32_t count = UINT32(color_mode_map_.size()); in GetColorModeCount()
89 uint32_t count = UINT32(color_mode_map_[mode].size()); in GetRenderIntentCount()
95 auto it = color_mode_map_.begin(); in GetColorModes()
96 *out_num_modes = std::min(*out_num_modes, UINT32(color_mode_map_.size())); in GetColorModes()
106 if (color_mode_map_.find(mode) == color_mode_map_.end()) { in GetRenderIntents()
109 auto it = color_mode_map_[mode].begin(); in GetRenderIntents()
110 *out_num_intents = std::min(*out_num_intents, UINT32(color_mode_map_[mode].size())); in GetRenderIntents()
123 if (color_mode_map_.find(mode) == color_mode_map_.end()) { in ValidateColorModeWithRenderIntent()
127 if (color_mode_map_[mode].find(intent) == color_mode_map_[mode].end()) { in ValidateColorModeWithRenderIntent()
[all …]
Dhwc_display.h177 std::map<ColorMode, RenderIntentMap> color_mode_map_ = {}; variable
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_base.cpp744 auto it = color_mode_map_.find(color_modes_[i].name); in GetColorModes()
745 if (it != color_mode_map_.end()) { in GetColorModes()
747 color_mode_map_.erase(it); in GetColorModes()
748 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in GetColorModes()
751 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in GetColorModes()
773 ColorModeMap::iterator it = color_mode_map_.find(color_mode); in SetColorMode()
774 if (it == color_mode_map_.end()) { in SetColorMode()
Ddisplay_base.h155 ColorModeMap color_mode_map_ = {}; variable
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_base.cpp729 for (auto it : color_mode_map_) { in Dump()
1016 ColorModeMap::iterator it = color_mode_map_.find(color_mode); in SetColorModeInternal()
1017 if (it == color_mode_map_.end()) { in SetColorModeInternal()
1634 auto it = color_mode_map_.find(color_modes_[i].name); in InitializeColorModes()
1635 if (it != color_mode_map_.end()) { in InitializeColorModes()
1637 color_mode_map_.erase(it); in InitializeColorModes()
1638 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
1641 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
1657 color_mode_map_.insert(std::make_pair(kBt2020Pq, &color_modes_[i])); in InitializeColorModes()
1658 color_mode_map_.insert(std::make_pair(kBt2020Hlg, &color_modes_[i])); in InitializeColorModes()
[all …]
Ddisplay_base.h223 ColorModeMap color_mode_map_ = {}; variable
Ddisplay_pluggable.cpp481 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in UpdateColorModes()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp130 color_mode_map_.clear(); in Deinit()
824 ColorModeMap::iterator it = color_mode_map_.find(color_mode); in SetColorModeInternal()
825 if (it == color_mode_map_.end()) { in SetColorModeInternal()
1384 auto it = color_mode_map_.find(color_modes_[i].name); in InitializeColorModes()
1385 if (it != color_mode_map_.end()) { in InitializeColorModes()
1387 color_mode_map_.erase(it); in InitializeColorModes()
1388 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
1391 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
Ddisplay_base.h165 ColorModeMap color_mode_map_ = {}; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.cpp126 color_mode_map_.clear(); in Deinit()
800 ColorModeMap::iterator it = color_mode_map_.find(color_mode); in SetColorModeInternal()
801 if (it == color_mode_map_.end()) { in SetColorModeInternal()
1349 auto it = color_mode_map_.find(color_modes_[i].name); in InitializeColorModes()
1350 if (it != color_mode_map_.end()) { in InitializeColorModes()
1352 color_mode_map_.erase(it); in InitializeColorModes()
1353 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
1356 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
Ddisplay_base.h166 ColorModeMap color_mode_map_ = {}; variable
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.cpp131 color_mode_map_.clear(); in Deinit()
822 ColorModeMap::iterator it = color_mode_map_.find(color_mode); in SetColorModeInternal()
823 if (it == color_mode_map_.end()) { in SetColorModeInternal()
1374 auto it = color_mode_map_.find(color_modes_[i].name); in InitializeColorModes()
1375 if (it != color_mode_map_.end()) { in InitializeColorModes()
1377 color_mode_map_.erase(it); in InitializeColorModes()
1378 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
1381 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
Ddisplay_base.h166 ColorModeMap color_mode_map_ = {}; variable
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_base.cpp942 for (auto it : color_mode_map_) { in Dump()
1238 ColorModeMap::iterator it = color_mode_map_.find(color_mode); in SetColorModeInternal()
1239 if (it == color_mode_map_.end()) { in SetColorModeInternal()
1896 auto it = color_mode_map_.find(color_modes_[i].name); in InitializeColorModes()
1897 if (it != color_mode_map_.end()) { in InitializeColorModes()
1899 color_mode_map_.erase(it); in InitializeColorModes()
1900 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
1903 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in InitializeColorModes()
1921 color_mode_map_.insert(std::make_pair(kBt2020Pq, &color_modes_[i])); in InitializeColorModes()
1922 color_mode_map_.insert(std::make_pair(kBt2020Hlg, &color_modes_[i])); in InitializeColorModes()
[all …]
Ddisplay_base.h275 ColorModeMap color_mode_map_ = {}; variable
Ddisplay_pluggable.cpp447 color_mode_map_.insert(std::make_pair(color_modes_[i].name, &color_modes_[i])); in UpdateColorModes()
Ddisplay_builtin.cpp1200 if (color_mode_map_.size() > 0) { in ResetPanel()