Searched refs:DIMES_2 (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/export/ |
H A D | color_space.h | 31 #define DIMES_2 2 macro 36 static const std::array<float, DIMES_2> ILLUMINANT_D50_XY = {0.34567f, 0.35850f}; 144 inline std::array<float, DIMES_2> ComputeWhitePoint(Matrix3x3 &toXYZ) in ComputeWhitePoint() 162 Matrix3x3 DXToD50(const Matrix3x3 &toXYZ, const std::array<float, DIMES_2> &wp); 197 std::array<float, DIMES_2> GetWhitePoint() const in GetWhitePoint() 221 std::array<float, DIMES_2> whitePoint;
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/color_manager/color_space_object_convertor/ |
H A D | js_color_space.cpp | 177 std::array<float, DIMES_2> wp = colorSpaceToken_->GetWhitePoint(); in OnGetWhitePoint() 178 NAPI_CALL_WITH_ERRCODE_DEFAULT(env, napi_create_array_with_length(env, DIMES_2, &arrayValue)); in OnGetWhitePoint() 179 for (uint32_t i = 0; i < DIMES_2; i++) { in OnGetWhitePoint() 197 std::array<float, DIMES_2> wp = colorSpaceToken_->GetWhitePoint(); in OnGetSendableWhitePoint() 198 …NAPI_CALL_WITH_ERRCODE_DEFAULT(env, napi_create_sendable_array_with_length(env, DIMES_2, &arrayVal… in OnGetSendableWhitePoint() 199 for (uint32_t i = 0; i < DIMES_2; i++) { in OnGetSendableWhitePoint()
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/cj/color_manager/ |
H A D | color_mgr_ffi.cpp | 81 std::array<float, DIMES_2> arr = native->GetWhitePoint(errCode); in CJ_ColorMgrGetWhitePoint() 89 for (size_t i = 0; i < DIMES_2; i++) { in CJ_ColorMgrGetWhitePoint()
|
H A D | cj_color_manager.cpp | 72 std::array<float, DIMES_2> CjColorManager::GetWhitePoint(int32_t* errCode) in GetWhitePoint() 74 std::array<float, DIMES_2> wp; in GetWhitePoint()
|
H A D | cj_color_manager.h | 40 std::array<float, DIMES_2> GetWhitePoint(int32_t* errCode);
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/test/fuzztest/colormanager_fuzzer/ |
H A D | colormanager_fuzzer.cpp | 94 std::array<float, DIMES_2> whitePoint = GetData<std::array<float, DIMES_2>>(); in ColorSpaceFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 246 std::array<float, DIMES_2> wp = {primaries.wX, primaries.wY}; in ComputeXYZD50() 258 Matrix3x3 DXToD50(const Matrix3x3 &toXYZ, const std::array<float, DIMES_2> &wp) in DXToD50()
|
/ohos5.0/foundation/graphic/graphic_2d/utils/color_manager/test/unittest/ |
H A D | color_manager_test.cpp | 708 std::array<float, DIMES_2> whitePoint{0.1f, 0.2f};
|