/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | display_pluggable.cpp | 369 static PrimariesTransfer GetBlendSpaceFromAttributes(const std::string &color_gamut, in GetBlendSpaceFromAttributes() argument 372 if (color_gamut == kBt2020) { in GetBlendSpaceFromAttributes() 381 } else if (color_gamut == kSrgb) { in GetBlendSpaceFromAttributes() 385 DLOGW("Failed to Get blend space color_gamut = %s transfer = %s", color_gamut.c_str(), in GetBlendSpaceFromAttributes() 400 std::string color_gamut = kNative, transfer = {}; in SetColorMode() local 405 color_gamut = it.second; in SetColorMode() 414 GetBlendSpaceFromAttributes(color_gamut, transfer)); in SetColorMode()
|
D | display_base.cpp | 1827 std::string color_gamut = kNative, dynamic_range = kSdr, pic_quality = kStandard; in GetBlendSpaceFromColorMode() local 1833 color_gamut = it.second; in GetBlendSpaceFromColorMode() 1845 (pic_quality == kStandard && color_gamut == kBt2020)) { in GetBlendSpaceFromColorMode() 1846 pt.primaries = GetColorPrimariesFromAttribute(color_gamut); in GetBlendSpaceFromColorMode() 1852 } else if (color_gamut == kDcip3) { in GetBlendSpaceFromColorMode() 1853 pt.primaries = GetColorPrimariesFromAttribute(color_gamut); in GetBlendSpaceFromColorMode() 1874 std::string color_gamut, dynamic_range; in IsHdrMode() local 1875 GetValueOfModeAttribute(attr, kColorGamutAttribute, &color_gamut); in IsHdrMode() 1877 if (color_gamut == kDcip3 && dynamic_range == kHdr) { in IsHdrMode()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display.cpp | 222 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/msm8998/sdm/libs/hwc2/ |
D | hwc_display.cpp | 218 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/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_display.cpp | 215 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/sm8150/display/sdm/libs/hwc2/ |
D | hwc_display.cpp | 342 std::string color_gamut = kNative, dynamic_range = kSdr, pic_quality = kStandard, transfer; in PopulateColorModes() local 346 color_gamut = it.second; in PopulateColorModes() 357 color_gamut.c_str(), dynamic_range.c_str(), pic_quality.c_str()); in PopulateColorModes() 358 if (color_gamut == kNative) { in PopulateColorModes() 362 if (color_gamut == kSrgb && dynamic_range == kSdr) { in PopulateColorModes() 371 if (color_gamut == kDcip3 && dynamic_range == kSdr) { in PopulateColorModes() 381 if (color_gamut == kDcip3 && pic_quality == kStandard && dynamic_range == kHdr) { in PopulateColorModes() 391 } else if (color_gamut == kBt2020) { in PopulateColorModes()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display.cpp | 407 std::string color_gamut = kNative, dynamic_range = kSdr, pic_quality = kStandard; in PopulateColorModes() local 411 color_gamut = it.second; in PopulateColorModes() 420 color_gamut.c_str(), dynamic_range.c_str(), pic_quality.c_str()); in PopulateColorModes() 421 if (color_gamut == kNative) { in PopulateColorModes() 425 if (color_gamut == kSrgb && dynamic_range == kSdr) { in PopulateColorModes() 434 if (color_gamut == kDcip3 && dynamic_range == kSdr) { in PopulateColorModes()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/ |
D | display_base.cpp | 861 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/ |
D | display_base.cpp | 885 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()
|
/hardware/qcom/display/msm8909/sdm/libs/core/ |
D | display_base.cpp | 883 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()
|