Lines Matching refs:primaries
75 static sk_sp<SkColorSpace> make_parametric_transfer_fn(const SkColorSpacePrimaries& primaries) { in make_parametric_transfer_fn() argument
77 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
84 SkColorSpacePrimaries primaries; in make_wide_gamut() local
85 primaries.fRX = 0.7347f; in make_wide_gamut()
86 primaries.fRY = 0.2653f; in make_wide_gamut()
87 primaries.fGX = 0.1596f; in make_wide_gamut()
88 primaries.fGY = 0.8404f; in make_wide_gamut()
89 primaries.fBX = 0.0366f; in make_wide_gamut()
90 primaries.fBY = 0.0001f; in make_wide_gamut()
91 primaries.fWX = 0.34567f; in make_wide_gamut()
92 primaries.fWY = 0.35850f; in make_wide_gamut()
93 return make_parametric_transfer_fn(primaries); in make_wide_gamut()
97 SkColorSpacePrimaries primaries; in make_small_gamut() local
98 primaries.fRX = 0.50f; in make_small_gamut()
99 primaries.fRY = 0.33f; in make_small_gamut()
100 primaries.fGX = 0.30f; in make_small_gamut()
101 primaries.fGY = 0.50f; in make_small_gamut()
102 primaries.fBX = 0.25f; in make_small_gamut()
103 primaries.fBY = 0.16f; in make_small_gamut()
104 primaries.fWX = 0.3127f; in make_small_gamut()
105 primaries.fWY = 0.3290f; in make_small_gamut()
106 return make_parametric_transfer_fn(primaries); in make_small_gamut()