/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_property_display_box.cpp | 35 colourVolume_.whitePoint.x = reader.Read16();
in ParseContent() 36 colourVolume_.whitePoint.y = reader.Read16();
in ParseContent() 52 writer.Write16(colourVolume_.whitePoint.x);
in Write() 53 writer.Write16(colourVolume_.whitePoint.y);
in Write()
|
/foundation/graphic/graphic_2d/utils/color_manager/src/ |
H A D | color_space.cpp | 107 whitePoint = colorSpace.whitePoint;
in ColorSpace() 121 whitePoint = whiteP;
in ColorSpace() 129 whitePoint = whiteP;
in ColorSpace() 135 ColorSpace::ColorSpace(const Matrix3x3& toXYZ, const std::array<float, 2>& whitePoint, const TransferFunc &transferFunc)
in ColorSpace() argument 137 toXYZ(DXToD50(toXYZ, whitePoint)),
in ColorSpace() 138 whitePoint(whitePoint),
in ColorSpace() 143 ColorSpace::ColorSpace(const Matrix3x3 &toXYZ, const std::array<float, 2>& whitePoint, float gamma)
in ColorSpace() argument 144 : colorSpaceName(ColorSpaceName::CUSTOM), toXYZ(DXToD50(toXYZ, whitePoint)), whitePoin in ColorSpace() [all...] |
/foundation/graphic/graphic_2d/utils/color_manager/export/ |
H A D | color_space.h | 172 ColorSpace(const Matrix3x3& toXYZ, const std::array<float, 2> &whitePoint, const TransferFunc& transferFunc);
174 ColorSpace(const Matrix3x3& toXYZ, const std::array<float, 2>& whitePoint, float gamma);
199 return whitePoint;
in GetWhitePoint() 221 std::array<float, DIMES_2> whitePoint;
member in OHOS::ColorManager::ColorSpace
|
/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() local 98 (void)ColorSpace(toXYZ, whitePoint, func); in ColorSpaceFuzzTest() 99 (void)ColorSpace(toXYZ, whitePoint, gamma); in ColorSpaceFuzzTest()
|
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | metadata_helper_test.cpp | 222 .whitePoint = {0.4f, 0.4f}, in HWTEST_F() 246 ASSERT_EQ(metadataSet.smpte2086.whitePoint.x, metadataGet.smpte2086.whitePoint.x); in HWTEST_F() 247 ASSERT_EQ(metadataSet.smpte2086.whitePoint.y, metadataGet.smpte2086.whitePoint.y); in HWTEST_F() 302 .whitePoint = {0.4f, 0.4f}, in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/box/ |
H A D | item_property_display_box.h | 33 DisplayPrimariesXY whitePoint;
member
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_util.cpp | 201 Matrix3f GenRGBToXYZMatrix(const std::array<Vector2f, 3>& basePoints, const Vector2f& whitePoint) 210 float WxWy = whitePoint.x_ / whitePoint.y_; 215 float oneWxWy = (1 - whitePoint.x_) / whitePoint.y_; 328 // 3 RGB basePoints and 1 whitePoint. 331 const Vector2f& whitePoint, 335 : rgbToXyz_(GenRGBToXYZMatrix(basePoints, whitePoint)), 346 const Vector2f& whitePoint, 350 : rgbToXyz_(GenRGBToXYZMatrix(basePoints, whitePoint)), [all...] |
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/ |
H A D | native_buffer.h | 405 OH_NativeBuffer_ColorXY whitePoint; /**< white point */
member
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hdr/ |
H A D | hdr_helper.cpp | 393 staticMeta.smpte2086.whitePoint.x = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE;
in ParseVividJpegStaticMetadata() 394 staticMeta.smpte2086.whitePoint.y = (float)ImageUtils::BytesToUint16(data, offset) * SM_COLOR_SCALE;
in ParseVividJpegStaticMetadata() 830 staticMetadata.smpte2086.whitePoint.x = colorScale * (float)displayColourVolume.whitePoint.x;
in ParseHeifStaticMetadata() 831 staticMetadata.smpte2086.whitePoint.y = colorScale * (float)displayColourVolume.whitePoint.y;
in ParseHeifStaticMetadata() 1095 ImageUtils::Uint16ToBytes((uint16_t)(staticMeta.smpte2086.whitePoint.x / SM_COLOR_SCALE), bytes, index);
in PackVividStaticMetadata() 1096 ImageUtils::Uint16ToBytes((uint16_t)(staticMeta.smpte2086.whitePoint.y / SM_COLOR_SCALE), bytes, index);
in PackVividStaticMetadata()
|
/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}; in HWTEST_F() 715 cs = std::make_shared<ColorSpace>(toXYZ, whitePoint, transFunc); in HWTEST_F() 717 cs = std::make_shared<ColorSpace>(toXYZ, whitePoint, gamma); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/ |
H A D | pixelmap_native.cpp | 738 staticMetadata.smpte2086.whitePoint.x = metadata.whitePointX; in ConvertStaticMetadata() 739 staticMetadata.smpte2086.whitePoint.y = metadata.whitePointY; in ConvertStaticMetadata() 916 dst.whitePointX = src.smpte2086.whitePoint.x; in ConvertTONdkStaticMetadata() 917 dst.whitePointY = src.smpte2086.whitePoint.y; in ConvertTONdkStaticMetadata()
|
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/systemtest/ |
H A D | vulkan_loader_system_test.cpp | 426 hdrMetadata.whitePoint.x = 15635; in HWTEST_F() 427 hdrMetadata.whitePoint.y = 16450; in HWTEST_F()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_encoder.cpp | 1662 color.whitePointX = (uint16_t)(STATIC_METADATA_COLOR_SCALE * staticMetadata.smpte2086.whitePoint.x);
in GetStaticMetadata() 1663 color.whitePointY = (uint16_t)(STATIC_METADATA_COLOR_SCALE * staticMetadata.smpte2086.whitePoint.y);
in GetStaticMetadata()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | pixel_map_napi.cpp | 4051 status &= CreateNapiDouble(env, metadataValue, staticMetadata.smpte2086.whitePoint.x, "whitePointX"); in BuildStaticMetadataNapi() 4052 status &= CreateNapiDouble(env, metadataValue, staticMetadata.smpte2086.whitePoint.y, "whitePointY"); in BuildStaticMetadataNapi() 4304 ParseDoubleMetadataNode(env, hdrStaticMetadata, "whitePointX", staticMetadata.smpte2086.whitePoint.x); in ParseStaticMetadata() 4305 ParseDoubleMetadataNode(env, hdrStaticMetadata, "whitePointY", staticMetadata.smpte2086.whitePoint.y); in ParseStaticMetadata()
|