Home
last modified time | relevance | path

Searched refs:color_gamut (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_pluggable.cpp332 static PrimariesTransfer GetBlendSpaceFromAttributes(const std::string &color_gamut, in GetBlendSpaceFromAttributes() argument
335 if (color_gamut == kBt2020) { in GetBlendSpaceFromAttributes()
344 } else if (color_gamut == kDcip3) { in GetBlendSpaceFromAttributes()
347 } else if (color_gamut == kSrgb) { in GetBlendSpaceFromAttributes()
351 DLOGW("Failed to Get blend space color_gamut = %s transfer = %s", color_gamut.c_str(), in GetBlendSpaceFromAttributes()
366 std::string color_gamut = kNative, transfer = {}; in SetColorMode() local
371 color_gamut = it.second; in SetColorMode()
379 PrimariesTransfer blend_space = GetBlendSpaceFromAttributes(color_gamut, transfer); in SetColorMode()
Ddisplay_base.cpp2181 std::string color_gamut = kNative, dynamic_range = kSdr, pic_quality = kStandard; in GetBlendSpaceFromColorMode() local
2187 color_gamut = it.second; in GetBlendSpaceFromColorMode()
2199 (pic_quality == kStandard && color_gamut == kBt2020)) { in GetBlendSpaceFromColorMode()
2200 pt.primaries = GetColorPrimariesFromAttribute(color_gamut); in GetBlendSpaceFromColorMode()
2206 } else if (color_gamut == kDcip3) { in GetBlendSpaceFromColorMode()
2207 pt.primaries = GetColorPrimariesFromAttribute(color_gamut); in GetBlendSpaceFromColorMode()
2231 std::string color_gamut, dynamic_range; in IsHdrMode() local
2232 GetValueOfModeAttribute(attr, kColorGamutAttribute, &color_gamut); in IsHdrMode()
2234 if (color_gamut == kDcip3 && dynamic_range == kHdr) { in IsHdrMode()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.cpp375 static PrimariesTransfer GetBlendSpaceFromAttributes(const std::string &color_gamut, in GetBlendSpaceFromAttributes() argument
378 if (color_gamut == kBt2020) { in GetBlendSpaceFromAttributes()
387 } else if (color_gamut == kSrgb) { in GetBlendSpaceFromAttributes()
391 DLOGW("Failed to Get blend space color_gamut = %s transfer = %s", color_gamut.c_str(), in GetBlendSpaceFromAttributes()
406 std::string color_gamut = kNative, transfer = {}; in SetColorMode() local
411 color_gamut = it.second; in SetColorMode()
420 GetBlendSpaceFromAttributes(color_gamut, transfer)); in SetColorMode()
Ddisplay_base.cpp1912 std::string color_gamut = kNative, dynamic_range = kSdr, pic_quality = kStandard; in GetBlendSpaceFromColorMode() local
1918 color_gamut = it.second; in GetBlendSpaceFromColorMode()
1930 (pic_quality == kStandard && color_gamut == kBt2020)) { in GetBlendSpaceFromColorMode()
1931 pt.primaries = GetColorPrimariesFromAttribute(color_gamut); in GetBlendSpaceFromColorMode()
1937 } else if (color_gamut == kDcip3) { in GetBlendSpaceFromColorMode()
1938 pt.primaries = GetColorPrimariesFromAttribute(color_gamut); in GetBlendSpaceFromColorMode()
1959 std::string color_gamut, dynamic_range; in IsHdrMode() local
1960 GetValueOfModeAttribute(attr, kColorGamutAttribute, &color_gamut); in IsHdrMode()
1962 if (color_gamut == kDcip3 && dynamic_range == kHdr) { in IsHdrMode()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display.cpp222 std::string color_gamut, dynamic_range, pic_quality; in PopulateColorModes() local
226 color_gamut = it.second; in PopulateColorModes()
235 color_gamut.c_str(), dynamic_range.c_str(), pic_quality.c_str()); in PopulateColorModes()
240 if ((color_gamut == kNative) && in PopulateColorModes()
243 } else if ((color_gamut == kSrgb) && in PopulateColorModes()
246 } else if ((color_gamut == kDcip3) && in PopulateColorModes()
249 } else if ((color_gamut == kDisplayP3) && in PopulateColorModes()
256 if (color_gamut.empty()) { in PopulateColorModes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display.cpp215 std::string color_gamut, dynamic_range, pic_quality; in PopulateColorModes() local
219 color_gamut = it.second; in PopulateColorModes()
229 if ((color_gamut == kNative) && in PopulateColorModes()
232 } else if ((color_gamut == kSrgb) && in PopulateColorModes()
235 } else if ((color_gamut == kDcip3) && in PopulateColorModes()
238 } else if ((color_gamut == kDisplayP3) && in PopulateColorModes()
245 if (color_gamut.empty()) { in PopulateColorModes()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display.cpp218 std::string color_gamut, dynamic_range, pic_quality; in PopulateColorModes() local
222 color_gamut = it.second; in PopulateColorModes()
232 if ((color_gamut == kNative) && in PopulateColorModes()
235 } else if ((color_gamut == kSrgb) && in PopulateColorModes()
238 } else if ((color_gamut == kDcip3) && in PopulateColorModes()
241 } else if ((color_gamut == kDisplayP3) && in PopulateColorModes()
248 if (color_gamut.empty()) { in PopulateColorModes()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display.cpp348 std::string color_gamut = kNative, dynamic_range = kSdr, pic_quality = kStandard, transfer; in PopulateColorModes() local
352 color_gamut = it.second; in PopulateColorModes()
363 color_gamut.c_str(), dynamic_range.c_str(), pic_quality.c_str()); in PopulateColorModes()
364 if (color_gamut == kNative) { in PopulateColorModes()
368 if (color_gamut == kSrgb && dynamic_range == kSdr) { in PopulateColorModes()
377 if (color_gamut == kDcip3 && dynamic_range == kSdr) { in PopulateColorModes()
387 if (color_gamut == kDcip3 && pic_quality == kStandard && dynamic_range == kHdr) { in PopulateColorModes()
397 } else if (color_gamut == kBt2020) { in PopulateColorModes()
/hardware/qcom/sm7250/display/composer/
Dhwc_display.cpp362 std::string color_gamut = kNative, dynamic_range = kSdr, pic_quality = kStandard, transfer; in PopulateColorModes() local
367 color_gamut = it.second; in PopulateColorModes()
384 "render_intent : %d", color_gamut.c_str(), dynamic_range.c_str(), in PopulateColorModes()
388 if (color_gamut == kNative) { in PopulateColorModes()
392 if (color_gamut == kSrgb && dynamic_range == kSdr) { in PopulateColorModes()
396 if (color_gamut == kDcip3 && dynamic_range == kSdr) { in PopulateColorModes()
399 if (color_gamut == kDcip3 && dynamic_range == kHdr) { in PopulateColorModes()
408 } else if (color_gamut == kBt2020) { in PopulateColorModes()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_base.cpp883 std::string dynamic_range, color_gamut, pic_quality; in GetHdrColorMode() local
885 GetValueOfModeAttribute(it_hdr.second, kColorGamutAttribute, &color_gamut); in GetHdrColorMode()
887 if (dynamic_range == kHdr && cur_color_gamut == color_gamut && in GetHdrColorMode()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_base.cpp861 std::string dynamic_range, color_gamut, pic_quality; in GetHdrColorMode() local
863 GetValueOfModeAttribute(it_hdr.second, kColorGamutAttribute, &color_gamut); in GetHdrColorMode()
865 if (dynamic_range == kHdr && cur_color_gamut == color_gamut && in GetHdrColorMode()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp885 std::string dynamic_range, color_gamut, pic_quality; in GetHdrColorMode() local
887 GetValueOfModeAttribute(it_hdr.second, kColorGamutAttribute, &color_gamut); in GetHdrColorMode()
889 if (dynamic_range == kHdr && cur_color_gamut == color_gamut && in GetHdrColorMode()