Home
last modified time | relevance | path

Searched refs:current_color_mode_ (Results 1 – 25 of 34) sorted by relevance

12

/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display.h174 ColorMode GetCurrentColorMode() { return current_color_mode_; } in GetCurrentColorMode()
190 ColorMode current_color_mode_ = ColorMode::NATIVE; variable
311 ColorMode GetCurrentColorMode() { return current_color_mode_; } in GetCurrentColorMode()
470 ColorMode current_color_mode_ = ColorMode::NATIVE; variable
Dhwc_display.cpp113 if (current_color_mode_ == mode && current_render_intent_ == intent) { in SetColorModeWithRenderIntent()
124 current_color_mode_ = mode; in SetColorModeWithRenderIntent()
492 switch (current_color_mode_) { in GetWorkingColorSpace()
509 DLOGW("Invalid color mode: %d", current_color_mode_); in GetWorkingColorSpace()
524 *os << "current mode: " << static_cast<uint32_t>(current_color_mode_) << std::endl; in Dump()
768 current_color_mode_ != ColorMode::NATIVE) { in BuildLayerStack()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.cpp765 current_color_mode_ = color_mode; in SetColorMode()
779 current_color_mode_ = color_mode; in SetColorMode()
791 current_color_mode_ = color_mode; in SetColorMode()
846 auto it_mode = color_mode_attr_map_.find(current_color_mode_); in GetHdrColorMode()
848 DLOGE("Failed: Unknown Mode : %s", current_color_mode_.c_str()); in GetHdrColorMode()
1347 current_color_mode_ = color_modes_[i].name; in InitializeColorModes()
1391 DLOGI("Setting color mode = %s", current_color_mode_.c_str()); in HandleHDR()
1393 error = SetColorModeInternal(current_color_mode_); in HandleHDR()
1404 if (IsSupportColorModeAttribute(current_color_mode_)) { in HandleHDR()
Ddisplay_base.h174 std::string current_color_mode_ = "hal_native"; variable
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp785 current_color_mode_ = color_mode; in SetColorMode()
799 current_color_mode_ = color_mode; in SetColorMode()
811 current_color_mode_ = color_mode; in SetColorMode()
870 auto it_mode = color_mode_attr_map_.find(current_color_mode_); in GetHdrColorMode()
872 DLOGE("Failed: Unknown Mode : %s", current_color_mode_.c_str()); in GetHdrColorMode()
1382 current_color_mode_ = color_modes_[i].name; in InitializeColorModes()
1426 DLOGI("Setting color mode = %s", current_color_mode_.c_str()); in HandleHDR()
1428 error = SetColorModeInternal(current_color_mode_); in HandleHDR()
1439 if (IsSupportColorModeAttribute(current_color_mode_)) { in HandleHDR()
Ddisplay_base.h173 std::string current_color_mode_ = "hal_native"; variable
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.cpp787 current_color_mode_ = color_mode; in SetColorMode()
801 current_color_mode_ = color_mode; in SetColorMode()
813 current_color_mode_ = color_mode; in SetColorMode()
868 auto it_mode = color_mode_attr_map_.find(current_color_mode_); in GetHdrColorMode()
870 DLOGE("Failed: Unknown Mode : %s", current_color_mode_.c_str()); in GetHdrColorMode()
1372 current_color_mode_ = color_modes_[i].name; in InitializeColorModes()
1416 DLOGI("Setting color mode = %s", current_color_mode_.c_str()); in HandleHDR()
1418 error = SetColorModeInternal(current_color_mode_); in HandleHDR()
1429 if (IsSupportColorModeAttribute(current_color_mode_)) { in HandleHDR()
Ddisplay_base.h174 std::string current_color_mode_ = "hal_native"; variable
/hardware/qcom/sm7250/display/composer/
Dhwc_display.cpp142 if (current_color_mode_ == mode && current_render_intent_ == intent) { in SetColorModeWithRenderIntent()
155 current_color_mode_ = mode; in SetColorModeWithRenderIntent()
168 if (current_color_mode_ == mode && current_render_intent_ == intent) { in CacheColorModeWithRenderIntent()
172 current_color_mode_ = mode; in CacheColorModeWithRenderIntent()
194 std::string mode_string = preferred_mode_[current_color_mode_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent()
196 mode_string = color_mode_map_[current_color_mode_][current_render_intent_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent()
199 mode_string = color_mode_map_[current_color_mode_][RenderIntent::COLORIMETRIC][kHdrType]; in ApplyCurrentColorModeWithRenderIntent()
202 (current_color_mode_ == ColorMode::DISPLAY_P3 || in ApplyCurrentColorModeWithRenderIntent()
203 current_color_mode_ == ColorMode::DISPLAY_BT2020) && in ApplyCurrentColorModeWithRenderIntent()
206 mode_string = color_mode_map_[current_color_mode_][current_render_intent_][kSdrType]; in ApplyCurrentColorModeWithRenderIntent()
[all …]
Dhwc_display.h115 ColorMode GetCurrentColorMode() { return current_color_mode_; } in GetCurrentColorMode()
134 ColorMode current_color_mode_ = ColorMode::NATIVE; variable
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp139 if (current_color_mode_ == mode && current_render_intent_ == intent) { in SetColorModeWithRenderIntent()
152 current_color_mode_ = mode; in SetColorModeWithRenderIntent()
165 current_color_mode_ = mode; in CacheColorModeWithRenderIntent()
187 std::string mode_string = preferred_mode_[current_color_mode_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent()
189 mode_string = color_mode_map_[current_color_mode_][current_render_intent_][curr_dynamic_range_]; in ApplyCurrentColorModeWithRenderIntent()
193 color_mode_map_[current_color_mode_][RenderIntent::COLORIMETRIC][kHdrType]; in ApplyCurrentColorModeWithRenderIntent()
196 current_color_mode_ == ColorMode::DISPLAY_P3 && in ApplyCurrentColorModeWithRenderIntent()
199 mode_string = color_mode_map_[current_color_mode_][current_render_intent_][kSdrType]; in ApplyCurrentColorModeWithRenderIntent()
208 current_color_mode_, current_render_intent_, curr_dynamic_range_, mode_string.c_str()); in ApplyCurrentColorModeWithRenderIntent()
276 if ((!from_client) || (current_color_mode_ == mode && curr_dynamic_range_ == range)) { in SetPreferredColorModeInternal()
[all …]
Dhwc_display.h90 ColorMode GetCurrentColorMode() { return current_color_mode_; } in GetCurrentColorMode()
110 ColorMode current_color_mode_ = ColorMode::NATIVE; variable
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_pluggable.cpp299 current_color_mode_ = kSrgb; in InitializeColorModes()
390 current_color_mode_ = color_mode; in SetColorMode()
Ddisplay_base.h243 std::string current_color_mode_ = "hal_native"; variable
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.cpp369 current_color_mode_ = kSrgb; in InitializeColorModes()
424 current_color_mode_ = color_mode; in SetColorMode()
Ddisplay_base.h232 std::string current_color_mode_ = "hal_native"; variable
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.h183 std::string current_color_mode_ = "hal_native"; variable
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display.h72 std::string current_color_mode_ = {}; variable
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display.h72 std::string current_color_mode_ = {}; variable
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display.h78 android_color_mode_t current_color_mode_ = HAL_COLOR_MODE_NATIVE; variable
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.h83 android_color_mode_t current_color_mode_ = HAL_COLOR_MODE_NATIVE; variable
Dhwc_display.cpp142 auto status = HandleColorModeTransform(current_color_mode_, hint, color_matrix); in SetColorTransform()
171 if (color_mode_transform_map_.size() > 1U && current_color_mode_ != mode) { in HandleColorModeTransform()
191 current_color_mode_ = mode; in HandleColorModeTransform()
324 *os << "current mode: " << current_color_mode_ << std::endl; in Dump()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.h83 android_color_mode_t current_color_mode_ = HAL_COLOR_MODE_NATIVE; variable
Dhwc_display.cpp137 auto status = HandleColorModeTransform(current_color_mode_, hint, color_matrix); in SetColorTransform()
166 if (color_mode_transform_map_.size() > 1U && current_color_mode_ != mode) { in HandleColorModeTransform()
186 current_color_mode_ = mode; in HandleColorModeTransform()
321 *os << "current mode: " << current_color_mode_ << std::endl; in Dump()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.h84 android_color_mode_t current_color_mode_ = HAL_COLOR_MODE_NATIVE; variable

12