Home
last modified time | relevance | path

Searched refs:toXYZD50 (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/core/
DSkColorSpace.cpp14 bool SkColorSpacePrimaries::toXYZD50(skcms_Matrix3x3* toXYZ_D50) const { in toXYZD50() function in SkColorSpacePrimaries
19 const skcms_Matrix3x3& toXYZD50) { in SkColorSpace() argument
20 memcpy(fToXYZD50_3x3, &toXYZD50.vals[0][0], 9*sizeof(float)); in SkColorSpace()
100 SkAssertResult(skcms_Matrix3x3_invert(&skcms_sRGB_profile()->toXYZD50, &inv)); in computeLazyDstFields()
132 bool SkColorSpace::toXYZD50(SkMatrix44* toXYZD50) const { in toXYZD50() function in SkColorSpace
133 toXYZD50->set3x3RowMajorf(fToXYZD50_3x3); in toXYZD50()
137 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() function in SkColorSpace
138 memcpy(toXYZD50, fToXYZD50_3x3, 9*sizeof(float)); in toXYZD50()
145 skcms_Matrix3x3 toXYZD50, in gamutTransformTo() local
148 memcpy(& toXYZD50, this-> fToXYZD50_3x3, 9*sizeof(float)); in gamutTransformTo()
[all …]
DSkICC.cpp175 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() argument
178 ptr[2] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[0][col])); in write_xyz_tag()
179 ptr[3] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[1][col])); in write_xyz_tag()
180 ptr[4] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[2][col])); in write_xyz_tag()
232 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() argument
234 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description()
246 if (twoDotTwo && nearly_equal(toXYZD50, SkNamedGamut::kAdobeRGB)) { in get_color_profile_description()
249 bool dcip3_gamut = nearly_equal(toXYZD50, SkNamedGamut::kDCIP3); in get_color_profile_description()
257 bool rec2020 = nearly_equal(toXYZD50, SkNamedGamut::kRec2020); in get_color_profile_description()
270 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() argument
[all …]
DSkColorSpaceXformSteps.cpp57 src->toXYZD50(&srcM); in SkColorSpaceXformSteps()
58 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps()
/external/skqp/src/core/
DSkColorSpace.cpp14 bool SkColorSpacePrimaries::toXYZD50(skcms_Matrix3x3* toXYZ_D50) const { in toXYZD50() function in SkColorSpacePrimaries
19 const skcms_Matrix3x3& toXYZD50) { in SkColorSpace() argument
20 memcpy(fToXYZD50_3x3, &toXYZD50.vals[0][0], 9*sizeof(float)); in SkColorSpace()
100 SkAssertResult(skcms_Matrix3x3_invert(&skcms_sRGB_profile()->toXYZD50, &inv)); in computeLazyDstFields()
132 bool SkColorSpace::toXYZD50(SkMatrix44* toXYZD50) const { in toXYZD50() function in SkColorSpace
133 toXYZD50->set3x3RowMajorf(fToXYZD50_3x3); in toXYZD50()
137 bool SkColorSpace::toXYZD50(skcms_Matrix3x3* toXYZD50) const { in toXYZD50() function in SkColorSpace
138 memcpy(toXYZD50, fToXYZD50_3x3, 9*sizeof(float)); in toXYZD50()
145 skcms_Matrix3x3 toXYZD50, in gamutTransformTo() local
148 memcpy(& toXYZD50, this-> fToXYZD50_3x3, 9*sizeof(float)); in gamutTransformTo()
[all …]
DSkICC.cpp175 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() argument
178 ptr[2] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[0][col])); in write_xyz_tag()
179 ptr[3] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[1][col])); in write_xyz_tag()
180 ptr[4] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[2][col])); in write_xyz_tag()
232 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() argument
234 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description()
246 if (twoDotTwo && nearly_equal(toXYZD50, SkNamedGamut::kAdobeRGB)) { in get_color_profile_description()
249 bool dcip3_gamut = nearly_equal(toXYZD50, SkNamedGamut::kDCIP3); in get_color_profile_description()
257 bool rec2020 = nearly_equal(toXYZD50, SkNamedGamut::kRec2020); in get_color_profile_description()
270 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() argument
[all …]
DSkColorSpaceXformSteps.cpp57 src->toXYZD50(&srcM); in SkColorSpaceXformSteps()
58 dst->toXYZD50(&dstM); in SkColorSpaceXformSteps()
/external/skia/include/core/
DSkColorSpace.h37 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
146 bool toXYZD50(SkMatrix44* toXYZD50) const;
148 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
DSkICC.h17 const skcms_Matrix3x3& toXYZD50);
/external/skqp/include/core/
DSkColorSpace.h37 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
146 bool toXYZD50(SkMatrix44* toXYZD50) const;
148 bool toXYZD50(skcms_Matrix3x3* toXYZD50) const;
DSkICC.h17 const skcms_Matrix3x3& toXYZD50);
/external/skia/src/images/
DSkImageEncoderFns.h171 skcms_Matrix3x3 toXYZD50; in icc_from_color_space() local
172 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&toXYZD50)) { in icc_from_color_space()
173 return SkWriteICCProfile(fn, toXYZD50); in icc_from_color_space()
/external/skqp/src/images/
DSkImageEncoderFns.h171 skcms_Matrix3x3 toXYZD50; in icc_from_color_space() local
172 if (cs->isNumericalTransferFn(&fn) && cs->toXYZD50(&toXYZD50)) { in icc_from_color_space()
173 return SkWriteICCProfile(fn, toXYZD50); in icc_from_color_space()
/external/skia/third_party/skcms/
Dskcms.h107 skcms_Matrix3x3 toXYZD50; member
285 skcms_Matrix3x3* toXYZD50);
305 p->toXYZD50 = *m; in skcms_SetXYZD50()
Dskcms.cc927 profile->toXYZD50.vals[0][0] = illuminant_X; in skcms_Parse()
928 profile->toXYZD50.vals[1][1] = illuminant_Y; in skcms_Parse()
929 profile->toXYZD50.vals[2][2] = illuminant_Z; in skcms_Parse()
950 if (!read_to_XYZD50(&rXYZ, &gXYZ, &bXYZ, &profile->toXYZD50)) { in skcms_Parse()
1222 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() argument
1227 !toXYZD50) { in skcms_PrimariesToXYZD50()
1281 *toXYZD50 = skcms_Matrix3x3_concat(&DXtoD50, &toXYZ); in skcms_PrimariesToXYZD50()
2013 && skcms_Matrix3x3_invert(&profile->toXYZD50, fromXYZD50); in prep_for_destination()
2111 skcms_SetXYZD50(&gray_dst_profile, &skcms_XYZD50_profile()->toXYZD50); in skcms_TransformWithPalette()
2206 const skcms_Matrix3x3* to_xyz = srcProfile->has_A2B ? &I : &srcProfile->toXYZD50; in skcms_TransformWithPalette()
[all …]
/external/skqp/third_party/skcms/
Dskcms.h107 skcms_Matrix3x3 toXYZD50; member
280 skcms_Matrix3x3* toXYZD50);
300 p->toXYZD50 = *m; in skcms_SetXYZD50()
Dskcms.cc927 profile->toXYZD50.vals[0][0] = illuminant_X; in skcms_Parse()
928 profile->toXYZD50.vals[1][1] = illuminant_Y; in skcms_Parse()
929 profile->toXYZD50.vals[2][2] = illuminant_Z; in skcms_Parse()
950 if (!read_to_XYZD50(&rXYZ, &gXYZ, &bXYZ, &profile->toXYZD50)) { in skcms_Parse()
1222 skcms_Matrix3x3* toXYZD50) { in skcms_PrimariesToXYZD50() argument
1227 !toXYZD50) { in skcms_PrimariesToXYZD50()
1281 *toXYZD50 = skcms_Matrix3x3_concat(&DXtoD50, &toXYZ); in skcms_PrimariesToXYZD50()
2019 && skcms_Matrix3x3_invert(&profile->toXYZD50, fromXYZD50); in prep_for_destination()
2111 skcms_SetXYZD50(&gray_dst_profile, &skcms_XYZD50_profile()->toXYZD50); in skcms_TransformWithPalette()
2206 const skcms_Matrix3x3* to_xyz = srcProfile->has_A2B ? &I : &srcProfile->toXYZD50; in skcms_TransformWithPalette()
[all …]
/external/skqp/gm/
Dreadpixels.cpp65 skcms_Matrix3x3 toXYZD50; in make_parametric_transfer_fn() local
66 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
68 return SkColorSpace::MakeRGB(fn, toXYZD50); in make_parametric_transfer_fn()
/external/skia/gm/
Dreadpixels.cpp65 skcms_Matrix3x3 toXYZD50; in make_parametric_transfer_fn() local
66 SkAssertResult(primaries.toXYZD50(&toXYZD50)); in make_parametric_transfer_fn()
68 return SkColorSpace::MakeRGB(fn, toXYZD50); in make_parametric_transfer_fn()
/external/skia/tests/
DColorSpaceTest.cpp37 space->toXYZD50(&mat); in test_space()
208 bool result = primaries.toXYZD50(&toXYZ); in check_primaries()
273 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
287 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
DAndroidCodecTest.cpp192 cs->toXYZD50(&matrix); in DEF_TEST()
/external/skqp/tests/
DColorSpaceTest.cpp37 space->toXYZD50(&mat); in test_space()
208 bool result = primaries.toXYZD50(&toXYZ); in check_primaries()
273 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
287 SkAssertResult(space->toXYZD50(&reference)); in DEF_TEST()
DAndroidCodecTest.cpp192 cs->toXYZD50(&matrix); in DEF_TEST()
/external/skia/src/codec/
DSkPngCodec.cpp385 skcms_Matrix3x3 toXYZD50 = skcms_sRGB_profile()->toXYZD50; in read_color_profile() local
403 toXYZD50 = tmp; in read_color_profile()
425 skcms_SetXYZD50(&skcmsProfile, &toXYZD50); in read_color_profile()
/external/skqp/src/codec/
DSkPngCodec.cpp385 skcms_Matrix3x3 toXYZD50 = skcms_sRGB_profile()->toXYZD50; in read_color_profile() local
403 toXYZD50 = tmp; in read_color_profile()
425 skcms_SetXYZD50(&skcmsProfile, &toXYZD50); in read_color_profile()
DSkAndroidCodec.cpp53 load_gamut(rgb, profile.toXYZD50); in is_wide_gamut()

12