| Index: ui/gfx/color_space.cc
|
| diff --git a/ui/gfx/color_space.cc b/ui/gfx/color_space.cc
|
| index d32ddc30060481fdbf3484f5d2e56b2f6f205460..b90b8c9adb32f561a4d59ab041c28a1a041e901d 100644
|
| --- a/ui/gfx/color_space.cc
|
| +++ b/ui/gfx/color_space.cc
|
| @@ -283,6 +283,13 @@ bool ColorSpace::IsHDR() const {
|
| transfer_ == TransferID::IEC61966_2_1_HDR;
|
| }
|
|
|
| +bool ColorSpace::FullRangeEncodedValues() const {
|
| + return transfer_ == TransferID::LINEAR_HDR ||
|
| + transfer_ == TransferID::IEC61966_2_1_HDR ||
|
| + transfer_ == TransferID::BT1361_ECG ||
|
| + transfer_ == TransferID::IEC61966_2_4;
|
| +}
|
| +
|
| bool ColorSpace::operator!=(const ColorSpace& other) const {
|
| return !(*this == other);
|
| }
|
|
|